@verii/endpoints-organizations-registrar 1.0.0-pre.1754289942 → 1.0.0-pre.1754372712
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": "@verii/endpoints-organizations-registrar",
|
|
3
|
-
"version": "1.0.0-pre.
|
|
3
|
+
"version": "1.0.0-pre.1754372712",
|
|
4
4
|
"description": "Organization Registrar",
|
|
5
5
|
"repository": "https://github.com/LFDT-Verii/core",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
"@spencejs/spence-events": "~0.10.2",
|
|
24
24
|
"@spencejs/spence-factories": "0.10.2",
|
|
25
25
|
"@spencejs/spence-mongo-repos": "~0.10.2",
|
|
26
|
-
"@verii/auth": "1.0.0-pre.
|
|
27
|
-
"@verii/aws-clients": "1.0.0-pre.
|
|
28
|
-
"@verii/base-contract-io": "1.0.0-pre.
|
|
29
|
-
"@verii/blockchain-functions": "1.0.0-pre.
|
|
30
|
-
"@verii/common-functions": "1.0.0-pre.
|
|
31
|
-
"@verii/common-schemas": "1.0.0-pre.
|
|
32
|
-
"@verii/config": "1.0.0-pre.
|
|
33
|
-
"@verii/contract-permissions": "1.0.0-pre.
|
|
34
|
-
"@verii/country-data": "1.0.0-pre.
|
|
35
|
-
"@verii/crypto": "1.0.0-pre.
|
|
36
|
-
"@verii/csv-parser": "1.0.0-pre.
|
|
37
|
-
"@verii/db-kms": "1.0.0-pre.
|
|
38
|
-
"@verii/did-doc": "1.0.0-pre.
|
|
39
|
-
"@verii/did-web": "1.0.0-pre.
|
|
40
|
-
"@verii/endpoints-credential-types-registrar": "1.0.0-pre.
|
|
41
|
-
"@verii/fastify-plugins": "1.0.0-pre.
|
|
42
|
-
"@verii/fineract-client": "1.0.0-pre.
|
|
43
|
-
"@verii/image-processing": "1.0.0-pre.
|
|
44
|
-
"@verii/jwt": "1.0.0-pre.
|
|
45
|
-
"@verii/organizations-registry": "1.0.0-pre.
|
|
46
|
-
"@verii/rest-queries": "1.0.0-pre.
|
|
47
|
-
"@verii/spencer-mongo-extensions": "1.0.0-pre.
|
|
48
|
-
"@verii/tests-helpers": "1.0.0-pre.
|
|
49
|
-
"@verii/validation": "1.0.0-pre.
|
|
50
|
-
"@verii/vc-checks": "1.0.0-pre.
|
|
51
|
-
"@verii/verifiable-credentials": "1.0.0-pre.
|
|
26
|
+
"@verii/auth": "1.0.0-pre.1754372712",
|
|
27
|
+
"@verii/aws-clients": "1.0.0-pre.1754372712",
|
|
28
|
+
"@verii/base-contract-io": "1.0.0-pre.1754372712",
|
|
29
|
+
"@verii/blockchain-functions": "1.0.0-pre.1754372712",
|
|
30
|
+
"@verii/common-functions": "1.0.0-pre.1754372712",
|
|
31
|
+
"@verii/common-schemas": "1.0.0-pre.1754372712",
|
|
32
|
+
"@verii/config": "1.0.0-pre.1754372712",
|
|
33
|
+
"@verii/contract-permissions": "1.0.0-pre.1754372712",
|
|
34
|
+
"@verii/country-data": "1.0.0-pre.1754372712",
|
|
35
|
+
"@verii/crypto": "1.0.0-pre.1754372712",
|
|
36
|
+
"@verii/csv-parser": "1.0.0-pre.1754372712",
|
|
37
|
+
"@verii/db-kms": "1.0.0-pre.1754372712",
|
|
38
|
+
"@verii/did-doc": "1.0.0-pre.1754372712",
|
|
39
|
+
"@verii/did-web": "1.0.0-pre.1754372712",
|
|
40
|
+
"@verii/endpoints-credential-types-registrar": "1.0.0-pre.1754372712",
|
|
41
|
+
"@verii/fastify-plugins": "1.0.0-pre.1754372712",
|
|
42
|
+
"@verii/fineract-client": "1.0.0-pre.1754372712",
|
|
43
|
+
"@verii/image-processing": "1.0.0-pre.1754372712",
|
|
44
|
+
"@verii/jwt": "1.0.0-pre.1754372712",
|
|
45
|
+
"@verii/organizations-registry": "1.0.0-pre.1754372712",
|
|
46
|
+
"@verii/rest-queries": "1.0.0-pre.1754372712",
|
|
47
|
+
"@verii/spencer-mongo-extensions": "1.0.0-pre.1754372712",
|
|
48
|
+
"@verii/tests-helpers": "1.0.0-pre.1754372712",
|
|
49
|
+
"@verii/validation": "1.0.0-pre.1754372712",
|
|
50
|
+
"@verii/vc-checks": "1.0.0-pre.1754372712",
|
|
51
|
+
"@verii/verifiable-credentials": "1.0.0-pre.1754372712",
|
|
52
52
|
"auth0": "4.27.0",
|
|
53
53
|
"bs58": "~6.0.0",
|
|
54
54
|
"date-fns": "~3.6.0",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@verii/common-functions": "0.5.0-build",
|
|
68
|
-
"@verii/sample-data": "1.0.0-pre.
|
|
69
|
-
"@verii/server-provider": "1.0.0-pre.
|
|
70
|
-
"@verii/test-regexes": "1.0.0-pre.
|
|
68
|
+
"@verii/sample-data": "1.0.0-pre.1754372712",
|
|
69
|
+
"@verii/server-provider": "1.0.0-pre.1754372712",
|
|
70
|
+
"@verii/test-regexes": "1.0.0-pre.1754372712",
|
|
71
71
|
"eslint": "8.57.1",
|
|
72
72
|
"eslint-config-airbnb-base": "14.2.1",
|
|
73
73
|
"eslint-config-prettier": "8.10.0",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"eslint-watch": "7.0.0",
|
|
80
80
|
"ethers": "6.15.0",
|
|
81
81
|
"jest": "29.7.0",
|
|
82
|
-
"nock": "
|
|
82
|
+
"nock": "15.0.0-beta.5",
|
|
83
83
|
"prettier": "2.8.8"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "3709a2a1f92ca07ce703ebf4109d66de214c7aad"
|
|
86
86
|
}
|
|
@@ -129,13 +129,18 @@ const synchronizeMonitors = async (context) => {
|
|
|
129
129
|
|
|
130
130
|
const allMonitorsResponse = await getAllMonitors(context);
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
132
|
+
try {
|
|
133
|
+
return await Promise.all(
|
|
134
|
+
map(
|
|
135
|
+
async (organization) =>
|
|
136
|
+
ensureMonitorsExist(organization, allMonitorsResponse.data, context),
|
|
137
|
+
organizations
|
|
138
|
+
)
|
|
139
|
+
);
|
|
140
|
+
} catch (e) {
|
|
141
|
+
context.log.error(e);
|
|
142
|
+
throw e;
|
|
143
|
+
}
|
|
139
144
|
};
|
|
140
145
|
|
|
141
146
|
const findMonitorByPartialMatch = (monitorsArray, { orgId, serviceId }) =>
|