@factorearth/recordmiddleware-dataaccesslayer 0.0.1-y.13 → 0.0.1-y.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/getItem.js CHANGED
@@ -1,6 +1,6 @@
1
- import { dynamoDbDocClient } from "./aws-services";
1
+ import { dynamoDbDocClient } from "./aws-services.js";
2
2
  import { GetCommand, QueryCommand } from "@aws-sdk/lib-dynamodb";
3
- import { _columnsAndAttributeToReturn } from "utils";
3
+ import { _columnsAndAttributeToReturn } from "./utils.js";
4
4
  export const getItem = async (id, tableName) => {
5
5
  const params = {
6
6
  TableName: tableName,
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./deleteItem";
7
7
  export * from "./getItem";
8
8
  export * from "./putItem";
9
9
  export * from "./updateItem";
10
+ export * from "./utils";
10
11
  export declare const MAX_ITEMS_BATCH_OPERATIONS = 25;
11
12
  export interface BatchInput {
12
13
  id: string;
package/dist/index.js CHANGED
@@ -7,4 +7,5 @@ export * from "./deleteItem";
7
7
  export * from "./getItem";
8
8
  export * from "./putItem";
9
9
  export * from "./updateItem";
10
+ export * from "./utils";
10
11
  export const MAX_ITEMS_BATCH_OPERATIONS = 25;
package/lib/getItem.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { dynamoDbDocClient } from "./aws-services";
1
+ import { dynamoDbDocClient } from "./aws-services.js";
2
2
  import { GetCommand, GetCommandInput, QueryCommand, QueryCommandInput } from "@aws-sdk/lib-dynamodb";
3
- import { _columnsAndAttributeToReturn } from "utils";
3
+ import { _columnsAndAttributeToReturn } from "./utils.js";
4
4
 
5
5
  export const getItem = async (id: string, tableName: string ) => {
6
6
  const params: GetCommandInput = {
package/lib/index.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./deleteItem";
7
7
  export * from "./getItem";
8
8
  export * from "./putItem";
9
9
  export * from "./updateItem";
10
+ export * from "./utils";
10
11
 
11
12
  export const MAX_ITEMS_BATCH_OPERATIONS = 25;
12
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorearth/recordmiddleware-dataaccesslayer",
3
- "version": "0.0.1-y.13",
3
+ "version": "0.0.1-y.14",
4
4
  "description": "A module for accessing dynamdb efficiently",
5
5
  "author": "madtrx <marlin.makori@gmail.com>",
6
6
  "homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
@@ -29,5 +29,5 @@
29
29
  "access": "public",
30
30
  "registry": "https://registry.npmjs.org/"
31
31
  },
32
- "gitHead": "cfe9170ee8c63c5eb04a3385a93ee63ad636e225"
32
+ "gitHead": "82e30b9b0a16e5b948274e13e19047ee978fc222"
33
33
  }