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

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.9",
3
+ "version": "1.0.10",
4
4
  "description": "Shared find data logic",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -60,7 +60,8 @@ async function checkFindDataMainStatus(
60
60
  objType,
61
61
  identifiers,
62
62
  callingFlow = "",
63
- removeAttributes = []
63
+ removeAttributes = [],
64
+ overWriteCache = false
64
65
  ) {
65
66
  try {
66
67
 
@@ -84,7 +85,13 @@ async function checkFindDataMainStatus(
84
85
  }
85
86
  },
86
87
  'findData', // prefix
87
- removeAttributes // removeAttributes
88
+ removeAttributes,// removeAttributes
89
+ [],
90
+ [],// removeAttributes
91
+ "", // used when multi invocation lambdas need to link to the original uniqueRequestId
92
+ false, // will return recordNotFound if record not exist, and not create the record, eg sub-tasks for a main record
93
+ null,
94
+ overWriteCache,
88
95
  );
89
96
  if (cacheStatus !== "process") {
90
97
  // is either complete, processing by another thread, error, or some other status