@xapp/dynamo-service
Advanced tools
Comparing version 0.0.19 to 0.0.21
{ | ||
"name": "@xapp/dynamo-service", | ||
"version": "0.0.19", | ||
"version": "0.0.21", | ||
"description": "A dynamo help class which will help maintain data integrity.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -49,3 +49,3 @@ import { DynamoDB } from "aws-sdk"; | ||
export async function createTable(db: DynamoDB, params: DynamoDB.CreateTableInput): Promise<Table> { | ||
console.log("Creating table " ); | ||
console.log("Creating table"); | ||
console.log(params); | ||
@@ -62,3 +62,3 @@ const getResult = (description: DynamoDB.TableDescription) => ({ | ||
const description = await db.describeTable({ TableName: params.TableName }).promise(); | ||
console.log("Table " + params.TableName + " already exists."); | ||
console.log("Table " + params.TableName + " already exists." ); | ||
return getResult(description.Table); | ||
@@ -65,0 +65,0 @@ } catch (e) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181835