@izara_project/izara-core-library-find-data 1.0.10 → 1.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izara_project/izara-core-library-find-data",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Shared find data logic",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,18 +14,18 @@
14
14
  "license": "AGPL-3.0-or-later",
15
15
  "homepage": "https://bitbucket.org/izara-core-libraries/izara-core-library-find-data#readme",
16
16
  "devDependencies": {
17
- "jest": "^30.2.0"
17
+ "jest": "^30.3.0"
18
18
  },
19
19
  "jest": {
20
20
  "testEnvironment": "node"
21
21
  },
22
22
  "type": "module",
23
23
  "dependencies": {
24
- "@izara_project/izara-core-library-asynchronous-flow": "^1.0.19",
25
- "@izara_project/izara-core-library-core": "^1.0.28",
26
- "@izara_project/izara-core-library-external-request": "^1.0.22",
27
- "@izara_project/izara-core-library-sns": "1.0.7",
28
- "@izara_project/izara-core-library-stored-cache": "^1.0.6",
29
- "@izara_project/izara-shared-core": "1.0.6"
24
+ "@izara_project/izara-core-library-asynchronous-flow": "^1.0.22",
25
+ "@izara_project/izara-core-library-core": "^1.0.31",
26
+ "@izara_project/izara-core-library-external-request": "^1.0.24",
27
+ "@izara_project/izara-core-library-sns": "1.0.8",
28
+ "@izara_project/izara-core-library-stored-cache": "^1.0.13",
29
+ "@izara_project/izara-shared-core": "1.0.9"
30
30
  }
31
31
  }
@@ -90,7 +90,7 @@ async function checkFindDataMainStatus(
90
90
  [],// removeAttributes
91
91
  "", // used when multi invocation lambdas need to link to the original uniqueRequestId
92
92
  false, // will return recordNotFound if record not exist, and not create the record, eg sub-tasks for a main record
93
- null,
93
+ {},
94
94
  overWriteCache,
95
95
  );
96
96
  if (cacheStatus !== "process") {
@@ -108,6 +108,7 @@ async function checkFindDataMainStatus(
108
108
  identifiers,
109
109
  findDataMain.dataValue,
110
110
  findDataMain[storedCacheSharedLib.createFieldNameCacheComplete('findData')],
111
+ overWriteCache,
111
112
  callingFlow,
112
113
  cacheStatus,
113
114
  findDataMain[storedCacheSharedLib.createFieldNameErrorsFound('findData')]
@@ -137,6 +138,7 @@ async function completeFindDataMain(
137
138
  objType,
138
139
  identifiers,
139
140
  dataValue,
141
+ overWriteCache,
140
142
  callingFlow = "",
141
143
  status,
142
144
  errorsFound = []
@@ -157,6 +159,7 @@ async function completeFindDataMain(
157
159
  identifiers,
158
160
  dataValue,
159
161
  timeCacheComplete,
162
+ overWriteCache,
160
163
  callingFlow,
161
164
  status,
162
165
  errorsFound,
@@ -247,6 +250,7 @@ async function sendFindDataCompleteMessage(
247
250
  identifiers,
248
251
  dataValue,
249
252
  timeCacheComplete = 0,
253
+ overWriteCache,
250
254
  callingFlow = "",
251
255
  status,
252
256
  errorsFound = [],
@@ -265,7 +269,8 @@ async function sendFindDataCompleteMessage(
265
269
  dataValue: dataValue,
266
270
  status: status,
267
271
  errorsFound: errorsFound,
268
- timeCacheComplete: timeCacheComplete
272
+ timeCacheComplete: timeCacheComplete,
273
+ overWriteCache: overWriteCache
269
274
  }),
270
275
  TopicArn: await snsSharedLib.snsTopicArnByFlowSchema(_izContext, 'FindDataComplete_Out')
271
276
  };