@izara_project/izara-core-library-find-data 1.0.2 → 1.0.4
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 +7 -4
- package/src/FindDataSharedLib.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@izara_project/izara-core-library-find-data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Shared find data logic",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,11 @@
|
|
|
20
20
|
"testEnvironment": "node"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@izara_project/izara-core-library-
|
|
24
|
-
"@izara_project/izara-core-library-
|
|
25
|
-
"
|
|
23
|
+
"@izara_project/izara-core-library-asynchronous-flow": "^1.0.5",
|
|
24
|
+
"@izara_project/izara-core-library-core": "^1.0.18",
|
|
25
|
+
"@izara_project/izara-core-library-external-request": "^1.0.18",
|
|
26
|
+
"@izara_project/izara-core-library-sns": "1.0.6",
|
|
27
|
+
"@izara_project/izara-core-library-stored-cache": "^1.0.3",
|
|
28
|
+
"@izara_project/izara-shared-core": "1.0.2"
|
|
26
29
|
}
|
|
27
30
|
}
|
package/src/FindDataSharedLib.js
CHANGED
|
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
18
18
|
'use strict';
|
|
19
19
|
|
|
20
20
|
// External library imports
|
|
21
|
-
const hash = require('
|
|
21
|
+
const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
22
22
|
|
|
23
23
|
// Izara core libraries
|
|
24
24
|
const { NoRetryError } = require('@izara_project/izara-core-library-core/src/NoRetryError');
|
|
@@ -49,7 +49,7 @@ module.exports.createFindDataId = (
|
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Checks if existing FindDataMain exists, if it does check expired? if yes reset to processing
|
|
52
|
-
* @param {
|
|
52
|
+
* @param {object} fieldName
|
|
53
53
|
* @param {string} objType
|
|
54
54
|
* @param {object} identifiers
|
|
55
55
|
*
|
|
@@ -268,7 +268,7 @@ module.exports.sendFindDataCompleteMessage = async (
|
|
|
268
268
|
errorsFound: errorsFound,
|
|
269
269
|
timeCacheComplete: timeCacheComplete
|
|
270
270
|
}),
|
|
271
|
-
TopicArn: await snsSharedLib.
|
|
271
|
+
TopicArn: await snsSharedLib.snsTopicArnByFlowSchema(_izContext, 'FindDataComplete_Out')
|
|
272
272
|
};
|
|
273
273
|
if (callingFlow) {
|
|
274
274
|
msgParams.MessageAttributes = {
|