triangle-utils 1.4.10 → 1.4.11

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.
@@ -189,7 +189,7 @@ export class UtilsDynamoDB {
189
189
  const index_name = table_index_name.split(":")[1];
190
190
  const reverse = options.reverse !== undefined ? options.reverse : false;
191
191
  const compile = options.compile !== undefined ? options.compile : true;
192
- const project = options.compile !== undefined ? options.project : true;
192
+ const project = options.project !== undefined ? options.project : true;
193
193
  const attribute_names = options.attribute_names !== undefined ? options.attribute_names : [];
194
194
  const table_key_names = await this.get_table_key_names(table_name);
195
195
  if (table_key_names === undefined || Object.keys(primary_key).length !== 1) {
@@ -227,7 +227,7 @@ export class UtilsDynamoDB {
227
227
  const index_name = table_index_name.split(":")[1];
228
228
  const reverse = options.reverse !== undefined ? options.reverse : false;
229
229
  const compile = options.compile !== undefined ? options.compile : true;
230
- const project = options.compile !== undefined ? options.project : true;
230
+ const project = options.project !== undefined ? options.project : true;
231
231
  const attribute_names = options.attribute_names !== undefined ? options.attribute_names : [];
232
232
  const table_key_names = await this.get_table_key_names(table_name);
233
233
  if (table_key_names === undefined || Object.keys(primary_key).length !== 1 || Object.keys(secondary_key_prefix).length !== 1) {
@@ -267,7 +267,7 @@ export class UtilsDynamoDB {
267
267
  const index_name = table_index_name.split(":")[1];
268
268
  const reverse = options.reverse !== undefined ? options.reverse : false;
269
269
  const compile = options.compile !== undefined ? options.compile : true;
270
- const project = options.compile !== undefined ? options.project : true;
270
+ const project = options.project !== undefined ? options.project : true;
271
271
  const attribute_names = options.attribute_names !== undefined ? options.attribute_names : [];
272
272
  const table_key_names = await this.get_table_key_names(table_name);
273
273
  if (table_key_names === undefined || Object.keys(primary_key).length !== 1 || Object.keys(secondary_key_range).length !== 1 || Object.values(secondary_key_range)[0].length !== 2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-utils",
3
- "version": "1.4.10",
3
+ "version": "1.4.11",
4
4
  "main": "dist/src/index.js",
5
5
  "directories": {
6
6
  "test": "vitest"
@@ -228,7 +228,7 @@ export class UtilsDynamoDB {
228
228
  const index_name : string | undefined = table_index_name.split(":")[1]
229
229
  const reverse = options.reverse !== undefined ? options.reverse : false
230
230
  const compile = options.compile !== undefined ? options.compile : true
231
- const project = options.compile !== undefined ? options.project : true
231
+ const project = options.project !== undefined ? options.project : true
232
232
  const attribute_names : string[] = options.attribute_names !== undefined ? options.attribute_names : []
233
233
 
234
234
  const table_key_names = await this.get_table_key_names(table_name)
@@ -281,7 +281,7 @@ export class UtilsDynamoDB {
281
281
  const index_name : string | undefined = table_index_name.split(":")[1]
282
282
  const reverse = options.reverse !== undefined ? options.reverse : false
283
283
  const compile = options.compile !== undefined ? options.compile : true
284
- const project = options.compile !== undefined ? options.project : true
284
+ const project = options.project !== undefined ? options.project : true
285
285
  const attribute_names : string[] = options.attribute_names !== undefined ? options.attribute_names : []
286
286
 
287
287
  const table_key_names = await this.get_table_key_names(table_name)
@@ -336,7 +336,7 @@ export class UtilsDynamoDB {
336
336
  const index_name : string | undefined = table_index_name.split(":")[1]
337
337
  const reverse = options.reverse !== undefined ? options.reverse : false
338
338
  const compile = options.compile !== undefined ? options.compile : true
339
- const project = options.compile !== undefined ? options.project : true
339
+ const project = options.project !== undefined ? options.project : true
340
340
  const attribute_names : string[] = options.attribute_names !== undefined ? options.attribute_names : []
341
341
 
342
342
  const table_key_names = await this.get_table_key_names(table_name)