@xyo-network/xl1-rpc 1.16.6 → 1.16.8
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/neutral/index.mjs +457 -496
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +318 -721
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts +18 -42
- package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts +44 -97
- package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +256 -582
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts +10 -116
- package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/BoundWitness.d.ts +38 -68
- package/dist/neutral/types/schema/common/BoundWitness.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/HydratedBlock.d.ts +51 -143
- package/dist/neutral/types/schema/common/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/HydratedTransaction.d.ts +61 -131
- package/dist/neutral/types/schema/common/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/StepIdentity.d.ts +3 -0
- package/dist/neutral/types/schema/common/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts +10 -38
- package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/Transfer.d.ts +0 -31
- package/dist/neutral/types/schema/common/Transfer.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/index.d.ts +0 -1
- package/dist/neutral/types/schema/common/index.d.ts.map +1 -1
- package/dist/node/index-node.mjs +457 -496
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +318 -721
- package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts +18 -42
- package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts +44 -97
- package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +256 -582
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/common/BlockBoundWitness.d.ts +10 -116
- package/dist/node/types/schema/common/BlockBoundWitness.d.ts.map +1 -1
- package/dist/node/types/schema/common/BoundWitness.d.ts +38 -68
- package/dist/node/types/schema/common/BoundWitness.d.ts.map +1 -1
- package/dist/node/types/schema/common/HydratedBlock.d.ts +51 -143
- package/dist/node/types/schema/common/HydratedBlock.d.ts.map +1 -1
- package/dist/node/types/schema/common/HydratedTransaction.d.ts +61 -131
- package/dist/node/types/schema/common/HydratedTransaction.d.ts.map +1 -1
- package/dist/node/types/schema/common/StepIdentity.d.ts +3 -0
- package/dist/node/types/schema/common/StepIdentity.d.ts.map +1 -1
- package/dist/node/types/schema/common/TransactionBoundWitness.d.ts +10 -38
- package/dist/node/types/schema/common/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/node/types/schema/common/Transfer.d.ts +0 -31
- package/dist/node/types/schema/common/Transfer.d.ts.map +1 -1
- package/dist/node/types/schema/common/index.d.ts +0 -1
- package/dist/node/types/schema/common/index.d.ts.map +1 -1
- package/package.json +14 -14
- package/src/types/schema/XyoViewerRpcSchemas.ts +9 -11
- package/src/types/schema/common/BlockBoundWitness.ts +1 -14
- package/src/types/schema/common/BoundWitness.ts +3 -2
- package/src/types/schema/common/HydratedBlock.ts +9 -9
- package/src/types/schema/common/HydratedTransaction.ts +4 -5
- package/src/types/schema/common/StepIdentity.ts +3 -0
- package/src/types/schema/common/Transfer.ts +1 -2
- package/src/types/schema/common/index.ts +0 -1
- package/src/types/schema/common/spec/Payload.spec.ts +2 -3
- package/dist/neutral/types/schema/common/Payload.d.ts +0 -81
- package/dist/neutral/types/schema/common/Payload.d.ts.map +0 -1
- package/dist/node/types/schema/common/Payload.d.ts +0 -81
- package/dist/node/types/schema/common/Payload.d.ts.map +0 -1
- package/src/types/schema/common/Payload.ts +0 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/AllRpcSchemas.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"AllRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/AllRpcSchemas.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMF,CAAA"}
|
|
@@ -8,31 +8,17 @@ export declare const XyoRunnerRpcSchemas: {
|
|
|
8
8
|
readonly __address: true;
|
|
9
9
|
}>, string>>>;
|
|
10
10
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
11
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
11
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
12
|
+
__schema: true;
|
|
13
|
+
}, string>>]>>;
|
|
12
14
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
13
15
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
14
16
|
readonly __address: true;
|
|
15
17
|
}>, string>>>;
|
|
16
18
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
17
19
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
18
|
-
_hash: z.ZodOptional<z.
|
|
19
|
-
|
|
20
|
-
}>, {
|
|
21
|
-
readonly __hash: true;
|
|
22
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
23
|
-
readonly __hex: true;
|
|
24
|
-
}>, {
|
|
25
|
-
readonly __hash: true;
|
|
26
|
-
}>, unknown>>>;
|
|
27
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
28
|
-
readonly __hex: true;
|
|
29
|
-
}>, {
|
|
30
|
-
readonly __hash: true;
|
|
31
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
32
|
-
readonly __hex: true;
|
|
33
|
-
}>, {
|
|
34
|
-
readonly __hash: true;
|
|
35
|
-
}>, unknown>>>;
|
|
20
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
21
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
36
22
|
_sequence: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>>;
|
|
37
23
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
38
24
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -46,39 +32,27 @@ export declare const XyoRunnerRpcSchemas: {
|
|
|
46
32
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
47
33
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
48
34
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
49
|
-
schema: z.ZodString
|
|
50
|
-
|
|
35
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
36
|
+
__schema: true;
|
|
37
|
+
}, string>>]>;
|
|
38
|
+
}, z.core.$strict>>], null>], null>;
|
|
51
39
|
from: z.ZodTuple<[z.ZodTuple<[z.ZodObject<{
|
|
52
40
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
53
41
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
54
42
|
readonly __address: true;
|
|
55
43
|
}>, string>>>;
|
|
56
44
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
57
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
45
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
46
|
+
__schema: true;
|
|
47
|
+
}, string>>]>>;
|
|
58
48
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
59
49
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
60
50
|
readonly __address: true;
|
|
61
51
|
}>, string>>>;
|
|
62
52
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
63
53
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
64
|
-
_hash: z.ZodOptional<z.
|
|
65
|
-
|
|
66
|
-
}>, {
|
|
67
|
-
readonly __hash: true;
|
|
68
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
69
|
-
readonly __hex: true;
|
|
70
|
-
}>, {
|
|
71
|
-
readonly __hash: true;
|
|
72
|
-
}>, unknown>>>;
|
|
73
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
74
|
-
readonly __hex: true;
|
|
75
|
-
}>, {
|
|
76
|
-
readonly __hash: true;
|
|
77
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
78
|
-
readonly __hex: true;
|
|
79
|
-
}>, {
|
|
80
|
-
readonly __hash: true;
|
|
81
|
-
}>, unknown>>>;
|
|
54
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
55
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
82
56
|
_sequence: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>>;
|
|
83
57
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
84
58
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -92,8 +66,10 @@ export declare const XyoRunnerRpcSchemas: {
|
|
|
92
66
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
93
67
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
94
68
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
95
|
-
schema: z.ZodString
|
|
96
|
-
|
|
69
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
70
|
+
__schema: true;
|
|
71
|
+
}, string>>]>;
|
|
72
|
+
}, z.core.$strict>>], null>], null>;
|
|
97
73
|
};
|
|
98
74
|
result: {
|
|
99
75
|
to: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>, z.ZodTransform<string, import("@xylabs/hex").Hash>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoRunnerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoRunnerRpcSchemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAMxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"XyoRunnerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoRunnerRpcSchemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAMxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWgB,CAAA"}
|
|
@@ -22,31 +22,17 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
22
22
|
readonly __address: true;
|
|
23
23
|
}>, string>>>;
|
|
24
24
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
25
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
25
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
26
|
+
__schema: true;
|
|
27
|
+
}, string>>]>>;
|
|
26
28
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
27
29
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
28
30
|
readonly __address: true;
|
|
29
31
|
}>, string>>>;
|
|
30
32
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
31
33
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
32
|
-
_hash: z.ZodOptional<z.
|
|
33
|
-
|
|
34
|
-
}>, {
|
|
35
|
-
readonly __hash: true;
|
|
36
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
37
|
-
readonly __hex: true;
|
|
38
|
-
}>, {
|
|
39
|
-
readonly __hash: true;
|
|
40
|
-
}>, unknown>>>;
|
|
41
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
42
|
-
readonly __hex: true;
|
|
43
|
-
}>, {
|
|
44
|
-
readonly __hash: true;
|
|
45
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
46
|
-
readonly __hex: true;
|
|
47
|
-
}>, {
|
|
48
|
-
readonly __hash: true;
|
|
49
|
-
}>, unknown>>>;
|
|
34
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
35
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
50
36
|
_sequence: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>>;
|
|
51
37
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
52
38
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -60,39 +46,27 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
60
46
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
61
47
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
48
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
63
|
-
schema: z.ZodString
|
|
64
|
-
|
|
49
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
50
|
+
__schema: true;
|
|
51
|
+
}, string>>]>;
|
|
52
|
+
}, z.core.$strict>>], null>], null>;
|
|
65
53
|
readonly from: z.ZodTuple<[z.ZodTuple<[z.ZodObject<{
|
|
66
54
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
67
55
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
68
56
|
readonly __address: true;
|
|
69
57
|
}>, string>>>;
|
|
70
58
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
71
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
59
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
60
|
+
__schema: true;
|
|
61
|
+
}, string>>]>>;
|
|
72
62
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
73
63
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
74
64
|
readonly __address: true;
|
|
75
65
|
}>, string>>>;
|
|
76
66
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
77
67
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
78
|
-
_hash: z.ZodOptional<z.
|
|
79
|
-
|
|
80
|
-
}>, {
|
|
81
|
-
readonly __hash: true;
|
|
82
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
83
|
-
readonly __hex: true;
|
|
84
|
-
}>, {
|
|
85
|
-
readonly __hash: true;
|
|
86
|
-
}>, unknown>>>;
|
|
87
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
88
|
-
readonly __hex: true;
|
|
89
|
-
}>, {
|
|
90
|
-
readonly __hash: true;
|
|
91
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
92
|
-
readonly __hex: true;
|
|
93
|
-
}>, {
|
|
94
|
-
readonly __hash: true;
|
|
95
|
-
}>, unknown>>>;
|
|
68
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
69
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
96
70
|
_sequence: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>>;
|
|
97
71
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
98
72
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -106,8 +80,10 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
106
80
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
107
81
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
82
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
109
|
-
schema: z.ZodString
|
|
110
|
-
|
|
83
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
84
|
+
__schema: true;
|
|
85
|
+
}, string>>]>;
|
|
86
|
+
}, z.core.$strict>>], null>], null>;
|
|
111
87
|
};
|
|
112
88
|
readonly result: {
|
|
113
89
|
readonly to: z.ZodTuple<[z.ZodObject<{
|
|
@@ -116,31 +92,17 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
116
92
|
readonly __address: true;
|
|
117
93
|
}>, string>>>;
|
|
118
94
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
119
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
95
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
96
|
+
__schema: true;
|
|
97
|
+
}, string>>]>>;
|
|
120
98
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
121
99
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
122
100
|
readonly __address: true;
|
|
123
101
|
}>, string>>>;
|
|
124
102
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
125
103
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
126
|
-
_hash: z.ZodOptional<z.
|
|
127
|
-
|
|
128
|
-
}>, {
|
|
129
|
-
readonly __hash: true;
|
|
130
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
131
|
-
readonly __hex: true;
|
|
132
|
-
}>, {
|
|
133
|
-
readonly __hash: true;
|
|
134
|
-
}>, unknown>>>;
|
|
135
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
136
|
-
readonly __hex: true;
|
|
137
|
-
}>, {
|
|
138
|
-
readonly __hash: true;
|
|
139
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
140
|
-
readonly __hex: true;
|
|
141
|
-
}>, {
|
|
142
|
-
readonly __hash: true;
|
|
143
|
-
}>, unknown>>>;
|
|
104
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
105
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
144
106
|
_sequence: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>>;
|
|
145
107
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
146
108
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -154,39 +116,27 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
154
116
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
155
117
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
156
118
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
157
|
-
schema: z.ZodString
|
|
158
|
-
|
|
119
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
120
|
+
__schema: true;
|
|
121
|
+
}, string>>]>;
|
|
122
|
+
}, z.core.$strict>>], null>;
|
|
159
123
|
readonly from: z.ZodPipe<z.ZodTuple<[z.ZodObject<{
|
|
160
124
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
161
125
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
162
126
|
readonly __address: true;
|
|
163
127
|
}>, string>>>;
|
|
164
128
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
165
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
129
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
130
|
+
__schema: true;
|
|
131
|
+
}, string>>]>>;
|
|
166
132
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
167
133
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
168
134
|
readonly __address: true;
|
|
169
135
|
}>, string>>>;
|
|
170
136
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
171
137
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
172
|
-
_hash: z.ZodOptional<z.
|
|
173
|
-
|
|
174
|
-
}>, {
|
|
175
|
-
readonly __hash: true;
|
|
176
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
177
|
-
readonly __hex: true;
|
|
178
|
-
}>, {
|
|
179
|
-
readonly __hash: true;
|
|
180
|
-
}>, unknown>>>;
|
|
181
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
182
|
-
readonly __hex: true;
|
|
183
|
-
}>, {
|
|
184
|
-
readonly __hash: true;
|
|
185
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
186
|
-
readonly __hex: true;
|
|
187
|
-
}>, {
|
|
188
|
-
readonly __hash: true;
|
|
189
|
-
}>, unknown>>>;
|
|
138
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
139
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
190
140
|
_sequence: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>>;
|
|
191
141
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
192
142
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -200,14 +150,18 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
200
150
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
201
151
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
202
152
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
203
|
-
schema: z.ZodString
|
|
204
|
-
|
|
153
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
154
|
+
__schema: true;
|
|
155
|
+
}, string>>]>;
|
|
156
|
+
}, z.core.$strict>>], null>, z.ZodTransform<import("@xyo-network/xl1-protocol").HydratedTransactionWithStorageMeta<import("@xyo-network/xl1-protocol").TransactionBoundWitness, import("@xyo-network/payload-model").Payload>, [{
|
|
205
157
|
schema: "network.xyo.boundwitness";
|
|
206
158
|
addresses: import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
207
159
|
readonly __address: true;
|
|
208
160
|
}>[];
|
|
209
161
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
210
|
-
payload_schemas: string
|
|
162
|
+
payload_schemas: (string | (string & {
|
|
163
|
+
__schema: true;
|
|
164
|
+
}))[];
|
|
211
165
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
212
166
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
213
167
|
nbf: import("@xyo-network/xl1-protocol").BlockNumber;
|
|
@@ -224,21 +178,14 @@ export declare const XyoSignerRpcSchemas: {
|
|
|
224
178
|
readonly __address: true;
|
|
225
179
|
}> | undefined;
|
|
226
180
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
227
|
-
_hash?: import("@xylabs/
|
|
228
|
-
|
|
229
|
-
}>, {
|
|
230
|
-
readonly __hash: true;
|
|
231
|
-
}> | undefined;
|
|
232
|
-
_dataHash?: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
233
|
-
readonly __hex: true;
|
|
234
|
-
}>, {
|
|
235
|
-
readonly __hash: true;
|
|
236
|
-
}> | undefined;
|
|
181
|
+
_hash?: import("@xylabs/hex").Hash | undefined;
|
|
182
|
+
_dataHash?: import("@xylabs/hex").Hash | undefined;
|
|
237
183
|
_sequence?: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence | undefined;
|
|
238
184
|
script?: string[] | undefined;
|
|
239
185
|
}, {
|
|
240
|
-
|
|
241
|
-
|
|
186
|
+
schema: string | (string & {
|
|
187
|
+
__schema: true;
|
|
188
|
+
});
|
|
242
189
|
}[]]>>;
|
|
243
190
|
};
|
|
244
191
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoSignerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoSignerRpcSchemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"XyoSignerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoSignerRpcSchemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqByB,CAAA"}
|