@incodetech/core 2.0.0-alpha.9 → 2.0.0

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,54 +1,251 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "2.0.0-alpha.9",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
+ "source": "./src/index.ts",
9
10
  "types": "./dist/index.d.ts",
10
11
  "import": "./dist/index.esm.js"
11
12
  },
12
13
  "./flow": {
14
+ "source": "./src/modules/flow/index.ts",
13
15
  "types": "./dist/flow.d.ts",
14
16
  "import": "./dist/flow.esm.js"
15
17
  },
18
+ "./flow-events": {
19
+ "source": "./src/modules/flow-events/index.ts",
20
+ "types": "./dist/flow-events.d.ts",
21
+ "import": "./dist/flow-events.esm.js"
22
+ },
16
23
  "./selfie": {
24
+ "source": "./src/modules/selfie/index.ts",
17
25
  "types": "./dist/selfie.d.ts",
18
26
  "import": "./dist/selfie.esm.js"
19
27
  },
28
+ "./authentication": {
29
+ "source": "./src/modules/authentication/index.ts",
30
+ "types": "./dist/authentication.d.ts",
31
+ "import": "./dist/authentication.esm.js"
32
+ },
20
33
  "./phone": {
34
+ "source": "./src/modules/phone/index.ts",
21
35
  "types": "./dist/phone.d.ts",
22
36
  "import": "./dist/phone.esm.js"
23
37
  },
24
38
  "./email": {
39
+ "source": "./src/modules/email/index.ts",
25
40
  "types": "./dist/email.d.ts",
26
41
  "import": "./dist/email.esm.js"
27
42
  },
43
+ "./consent": {
44
+ "source": "./src/modules/consent/index.ts",
45
+ "types": "./dist/consent.d.ts",
46
+ "import": "./dist/consent.esm.js"
47
+ },
48
+ "./mandatory-consent": {
49
+ "source": "./src/modules/mandatory-consent/index.ts",
50
+ "types": "./dist/mandatory-consent.d.ts",
51
+ "import": "./dist/mandatory-consent.esm.js"
52
+ },
53
+ "./id": {
54
+ "source": "./src/modules/id/index.ts",
55
+ "types": "./dist/id.d.ts",
56
+ "import": "./dist/id.esm.js"
57
+ },
58
+ "./id-verification": {
59
+ "source": "./src/modules/id-verification/index.ts",
60
+ "types": "./dist/id-verification.d.ts",
61
+ "import": "./dist/id-verification.esm.js"
62
+ },
63
+ "./id-ocr": {
64
+ "source": "./src/modules/id-ocr/index.ts",
65
+ "types": "./dist/id-ocr.d.ts",
66
+ "import": "./dist/id-ocr.esm.js"
67
+ },
68
+ "./face-match": {
69
+ "source": "./src/modules/face-match/index.ts",
70
+ "types": "./dist/face-match.d.ts",
71
+ "import": "./dist/face-match.esm.js"
72
+ },
73
+ "./curp-validation": {
74
+ "source": "./src/modules/curp-validation/index.ts",
75
+ "types": "./dist/curp-validation.d.ts",
76
+ "import": "./dist/curp-validation.esm.js"
77
+ },
78
+ "./cpf-ocr": {
79
+ "source": "./src/modules/cpf-ocr/index.ts",
80
+ "types": "./dist/cpf-ocr.d.ts",
81
+ "import": "./dist/cpf-ocr.esm.js"
82
+ },
83
+ "./government-validation": {
84
+ "source": "./src/modules/government-validation/index.ts",
85
+ "types": "./dist/government-validation.d.ts",
86
+ "import": "./dist/government-validation.esm.js"
87
+ },
28
88
  "./camera": {
89
+ "source": "./src/modules/camera/index.ts",
29
90
  "types": "./dist/camera.d.ts",
30
91
  "import": "./dist/camera.esm.js"
92
+ },
93
+ "./geolocation": {
94
+ "source": "./src/modules/geolocation/index.ts",
95
+ "types": "./dist/geolocation.d.ts",
96
+ "import": "./dist/geolocation.esm.js"
97
+ },
98
+ "./identity-reuse": {
99
+ "source": "./src/modules/identity-reuse/index.ts",
100
+ "types": "./dist/identity-reuse.d.ts",
101
+ "import": "./dist/identity-reuse.esm.js"
102
+ },
103
+ "./ekyc": {
104
+ "source": "./src/modules/ekyc/index.ts",
105
+ "types": "./dist/ekyc.d.ts",
106
+ "import": "./dist/ekyc.esm.js"
107
+ },
108
+ "./ekyb": {
109
+ "source": "./src/modules/ekyb/index.ts",
110
+ "types": "./dist/ekyb.d.ts",
111
+ "import": "./dist/ekyb.esm.js"
112
+ },
113
+ "./home": {
114
+ "source": "./src/modules/home/index.ts",
115
+ "types": "./dist/home.d.ts",
116
+ "import": "./dist/home.esm.js"
117
+ },
118
+ "./document-upload": {
119
+ "source": "./src/modules/document-upload/index.ts",
120
+ "types": "./dist/document-upload.d.ts",
121
+ "import": "./dist/document-upload.esm.js"
122
+ },
123
+ "./document-capture": {
124
+ "source": "./src/modules/document-capture/index.ts",
125
+ "types": "./dist/document-capture.d.ts",
126
+ "import": "./dist/document-capture.esm.js"
127
+ },
128
+ "./session": {
129
+ "source": "./src/modules/session/index.ts",
130
+ "types": "./dist/session.d.ts",
131
+ "import": "./dist/session.esm.js"
132
+ },
133
+ "./wasm": {
134
+ "source": "./src/modules/wasm/index.ts",
135
+ "types": "./dist/wasm.d.ts",
136
+ "import": "./dist/wasm.esm.js"
137
+ },
138
+ "./device": {
139
+ "source": "./src/modules/device/index.ts",
140
+ "types": "./dist/device.d.ts",
141
+ "import": "./dist/device.esm.js"
142
+ },
143
+ "./events": {
144
+ "source": "./src/modules/events/index.ts",
145
+ "types": "./dist/events.d.ts",
146
+ "import": "./dist/events.esm.js"
147
+ },
148
+ "./http": {
149
+ "source": "./src/modules/http/index.ts",
150
+ "types": "./dist/http.d.ts",
151
+ "import": "./dist/http.esm.js"
152
+ },
153
+ "./extensibility": {
154
+ "source": "./src/modules/extensibility/index.ts",
155
+ "types": "./dist/extensibility.d.ts",
156
+ "import": "./dist/extensibility.esm.js"
157
+ },
158
+ "./redirect-to-mobile": {
159
+ "source": "./src/modules/redirect-to-mobile/index.ts",
160
+ "types": "./dist/redirect-to-mobile.d.ts",
161
+ "import": "./dist/redirect-to-mobile.esm.js"
162
+ },
163
+ "./signature": {
164
+ "source": "./src/modules/signature/index.ts",
165
+ "types": "./dist/signature.d.ts",
166
+ "import": "./dist/signature.esm.js"
167
+ },
168
+ "./antifraud": {
169
+ "source": "./src/modules/antifraud/index.ts",
170
+ "types": "./dist/antifraud.d.ts",
171
+ "import": "./dist/antifraud.esm.js"
172
+ },
173
+ "./watchlist": {
174
+ "source": "./src/modules/watchlist/index.ts",
175
+ "types": "./dist/watchlist.d.ts",
176
+ "import": "./dist/watchlist.esm.js"
177
+ },
178
+ "./custom-watchlist": {
179
+ "source": "./src/modules/custom-watchlist/index.ts",
180
+ "types": "./dist/custom-watchlist.d.ts",
181
+ "import": "./dist/custom-watchlist.esm.js"
182
+ },
183
+ "./electronic-signature": {
184
+ "source": "./src/modules/electronic-signature/index.ts",
185
+ "types": "./dist/electronic-signature.d.ts",
186
+ "import": "./dist/electronic-signature.esm.js"
187
+ },
188
+ "./ae-signature": {
189
+ "source": "./src/modules/ae-signature/index.ts",
190
+ "types": "./dist/ae-signature.d.ts",
191
+ "import": "./dist/ae-signature.esm.js"
192
+ },
193
+ "./qe-signature": {
194
+ "source": "./src/modules/qe-signature/index.ts",
195
+ "types": "./dist/qe-signature.d.ts",
196
+ "import": "./dist/qe-signature.esm.js"
197
+ },
198
+ "./workflow": {
199
+ "source": "./src/modules/workflow/index.ts",
200
+ "types": "./dist/workflow.d.ts",
201
+ "import": "./dist/workflow.esm.js"
202
+ },
203
+ "./cross-document-data-match": {
204
+ "source": "./src/modules/cross-document-data-match/index.ts",
205
+ "types": "./dist/cross-document-data-match.d.ts",
206
+ "import": "./dist/cross-document-data-match.esm.js"
207
+ },
208
+ "./custom-fields": {
209
+ "source": "./src/modules/custom-fields/index.ts",
210
+ "types": "./dist/custom-fields.d.ts",
211
+ "import": "./dist/custom-fields.esm.js"
212
+ },
213
+ "./watchlist-for-business": {
214
+ "source": "./src/modules/watchlist-for-business/index.ts",
215
+ "types": "./dist/watchlist-for-business.d.ts",
216
+ "import": "./dist/watchlist-for-business.esm.js"
217
+ },
218
+ "./trust-graph": {
219
+ "source": "./src/modules/trust-graph/index.ts",
220
+ "types": "./dist/trust-graph.d.ts",
221
+ "import": "./dist/trust-graph.esm.js"
222
+ },
223
+ "./dynamic-forms": {
224
+ "source": "./src/modules/dynamic-forms/index.ts",
225
+ "types": "./dist/dynamic-forms.d.ts",
226
+ "import": "./dist/dynamic-forms.esm.js"
31
227
  }
32
228
  },
33
229
  "files": [
34
230
  "dist"
35
231
  ],
36
232
  "devDependencies": {
37
- "@biomejs/biome": "^2.3.7",
38
233
  "@vitest/coverage-v8": "^4.0.13",
39
234
  "tsdown": "^0.16.6",
40
235
  "typescript": "^5.9.3",
41
236
  "vitest": "^4.0.13",
42
- "@incodetech/infra": "1.0.0",
43
- "@incodetech/config": "1.0.0"
237
+ "@incodetech/config": "1.0.1",
238
+ "@incodetech/infra": "1.1.0"
44
239
  },
45
240
  "scripts": {
46
241
  "build": "tsdown -c tsdown.config.ts",
47
- "dev": "tsdown -c tsdown.config.ts --watch",
242
+ "build:dev": "tsdown -c tsdown.config.ts",
48
243
  "test": "vitest run",
49
244
  "coverage": "vitest run --coverage",
50
- "lint": "biome lint .",
51
- "format": "biome format . --write",
52
- "typecheck": "tsc -p tsconfig.json --noEmit"
245
+ "lint": "eslint .",
246
+ "lint:fix": "eslint . --fix",
247
+ "format": "prettier --write . --ignore-path ../../.prettierignore",
248
+ "format:check": "prettier --check . --ignore-path ../../.prettierignore",
249
+ "typecheck": "tsgo -p tsconfig.json --noEmit"
53
250
  }
54
251
  }
@@ -1,19 +0,0 @@
1
- //#region ../infra/src/manager/Manager.d.ts
2
- /**
3
- * Base manager interface providing state access, subscriptions, and lifecycle control.
4
- * @template TPublicState - The public state type exposed to consumers
5
- */
6
- type Manager<TPublicState> = {
7
- /** Returns the current mapped public state */
8
- getState(): TPublicState;
9
- /**
10
- * Subscribes to state changes.
11
- * @param listener - Callback invoked on every state change
12
- * @returns Unsubscribe function to stop receiving updates
13
- */
14
- subscribe(listener: (state: TPublicState) => void): () => void;
15
- /** Stops the underlying actor and cleans up resources */
16
- stop(): void;
17
- };
18
- //#endregion
19
- export { Manager as t };
@@ -1,3 +0,0 @@
1
- import { t as require_OpenViduLogger } from "./OpenViduLogger-CQyDxBvM.esm.js";
2
-
3
- export default require_OpenViduLogger();