ag-common 0.0.590 → 0.0.591

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.
@@ -69,5 +69,5 @@ export declare const getDynamoUpdates: (item: Record<string, string | number | b
69
69
  }) => {
70
70
  UpdateExpression: string;
71
71
  ExpressionAttributeNames: Record<string, string>;
72
- ExpressionAttributeValues: Record<string, string | number>;
72
+ ExpressionAttributeValues: Record<string, string | number | boolean>;
73
73
  };
@@ -327,7 +327,7 @@ const getDynamoUpdates = (item, opt) => {
327
327
  .forEach(([k, v]) => {
328
328
  UpdateExpression += `#${k} = :${k}, `;
329
329
  ExpressionAttributeNames[`#${k}`] = k;
330
- ExpressionAttributeValues[`:${k}`] = v.toString();
330
+ ExpressionAttributeValues[`:${k}`] = v;
331
331
  });
332
332
  return {
333
333
  UpdateExpression,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.590",
2
+ "version": "0.0.591",
3
3
  "name": "ag-common",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",