@xyo-network/xl1-protocol 1.14.2 → 1.14.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/zod/TransactionBoundWitness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/zod/TransactionBoundWitness.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AASxB,eAAO,MAAM,aAAa;;iBAAoC,CAAA;AAC9D,eAAO,MAAM,WAAW;;iBAAoC,CAAA;AAC5D,eAAO,MAAM,gBAAgB;;;iBAAyD,CAAA;AACtF,eAAO,MAAM,eAAe;;iBAAuD,CAAA;AAEnF,eAAO,MAAM,kBAAkB;;;;;;;iBAA4C,CAAA;AAI3E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;iBAIP,CAAA;AAEhC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;CAA2C,CAAA;AACjF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA;AAC9G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA;AAE9G,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;iBACvB,CAAA;AAE5B,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAExG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;CAAuD,CAAA;AACzG,eAAO,MAAM,qCAAqC;;;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;;;;;;;;;;;;;CAGvD,CAAA;AACD,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvD,CAAA;AAED,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;iBAC7B,CAAA;AAE/B,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+CAA+C,CAAC,CAAA;AAE1H,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;CAAgE,CAAA;AAC3H,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG1D,CAAA;AACD,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG1D,CAAA"}
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { AddressZod } from '@xylabs/sdk-js'
|
|
|
2
2
|
import {
|
|
3
3
|
zodAsFactory, zodIsFactory, zodToFactory,
|
|
4
4
|
} from '@xylabs/zod'
|
|
5
|
+
import { HashMetaZod, StorageMetaZod } from '@xyo-network/payload-model'
|
|
5
6
|
import * as z from 'zod'
|
|
6
7
|
|
|
7
8
|
import { BlockNumberZod } from '../model/index.ts'
|
|
@@ -32,6 +33,24 @@ export const isTransactionBoundWitness = zodIsFactory(TransactionBoundWitnessZod
|
|
|
32
33
|
export const asTransactionBoundWitness = zodAsFactory(TransactionBoundWitnessZod, 'asTransactionBoundWitness')
|
|
33
34
|
export const toTransactionBoundWitness = zodToFactory(TransactionBoundWitnessZod, 'toTransactionBoundWitness')
|
|
34
35
|
|
|
36
|
+
export const TransactionBoundWitnessWithHashMetaZod = TransactionBoundWitnessZod
|
|
37
|
+
.extend(HashMetaZod.shape)
|
|
38
|
+
|
|
39
|
+
export type TransactionBoundWitnessWithHashMeta = z.infer<typeof TransactionBoundWitnessWithHashMetaZod>
|
|
40
|
+
|
|
41
|
+
export const isTransactionBoundWitnessWithHashMeta = zodIsFactory(TransactionBoundWitnessWithHashMetaZod)
|
|
42
|
+
export const asTransactionBoundWitnessWithHashMeta = zodAsFactory(TransactionBoundWitnessWithHashMetaZod, 'asTransactionBoundWitnessWithHashMeta')
|
|
43
|
+
export const toTransactionBoundWitnessWithHashMeta = zodToFactory(TransactionBoundWitnessWithHashMetaZod, 'toTransactionBoundWitnessWithHashMeta')
|
|
44
|
+
|
|
45
|
+
export const TransactionBoundWitnessWithStorageMetaZod = TransactionBoundWitnessZod
|
|
46
|
+
.extend(StorageMetaZod.shape)
|
|
47
|
+
|
|
48
|
+
export type TransactionBoundWitnessWithStorageMeta = z.infer<typeof TransactionBoundWitnessWithStorageMetaZod>
|
|
49
|
+
|
|
50
|
+
export const isTransactionBoundWitnessWithStorageMeta = zodIsFactory(TransactionBoundWitnessWithStorageMetaZod)
|
|
51
|
+
export const asTransactionBoundWitnessWithStorageMeta = zodAsFactory(TransactionBoundWitnessWithStorageMetaZod, 'asTransactionBoundWitnessWithStorageMeta')
|
|
52
|
+
export const toTransactionBoundWitnessWithStorageMeta = zodToFactory(TransactionBoundWitnessWithStorageMetaZod, 'toTransactionBoundWitnessWithStorageMeta')
|
|
53
|
+
|
|
35
54
|
export const UnsignedTransactionBoundWitnessZod = UnsignedBoundWitnessZod
|
|
36
55
|
.extend(BlockDurationZod.shape)
|
|
37
56
|
.extend(TransactionFeesZod.shape)
|
|
@@ -44,6 +63,35 @@ export const isUnsignedTransactionBoundWitness = zodIsFactory(UnsignedTransactio
|
|
|
44
63
|
export const asUnsignedTransactionBoundWitness = zodAsFactory(UnsignedTransactionBoundWitnessZod, 'asUnsignedTransactionBoundWitness')
|
|
45
64
|
export const toUnsignedTransactionBoundWitness = zodToFactory(UnsignedTransactionBoundWitnessZod, 'toUnsignedTransactionBoundWitness')
|
|
46
65
|
|
|
66
|
+
export const UnsignedTransactionBoundWitnessWithHashMetaZod = UnsignedTransactionBoundWitnessZod.extend(HashMetaZod.shape)
|
|
67
|
+
|
|
68
|
+
export type UnsignedTransactionBoundWitnessWithHashMeta = z.infer<typeof UnsignedTransactionBoundWitnessWithHashMetaZod>
|
|
69
|
+
|
|
70
|
+
export const isUnsignedTransactionBoundWitnessWithHashMeta = zodIsFactory(UnsignedTransactionBoundWitnessWithHashMetaZod)
|
|
71
|
+
export const asUnsignedTransactionBoundWitnessWithHashMeta = zodAsFactory(
|
|
72
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
73
|
+
'asUnsignedTransactionBoundWitnessWithHashMeta',
|
|
74
|
+
)
|
|
75
|
+
export const toUnsignedTransactionBoundWitnessWithHashMeta = zodToFactory(
|
|
76
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
77
|
+
'toUnsignedTransactionBoundWitnessWithHashMeta',
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
export const UnsignedTransactionBoundWitnessWithStorageMetaZod = UnsignedTransactionBoundWitnessZod
|
|
81
|
+
.extend(StorageMetaZod.shape)
|
|
82
|
+
|
|
83
|
+
export type UnsignedTransactionBoundWitnessWithStorageMeta = z.infer<typeof UnsignedTransactionBoundWitnessWithStorageMetaZod>
|
|
84
|
+
|
|
85
|
+
export const isUnsignedTransactionBoundWitnessWithStorageMeta = zodIsFactory(UnsignedTransactionBoundWitnessWithStorageMetaZod)
|
|
86
|
+
export const asUnsignedTransactionBoundWitnessWithStorageMeta = zodAsFactory(
|
|
87
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
88
|
+
'asUnsignedTransactionBoundWitnessWithStorageMeta',
|
|
89
|
+
)
|
|
90
|
+
export const toUnsignedTransactionBoundWitnessWithStorageMeta = zodToFactory(
|
|
91
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
92
|
+
'toUnsignedTransactionBoundWitnessWithStorageMeta',
|
|
93
|
+
)
|
|
94
|
+
|
|
47
95
|
export const SignedTransactionBoundWitnessZod = SignedBoundWitnessZod
|
|
48
96
|
.extend(BlockDurationZod.shape)
|
|
49
97
|
.extend(TransactionFeesZod.shape)
|
|
@@ -55,3 +103,33 @@ export type SignedTransactionBoundWitness = z.infer<typeof SignedTransactionBoun
|
|
|
55
103
|
export const isSignedTransactionBoundWitness = zodIsFactory(SignedTransactionBoundWitnessZod)
|
|
56
104
|
export const asSignedTransactionBoundWitness = zodAsFactory(SignedTransactionBoundWitnessZod, 'asSignedTransactionBoundWitness')
|
|
57
105
|
export const toSignedTransactionBoundWitness = zodToFactory(SignedTransactionBoundWitnessZod, 'toSignedTransactionBoundWitness')
|
|
106
|
+
|
|
107
|
+
export const SignedTransactionBoundWitnessWithHashMetaZod = SignedTransactionBoundWitnessZod
|
|
108
|
+
.extend(HashMetaZod.shape)
|
|
109
|
+
|
|
110
|
+
export type SignedTransactionBoundWitnessWithHashMeta = z.infer<typeof SignedTransactionBoundWitnessWithHashMetaZod>
|
|
111
|
+
|
|
112
|
+
export const isSignedTransactionBoundWitnessWithHashMeta = zodIsFactory(SignedTransactionBoundWitnessWithHashMetaZod)
|
|
113
|
+
export const asSignedTransactionBoundWitnessWithHashMeta = zodAsFactory(
|
|
114
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
115
|
+
'asSignedTransactionBoundWitnessWithHashMeta',
|
|
116
|
+
)
|
|
117
|
+
export const toSignedTransactionBoundWitnessWithHashMeta = zodToFactory(
|
|
118
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
119
|
+
'toSignedTransactionBoundWitnessWithHashMeta',
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
export const SignedTransactionBoundWitnessWithStorageMetaZod = SignedTransactionBoundWitnessZod
|
|
123
|
+
.extend(StorageMetaZod.shape)
|
|
124
|
+
|
|
125
|
+
export type SignedTransactionBoundWitnessWithStorageMeta = z.infer<typeof SignedTransactionBoundWitnessWithStorageMetaZod>
|
|
126
|
+
|
|
127
|
+
export const isSignedTransactionBoundWitnessWithStorageMeta = zodIsFactory(SignedTransactionBoundWitnessWithStorageMetaZod)
|
|
128
|
+
export const asSignedTransactionBoundWitnessWithStorageMeta = zodAsFactory(
|
|
129
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
130
|
+
'asSignedTransactionBoundWitnessWithStorageMeta',
|
|
131
|
+
)
|
|
132
|
+
export const toSignedTransactionBoundWitnessWithStorageMeta = zodToFactory(
|
|
133
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
134
|
+
'toSignedTransactionBoundWitnessWithStorageMeta',
|
|
135
|
+
)
|