triangle-utils 1.4.20 → 1.4.21

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.
@@ -209,7 +209,7 @@ export class UtilsDynamoDB {
209
209
  IndexName: index_name,
210
210
  ExpressionAttributeNames: {
211
211
  "#a": key,
212
- ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, ":" + attribute_name]))
212
+ ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, attribute_name]))
213
213
  },
214
214
  ExpressionAttributeValues: {
215
215
  ":a": value
@@ -249,7 +249,7 @@ export class UtilsDynamoDB {
249
249
  ExpressionAttributeNames: {
250
250
  "#a": Object.keys(primary_key)[0],
251
251
  "#b": Object.keys(secondary_key_prefix)[0],
252
- ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, ":" + attribute_name]))
252
+ ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, attribute_name]))
253
253
  },
254
254
  ExpressionAttributeValues: {
255
255
  ":a": converted_primary_value,
@@ -291,7 +291,7 @@ export class UtilsDynamoDB {
291
291
  ExpressionAttributeNames: {
292
292
  "#a": Object.keys(primary_key)[0],
293
293
  "#b": Object.keys(secondary_key_range)[0],
294
- ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, ":" + attribute_name]))
294
+ ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, attribute_name]))
295
295
  },
296
296
  ExpressionAttributeValues: {
297
297
  ":a": converted_primary_value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-utils",
3
- "version": "1.4.20",
3
+ "version": "1.4.21",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -249,7 +249,7 @@ export class UtilsDynamoDB {
249
249
  IndexName : index_name,
250
250
  ExpressionAttributeNames: {
251
251
  "#a": key,
252
- ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, ":" + attribute_name]))
252
+ ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, attribute_name]))
253
253
  },
254
254
  ExpressionAttributeValues: {
255
255
  ":a": value
@@ -304,7 +304,7 @@ export class UtilsDynamoDB {
304
304
  ExpressionAttributeNames: {
305
305
  "#a": Object.keys(primary_key)[0],
306
306
  "#b": Object.keys(secondary_key_prefix)[0],
307
- ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, ":" + attribute_name]))
307
+ ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, attribute_name]))
308
308
  },
309
309
  ExpressionAttributeValues: {
310
310
  ":a": converted_primary_value,
@@ -361,7 +361,7 @@ export class UtilsDynamoDB {
361
361
  ExpressionAttributeNames: {
362
362
  "#a": Object.keys(primary_key)[0],
363
363
  "#b": Object.keys(secondary_key_range)[0],
364
- ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, ":" + attribute_name]))
364
+ ...Object.fromEntries(attribute_names.map(attribute_name => ["#" + attribute_name, attribute_name]))
365
365
  },
366
366
  ExpressionAttributeValues: {
367
367
  ":a": converted_primary_value,