@opencrvs/toolkit 2.0.0-rc.358aed8 → 2.0.0-rc.35ea423

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/dist/api/index.js CHANGED
@@ -28,11 +28,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/api/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var api_exports = {};
32
+ __export(api_exports, {
33
33
  createClient: () => createClient
34
34
  });
35
- module.exports = __toCommonJS(index_exports);
35
+ module.exports = __toCommonJS(api_exports);
36
36
  var import_client = require("@trpc/client");
37
37
  var import_superjson = __toESM(require("superjson"));
38
38
  function createClient(baseUrl, token) {
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/application-config/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var application_config_exports = {};
32
+ __export(application_config_exports, {
33
33
  ApplicationConfig: () => ApplicationConfig,
34
34
  BackgroundConfig: () => BackgroundConfig,
35
35
  ClientConfig: () => ClientConfig,
@@ -39,7 +39,7 @@ __export(index_exports, {
39
39
  defineClientConfig: () => defineClientConfig,
40
40
  defineLoginConfig: () => defineLoginConfig
41
41
  });
42
- module.exports = __toCommonJS(index_exports);
42
+ module.exports = __toCommonJS(application_config_exports);
43
43
 
44
44
  // ../commons/src/application-config.ts
45
45
  var z20 = __toESM(require("zod/v4"));
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/conditionals/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var conditionals_exports = {};
32
+ __export(conditionals_exports, {
33
33
  always: () => always,
34
34
  alwaysTrue: () => alwaysTrue,
35
35
  and: () => and,
@@ -46,7 +46,7 @@ __export(index_exports, {
46
46
  status: () => status,
47
47
  user: () => user
48
48
  });
49
- module.exports = __toCommonJS(index_exports);
49
+ module.exports = __toCommonJS(conditionals_exports);
50
50
  var z8 = __toESM(require("zod/v4"));
51
51
 
52
52
  // ../commons/src/conditionals/conditionals.ts
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/events/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var events_exports = {};
32
+ __export(events_exports, {
33
33
  ACTION_SCOPE_MAP: () => ACTION_SCOPE_MAP,
34
34
  Action: () => Action,
35
35
  ActionBase: () => ActionBase,
@@ -445,7 +445,7 @@ __export(index_exports, {
445
445
  window: () => window2,
446
446
  writeActions: () => writeActions
447
447
  });
448
- module.exports = __toCommonJS(index_exports);
448
+ module.exports = __toCommonJS(events_exports);
449
449
 
450
450
  // ../commons/src/events/AuditLog.ts
451
451
  var z5 = __toESM(require("zod/v4"));
@@ -29,11 +29,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
 
31
31
  // src/migrations/v2.0/index.ts
32
- var index_exports = {};
33
- __export(index_exports, {
32
+ var v2_exports = {};
33
+ __export(v2_exports, {
34
34
  runUpgrade: () => runUpgrade
35
35
  });
36
- module.exports = __toCommonJS(index_exports);
36
+ module.exports = __toCommonJS(v2_exports);
37
37
 
38
38
  // src/migrations/v2.0/remove-review-from-register-action.ts
39
39
  var import_ts_morph = require("ts-morph");
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/notification/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var notification_exports = {};
32
+ __export(notification_exports, {
33
33
  BasePayload: () => BasePayload,
34
34
  Recipient: () => Recipient,
35
35
  TriggerEvent: () => TriggerEvent,
@@ -37,7 +37,7 @@ __export(index_exports, {
37
37
  parseUserEventTrigger: () => parseUserEventTrigger,
38
38
  triggerUserEventNotification: () => triggerUserEventNotification
39
39
  });
40
- module.exports = __toCommonJS(index_exports);
40
+ module.exports = __toCommonJS(notification_exports);
41
41
  var z45 = __toESM(require("zod/v4"));
42
42
 
43
43
  // ../commons/src/url.ts
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/scopes/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var scopes_exports = {};
32
+ __export(scopes_exports, {
33
33
  EncodedScope: () => EncodedScope2,
34
34
  JurisdictionFilter: () => JurisdictionFilter,
35
35
  RecordScopeTypeV2: () => RecordScopeTypeV2,
@@ -58,7 +58,7 @@ __export(index_exports, {
58
58
  scopeUsesPrintCertifiedCopiesOptions: () => scopeUsesPrintCertifiedCopiesOptions,
59
59
  scopeUsesRoleOptions: () => scopeUsesRoleOptions
60
60
  });
61
- module.exports = __toCommonJS(index_exports);
61
+ module.exports = __toCommonJS(scopes_exports);
62
62
  var z4 = __toESM(require("zod/v4"));
63
63
 
64
64
  // ../commons/src/scopes.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.358aed8",
3
+ "version": "2.0.0-rc.35ea423",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {
@@ -44,7 +44,7 @@
44
44
  "@opencrvs/events": "^2.0.0",
45
45
  "@types/object-hash": "^3.0.6",
46
46
  "@types/uuid": "^9.0.3",
47
- "esbuild": "^0.28.0",
47
+ "esbuild": "^0.24.0",
48
48
  "typescript": "^5.6.3"
49
49
  },
50
50
  "moduleNameMapper": {