From 59dbfd906505964e7a7eb7420dc5c47351f95723 Mon Sep 17 00:00:00 2001 From: Ryan Block Date: Fri, 13 Oct 2023 10:32:59 -0700 Subject: [PATCH] Rename legacy AWS SDK interface --- src/tables/factory.js | 2 +- src/tables/{dynamo.js => legacy.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/tables/{dynamo.js => legacy.js} (95%) diff --git a/src/tables/factory.js b/src/tables/factory.js index e6107fa1..6f0024dc 100644 --- a/src/tables/factory.js +++ b/src/tables/factory.js @@ -1,5 +1,5 @@ let { getAwsClient, getPorts, useAWS } = require('../lib') -let getAwsSdkClient = require('./dynamo') +let getAwsSdkClient = require('./legacy') let enumerable = false let paginate = true diff --git a/src/tables/dynamo.js b/src/tables/legacy.js similarity index 95% rename from src/tables/dynamo.js rename to src/tables/legacy.js index e2246d12..6b1606ac 100644 --- a/src/tables/dynamo.js +++ b/src/tables/legacy.js @@ -5,7 +5,7 @@ let client = {} /** * Instantiates legacy AWS SDK DynamoDB service interfaces */ -module.exports = function getDynamo ({ port, region }) { +module.exports = function getLegacyDynamoClients ({ port, region }) { if (client.db && client.doc) return client