@mimicprotocol/sdk 0.1.4 → 0.1.5
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/axia/validators.d.ts +341 -0
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +9 -9
- package/dist/axia/validators.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +14 -0
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +9 -0
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/types.d.ts +8 -1
- package/dist/oracle/types.d.ts.map +1 -1
- package/dist/oracle/validators.d.ts +139 -0
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +11 -2
- package/dist/oracle/validators.js.map +1 -1
- package/dist/registry/validators.d.ts +90 -1
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +6 -6
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +204 -0
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +2 -2
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +115 -0
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +1 -1
- package/dist/runner/validators.js.map +1 -1
- package/dist/shared/types/primitives.d.ts +3 -2
- package/dist/shared/types/primitives.d.ts.map +1 -1
- package/dist/shared/utils/random.d.ts +2 -0
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +8 -0
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/validations.d.ts.map +1 -1
- package/dist/shared/utils/validations.js +1 -1
- package/dist/shared/utils/validations.js.map +1 -1
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +2 -2
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +2 -2
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +2 -0
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +3 -1
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/solver/validators.d.ts.map +1 -1
- package/dist/solver/validators.js +1 -1
- package/dist/solver/validators.js.map +1 -1
- package/package.json +1 -1
|
@@ -607,6 +607,69 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
607
607
|
hash: string;
|
|
608
608
|
};
|
|
609
609
|
signature: string;
|
|
610
|
+
}>, z.ZodObject<{
|
|
611
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
612
|
+
query: z.ZodObject<{
|
|
613
|
+
name: z.ZodLiteral<"ApiQuery">;
|
|
614
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
615
|
+
params: z.ZodObject<{
|
|
616
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
617
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
618
|
+
}, "strip", z.ZodTypeAny, {
|
|
619
|
+
timestamp: number;
|
|
620
|
+
url: string;
|
|
621
|
+
}, {
|
|
622
|
+
timestamp: number;
|
|
623
|
+
url: string;
|
|
624
|
+
}>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
name: "ApiQuery";
|
|
627
|
+
params: {
|
|
628
|
+
timestamp: number;
|
|
629
|
+
url: string;
|
|
630
|
+
};
|
|
631
|
+
hash: string;
|
|
632
|
+
}, {
|
|
633
|
+
name: "ApiQuery";
|
|
634
|
+
params: {
|
|
635
|
+
timestamp: number;
|
|
636
|
+
url: string;
|
|
637
|
+
};
|
|
638
|
+
hash: string;
|
|
639
|
+
}>;
|
|
640
|
+
result: z.ZodObject<{
|
|
641
|
+
value: z.ZodString;
|
|
642
|
+
}, "strip", z.ZodTypeAny, {
|
|
643
|
+
value: string;
|
|
644
|
+
}, {
|
|
645
|
+
value: string;
|
|
646
|
+
}>;
|
|
647
|
+
}, "strip", z.ZodTypeAny, {
|
|
648
|
+
result: {
|
|
649
|
+
value: string;
|
|
650
|
+
};
|
|
651
|
+
query: {
|
|
652
|
+
name: "ApiQuery";
|
|
653
|
+
params: {
|
|
654
|
+
timestamp: number;
|
|
655
|
+
url: string;
|
|
656
|
+
};
|
|
657
|
+
hash: string;
|
|
658
|
+
};
|
|
659
|
+
signature: string;
|
|
660
|
+
}, {
|
|
661
|
+
result: {
|
|
662
|
+
value: string;
|
|
663
|
+
};
|
|
664
|
+
query: {
|
|
665
|
+
name: "ApiQuery";
|
|
666
|
+
params: {
|
|
667
|
+
timestamp: number;
|
|
668
|
+
url: string;
|
|
669
|
+
};
|
|
670
|
+
hash: string;
|
|
671
|
+
};
|
|
672
|
+
signature: string;
|
|
610
673
|
}>]>, "many">;
|
|
611
674
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
612
675
|
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1273,6 +1336,19 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1273
1336
|
hash: string;
|
|
1274
1337
|
};
|
|
1275
1338
|
signature: string;
|
|
1339
|
+
} | {
|
|
1340
|
+
result: {
|
|
1341
|
+
value: string;
|
|
1342
|
+
};
|
|
1343
|
+
query: {
|
|
1344
|
+
name: "ApiQuery";
|
|
1345
|
+
params: {
|
|
1346
|
+
timestamp: number;
|
|
1347
|
+
url: string;
|
|
1348
|
+
};
|
|
1349
|
+
hash: string;
|
|
1350
|
+
};
|
|
1351
|
+
signature: string;
|
|
1276
1352
|
} | {
|
|
1277
1353
|
result: {
|
|
1278
1354
|
value: string;
|
|
@@ -1465,6 +1541,19 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1465
1541
|
hash: string;
|
|
1466
1542
|
};
|
|
1467
1543
|
signature: string;
|
|
1544
|
+
} | {
|
|
1545
|
+
result: {
|
|
1546
|
+
value: string;
|
|
1547
|
+
};
|
|
1548
|
+
query: {
|
|
1549
|
+
name: "ApiQuery";
|
|
1550
|
+
params: {
|
|
1551
|
+
timestamp: number;
|
|
1552
|
+
url: string;
|
|
1553
|
+
};
|
|
1554
|
+
hash: string;
|
|
1555
|
+
};
|
|
1556
|
+
signature: string;
|
|
1468
1557
|
} | {
|
|
1469
1558
|
result: {
|
|
1470
1559
|
value: string;
|
|
@@ -2220,6 +2309,69 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2220
2309
|
hash: string;
|
|
2221
2310
|
};
|
|
2222
2311
|
signature: string;
|
|
2312
|
+
}>, z.ZodObject<{
|
|
2313
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2314
|
+
query: z.ZodObject<{
|
|
2315
|
+
name: z.ZodLiteral<"ApiQuery">;
|
|
2316
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2317
|
+
params: z.ZodObject<{
|
|
2318
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
2319
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2320
|
+
}, "strip", z.ZodTypeAny, {
|
|
2321
|
+
timestamp: number;
|
|
2322
|
+
url: string;
|
|
2323
|
+
}, {
|
|
2324
|
+
timestamp: number;
|
|
2325
|
+
url: string;
|
|
2326
|
+
}>;
|
|
2327
|
+
}, "strip", z.ZodTypeAny, {
|
|
2328
|
+
name: "ApiQuery";
|
|
2329
|
+
params: {
|
|
2330
|
+
timestamp: number;
|
|
2331
|
+
url: string;
|
|
2332
|
+
};
|
|
2333
|
+
hash: string;
|
|
2334
|
+
}, {
|
|
2335
|
+
name: "ApiQuery";
|
|
2336
|
+
params: {
|
|
2337
|
+
timestamp: number;
|
|
2338
|
+
url: string;
|
|
2339
|
+
};
|
|
2340
|
+
hash: string;
|
|
2341
|
+
}>;
|
|
2342
|
+
result: z.ZodObject<{
|
|
2343
|
+
value: z.ZodString;
|
|
2344
|
+
}, "strip", z.ZodTypeAny, {
|
|
2345
|
+
value: string;
|
|
2346
|
+
}, {
|
|
2347
|
+
value: string;
|
|
2348
|
+
}>;
|
|
2349
|
+
}, "strip", z.ZodTypeAny, {
|
|
2350
|
+
result: {
|
|
2351
|
+
value: string;
|
|
2352
|
+
};
|
|
2353
|
+
query: {
|
|
2354
|
+
name: "ApiQuery";
|
|
2355
|
+
params: {
|
|
2356
|
+
timestamp: number;
|
|
2357
|
+
url: string;
|
|
2358
|
+
};
|
|
2359
|
+
hash: string;
|
|
2360
|
+
};
|
|
2361
|
+
signature: string;
|
|
2362
|
+
}, {
|
|
2363
|
+
result: {
|
|
2364
|
+
value: string;
|
|
2365
|
+
};
|
|
2366
|
+
query: {
|
|
2367
|
+
name: "ApiQuery";
|
|
2368
|
+
params: {
|
|
2369
|
+
timestamp: number;
|
|
2370
|
+
url: string;
|
|
2371
|
+
};
|
|
2372
|
+
hash: string;
|
|
2373
|
+
};
|
|
2374
|
+
signature: string;
|
|
2223
2375
|
}>]>, "many">;
|
|
2224
2376
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
2225
2377
|
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -2886,6 +3038,19 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2886
3038
|
hash: string;
|
|
2887
3039
|
};
|
|
2888
3040
|
signature: string;
|
|
3041
|
+
} | {
|
|
3042
|
+
result: {
|
|
3043
|
+
value: string;
|
|
3044
|
+
};
|
|
3045
|
+
query: {
|
|
3046
|
+
name: "ApiQuery";
|
|
3047
|
+
params: {
|
|
3048
|
+
timestamp: number;
|
|
3049
|
+
url: string;
|
|
3050
|
+
};
|
|
3051
|
+
hash: string;
|
|
3052
|
+
};
|
|
3053
|
+
signature: string;
|
|
2889
3054
|
} | {
|
|
2890
3055
|
result: {
|
|
2891
3056
|
value: string;
|
|
@@ -3078,6 +3243,19 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
3078
3243
|
hash: string;
|
|
3079
3244
|
};
|
|
3080
3245
|
signature: string;
|
|
3246
|
+
} | {
|
|
3247
|
+
result: {
|
|
3248
|
+
value: string;
|
|
3249
|
+
};
|
|
3250
|
+
query: {
|
|
3251
|
+
name: "ApiQuery";
|
|
3252
|
+
params: {
|
|
3253
|
+
timestamp: number;
|
|
3254
|
+
url: string;
|
|
3255
|
+
};
|
|
3256
|
+
hash: string;
|
|
3257
|
+
};
|
|
3258
|
+
signature: string;
|
|
3081
3259
|
} | {
|
|
3082
3260
|
result: {
|
|
3083
3261
|
value: string;
|
|
@@ -3273,6 +3451,19 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
3273
3451
|
hash: string;
|
|
3274
3452
|
};
|
|
3275
3453
|
signature: string;
|
|
3454
|
+
} | {
|
|
3455
|
+
result: {
|
|
3456
|
+
value: string;
|
|
3457
|
+
};
|
|
3458
|
+
query: {
|
|
3459
|
+
name: "ApiQuery";
|
|
3460
|
+
params: {
|
|
3461
|
+
timestamp: number;
|
|
3462
|
+
url: string;
|
|
3463
|
+
};
|
|
3464
|
+
hash: string;
|
|
3465
|
+
};
|
|
3466
|
+
signature: string;
|
|
3276
3467
|
} | {
|
|
3277
3468
|
result: {
|
|
3278
3469
|
value: string;
|
|
@@ -3469,6 +3660,19 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
3469
3660
|
hash: string;
|
|
3470
3661
|
};
|
|
3471
3662
|
signature: string;
|
|
3663
|
+
} | {
|
|
3664
|
+
result: {
|
|
3665
|
+
value: string;
|
|
3666
|
+
};
|
|
3667
|
+
query: {
|
|
3668
|
+
name: "ApiQuery";
|
|
3669
|
+
params: {
|
|
3670
|
+
timestamp: number;
|
|
3671
|
+
url: string;
|
|
3672
|
+
};
|
|
3673
|
+
hash: string;
|
|
3674
|
+
};
|
|
3675
|
+
signature: string;
|
|
3472
3676
|
} | {
|
|
3473
3677
|
result: {
|
|
3474
3678
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/relayer/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAA;AAEF,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/relayer/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIzC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1C,CAAA"}
|
|
@@ -7,7 +7,7 @@ const oracle_1 = require("../oracle");
|
|
|
7
7
|
const shared_1 = require("../shared");
|
|
8
8
|
const validators_1 = require("../shared/validators");
|
|
9
9
|
exports.QueueExecutionValidator = zod_1.z.object({
|
|
10
|
-
hash: shared_1.
|
|
10
|
+
hash: shared_1.HashValidator,
|
|
11
11
|
logs: zod_1.z.array(validators_1.StringValidator).optional(),
|
|
12
12
|
});
|
|
13
13
|
exports.RunnerExecutionResultDataValidator = zod_1.z.object({
|
|
@@ -22,7 +22,7 @@ exports.RunnerExecutionResultValidator = zod_1.z.object({
|
|
|
22
22
|
result: exports.RunnerExecutionResultDataValidator,
|
|
23
23
|
});
|
|
24
24
|
exports.RelayerExecutionResultValidator = zod_1.z.object({
|
|
25
|
-
hash: shared_1.
|
|
25
|
+
hash: shared_1.HashValidator,
|
|
26
26
|
timestamp: shared_1.TimestampValidator,
|
|
27
27
|
fuelUsed: validators_1.PositiveIntegerValidator,
|
|
28
28
|
inputs: zod_1.z.array(shared_1.SignatureValidator),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../src/relayer/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,kCAAkD;AAClD,sCAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../src/relayer/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,kCAAkD;AAClD,sCAAmD;AACnD,sCAAiF;AACjF,qDAAuG;AAE1F,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,sBAAa;IACnB,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,4BAAe,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAA;AAEW,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,SAAS,EAAE,2BAAkB;IAC7B,QAAQ,EAAE,qCAAwB;IAClC,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAuB,CAAC;IACxC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,kCAAqB,CAAC;CACxC,CAAC,CAAA;AAEW,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACpC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,4BAAe,CAAC;IAC9B,MAAM,EAAE,0CAAkC;CAC3C,CAAC,CAAA;AAEW,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,sBAAa;IACnB,SAAS,EAAE,2BAAkB;IAC7B,QAAQ,EAAE,qCAAwB;IAClC,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,2BAAkB,CAAC;IACnC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,+BAAwB,CAAC;IAC1C,SAAS,EAAE,2BAAkB;CAC9B,CAAC,CAAA"}
|
|
@@ -601,6 +601,69 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
601
601
|
hash: string;
|
|
602
602
|
};
|
|
603
603
|
signature: string;
|
|
604
|
+
}>, z.ZodObject<{
|
|
605
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
606
|
+
query: z.ZodObject<{
|
|
607
|
+
name: z.ZodLiteral<"ApiQuery">;
|
|
608
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
609
|
+
params: z.ZodObject<{
|
|
610
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
611
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
612
|
+
}, "strip", z.ZodTypeAny, {
|
|
613
|
+
timestamp: number;
|
|
614
|
+
url: string;
|
|
615
|
+
}, {
|
|
616
|
+
timestamp: number;
|
|
617
|
+
url: string;
|
|
618
|
+
}>;
|
|
619
|
+
}, "strip", z.ZodTypeAny, {
|
|
620
|
+
name: "ApiQuery";
|
|
621
|
+
params: {
|
|
622
|
+
timestamp: number;
|
|
623
|
+
url: string;
|
|
624
|
+
};
|
|
625
|
+
hash: string;
|
|
626
|
+
}, {
|
|
627
|
+
name: "ApiQuery";
|
|
628
|
+
params: {
|
|
629
|
+
timestamp: number;
|
|
630
|
+
url: string;
|
|
631
|
+
};
|
|
632
|
+
hash: string;
|
|
633
|
+
}>;
|
|
634
|
+
result: z.ZodObject<{
|
|
635
|
+
value: z.ZodString;
|
|
636
|
+
}, "strip", z.ZodTypeAny, {
|
|
637
|
+
value: string;
|
|
638
|
+
}, {
|
|
639
|
+
value: string;
|
|
640
|
+
}>;
|
|
641
|
+
}, "strip", z.ZodTypeAny, {
|
|
642
|
+
result: {
|
|
643
|
+
value: string;
|
|
644
|
+
};
|
|
645
|
+
query: {
|
|
646
|
+
name: "ApiQuery";
|
|
647
|
+
params: {
|
|
648
|
+
timestamp: number;
|
|
649
|
+
url: string;
|
|
650
|
+
};
|
|
651
|
+
hash: string;
|
|
652
|
+
};
|
|
653
|
+
signature: string;
|
|
654
|
+
}, {
|
|
655
|
+
result: {
|
|
656
|
+
value: string;
|
|
657
|
+
};
|
|
658
|
+
query: {
|
|
659
|
+
name: "ApiQuery";
|
|
660
|
+
params: {
|
|
661
|
+
timestamp: number;
|
|
662
|
+
url: string;
|
|
663
|
+
};
|
|
664
|
+
hash: string;
|
|
665
|
+
};
|
|
666
|
+
signature: string;
|
|
604
667
|
}>]>, "many">>;
|
|
605
668
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
606
669
|
triggerSig: z.ZodString;
|
|
@@ -670,6 +733,19 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
670
733
|
hash: string;
|
|
671
734
|
};
|
|
672
735
|
signature: string;
|
|
736
|
+
} | {
|
|
737
|
+
result: {
|
|
738
|
+
value: string;
|
|
739
|
+
};
|
|
740
|
+
query: {
|
|
741
|
+
name: "ApiQuery";
|
|
742
|
+
params: {
|
|
743
|
+
timestamp: number;
|
|
744
|
+
url: string;
|
|
745
|
+
};
|
|
746
|
+
hash: string;
|
|
747
|
+
};
|
|
748
|
+
signature: string;
|
|
673
749
|
} | {
|
|
674
750
|
result: {
|
|
675
751
|
value: string;
|
|
@@ -784,6 +860,19 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
784
860
|
hash: string;
|
|
785
861
|
};
|
|
786
862
|
signature: string;
|
|
863
|
+
} | {
|
|
864
|
+
result: {
|
|
865
|
+
value: string;
|
|
866
|
+
};
|
|
867
|
+
query: {
|
|
868
|
+
name: "ApiQuery";
|
|
869
|
+
params: {
|
|
870
|
+
timestamp: number;
|
|
871
|
+
url: string;
|
|
872
|
+
};
|
|
873
|
+
hash: string;
|
|
874
|
+
};
|
|
875
|
+
signature: string;
|
|
787
876
|
} | {
|
|
788
877
|
result: {
|
|
789
878
|
value: string;
|
|
@@ -898,6 +987,19 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
898
987
|
hash: string;
|
|
899
988
|
};
|
|
900
989
|
signature: string;
|
|
990
|
+
} | {
|
|
991
|
+
result: {
|
|
992
|
+
value: string;
|
|
993
|
+
};
|
|
994
|
+
query: {
|
|
995
|
+
name: "ApiQuery";
|
|
996
|
+
params: {
|
|
997
|
+
timestamp: number;
|
|
998
|
+
url: string;
|
|
999
|
+
};
|
|
1000
|
+
hash: string;
|
|
1001
|
+
};
|
|
1002
|
+
signature: string;
|
|
901
1003
|
} | {
|
|
902
1004
|
result: {
|
|
903
1005
|
value: string;
|
|
@@ -1012,6 +1114,19 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
1012
1114
|
hash: string;
|
|
1013
1115
|
};
|
|
1014
1116
|
signature: string;
|
|
1117
|
+
} | {
|
|
1118
|
+
result: {
|
|
1119
|
+
value: string;
|
|
1120
|
+
};
|
|
1121
|
+
query: {
|
|
1122
|
+
name: "ApiQuery";
|
|
1123
|
+
params: {
|
|
1124
|
+
timestamp: number;
|
|
1125
|
+
url: string;
|
|
1126
|
+
};
|
|
1127
|
+
hash: string;
|
|
1128
|
+
};
|
|
1129
|
+
signature: string;
|
|
1015
1130
|
} | {
|
|
1016
1131
|
result: {
|
|
1017
1132
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;EAmBrC,CAAA;AAEJ,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA"}
|
|
@@ -13,7 +13,7 @@ exports.RunExecutionRequestValidator = zod_1.z
|
|
|
13
13
|
timestamp: shared_1.TimestampValidator,
|
|
14
14
|
oracleUrls: zod_1.z.array(shared_1.UrlValidator).optional(),
|
|
15
15
|
oracleResponses: zod_1.z.array(oracle_1.OracleResponseValidator).optional(),
|
|
16
|
-
hash: shared_1.
|
|
16
|
+
hash: shared_1.HashValidator,
|
|
17
17
|
triggerSig: shared_1.StringValidator,
|
|
18
18
|
triggerConfig: zod_1.z.object({
|
|
19
19
|
data: shared_1.HexValidator,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,sCAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,sCAAmD;AACnD,sCAUkB;AAEL,QAAA,4BAA4B,GAAG,OAAC;KAC1C,MAAM,CAAC;IACN,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,wBAAe,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC;IAC7C,WAAW,EAAE,qBAAY;IACzB,IAAI,EAAE,yBAAgB;IACtB,QAAQ,EAAE,wBAAe;IACzB,SAAS,EAAE,2BAAkB;IAC7B,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,qBAAY,CAAC,CAAC,QAAQ,EAAE;IAC5C,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAuB,CAAC,CAAC,QAAQ,EAAE;IAC5D,IAAI,EAAE,sBAAa;IACnB,UAAU,EAAE,wBAAe;IAC3B,aAAa,EAAE,OAAC,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,qBAAY;QAClB,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,oBAAW,CAAC;KAChC,CAAC;IACF,OAAO,EAAE,wBAAe;CACzB,CAAC;KACD,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,eAAe,CAAC,EAAE;IAC1G,OAAO,EAAE,oEAAoE;CAC9E,CAAC,CAAA;AAES,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,6BAAoB;IAC5B,MAAM,EAAE,6BAAoB;CAC7B,CAAC,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { AddressFeeValidator, AddressValidator, BigIntegerValidator, ChainIdValidator, EvmAddressValidator,
|
|
2
|
+
import { AddressFeeValidator, AddressValidator, BigIntegerValidator, Bytes32Validator, ChainIdValidator, EvmAddressValidator, HashValidator, SignatureValidator, SvmAddressValidator, TimestampValidator, TokenIdValidator } from '../validators';
|
|
3
3
|
export type Signature = z.infer<typeof SignatureValidator>;
|
|
4
|
-
export type Hash = z.infer<typeof
|
|
4
|
+
export type Hash = z.infer<typeof HashValidator>;
|
|
5
|
+
export type Bytes32 = z.infer<typeof Bytes32Validator>;
|
|
5
6
|
export type ChainId = z.infer<typeof ChainIdValidator>;
|
|
6
7
|
export type Address = z.infer<typeof AddressValidator>;
|
|
7
8
|
export type EvmAddress = z.infer<typeof EvmAddressValidator>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/shared/types/primitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,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|
|
1
1
|
export declare function randomEvmAddress(): string;
|
|
2
2
|
export declare function randomSvmAddress(): string;
|
|
3
3
|
export declare function randomSig(): string;
|
|
4
|
+
export declare function randomHash(): string;
|
|
5
|
+
export declare function randomBytes32(): string;
|
|
4
6
|
export declare function randomHex(length: number): string;
|
|
5
7
|
export declare function randomBase58(length: number): string;
|
|
6
8
|
export declare function randomCid(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/random.ts"],"names":[],"mappings":"AAKA,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,EACd,UAAU,SAAyD,GAClE,MAAM,CASR;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAKnD"}
|
|
1
|
+
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/random.ts"],"names":[],"mappings":"AAKA,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,EACd,UAAU,SAAyD,GAClE,MAAM,CASR;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAKnD"}
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.randomEvmAddress = randomEvmAddress;
|
|
5
5
|
exports.randomSvmAddress = randomSvmAddress;
|
|
6
6
|
exports.randomSig = randomSig;
|
|
7
|
+
exports.randomHash = randomHash;
|
|
8
|
+
exports.randomBytes32 = randomBytes32;
|
|
7
9
|
exports.randomHex = randomHex;
|
|
8
10
|
exports.randomBase58 = randomBase58;
|
|
9
11
|
exports.randomCid = randomCid;
|
|
@@ -20,6 +22,12 @@ function randomSvmAddress() {
|
|
|
20
22
|
function randomSig() {
|
|
21
23
|
return randomHex(65);
|
|
22
24
|
}
|
|
25
|
+
function randomHash() {
|
|
26
|
+
return randomHex(32);
|
|
27
|
+
}
|
|
28
|
+
function randomBytes32() {
|
|
29
|
+
return randomHex(32);
|
|
30
|
+
}
|
|
23
31
|
function randomHex(length) {
|
|
24
32
|
return '0x' + randomString(length * 2, 'abcdef0123456789');
|
|
25
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"random.js","sourceRoot":"","sources":["../../../src/shared/utils/random.ts"],"names":[],"mappings":";AAAA,0CAA0C;;AAK1C,4CAEC;AAED,4CAEC;AAED,8BAEC;AAED,8BAEC;AAED,oCAEC;AAED,8BAEC;AAED,oCAYC;AAED,oCAKC;
|
|
1
|
+
{"version":3,"file":"random.js","sourceRoot":"","sources":["../../../src/shared/utils/random.ts"],"names":[],"mappings":";AAAA,0CAA0C;;AAK1C,4CAEC;AAED,4CAEC;AAED,8BAEC;AAED,gCAEC;AAED,sCAEC;AAED,8BAEC;AAED,oCAEC;AAED,8BAEC;AAED,oCAYC;AAED,oCAKC;AAtDD,6CAA2C;AAC3C,mCAA+C;AAE/C,SAAgB,gBAAgB;I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IACnE,IAAI,MAAM,GAAG,MAAM,CAAC,IAAA,kBAAS,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;IACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE;QAAE,MAAM,IAAI,IAAA,kBAAS,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAA;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAA;AACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/validations.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/validations.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,QAAqB,CAAA;AAG3C,eAAO,MAAM,YAAY,QAC8J,CAAA;AAEvL,eAAO,MAAM,YAAY,QAA4B,CAAA;AAErD,eAAO,MAAM,gBAAgB,QAAU,CAAA;AAEvC,eAAO,MAAM,uBAAuB,QAAY,CAAA;AAEhD,eAAO,MAAM,YAAY,QAAiC,CAAA;AAE1D,eAAO,MAAM,mBAAmB,QAAiB,CAAA;AAEjD,eAAO,MAAM,iBAAiB,QAAsB,CAAA;AAEpD,eAAO,MAAM,iBAAiB,QAAe,CAAA;AAE7C,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGtD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAIpD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAIpD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAKnE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGrD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGrD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGzD;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAG/D;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGpD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGlD;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAIhD;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAQlD"}
|
|
@@ -14,7 +14,7 @@ exports.isValidCID = isValidCID;
|
|
|
14
14
|
exports.isValidUrl = isValidUrl;
|
|
15
15
|
exports.isValidJson = isValidJson;
|
|
16
16
|
const chains_1 = require("./chains");
|
|
17
|
-
exports.HEX_REGEX =
|
|
17
|
+
exports.HEX_REGEX = /^0x[a-fA-F0-9]*$/;
|
|
18
18
|
// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
|
19
19
|
exports.SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
|
|
20
20
|
exports.BASE58_REGEX = /^[1-9A-HJ-NP-Za-km-z]+$/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validations.js","sourceRoot":"","sources":["../../../src/shared/utils/validations.ts"],"names":[],"mappings":";;;AAsBA,wCAGC;AAED,oCAIC;AAED,oCAIC;AAED,gCAKC;AAED,sCAGC;AAED,sCAGC;AAED,8CAGC;AAED,0DAGC;AAED,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AI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAA;IAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,eAAM,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,KAAK,KAAK,CAAC,CAAA;AACnE,CAAC;AAED,SAAgB,UAAU,CAAC,KAAc;IACvC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAA;IAC3C,OAAO,oBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,2BAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;AACpE,CAAC;AAED,SAAgB,UAAU,CAAC,GAAY;IACrC,IAAI,OAAO,GAAG,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAA;IACzC,MAAM,QAAQ,GAAG,8EAA8E,CAAA;IAC/F,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC3B,CAAC;AAED,SAAgB,WAAW,CAAC,IAAa;IACvC,IAAI,OAAO,IAAI,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAA;IAC1C,IAAI,CAAC;QACH,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAChB,OAAO,IAAI,CAAA;IACb,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAavB,eAAO,MAAM,WAAW;;;;CAId,CAAA;AACV,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAA;AAExE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;EAI7B,CAAA;AAIF,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;EAAuD,CAAA;AAI1F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAOtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwD,CAAA;AAI5F,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;EAAuD,CAAA"}
|
|
@@ -21,10 +21,10 @@ exports.CronExecutionValidator = exports.ExecutionValidator.merge(exports.CronEx
|
|
|
21
21
|
// === EVENT ===
|
|
22
22
|
exports.EventExecutionDataValidator = zod_1.z.object({
|
|
23
23
|
chainId: primitives_1.ChainIdValidator,
|
|
24
|
-
blockHash: primitives_1.
|
|
24
|
+
blockHash: primitives_1.HashValidator,
|
|
25
25
|
index: primitives_1.PositiveIntegerValidator,
|
|
26
26
|
address: primitives_1.AddressValidator,
|
|
27
|
-
topics: zod_1.z.array(primitives_1.
|
|
27
|
+
topics: zod_1.z.array(primitives_1.Bytes32Validator).max(4),
|
|
28
28
|
eventData: primitives_1.HexValidator,
|
|
29
29
|
});
|
|
30
30
|
exports.EventExecutionValidator = exports.ExecutionValidator.merge(exports.EventExecutionDataValidator);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,
|
|
1
|
+
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,6CASqB;AAER,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACC,CAAA;AAGG,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,UAAU,EAAE,+BAAkB;IAC9B,WAAW,EAAE,OAAC,CAAC,UAAU,CAAC,mBAAW,CAAC;IACtC,WAAW,EAAE,yBAAY;CAC1B,CAAC,CAAA;AAEF,eAAe;AAEF,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,+BAAkB;CAC9B,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,0BAAkB,CAAC,KAAK,CAAC,kCAA0B,CAAC,CAAA;AAE1F,gBAAgB;AAEH,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,6BAAgB;IACzB,SAAS,EAAE,0BAAa;IACxB,KAAK,EAAE,qCAAwB;IAC/B,OAAO,EAAE,6BAAgB;IACzB,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,6BAAgB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACxC,SAAS,EAAE,yBAAY;CACxB,CAAC,CAAA;AAEW,QAAA,uBAAuB,GAAG,0BAAkB,CAAC,KAAK,CAAC,mCAA2B,CAAC,CAAA;AAE5F,eAAe;AAEF,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,+BAAkB;CAC9B,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,0BAAkB,CAAC,KAAK,CAAC,kCAA0B,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/intents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/intents.ts"],"names":[],"mappings":"AAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMhC,CAAA"}
|
|
@@ -17,7 +17,7 @@ exports.MaxFeeValidator = zod_1.z.object({
|
|
|
17
17
|
});
|
|
18
18
|
exports.MaxFeesValidator = zod_1.z.array(exports.MaxFeeValidator);
|
|
19
19
|
exports.OperationEventValidator = zod_1.z.object({
|
|
20
|
-
topic: primitives_1.
|
|
20
|
+
topic: primitives_1.Bytes32Validator,
|
|
21
21
|
data: primitives_1.HexValidator,
|
|
22
22
|
});
|
|
23
23
|
exports.OperationEventsValidator = zod_1.z.array(exports.OperationEventValidator);
|
|
@@ -30,7 +30,7 @@ exports.OperationValidator = zod_1.z.object({
|
|
|
30
30
|
exports.IntentValidator = zod_1.z.object({
|
|
31
31
|
feePayer: primitives_1.AddressValidator,
|
|
32
32
|
settler: primitives_1.AddressValidator,
|
|
33
|
-
nonce: primitives_1.
|
|
33
|
+
nonce: primitives_1.Bytes32Validator,
|
|
34
34
|
deadline: primitives_1.BigIntegerValidator,
|
|
35
35
|
maxFees: exports.MaxFeesValidator,
|
|
36
36
|
triggerSig: primitives_1.SignatureValidator,
|