@verii/endpoints-organizations-registrar 1.0.0-pre.1754353016 → 1.0.0-pre.1754430833

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.1754353016",
3
+ "version": "1.0.0-pre.1754430833",
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.1754353016",
27
- "@verii/aws-clients": "1.0.0-pre.1754353016",
28
- "@verii/base-contract-io": "1.0.0-pre.1754353016",
29
- "@verii/blockchain-functions": "1.0.0-pre.1754353016",
30
- "@verii/common-functions": "1.0.0-pre.1754353016",
31
- "@verii/common-schemas": "1.0.0-pre.1754353016",
32
- "@verii/config": "1.0.0-pre.1754353016",
33
- "@verii/contract-permissions": "1.0.0-pre.1754353016",
34
- "@verii/country-data": "1.0.0-pre.1754353016",
35
- "@verii/crypto": "1.0.0-pre.1754353016",
36
- "@verii/csv-parser": "1.0.0-pre.1754353016",
37
- "@verii/db-kms": "1.0.0-pre.1754353016",
38
- "@verii/did-doc": "1.0.0-pre.1754353016",
39
- "@verii/did-web": "1.0.0-pre.1754353016",
40
- "@verii/endpoints-credential-types-registrar": "1.0.0-pre.1754353016",
41
- "@verii/fastify-plugins": "1.0.0-pre.1754353016",
42
- "@verii/fineract-client": "1.0.0-pre.1754353016",
43
- "@verii/image-processing": "1.0.0-pre.1754353016",
44
- "@verii/jwt": "1.0.0-pre.1754353016",
45
- "@verii/organizations-registry": "1.0.0-pre.1754353016",
46
- "@verii/rest-queries": "1.0.0-pre.1754353016",
47
- "@verii/spencer-mongo-extensions": "1.0.0-pre.1754353016",
48
- "@verii/tests-helpers": "1.0.0-pre.1754353016",
49
- "@verii/validation": "1.0.0-pre.1754353016",
50
- "@verii/vc-checks": "1.0.0-pre.1754353016",
51
- "@verii/verifiable-credentials": "1.0.0-pre.1754353016",
26
+ "@verii/auth": "1.0.0-pre.1754430833",
27
+ "@verii/aws-clients": "1.0.0-pre.1754430833",
28
+ "@verii/base-contract-io": "1.0.0-pre.1754430833",
29
+ "@verii/blockchain-functions": "1.0.0-pre.1754430833",
30
+ "@verii/common-functions": "1.0.0-pre.1754430833",
31
+ "@verii/common-schemas": "1.0.0-pre.1754430833",
32
+ "@verii/config": "1.0.0-pre.1754430833",
33
+ "@verii/contract-permissions": "1.0.0-pre.1754430833",
34
+ "@verii/country-data": "1.0.0-pre.1754430833",
35
+ "@verii/crypto": "1.0.0-pre.1754430833",
36
+ "@verii/csv-parser": "1.0.0-pre.1754430833",
37
+ "@verii/db-kms": "1.0.0-pre.1754430833",
38
+ "@verii/did-doc": "1.0.0-pre.1754430833",
39
+ "@verii/did-web": "1.0.0-pre.1754430833",
40
+ "@verii/endpoints-credential-types-registrar": "1.0.0-pre.1754430833",
41
+ "@verii/fastify-plugins": "1.0.0-pre.1754430833",
42
+ "@verii/fineract-client": "1.0.0-pre.1754430833",
43
+ "@verii/image-processing": "1.0.0-pre.1754430833",
44
+ "@verii/jwt": "1.0.0-pre.1754430833",
45
+ "@verii/organizations-registry": "1.0.0-pre.1754430833",
46
+ "@verii/rest-queries": "1.0.0-pre.1754430833",
47
+ "@verii/spencer-mongo-extensions": "1.0.0-pre.1754430833",
48
+ "@verii/tests-helpers": "1.0.0-pre.1754430833",
49
+ "@verii/validation": "1.0.0-pre.1754430833",
50
+ "@verii/vc-checks": "1.0.0-pre.1754430833",
51
+ "@verii/verifiable-credentials": "1.0.0-pre.1754430833",
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.1754353016",
69
- "@verii/server-provider": "1.0.0-pre.1754353016",
70
- "@verii/test-regexes": "1.0.0-pre.1754353016",
68
+ "@verii/sample-data": "1.0.0-pre.1754430833",
69
+ "@verii/server-provider": "1.0.0-pre.1754430833",
70
+ "@verii/test-regexes": "1.0.0-pre.1754430833",
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": "14.0.5",
82
+ "nock": "15.0.0-beta.5",
83
83
  "prettier": "2.8.8"
84
84
  },
85
- "gitHead": "34df98cb19fba80fd6410e7822917e54a8f9ec32"
85
+ "gitHead": "1f66b3f094e6b835d75d8321b97f08160ce3f837"
86
86
  }
@@ -129,13 +129,18 @@ const synchronizeMonitors = async (context) => {
129
129
 
130
130
  const allMonitorsResponse = await getAllMonitors(context);
131
131
 
132
- return Promise.all(
133
- map(
134
- async (organization) =>
135
- ensureMonitorsExist(organization, allMonitorsResponse.data, context),
136
- organizations
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 }) =>