@prosopo/types 0.1.15 → 0.1.17

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.
Files changed (97) hide show
  1. package/dist/config/config.d.ts +30 -30
  2. package/dist/config/config.d.ts.map +1 -1
  3. package/dist/config/config.js +72 -75
  4. package/dist/config/config.js.map +1 -1
  5. package/dist/config/index.d.ts +1 -1
  6. package/dist/config/index.d.ts.map +1 -1
  7. package/dist/config/index.js +14 -4
  8. package/dist/config/index.js.map +1 -1
  9. package/dist/contract/artifacts.d.ts.map +1 -1
  10. package/dist/contract/artifacts.js +84 -88
  11. package/dist/contract/artifacts.js.map +1 -1
  12. package/dist/contract/batch.d.ts +1 -1
  13. package/dist/contract/batch.d.ts.map +1 -1
  14. package/dist/contract/batch.js +1 -2
  15. package/dist/contract/contract.d.ts.map +1 -1
  16. package/dist/contract/contract.js +11 -14
  17. package/dist/contract/contract.js.map +1 -1
  18. package/dist/contract/index.d.ts +5 -5
  19. package/dist/contract/index.d.ts.map +1 -1
  20. package/dist/contract/index.js +15 -20
  21. package/dist/contract/index.js.map +1 -1
  22. package/dist/contract/interface.d.ts +1 -0
  23. package/dist/contract/interface.js +14 -1
  24. package/dist/contract/interface.js.map +1 -1
  25. package/dist/contract/typechain/captcha/index.d.ts +2 -2
  26. package/dist/contract/typechain/captcha/index.d.ts.map +1 -1
  27. package/dist/contract/typechain/captcha/index.js +15 -5
  28. package/dist/contract/typechain/captcha/index.js.map +1 -1
  29. package/dist/contract/typechain/captcha/types-arguments/captcha.d.ts +13 -13
  30. package/dist/contract/typechain/captcha/types-arguments/captcha.d.ts.map +1 -1
  31. package/dist/contract/typechain/captcha/types-arguments/captcha.js +12 -15
  32. package/dist/contract/typechain/captcha/types-arguments/captcha.js.map +1 -1
  33. package/dist/contract/typechain/captcha/types-arguments/index.d.ts +1 -1
  34. package/dist/contract/typechain/captcha/types-arguments/index.d.ts.map +1 -1
  35. package/dist/contract/typechain/captcha/types-arguments/index.js +14 -5
  36. package/dist/contract/typechain/captcha/types-arguments/index.js.map +1 -1
  37. package/dist/contract/typechain/captcha/types-returns/captcha.d.ts.map +1 -1
  38. package/dist/contract/typechain/captcha/types-returns/captcha.js +12 -15
  39. package/dist/contract/typechain/captcha/types-returns/captcha.js.map +1 -1
  40. package/dist/contract/typechain/captcha/types-returns/index.d.ts +1 -1
  41. package/dist/contract/typechain/captcha/types-returns/index.d.ts.map +1 -1
  42. package/dist/contract/typechain/captcha/types-returns/index.js +14 -4
  43. package/dist/contract/typechain/captcha/types-returns/index.js.map +1 -1
  44. package/dist/contract/typechain/index.d.ts +1 -1
  45. package/dist/contract/typechain/index.d.ts.map +1 -1
  46. package/dist/contract/typechain/index.js +14 -4
  47. package/dist/contract/typechain/index.js.map +1 -1
  48. package/dist/contract/useWeight.d.ts.map +1 -1
  49. package/dist/contract/useWeight.js +1 -2
  50. package/dist/datasets/assets.d.ts.map +1 -1
  51. package/dist/datasets/assets.js +11 -14
  52. package/dist/datasets/assets.js.map +1 -1
  53. package/dist/datasets/captcha.d.ts +250 -31
  54. package/dist/datasets/captcha.d.ts.map +1 -1
  55. package/dist/datasets/captcha.js +58 -37
  56. package/dist/datasets/captcha.js.map +1 -1
  57. package/dist/datasets/dataset.d.ts +84 -69
  58. package/dist/datasets/dataset.d.ts.map +1 -1
  59. package/dist/datasets/dataset.js +20 -23
  60. package/dist/datasets/dataset.js.map +1 -1
  61. package/dist/datasets/index.d.ts +4 -4
  62. package/dist/datasets/index.d.ts.map +1 -1
  63. package/dist/datasets/index.js +17 -7
  64. package/dist/datasets/index.js.map +1 -1
  65. package/dist/datasets/merkle.d.ts.map +1 -1
  66. package/dist/datasets/merkle.js +11 -14
  67. package/dist/datasets/merkle.js.map +1 -1
  68. package/dist/index.d.ts +5 -5
  69. package/dist/index.d.ts.map +1 -1
  70. package/dist/index.js +18 -8
  71. package/dist/index.js.map +1 -1
  72. package/dist/procaptcha/index.d.ts +1 -1
  73. package/dist/procaptcha/index.d.ts.map +1 -1
  74. package/dist/procaptcha/index.js +14 -4
  75. package/dist/procaptcha/index.js.map +1 -1
  76. package/dist/procaptcha/manager.d.ts.map +1 -1
  77. package/dist/procaptcha/manager.js +23 -13
  78. package/dist/procaptcha/manager.js.map +1 -1
  79. package/dist/provider/accounts.d.ts +1 -1
  80. package/dist/provider/accounts.d.ts.map +1 -1
  81. package/dist/provider/accounts.js +1 -2
  82. package/dist/provider/api.d.ts +6 -1
  83. package/dist/provider/api.d.ts.map +1 -1
  84. package/dist/provider/api.js +23 -24
  85. package/dist/provider/api.js.map +1 -1
  86. package/dist/provider/argv.d.ts +2 -6
  87. package/dist/provider/argv.d.ts.map +1 -1
  88. package/dist/provider/argv.js +16 -10
  89. package/dist/provider/argv.js.map +1 -1
  90. package/dist/provider/index.d.ts +4 -4
  91. package/dist/provider/index.d.ts.map +1 -1
  92. package/dist/provider/index.js +5 -8
  93. package/dist/provider/index.js.map +1 -1
  94. package/dist/provider/scheduler.d.ts.map +1 -1
  95. package/dist/provider/scheduler.js +17 -7
  96. package/dist/provider/scheduler.js.map +1 -1
  97. package/package.json +37 -37
@@ -1,5 +1,5 @@
1
- import { ArgumentTypes } from '../contract/typechain/captcha/types-arguments';
2
- import { Captcha, CaptchaTypes, CaptchaWithoutId } from './captcha';
1
+ import { ArgumentTypes } from '../contract/typechain/captcha/types-arguments/index.js';
2
+ import { Captcha, CaptchaTypes, CaptchaWithoutId } from './captcha.js';
3
3
  import { z } from 'zod';
4
4
  export type DatasetBase = {
5
5
  datasetId?: ArgumentTypes.Hash;
@@ -33,44 +33,47 @@ export declare const DatasetSchema: z.ZodObject<{
33
33
  captchaContentId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
34
34
  salt: z.ZodString;
35
35
  solution: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
36
+ unlabelled: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
36
37
  timeLimit: z.ZodOptional<z.ZodNumber>;
37
38
  items: z.ZodArray<z.ZodObject<{
38
- hash: z.ZodOptional<z.ZodString>;
39
+ hash: z.ZodString;
39
40
  data: z.ZodString;
40
- type: z.ZodNativeEnum<typeof import("./captcha").CaptchaItemTypes>;
41
+ type: z.ZodNativeEnum<typeof import("./captcha.js").CaptchaItemTypes>;
41
42
  }, "strip", z.ZodTypeAny, {
42
- type: import("./captcha").CaptchaItemTypes;
43
+ type: import("./captcha.js").CaptchaItemTypes;
43
44
  data: string;
44
- hash?: string | undefined;
45
+ hash: string;
45
46
  }, {
46
- type: import("./captcha").CaptchaItemTypes;
47
+ type: import("./captcha.js").CaptchaItemTypes;
47
48
  data: string;
48
- hash?: string | undefined;
49
+ hash: string;
49
50
  }>, "many">;
50
51
  target: z.ZodString;
51
52
  }, "strip", z.ZodTypeAny, {
52
- salt: string;
53
53
  items: {
54
- type: import("./captcha").CaptchaItemTypes;
54
+ type: import("./captcha.js").CaptchaItemTypes;
55
55
  data: string;
56
- hash?: string | undefined;
56
+ hash: string;
57
57
  }[];
58
+ salt: string;
58
59
  target: string;
59
60
  captchaId?: string | undefined;
60
61
  captchaContentId?: string | undefined;
61
62
  solution?: number[] | undefined;
63
+ unlabelled?: number[] | undefined;
62
64
  timeLimit?: number | undefined;
63
65
  }, {
64
- salt: string;
65
66
  items: {
66
- type: import("./captcha").CaptchaItemTypes;
67
+ type: import("./captcha.js").CaptchaItemTypes;
67
68
  data: string;
68
- hash?: string | undefined;
69
+ hash: string;
69
70
  }[];
71
+ salt: string;
70
72
  target: string;
71
73
  captchaId?: string | undefined;
72
74
  captchaContentId?: string | undefined;
73
75
  solution?: number[] | undefined;
76
+ unlabelled?: number[] | undefined;
74
77
  timeLimit?: number | undefined;
75
78
  }>, "many">;
76
79
  format: z.ZodNativeEnum<typeof CaptchaTypes>;
@@ -79,16 +82,17 @@ export declare const DatasetSchema: z.ZodObject<{
79
82
  timeLimit: z.ZodOptional<z.ZodNumber>;
80
83
  }, "strip", z.ZodTypeAny, {
81
84
  captchas: {
82
- salt: string;
83
85
  items: {
84
- type: import("./captcha").CaptchaItemTypes;
86
+ type: import("./captcha.js").CaptchaItemTypes;
85
87
  data: string;
86
- hash?: string | undefined;
88
+ hash: string;
87
89
  }[];
90
+ salt: string;
88
91
  target: string;
89
92
  captchaId?: string | undefined;
90
93
  captchaContentId?: string | undefined;
91
94
  solution?: number[] | undefined;
95
+ unlabelled?: number[] | undefined;
92
96
  timeLimit?: number | undefined;
93
97
  }[];
94
98
  format: CaptchaTypes;
@@ -99,16 +103,17 @@ export declare const DatasetSchema: z.ZodObject<{
99
103
  timeLimit?: number | undefined;
100
104
  }, {
101
105
  captchas: {
102
- salt: string;
103
106
  items: {
104
- type: import("./captcha").CaptchaItemTypes;
107
+ type: import("./captcha.js").CaptchaItemTypes;
105
108
  data: string;
106
- hash?: string | undefined;
109
+ hash: string;
107
110
  }[];
111
+ salt: string;
108
112
  target: string;
109
113
  captchaId?: string | undefined;
110
114
  captchaContentId?: string | undefined;
111
115
  solution?: number[] | undefined;
116
+ unlabelled?: number[] | undefined;
112
117
  timeLimit?: number | undefined;
113
118
  }[];
114
119
  format: CaptchaTypes;
@@ -122,178 +127,188 @@ export declare const DatasetWithIdsSchema: z.ZodObject<{
122
127
  datasetId: z.ZodString;
123
128
  datasetContentId: z.ZodOptional<z.ZodString>;
124
129
  captchas: z.ZodArray<z.ZodObject<{
125
- captchaId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
126
- captchaContentId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
127
- salt: z.ZodString;
128
- timeLimit: z.ZodOptional<z.ZodNumber>;
129
130
  items: z.ZodArray<z.ZodObject<{
130
- hash: z.ZodOptional<z.ZodString>;
131
+ hash: z.ZodString;
131
132
  data: z.ZodString;
132
- type: z.ZodNativeEnum<typeof import("./captcha").CaptchaItemTypes>;
133
+ type: z.ZodNativeEnum<typeof import("./captcha.js").CaptchaItemTypes>;
133
134
  }, "strip", z.ZodTypeAny, {
134
- type: import("./captcha").CaptchaItemTypes;
135
+ type: import("./captcha.js").CaptchaItemTypes;
135
136
  data: string;
136
- hash?: string | undefined;
137
+ hash: string;
137
138
  }, {
138
- type: import("./captcha").CaptchaItemTypes;
139
+ type: import("./captcha.js").CaptchaItemTypes;
139
140
  data: string;
140
- hash?: string | undefined;
141
+ hash: string;
141
142
  }>, "many">;
143
+ captchaId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
144
+ captchaContentId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
145
+ salt: z.ZodString;
146
+ timeLimit: z.ZodOptional<z.ZodNumber>;
142
147
  target: z.ZodString;
143
148
  solution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
149
+ unlabelled: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
144
150
  }, "strip", z.ZodTypeAny, {
145
- salt: string;
146
151
  items: {
147
- type: import("./captcha").CaptchaItemTypes;
152
+ type: import("./captcha.js").CaptchaItemTypes;
148
153
  data: string;
149
- hash?: string | undefined;
154
+ hash: string;
150
155
  }[];
156
+ salt: string;
151
157
  target: string;
152
158
  captchaId?: string | undefined;
153
159
  captchaContentId?: string | undefined;
154
160
  timeLimit?: number | undefined;
155
161
  solution?: string[] | undefined;
162
+ unlabelled?: string[] | undefined;
156
163
  }, {
157
- salt: string;
158
164
  items: {
159
- type: import("./captcha").CaptchaItemTypes;
165
+ type: import("./captcha.js").CaptchaItemTypes;
160
166
  data: string;
161
- hash?: string | undefined;
167
+ hash: string;
162
168
  }[];
169
+ salt: string;
163
170
  target: string;
164
171
  captchaId?: string | undefined;
165
172
  captchaContentId?: string | undefined;
166
173
  timeLimit?: number | undefined;
167
174
  solution?: string[] | undefined;
175
+ unlabelled?: string[] | undefined;
168
176
  }>, "many">;
169
177
  format: z.ZodNativeEnum<typeof CaptchaTypes>;
170
178
  solutionTree: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
171
179
  contentTree: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
172
180
  }, "strip", z.ZodTypeAny, {
173
181
  captchas: {
174
- salt: string;
175
182
  items: {
176
- type: import("./captcha").CaptchaItemTypes;
183
+ type: import("./captcha.js").CaptchaItemTypes;
177
184
  data: string;
178
- hash?: string | undefined;
185
+ hash: string;
179
186
  }[];
187
+ salt: string;
180
188
  target: string;
181
189
  captchaId?: string | undefined;
182
190
  captchaContentId?: string | undefined;
183
191
  timeLimit?: number | undefined;
184
192
  solution?: string[] | undefined;
193
+ unlabelled?: string[] | undefined;
185
194
  }[];
186
- datasetId: string;
187
195
  format: CaptchaTypes;
196
+ datasetId: string;
188
197
  datasetContentId?: string | undefined;
189
198
  solutionTree?: string[][] | undefined;
190
199
  contentTree?: string[][] | undefined;
191
200
  }, {
192
201
  captchas: {
193
- salt: string;
194
202
  items: {
195
- type: import("./captcha").CaptchaItemTypes;
203
+ type: import("./captcha.js").CaptchaItemTypes;
196
204
  data: string;
197
- hash?: string | undefined;
205
+ hash: string;
198
206
  }[];
207
+ salt: string;
199
208
  target: string;
200
209
  captchaId?: string | undefined;
201
210
  captchaContentId?: string | undefined;
202
211
  timeLimit?: number | undefined;
203
212
  solution?: string[] | undefined;
213
+ unlabelled?: string[] | undefined;
204
214
  }[];
205
- datasetId: string;
206
215
  format: CaptchaTypes;
216
+ datasetId: string;
207
217
  datasetContentId?: string | undefined;
208
218
  solutionTree?: string[][] | undefined;
209
219
  contentTree?: string[][] | undefined;
210
220
  }>;
211
221
  export declare const DatasetWithIdsAndTreeSchema: z.ZodObject<{
212
222
  captchas: z.ZodArray<z.ZodObject<{
213
- captchaId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
214
- captchaContentId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
215
- salt: z.ZodString;
216
- timeLimit: z.ZodOptional<z.ZodNumber>;
217
223
  items: z.ZodArray<z.ZodObject<{
218
- hash: z.ZodOptional<z.ZodString>;
224
+ hash: z.ZodString;
219
225
  data: z.ZodString;
220
- type: z.ZodNativeEnum<typeof import("./captcha").CaptchaItemTypes>;
226
+ type: z.ZodNativeEnum<typeof import("./captcha.js").CaptchaItemTypes>;
221
227
  }, "strip", z.ZodTypeAny, {
222
- type: import("./captcha").CaptchaItemTypes;
228
+ type: import("./captcha.js").CaptchaItemTypes;
223
229
  data: string;
224
- hash?: string | undefined;
230
+ hash: string;
225
231
  }, {
226
- type: import("./captcha").CaptchaItemTypes;
232
+ type: import("./captcha.js").CaptchaItemTypes;
227
233
  data: string;
228
- hash?: string | undefined;
234
+ hash: string;
229
235
  }>, "many">;
236
+ captchaId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
237
+ captchaContentId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
238
+ salt: z.ZodString;
239
+ timeLimit: z.ZodOptional<z.ZodNumber>;
230
240
  target: z.ZodString;
231
241
  solution: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
+ unlabelled: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
243
  }, "strip", z.ZodTypeAny, {
233
- salt: string;
234
244
  items: {
235
- type: import("./captcha").CaptchaItemTypes;
245
+ type: import("./captcha.js").CaptchaItemTypes;
236
246
  data: string;
237
- hash?: string | undefined;
247
+ hash: string;
238
248
  }[];
249
+ salt: string;
239
250
  target: string;
240
251
  captchaId?: string | undefined;
241
252
  captchaContentId?: string | undefined;
242
253
  timeLimit?: number | undefined;
243
254
  solution?: string[] | undefined;
255
+ unlabelled?: string[] | undefined;
244
256
  }, {
245
- salt: string;
246
257
  items: {
247
- type: import("./captcha").CaptchaItemTypes;
258
+ type: import("./captcha.js").CaptchaItemTypes;
248
259
  data: string;
249
- hash?: string | undefined;
260
+ hash: string;
250
261
  }[];
262
+ salt: string;
251
263
  target: string;
252
264
  captchaId?: string | undefined;
253
265
  captchaContentId?: string | undefined;
254
266
  timeLimit?: number | undefined;
255
267
  solution?: string[] | undefined;
268
+ unlabelled?: string[] | undefined;
256
269
  }>, "many">;
270
+ format: z.ZodNativeEnum<typeof CaptchaTypes>;
257
271
  datasetId: z.ZodString;
258
272
  datasetContentId: z.ZodOptional<z.ZodString>;
259
- format: z.ZodNativeEnum<typeof CaptchaTypes>;
260
273
  solutionTree: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
261
274
  contentTree: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
262
275
  }, "strip", z.ZodTypeAny, {
263
276
  captchas: {
264
- salt: string;
265
277
  items: {
266
- type: import("./captcha").CaptchaItemTypes;
278
+ type: import("./captcha.js").CaptchaItemTypes;
267
279
  data: string;
268
- hash?: string | undefined;
280
+ hash: string;
269
281
  }[];
282
+ salt: string;
270
283
  target: string;
271
284
  captchaId?: string | undefined;
272
285
  captchaContentId?: string | undefined;
273
286
  timeLimit?: number | undefined;
274
287
  solution?: string[] | undefined;
288
+ unlabelled?: string[] | undefined;
275
289
  }[];
276
- datasetId: string;
277
290
  format: CaptchaTypes;
291
+ datasetId: string;
278
292
  solutionTree: string[][];
279
293
  contentTree: string[][];
280
294
  datasetContentId?: string | undefined;
281
295
  }, {
282
296
  captchas: {
283
- salt: string;
284
297
  items: {
285
- type: import("./captcha").CaptchaItemTypes;
298
+ type: import("./captcha.js").CaptchaItemTypes;
286
299
  data: string;
287
- hash?: string | undefined;
300
+ hash: string;
288
301
  }[];
302
+ salt: string;
289
303
  target: string;
290
304
  captchaId?: string | undefined;
291
305
  captchaContentId?: string | undefined;
292
306
  timeLimit?: number | undefined;
293
307
  solution?: string[] | undefined;
308
+ unlabelled?: string[] | undefined;
294
309
  }[];
295
- datasetId: string;
296
310
  format: CaptchaTypes;
311
+ datasetId: string;
297
312
  solutionTree: string[][];
298
313
  contentTree: string[][];
299
314
  datasetContentId?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"dataset.d.ts","sourceRoot":"","sources":["../../src/datasets/dataset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,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AID,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGtC,CAAA"}
@@ -1,28 +1,25 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DatasetWithIdsAndTreeSchema = exports.DatasetWithIdsSchema = exports.DatasetSchema = void 0;
4
- const captcha_1 = require("./captcha");
5
- const zod_1 = require("zod");
1
+ import { CaptchaTypes, CaptchasSchema, SelectAllCaptchaSchema } from './captcha.js';
2
+ import { z } from 'zod';
6
3
  // Zod schemas
7
- exports.DatasetSchema = zod_1.z.object({
8
- datasetId: zod_1.z.string().optional(),
9
- datasetContentId: zod_1.z.string().optional(),
10
- captchas: captcha_1.CaptchasSchema,
11
- format: zod_1.z.nativeEnum(captcha_1.CaptchaTypes),
12
- solutionTree: zod_1.z.array(zod_1.z.array(zod_1.z.string())).optional(),
13
- contentTree: zod_1.z.array(zod_1.z.array(zod_1.z.string())).optional(),
14
- timeLimit: zod_1.z.number().optional(),
4
+ export const DatasetSchema = z.object({
5
+ datasetId: z.string().optional(),
6
+ datasetContentId: z.string().optional(),
7
+ captchas: CaptchasSchema,
8
+ format: z.nativeEnum(CaptchaTypes),
9
+ solutionTree: z.array(z.array(z.string())).optional(),
10
+ contentTree: z.array(z.array(z.string())).optional(),
11
+ timeLimit: z.number().optional(),
15
12
  });
16
- exports.DatasetWithIdsSchema = zod_1.z.object({
17
- datasetId: zod_1.z.string(),
18
- datasetContentId: zod_1.z.string().optional(),
19
- captchas: zod_1.z.array(captcha_1.SelectAllCaptchaSchema),
20
- format: zod_1.z.nativeEnum(captcha_1.CaptchaTypes),
21
- solutionTree: zod_1.z.array(zod_1.z.array(zod_1.z.string())).optional(),
22
- contentTree: zod_1.z.array(zod_1.z.array(zod_1.z.string())).optional(),
13
+ export const DatasetWithIdsSchema = z.object({
14
+ datasetId: z.string(),
15
+ datasetContentId: z.string().optional(),
16
+ captchas: z.array(SelectAllCaptchaSchema),
17
+ format: z.nativeEnum(CaptchaTypes),
18
+ solutionTree: z.array(z.array(z.string())).optional(),
19
+ contentTree: z.array(z.array(z.string())).optional(),
23
20
  });
24
- exports.DatasetWithIdsAndTreeSchema = exports.DatasetWithIdsSchema.extend({
25
- solutionTree: zod_1.z.array(zod_1.z.array(zod_1.z.string())),
26
- contentTree: zod_1.z.array(zod_1.z.array(zod_1.z.string())),
21
+ export const DatasetWithIdsAndTreeSchema = DatasetWithIdsSchema.extend({
22
+ solutionTree: z.array(z.array(z.string())),
23
+ contentTree: z.array(z.array(z.string())),
27
24
  });
28
25
  //# sourceMappingURL=dataset.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataset.js","sourceRoot":"","sources":["../../src/datasets/dataset.ts"],"names":[],"mappings":";;;AACA,uCAA2G;AAC3G,6BAAuB;AA+BvB,cAAc;AAED,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IAClC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,wBAAc;IACxB,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,sBAAY,CAAC;IAClC,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAA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AAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAC5C,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
- export * from './captcha';
2
- export * from './dataset';
3
- export * from './merkle';
4
- export * from './assets';
1
+ export * from './captcha.js';
2
+ export * from './dataset.js';
3
+ export * from './merkle.js';
4
+ export * from './assets.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/datasets/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/datasets/index.ts"],"names":[],"mappings":"AAaA,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,8 +1,18 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./captcha"), exports);
5
- tslib_1.__exportStar(require("./dataset"), exports);
6
- tslib_1.__exportStar(require("./merkle"), exports);
7
- tslib_1.__exportStar(require("./assets"), exports);
1
+ // Copyright 2021-2023 Prosopo (UK) Ltd.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ export * from './captcha.js';
15
+ export * from './dataset.js';
16
+ export * from './merkle.js';
17
+ export * from './assets.js';
8
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/datasets/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,oDAAyB;AACzB,mDAAwB;AACxB,mDAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/datasets/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"merkle.d.ts","sourceRoot":"","sources":["../../src/datasets/merkle.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAA;AAE/B,MAAM,MAAM,WAAW,GAAG,UAAU,EAAE,CAAA;AAEtC,MAAM,MAAM,gBAAgB,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;AAEvD,MAAM,MAAM,eAAe,GAAG,CAAC,UAAU,CAAC,CAAA;AAE1C,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,gBAAgB,EAAE,EAAE,eAAe,CAAC,CAAA"}
1
+ {"version":3,"file":"merkle.d.ts","sourceRoot":"","sources":["../../src/datasets/merkle.ts"],"names":[],"mappings":"AAcA,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAA;AAE/B,MAAM,MAAM,WAAW,GAAG,UAAU,EAAE,CAAA;AAEtC,MAAM,MAAM,gBAAgB,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;AAEvD,MAAM,MAAM,eAAe,GAAG,CAAC,UAAU,CAAC,CAAA;AAE1C,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,gBAAgB,EAAE,EAAE,eAAe,CAAC,CAAA"}
@@ -1,18 +1,15 @@
1
- "use strict";
2
- // Copyright (C) 2021-2023 Prosopo (UK) Ltd.
3
- // This file is part of provider <https://github.com/prosopo/provider>.
1
+ // Copyright 2021-2023 Prosopo (UK) Ltd.
4
2
  //
5
- // provider is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
9
6
  //
10
- // provider is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU General Public License for more details.
7
+ // http://www.apache.org/licenses/LICENSE-2.0
14
8
  //
15
- // You should have received a copy of the GNU General Public License
16
- // along with provider. If not, see <http://www.gnu.org/licenses/>.
17
- Object.defineProperty(exports, "__esModule", { value: true });
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ export {};
18
15
  //# sourceMappingURL=merkle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"merkle.js","sourceRoot":"","sources":["../../src/datasets/merkle.ts"],"names":[],"mappings":";AAAA,4CAA4C;AAC5C,uEAAuE;AACvE,EAAE;AACF,mEAAmE;AACnE,uEAAuE;AACvE,oEAAoE;AACpE,sCAAsC;AACtC,EAAE;AACF,8DAA8D;AAC9D,iEAAiE;AACjE,gEAAgE;AAChE,+CAA+C;AAC/C,EAAE;AACF,oEAAoE;AACpE,oEAAoE"}
1
+ {"version":3,"file":"merkle.js","sourceRoot":"","sources":["../../src/datasets/merkle.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './config';
2
- export * from './contract';
3
- export * from './datasets';
4
- export * from './provider';
5
- export * from './procaptcha';
1
+ export * from './config/index.js';
2
+ export * from './contract/index.js';
3
+ export * from './datasets/index.js';
4
+ export * from './provider/index.js';
5
+ export * from './procaptcha/index.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
package/dist/index.js CHANGED
@@ -1,9 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./config"), exports);
5
- tslib_1.__exportStar(require("./contract"), exports);
6
- tslib_1.__exportStar(require("./datasets"), exports);
7
- tslib_1.__exportStar(require("./provider"), exports);
8
- tslib_1.__exportStar(require("./procaptcha"), exports);
1
+ // Copyright 2021-2023 Prosopo (UK) Ltd.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ export * from './config/index.js';
15
+ export * from './contract/index.js';
16
+ export * from './datasets/index.js';
17
+ export * from './provider/index.js';
18
+ export * from './procaptcha/index.js';
9
19
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwB;AACxB,qDAA0B;AAC1B,qDAA0B;AAC1B,qDAA0B;AAC1B,uDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './manager';
1
+ export * from './manager.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/procaptcha/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/procaptcha/index.ts"],"names":[],"mappings":"AAaA,cAAc,cAAc,CAAA"}
@@ -1,5 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./manager"), exports);
1
+ // Copyright 2021-2023 Prosopo (UK) Ltd.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ export * from './manager.js';
5
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/procaptcha/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/procaptcha/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,cAAc,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/procaptcha/manager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAMjC,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAA"}
1
+ {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/procaptcha/manager.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAMjC,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAA"}