@layerzerolabs/onesig-model 0.2.63 → 0.2.65

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.
@@ -11,121 +11,121 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- Generated an empty chunk: "B6GAZFBI".
15
- Generated an empty chunk: "P2ZSGLQK".
16
- Generated an empty chunk: "YKZ5WATU".
17
14
  Generated an empty chunk: "CGNWFUAB".
18
15
  Generated an empty chunk: "T7HE2FLY".
19
16
  Generated an empty chunk: "NTKZVLDN".
20
- CJS dist/model/onesig-bundle/calls/onesig-solana-call.cjs 350.00 B
21
- CJS dist/model/onesig-config/index.cjs 1.42 KB
22
- CJS dist/model/onesig-headers/index.cjs 466.00 B
23
- CJS dist/model/onesig-peer-to-peer/index.cjs 345.00 B
24
- CJS dist/model/onesig-bundle/calls/onesig-starknet-call.cjs 358.00 B
25
- CJS dist/model/onesig-bundle/calls/onesig-stellar-call.cjs 356.00 B
26
- CJS dist/model/onesig-bundle/calls/onesig-ton-call.cjs 340.00 B
27
- CJS dist/model/onesig-bundle/onesig-signer-signature.cjs 352.00 B
28
- CJS dist/model/onesig-config/onesig-config.cjs 1.23 KB
29
- CJS dist/model/onesig-bundle/calls/index.cjs 1.29 KB
30
- CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs 338.00 B
31
- CJS dist/model/onesig-peer-to-peer/onesig-session.cjs 332.00 B
17
+ Generated an empty chunk: "B6GAZFBI".
18
+ Generated an empty chunk: "P2ZSGLQK".
19
+ Generated an empty chunk: "YKZ5WATU".
32
20
  CJS dist/index.cjs 6.45 KB
33
21
  CJS dist/CGNWFUAB.cjs 90.00 B
34
- CJS dist/model/index.cjs 6.47 KB
35
22
  CJS dist/2RJPD65S.cjs 352.00 B
36
- CJS dist/X4MGHHW7.cjs 2.74 KB
37
23
  CJS dist/PHZFLFVE.cjs 403.00 B
38
- CJS dist/5NLYB2J5.cjs 319.00 B
39
24
  CJS dist/T7HE2FLY.cjs 90.00 B
40
- CJS dist/model/onesig-api-errors/index.cjs 1.83 KB
41
- CJS dist/DVBYPAF4.cjs 3.48 KB
42
- CJS dist/model/onesig-bundle/index.cjs 2.91 KB
43
- CJS dist/2OQP6H5S.cjs 1.60 KB
25
+ CJS dist/X4MGHHW7.cjs 2.74 KB
26
+ CJS dist/5NLYB2J5.cjs 319.00 B
44
27
  CJS dist/NTKZVLDN.cjs 90.00 B
45
- CJS dist/model/onesig-bundle/onesig-entity.cjs 797.00 B
28
+ CJS dist/DVBYPAF4.cjs 3.48 KB
29
+ CJS dist/W6WO7YAV.cjs 1.59 KB
46
30
  CJS dist/XDJXN5NZ.cjs 437.00 B
47
- CJS dist/model/onesig-bundle/onesig-leaf.cjs 995.00 B
48
31
  CJS dist/OHT5MZNV.cjs 629.00 B
49
32
  CJS dist/3AJ4DHQP.cjs 2.09 KB
50
- CJS dist/SYNMOYRG.cjs 885.00 B
51
33
  CJS dist/AS3SW7HU.cjs 938.00 B
34
+ CJS dist/SYNMOYRG.cjs 885.00 B
52
35
  CJS dist/4ETJKBTN.cjs 686.00 B
53
36
  CJS dist/3N54FTB6.cjs 514.00 B
54
37
  CJS dist/HRCGNRZR.cjs 595.00 B
55
- CJS dist/model/onesig-bundle/onesig-overrides.cjs 356.00 B
56
38
  CJS dist/MTIY5PKR.cjs 612.00 B
57
- CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs 360.00 B
58
39
  CJS dist/FZLSSFHX.cjs 742.00 B
59
40
  CJS dist/YJF4D23A.cjs 245.00 B
60
- CJS dist/model/onesig-bundle/calls/onesig-solana-call.cjs.map 83.00 B
61
- CJS dist/model/onesig-config/index.cjs.map 70.00 B
62
- CJS dist/model/onesig-headers/index.cjs.map 70.00 B
63
- CJS dist/model/onesig-peer-to-peer/index.cjs.map 70.00 B
64
- CJS dist/model/onesig-bundle/calls/onesig-stellar-call.cjs.map 84.00 B
65
- CJS dist/model/onesig-bundle/calls/onesig-ton-call.cjs.map 80.00 B
66
- CJS dist/model/onesig-bundle/onesig-signer-signature.cjs.map 88.00 B
67
- CJS dist/model/onesig-config/onesig-config.cjs.map 78.00 B
68
- CJS dist/model/onesig-bundle/calls/index.cjs.map 70.00 B
69
- CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs.map 80.00 B
70
- CJS dist/model/onesig-peer-to-peer/onesig-session.cjs.map 79.00 B
71
- CJS dist/CGNWFUAB.cjs.map 73.00 B
41
+ CJS dist/model/onesig-bundle/calls/onesig-solana-call.cjs 350.00 B
42
+ CJS dist/model/onesig-config/onesig-config.cjs 1.23 KB
43
+ CJS dist/model/onesig-headers/index.cjs 466.00 B
44
+ CJS dist/model/onesig-peer-to-peer/index.cjs 345.00 B
45
+ CJS dist/model/onesig-bundle/calls/onesig-ton-call.cjs 340.00 B
46
+ CJS dist/model/onesig-bundle/calls/onesig-stellar-call.cjs 356.00 B
47
+ CJS dist/model/onesig-bundle/calls/onesig-starknet-call.cjs 358.00 B
48
+ CJS dist/model/onesig-bundle/onesig-signer-signature.cjs 352.00 B
49
+ CJS dist/model/onesig-config/index.cjs 1.42 KB
50
+ CJS dist/model/onesig-bundle/calls/index.cjs 1.29 KB
51
+ CJS dist/model/onesig-peer-to-peer/onesig-session.cjs 332.00 B
52
+ CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs 338.00 B
53
+ CJS dist/model/index.cjs 6.47 KB
54
+ CJS dist/model/onesig-api-errors/index.cjs 1.83 KB
55
+ CJS dist/model/onesig-bundle/onesig-entity.cjs 794.00 B
56
+ CJS dist/model/onesig-bundle/index.cjs 2.91 KB
57
+ CJS dist/model/onesig-bundle/onesig-leaf.cjs 995.00 B
58
+ CJS dist/model/onesig-bundle/onesig-overrides.cjs 356.00 B
59
+ CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs 360.00 B
72
60
  CJS dist/index.cjs.map 70.00 B
73
- CJS dist/model/index.cjs.map 70.00 B
61
+ CJS dist/CGNWFUAB.cjs.map 73.00 B
62
+ CJS dist/PHZFLFVE.cjs.map 831.00 B
74
63
  CJS dist/2RJPD65S.cjs.map 642.00 B
64
+ CJS dist/T7HE2FLY.cjs.map 73.00 B
75
65
  CJS dist/X4MGHHW7.cjs.map 5.00 KB
76
66
  CJS dist/5NLYB2J5.cjs.map 557.00 B
77
- CJS dist/PHZFLFVE.cjs.map 831.00 B
78
- CJS dist/T7HE2FLY.cjs.map 73.00 B
79
- CJS dist/model/onesig-api-errors/index.cjs.map 70.00 B
80
- CJS dist/model/onesig-bundle/index.cjs.map 70.00 B
67
+ CJS dist/NTKZVLDN.cjs.map 73.00 B
81
68
  CJS dist/DVBYPAF4.cjs.map 5.23 KB
82
- CJS dist/2OQP6H5S.cjs.map 3.34 KB
83
- CJS dist/model/onesig-bundle/onesig-entity.cjs.map 78.00 B
84
- CJS dist/model/onesig-bundle/onesig-leaf.cjs.map 76.00 B
69
+ CJS dist/W6WO7YAV.cjs.map 3.33 KB
85
70
  CJS dist/XDJXN5NZ.cjs.map 842.00 B
86
71
  CJS dist/OHT5MZNV.cjs.map 1.20 KB
87
72
  CJS dist/3AJ4DHQP.cjs.map 4.03 KB
73
+ CJS dist/AS3SW7HU.cjs.map 1.95 KB
88
74
  CJS dist/SYNMOYRG.cjs.map 2.04 KB
89
75
  CJS dist/4ETJKBTN.cjs.map 1.29 KB
90
76
  CJS dist/3N54FTB6.cjs.map 1.04 KB
91
77
  CJS dist/HRCGNRZR.cjs.map 1.24 KB
92
78
  CJS dist/MTIY5PKR.cjs.map 1.15 KB
93
- CJS dist/model/onesig-bundle/calls/onesig-starknet-call.cjs.map 85.00 B
94
- CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs.map 90.00 B
95
79
  CJS dist/FZLSSFHX.cjs.map 1.44 KB
96
- CJS dist/model/onesig-bundle/onesig-overrides.cjs.map 81.00 B
97
80
  CJS dist/YJF4D23A.cjs.map 73.00 B
98
- CJS dist/NTKZVLDN.cjs.map 73.00 B
99
- CJS dist/AS3SW7HU.cjs.map 1.95 KB
100
- CJS ⚡️ Build success in 464ms
101
- ESM dist/index.js 1.58 KB
81
+ CJS dist/model/onesig-bundle/calls/onesig-solana-call.cjs.map 83.00 B
82
+ CJS dist/model/onesig-config/onesig-config.cjs.map 78.00 B
83
+ CJS dist/model/onesig-headers/index.cjs.map 70.00 B
84
+ CJS dist/model/onesig-peer-to-peer/index.cjs.map 70.00 B
85
+ CJS dist/model/onesig-bundle/calls/onesig-ton-call.cjs.map 80.00 B
86
+ CJS dist/model/onesig-bundle/calls/onesig-stellar-call.cjs.map 84.00 B
87
+ CJS dist/model/onesig-bundle/calls/onesig-starknet-call.cjs.map 85.00 B
88
+ CJS dist/model/onesig-bundle/onesig-signer-signature.cjs.map 88.00 B
89
+ CJS dist/model/onesig-config/index.cjs.map 70.00 B
90
+ CJS dist/model/onesig-bundle/calls/index.cjs.map 70.00 B
91
+ CJS dist/model/onesig-peer-to-peer/onesig-session.cjs.map 79.00 B
92
+ CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs.map 80.00 B
93
+ CJS dist/model/index.cjs.map 70.00 B
94
+ CJS dist/model/onesig-api-errors/index.cjs.map 70.00 B
95
+ CJS dist/model/onesig-bundle/onesig-entity.cjs.map 78.00 B
96
+ CJS dist/model/onesig-bundle/index.cjs.map 70.00 B
97
+ CJS dist/model/onesig-bundle/onesig-overrides.cjs.map 81.00 B
98
+ CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs.map 90.00 B
99
+ CJS dist/model/onesig-bundle/onesig-leaf.cjs.map 76.00 B
100
+ CJS ⚡️ Build success in 498ms
102
101
  ESM dist/model/index.js 1.60 KB
103
102
  ESM dist/model/onesig-api-errors/index.js 424.00 B
104
103
  ESM dist/model/onesig-bundle/index.js 890.00 B
104
+ ESM dist/B6GAZFBI.js 74.00 B
105
+ ESM dist/index.js 1.58 KB
105
106
  ESM dist/W4ZFEKKA.js 290.00 B
106
- ESM dist/UHVGJEND.js 2.39 KB
107
107
  ESM dist/45W5UJ2Y.js 332.00 B
108
+ ESM dist/UHVGJEND.js 2.39 KB
108
109
  ESM dist/P2ZSGLQK.js 74.00 B
109
- ESM dist/YKZ5WATU.js 74.00 B
110
110
  ESM dist/5UA4EFKV.js 270.00 B
111
111
  ESM dist/XBWMHWDY.js 2.95 KB
112
+ ESM dist/YKZ5WATU.js 74.00 B
112
113
  ESM dist/model/onesig-bundle/onesig-entity.js 475.00 B
113
- ESM dist/FLDA2262.js 1.45 KB
114
- ESM dist/model/onesig-bundle/onesig-leaf.js 419.00 B
115
114
  ESM dist/H3AGSGWO.js 378.00 B
115
+ ESM dist/PSRZT2JS.js 1.44 KB
116
+ ESM dist/model/onesig-bundle/onesig-leaf.js 419.00 B
116
117
  ESM dist/BY6BIBVQ.js 1.82 KB
117
118
  ESM dist/QEBBBHC2.js 569.00 B
118
- ESM dist/EA2O3IZ5.js 613.00 B
119
+ ESM dist/WVUE7QAU.js 846.00 B
119
120
  ESM dist/CMEEOEP5.js 787.00 B
121
+ ESM dist/EA2O3IZ5.js 613.00 B
120
122
  ESM dist/2YKLV2BS.js 445.00 B
121
123
  ESM dist/K2YC5FPR.js 526.00 B
122
- ESM dist/WVUE7QAU.js 846.00 B
123
- ESM dist/YJC3WODI.js 540.00 B
124
124
  ESM dist/model/onesig-bundle/onesig-overrides.js 185.00 B
125
- ESM dist/WJMHUJYW.js 677.00 B
125
+ ESM dist/YJC3WODI.js 540.00 B
126
126
  ESM dist/model/onesig-bundle/onesig-proposer-signature.js 196.00 B
127
+ ESM dist/WJMHUJYW.js 677.00 B
127
128
  ESM dist/VUOMXK5T.js 222.00 B
128
- ESM dist/B6GAZFBI.js 74.00 B
129
129
  ESM dist/model/onesig-bundle/calls/onesig-solana-call.js 187.00 B
130
130
  ESM dist/model/onesig-bundle/calls/onesig-starknet-call.js 193.00 B
131
131
  ESM dist/model/onesig-bundle/calls/onesig-stellar-call.js 190.00 B
@@ -135,47 +135,47 @@ Generated an empty chunk: "NTKZVLDN".
135
135
  ESM dist/model/onesig-config/onesig-config.js 326.00 B
136
136
  ESM dist/model/onesig-headers/index.js 178.00 B
137
137
  ESM dist/model/onesig-peer-to-peer/index.js 180.00 B
138
- ESM dist/model/onesig-peer-to-peer/onesig-session.js 170.00 B
139
138
  ESM dist/model/onesig-bundle/calls/index.js 467.00 B
139
+ ESM dist/model/onesig-peer-to-peer/onesig-session.js 170.00 B
140
140
  ESM dist/model/onesig-bundle/calls/onesig-evm-call.js 178.00 B
141
- ESM dist/index.js.map 69.00 B
142
141
  ESM dist/model/index.js.map 69.00 B
143
142
  ESM dist/model/onesig-api-errors/index.js.map 69.00 B
144
143
  ESM dist/model/onesig-bundle/index.js.map 69.00 B
144
+ ESM dist/B6GAZFBI.js.map 72.00 B
145
+ ESM dist/index.js.map 69.00 B
145
146
  ESM dist/W4ZFEKKA.js.map 639.00 B
146
147
  ESM dist/45W5UJ2Y.js.map 828.00 B
147
- ESM dist/P2ZSGLQK.js.map 72.00 B
148
- ESM dist/YKZ5WATU.js.map 72.00 B
149
148
  ESM dist/UHVGJEND.js.map 5.00 KB
149
+ ESM dist/P2ZSGLQK.js.map 72.00 B
150
150
  ESM dist/5UA4EFKV.js.map 554.00 B
151
- ESM dist/model/onesig-bundle/onesig-entity.js.map 77.00 B
151
+ ESM dist/YKZ5WATU.js.map 72.00 B
152
152
  ESM dist/XBWMHWDY.js.map 5.23 KB
153
- ESM dist/FLDA2262.js.map 3.34 KB
153
+ ESM dist/model/onesig-bundle/onesig-entity.js.map 77.00 B
154
154
  ESM dist/H3AGSGWO.js.map 839.00 B
155
+ ESM dist/PSRZT2JS.js.map 3.33 KB
155
156
  ESM dist/model/onesig-bundle/onesig-leaf.js.map 75.00 B
156
157
  ESM dist/BY6BIBVQ.js.map 4.03 KB
157
158
  ESM dist/QEBBBHC2.js.map 1.20 KB
158
- ESM dist/EA2O3IZ5.js.map 1.28 KB
159
- ESM dist/2YKLV2BS.js.map 1.03 KB
159
+ ESM dist/WVUE7QAU.js.map 1.94 KB
160
160
  ESM dist/CMEEOEP5.js.map 2.04 KB
161
+ ESM dist/2YKLV2BS.js.map 1.03 KB
162
+ ESM dist/EA2O3IZ5.js.map 1.28 KB
161
163
  ESM dist/K2YC5FPR.js.map 1.24 KB
162
- ESM dist/WVUE7QAU.js.map 1.94 KB
163
- ESM dist/YJC3WODI.js.map 1.14 KB
164
164
  ESM dist/model/onesig-bundle/onesig-overrides.js.map 80.00 B
165
- ESM dist/WJMHUJYW.js.map 1.44 KB
165
+ ESM dist/YJC3WODI.js.map 1.14 KB
166
166
  ESM dist/model/onesig-bundle/onesig-proposer-signature.js.map 89.00 B
167
+ ESM dist/WJMHUJYW.js.map 1.44 KB
167
168
  ESM dist/VUOMXK5T.js.map 72.00 B
168
- ESM dist/B6GAZFBI.js.map 72.00 B
169
+ ESM dist/model/onesig-bundle/calls/onesig-solana-call.js.map 82.00 B
169
170
  ESM dist/model/onesig-bundle/calls/onesig-starknet-call.js.map 84.00 B
170
171
  ESM dist/model/onesig-bundle/calls/onesig-stellar-call.js.map 83.00 B
171
172
  ESM dist/model/onesig-bundle/calls/onesig-ton-call.js.map 79.00 B
172
173
  ESM dist/model/onesig-bundle/onesig-signer-signature.js.map 87.00 B
173
174
  ESM dist/model/onesig-config/index.js.map 69.00 B
174
175
  ESM dist/model/onesig-config/onesig-config.js.map 77.00 B
175
- ESM dist/model/onesig-bundle/calls/onesig-solana-call.js.map 82.00 B
176
176
  ESM dist/model/onesig-headers/index.js.map 69.00 B
177
- ESM dist/model/onesig-peer-to-peer/onesig-session.js.map 78.00 B
177
+ ESM dist/model/onesig-peer-to-peer/index.js.map 69.00 B
178
178
  ESM dist/model/onesig-bundle/calls/index.js.map 69.00 B
179
179
  ESM dist/model/onesig-bundle/calls/onesig-evm-call.js.map 79.00 B
180
- ESM dist/model/onesig-peer-to-peer/index.js.map 69.00 B
181
- ESM ⚡️ Build success in 468ms
180
+ ESM dist/model/onesig-peer-to-peer/onesig-session.js.map 78.00 B
181
+ ESM ⚡️ Build success in 502ms
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/onesig-model@0.0.2 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/onesig/onesig-model
3
3
  > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
4
 
5
- (node:59825) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1774884106232 is not specified and it doesn't parse as CommonJS.
5
+ (node:66587) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1775433845457 is not specified and it doesn't parse as CommonJS.
6
6
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
7
7
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
8
8
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -6,7 +6,7 @@ import { z } from 'zod';
6
6
 
7
7
  var oneSigEntitySchema = z.object({
8
8
  id: z.uuid().describe("Client generated id for the batch of transactions"),
9
- oneSigName: z.string().optional().describe("Canonical name of the OneSig"),
9
+ oneSigName: z.string().describe("Canonical name of the OneSig"),
10
10
  expiry: z.number().optional().describe("unix timestamp in milliseconds, after which the OneSig transactions fail to execute"),
11
11
  seed: z.string().optional().describe("Seed for the OneSig"),
12
12
  signatures: z.array(signerSignatureSchema).optional().describe("List of signatures of the signers"),
@@ -24,5 +24,5 @@ var oneSigProposedEntitySchema = z.object({
24
24
  });
25
25
 
26
26
  export { oneSigEntitySchema, oneSigProposedEntitySchema };
27
- //# sourceMappingURL=FLDA2262.js.map
28
- //# sourceMappingURL=FLDA2262.js.map
27
+ //# sourceMappingURL=PSRZT2JS.js.map
28
+ //# sourceMappingURL=PSRZT2JS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/model/onesig-bundle/onesig-entity.ts"],"names":["oneSigEntitySchema","z","object","id","uuid","describe","oneSigName","string","expiry","number","optional","seed","signatures","array","signerSignatureSchema","leaves","oneSigLeafSchema","metadata","record","any","bundlingOverride","oneSigBundleSizeOverrideSchema","proposerSignature","proposerSignatureSchema","oneSigProposedEntitySchema","status","merkleRoot"],"mappings":";;;;;;AAOO,IAAMA,kBAAAA,GAAqBC,EAAEC,MAAAA,CAAO;AACvCC,EAAAA,EAAAA,EAAIF,CAAAA,CAAEG,IAAAA,EAAI,CAAGC,QAAAA,CAAS,mDAAA,CAAA;AACtBC,EAAAA,UAAAA,EAAYL,CAAAA,CAAEM,MAAAA,EAAM,CAAGF,QAAAA,CAAS,8BAAA,CAAA;AAChCG,EAAAA,MAAAA,EAAQP,EACHQ,MAAAA,EAAM,CACNC,QAAAA,EAAQ,CACRL,SACG,qFAAA,CAAA;AAGRM,EAAAA,IAAAA,EAAMV,EAAEM,MAAAA,EAAM,CAAGG,QAAAA,EAAQ,CAAGL,SAAS,qBAAA,CAAA;AACrCO,EAAAA,UAAAA,EAAYX,EACPY,KAAAA,CAAMC,qBAAAA,EACNJ,QAAAA,EAAQ,CACRL,SAAS,mCAAA,CAAA;AACdU,EAAAA,MAAAA,EAAQd,CAAAA,CAAEY,KAAAA,CAAMG,gBAAAA,CAAAA,CAAkBX,SAAS,gBAAA,CAAA;AAC3CY,EAAAA,QAAAA,EAAUhB,CAAAA,CAAEiB,MAAAA,CAAOjB,CAAAA,CAAEkB,GAAAA,EAAG,EAAIlB,CAAAA,CAAEkB,GAAAA,EAAG,CAAA,CAAIT,QAAAA,EAAQ,CAAGL,QAAAA,CAAS,yBAAA,CAAA;AACzDe,EAAAA,gBAAAA,EAAkBC,8BAAAA,CACbX,QAAAA,EAAQ,CACRL,QAAAA,CAAS,4CAAA,CAAA;EACdiB,iBAAAA,EAAmBC,uBAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA;AAEO,IAAMmB,0BAAAA,GAA6BvB,EAAEC,MAAAA,CAAO;AAC/CuB,EAAAA,MAAAA,EAAQxB,EAAEM,MAAAA,EAAM;EAChBmB,UAAAA,EAAYzB,CAAAA,CAAEM,MAAAA,EAAM,CAAGG,QAAAA,EAAQ;EAC/BF,MAAAA,EAAQP,CAAAA,CAAEQ,MAAAA,EAAM,CAAGC,QAAAA,EAAQ;EAC3BC,IAAAA,EAAMV,CAAAA,CAAEM,MAAAA,EAAM,CAAGG,QAAAA,EAAQ;AACzBE,EAAAA,UAAAA,EAAYX,EAAEiB,MAAAA,CAAOjB,CAAAA,CAAEM,QAAM,EAAIN,CAAAA,CAAEM,QAAM;AAC7C,CAAA","file":"PSRZT2JS.js","sourcesContent":["import { z } from 'zod';\n\nimport { oneSigLeafSchema } from './onesig-leaf';\nimport { oneSigBundleSizeOverrideSchema } from './onesig-overrides';\nimport { proposerSignatureSchema } from './onesig-proposer-signature';\nimport { signerSignatureSchema } from './onesig-signer-signature';\n\nexport const oneSigEntitySchema = z.object({\n id: z.uuid().describe('Client generated id for the batch of transactions'),\n oneSigName: z.string().describe('Canonical name of the OneSig'),\n expiry: z\n .number()\n .optional()\n .describe(\n 'unix timestamp in milliseconds, after which the OneSig transactions fail to execute',\n ),\n\n seed: z.string().optional().describe('Seed for the OneSig'),\n signatures: z\n .array(signerSignatureSchema)\n .optional()\n .describe('List of signatures of the signers'),\n leaves: z.array(oneSigLeafSchema).describe('List of leaves'),\n metadata: z.record(z.any(), z.any()).optional().describe('Metadata for the OneSig'),\n bundlingOverride: oneSigBundleSizeOverrideSchema\n .optional()\n .describe('Override for the number of calls in a leaf'),\n proposerSignature: proposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport const oneSigProposedEntitySchema = z.object({\n status: z.string(),\n merkleRoot: z.string().optional(),\n expiry: z.number().optional(),\n seed: z.string().optional(),\n signatures: z.record(z.string(), z.string()),\n});\n\nexport type OneSigEntity = z.infer<typeof oneSigEntitySchema>;\nexport type OneSigProposedEntity = z.infer<typeof oneSigProposedEntitySchema>;\n"]}
@@ -8,7 +8,7 @@ var zod = require('zod');
8
8
 
9
9
  var oneSigEntitySchema = zod.z.object({
10
10
  id: zod.z.uuid().describe("Client generated id for the batch of transactions"),
11
- oneSigName: zod.z.string().optional().describe("Canonical name of the OneSig"),
11
+ oneSigName: zod.z.string().describe("Canonical name of the OneSig"),
12
12
  expiry: zod.z.number().optional().describe("unix timestamp in milliseconds, after which the OneSig transactions fail to execute"),
13
13
  seed: zod.z.string().optional().describe("Seed for the OneSig"),
14
14
  signatures: zod.z.array(XDJXN5NZ_cjs.signerSignatureSchema).optional().describe("List of signatures of the signers"),
@@ -27,5 +27,5 @@ var oneSigProposedEntitySchema = zod.z.object({
27
27
 
28
28
  exports.oneSigEntitySchema = oneSigEntitySchema;
29
29
  exports.oneSigProposedEntitySchema = oneSigProposedEntitySchema;
30
- //# sourceMappingURL=2OQP6H5S.cjs.map
31
- //# sourceMappingURL=2OQP6H5S.cjs.map
30
+ //# sourceMappingURL=W6WO7YAV.cjs.map
31
+ //# sourceMappingURL=W6WO7YAV.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/model/onesig-bundle/onesig-entity.ts"],"names":["oneSigEntitySchema","z","object","id","uuid","describe","oneSigName","string","expiry","number","optional","seed","signatures","array","signerSignatureSchema","leaves","oneSigLeafSchema","metadata","record","any","bundlingOverride","oneSigBundleSizeOverrideSchema","proposerSignature","proposerSignatureSchema","oneSigProposedEntitySchema","status","merkleRoot"],"mappings":";;;;;;;;AAOO,IAAMA,kBAAAA,GAAqBC,MAAEC,MAAAA,CAAO;AACvCC,EAAAA,EAAAA,EAAIF,KAAAA,CAAEG,IAAAA,EAAI,CAAGC,QAAAA,CAAS,mDAAA,CAAA;AACtBC,EAAAA,UAAAA,EAAYL,KAAAA,CAAEM,MAAAA,EAAM,CAAGF,QAAAA,CAAS,8BAAA,CAAA;AAChCG,EAAAA,MAAAA,EAAQP,MACHQ,MAAAA,EAAM,CACNC,QAAAA,EAAQ,CACRL,SACG,qFAAA,CAAA;AAGRM,EAAAA,IAAAA,EAAMV,MAAEM,MAAAA,EAAM,CAAGG,QAAAA,EAAQ,CAAGL,SAAS,qBAAA,CAAA;AACrCO,EAAAA,UAAAA,EAAYX,MACPY,KAAAA,CAAMC,kCAAAA,EACNJ,QAAAA,EAAQ,CACRL,SAAS,mCAAA,CAAA;AACdU,EAAAA,MAAAA,EAAQd,KAAAA,CAAEY,KAAAA,CAAMG,8BAAAA,CAAAA,CAAkBX,SAAS,gBAAA,CAAA;AAC3CY,EAAAA,QAAAA,EAAUhB,KAAAA,CAAEiB,MAAAA,CAAOjB,KAAAA,CAAEkB,GAAAA,EAAG,EAAIlB,KAAAA,CAAEkB,GAAAA,EAAG,CAAA,CAAIT,QAAAA,EAAQ,CAAGL,QAAAA,CAAS,yBAAA,CAAA;AACzDe,EAAAA,gBAAAA,EAAkBC,2CAAAA,CACbX,QAAAA,EAAQ,CACRL,QAAAA,CAAS,4CAAA,CAAA;EACdiB,iBAAAA,EAAmBC,oCAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA;AAEO,IAAMmB,0BAAAA,GAA6BvB,MAAEC,MAAAA,CAAO;AAC/CuB,EAAAA,MAAAA,EAAQxB,MAAEM,MAAAA,EAAM;EAChBmB,UAAAA,EAAYzB,KAAAA,CAAEM,MAAAA,EAAM,CAAGG,QAAAA,EAAQ;EAC/BF,MAAAA,EAAQP,KAAAA,CAAEQ,MAAAA,EAAM,CAAGC,QAAAA,EAAQ;EAC3BC,IAAAA,EAAMV,KAAAA,CAAEM,MAAAA,EAAM,CAAGG,QAAAA,EAAQ;AACzBE,EAAAA,UAAAA,EAAYX,MAAEiB,MAAAA,CAAOjB,KAAAA,CAAEM,QAAM,EAAIN,KAAAA,CAAEM,QAAM;AAC7C,CAAA","file":"W6WO7YAV.cjs","sourcesContent":["import { z } from 'zod';\n\nimport { oneSigLeafSchema } from './onesig-leaf';\nimport { oneSigBundleSizeOverrideSchema } from './onesig-overrides';\nimport { proposerSignatureSchema } from './onesig-proposer-signature';\nimport { signerSignatureSchema } from './onesig-signer-signature';\n\nexport const oneSigEntitySchema = z.object({\n id: z.uuid().describe('Client generated id for the batch of transactions'),\n oneSigName: z.string().describe('Canonical name of the OneSig'),\n expiry: z\n .number()\n .optional()\n .describe(\n 'unix timestamp in milliseconds, after which the OneSig transactions fail to execute',\n ),\n\n seed: z.string().optional().describe('Seed for the OneSig'),\n signatures: z\n .array(signerSignatureSchema)\n .optional()\n .describe('List of signatures of the signers'),\n leaves: z.array(oneSigLeafSchema).describe('List of leaves'),\n metadata: z.record(z.any(), z.any()).optional().describe('Metadata for the OneSig'),\n bundlingOverride: oneSigBundleSizeOverrideSchema\n .optional()\n .describe('Override for the number of calls in a leaf'),\n proposerSignature: proposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport const oneSigProposedEntitySchema = z.object({\n status: z.string(),\n merkleRoot: z.string().optional(),\n expiry: z.number().optional(),\n seed: z.string().optional(),\n signatures: z.record(z.string(), z.string()),\n});\n\nexport type OneSigEntity = z.infer<typeof oneSigEntitySchema>;\nexport type OneSigProposedEntity = z.infer<typeof oneSigProposedEntitySchema>;\n"]}
package/dist/index.cjs CHANGED
@@ -8,7 +8,7 @@ require('./T7HE2FLY.cjs');
8
8
  var _5NLYB2J5_cjs = require('./5NLYB2J5.cjs');
9
9
  var DVBYPAF4_cjs = require('./DVBYPAF4.cjs');
10
10
  require('./NTKZVLDN.cjs');
11
- var _2OQP6H5S_cjs = require('./2OQP6H5S.cjs');
11
+ var W6WO7YAV_cjs = require('./W6WO7YAV.cjs');
12
12
  var XDJXN5NZ_cjs = require('./XDJXN5NZ.cjs');
13
13
  var _3AJ4DHQP_cjs = require('./3AJ4DHQP.cjs');
14
14
  var OHT5MZNV_cjs = require('./OHT5MZNV.cjs');
@@ -113,11 +113,11 @@ Object.defineProperty(exports, "oneSigServiceErrorSchema", {
113
113
  });
114
114
  Object.defineProperty(exports, "oneSigEntitySchema", {
115
115
  enumerable: true,
116
- get: function () { return _2OQP6H5S_cjs.oneSigEntitySchema; }
116
+ get: function () { return W6WO7YAV_cjs.oneSigEntitySchema; }
117
117
  });
118
118
  Object.defineProperty(exports, "oneSigProposedEntitySchema", {
119
119
  enumerable: true,
120
- get: function () { return _2OQP6H5S_cjs.oneSigProposedEntitySchema; }
120
+ get: function () { return W6WO7YAV_cjs.oneSigProposedEntitySchema; }
121
121
  });
122
122
  Object.defineProperty(exports, "signerSignatureSchema", {
123
123
  enumerable: true,
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import './P2ZSGLQK.js';
6
6
  export { oneSigSessionSchema } from './5UA4EFKV.js';
7
7
  export { InvalidOneSigInputError, OneSigBatchNotFoundError, OneSigEntityTooLargeError, OneSigError, OneSigInvalidProposerSignatureError, OneSigInvalidRequestSignatureError, OneSigInvalidSignerSignatureError, OneSigNotFoundError, OneSigServiceError, OneSigSessionExpiredError, oneSigServiceErrorSchema } from './XBWMHWDY.js';
8
8
  import './YKZ5WATU.js';
9
- export { oneSigEntitySchema, oneSigProposedEntitySchema } from './FLDA2262.js';
9
+ export { oneSigEntitySchema, oneSigProposedEntitySchema } from './PSRZT2JS.js';
10
10
  export { signerSignatureSchema } from './H3AGSGWO.js';
11
11
  export { OneSigTransactionStatus, oneSigBundleTransactionsResponseSchema, oneSigLeafSchema, oneSigTransactionSchema } from './BY6BIBVQ.js';
12
12
  export { oneSigCallSchema } from './QEBBBHC2.js';
@@ -8,7 +8,7 @@ require('../T7HE2FLY.cjs');
8
8
  var _5NLYB2J5_cjs = require('../5NLYB2J5.cjs');
9
9
  var DVBYPAF4_cjs = require('../DVBYPAF4.cjs');
10
10
  require('../NTKZVLDN.cjs');
11
- var _2OQP6H5S_cjs = require('../2OQP6H5S.cjs');
11
+ var W6WO7YAV_cjs = require('../W6WO7YAV.cjs');
12
12
  var XDJXN5NZ_cjs = require('../XDJXN5NZ.cjs');
13
13
  var _3AJ4DHQP_cjs = require('../3AJ4DHQP.cjs');
14
14
  var OHT5MZNV_cjs = require('../OHT5MZNV.cjs');
@@ -113,11 +113,11 @@ Object.defineProperty(exports, "oneSigServiceErrorSchema", {
113
113
  });
114
114
  Object.defineProperty(exports, "oneSigEntitySchema", {
115
115
  enumerable: true,
116
- get: function () { return _2OQP6H5S_cjs.oneSigEntitySchema; }
116
+ get: function () { return W6WO7YAV_cjs.oneSigEntitySchema; }
117
117
  });
118
118
  Object.defineProperty(exports, "oneSigProposedEntitySchema", {
119
119
  enumerable: true,
120
- get: function () { return _2OQP6H5S_cjs.oneSigProposedEntitySchema; }
120
+ get: function () { return W6WO7YAV_cjs.oneSigProposedEntitySchema; }
121
121
  });
122
122
  Object.defineProperty(exports, "signerSignatureSchema", {
123
123
  enumerable: true,
@@ -6,7 +6,7 @@ import '../P2ZSGLQK.js';
6
6
  export { oneSigSessionSchema } from '../5UA4EFKV.js';
7
7
  export { InvalidOneSigInputError, OneSigBatchNotFoundError, OneSigEntityTooLargeError, OneSigError, OneSigInvalidProposerSignatureError, OneSigInvalidRequestSignatureError, OneSigInvalidSignerSignatureError, OneSigNotFoundError, OneSigServiceError, OneSigSessionExpiredError, oneSigServiceErrorSchema } from '../XBWMHWDY.js';
8
8
  import '../YKZ5WATU.js';
9
- export { oneSigEntitySchema, oneSigProposedEntitySchema } from '../FLDA2262.js';
9
+ export { oneSigEntitySchema, oneSigProposedEntitySchema } from '../PSRZT2JS.js';
10
10
  export { signerSignatureSchema } from '../H3AGSGWO.js';
11
11
  export { OneSigTransactionStatus, oneSigBundleTransactionsResponseSchema, oneSigLeafSchema, oneSigTransactionSchema } from '../BY6BIBVQ.js';
12
12
  export { oneSigCallSchema } from '../QEBBBHC2.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../NTKZVLDN.cjs');
4
- var _2OQP6H5S_cjs = require('../../2OQP6H5S.cjs');
4
+ var W6WO7YAV_cjs = require('../../W6WO7YAV.cjs');
5
5
  var XDJXN5NZ_cjs = require('../../XDJXN5NZ.cjs');
6
6
  var _3AJ4DHQP_cjs = require('../../3AJ4DHQP.cjs');
7
7
  var OHT5MZNV_cjs = require('../../OHT5MZNV.cjs');
@@ -18,11 +18,11 @@ require('../../YJF4D23A.cjs');
18
18
 
19
19
  Object.defineProperty(exports, "oneSigEntitySchema", {
20
20
  enumerable: true,
21
- get: function () { return _2OQP6H5S_cjs.oneSigEntitySchema; }
21
+ get: function () { return W6WO7YAV_cjs.oneSigEntitySchema; }
22
22
  });
23
23
  Object.defineProperty(exports, "oneSigProposedEntitySchema", {
24
24
  enumerable: true,
25
- get: function () { return _2OQP6H5S_cjs.oneSigProposedEntitySchema; }
25
+ get: function () { return W6WO7YAV_cjs.oneSigProposedEntitySchema; }
26
26
  });
27
27
  Object.defineProperty(exports, "signerSignatureSchema", {
28
28
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  import '../../YKZ5WATU.js';
2
- export { oneSigEntitySchema, oneSigProposedEntitySchema } from '../../FLDA2262.js';
2
+ export { oneSigEntitySchema, oneSigProposedEntitySchema } from '../../PSRZT2JS.js';
3
3
  export { signerSignatureSchema } from '../../H3AGSGWO.js';
4
4
  export { OneSigTransactionStatus, oneSigBundleTransactionsResponseSchema, oneSigLeafSchema, oneSigTransactionSchema } from '../../BY6BIBVQ.js';
5
5
  export { oneSigCallSchema } from '../../QEBBBHC2.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _2OQP6H5S_cjs = require('../../2OQP6H5S.cjs');
3
+ var W6WO7YAV_cjs = require('../../W6WO7YAV.cjs');
4
4
  require('../../XDJXN5NZ.cjs');
5
5
  require('../../3AJ4DHQP.cjs');
6
6
  require('../../OHT5MZNV.cjs');
@@ -17,11 +17,11 @@ require('../../YJF4D23A.cjs');
17
17
 
18
18
  Object.defineProperty(exports, "oneSigEntitySchema", {
19
19
  enumerable: true,
20
- get: function () { return _2OQP6H5S_cjs.oneSigEntitySchema; }
20
+ get: function () { return W6WO7YAV_cjs.oneSigEntitySchema; }
21
21
  });
22
22
  Object.defineProperty(exports, "oneSigProposedEntitySchema", {
23
23
  enumerable: true,
24
- get: function () { return _2OQP6H5S_cjs.oneSigProposedEntitySchema; }
24
+ get: function () { return W6WO7YAV_cjs.oneSigProposedEntitySchema; }
25
25
  });
26
26
  //# sourceMappingURL=onesig-entity.cjs.map
27
27
  //# sourceMappingURL=onesig-entity.cjs.map
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const oneSigEntitySchema: z.ZodObject<{
3
3
  id: z.ZodUUID;
4
- oneSigName: z.ZodOptional<z.ZodString>;
4
+ oneSigName: z.ZodString;
5
5
  expiry: z.ZodOptional<z.ZodNumber>;
6
6
  seed: z.ZodOptional<z.ZodString>;
7
7
  signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- export { oneSigEntitySchema, oneSigProposedEntitySchema } from '../../FLDA2262.js';
1
+ export { oneSigEntitySchema, oneSigProposedEntitySchema } from '../../PSRZT2JS.js';
2
2
  import '../../H3AGSGWO.js';
3
3
  import '../../BY6BIBVQ.js';
4
4
  import '../../QEBBBHC2.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/onesig-model",
3
- "version": "0.2.63",
3
+ "version": "0.2.65",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,8 +19,8 @@
19
19
  "devDependencies": {
20
20
  "tsup": "^8.4.0",
21
21
  "vitest": "^3.2.3",
22
- "@layerzerolabs/tsup-configuration": "0.2.63",
23
- "@layerzerolabs/typescript-configuration": "0.2.63"
22
+ "@layerzerolabs/tsup-configuration": "0.2.65",
23
+ "@layerzerolabs/typescript-configuration": "0.2.65"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "restricted",
@@ -7,7 +7,7 @@ import { signerSignatureSchema } from './onesig-signer-signature';
7
7
 
8
8
  export const oneSigEntitySchema = z.object({
9
9
  id: z.uuid().describe('Client generated id for the batch of transactions'),
10
- oneSigName: z.string().optional().describe('Canonical name of the OneSig'),
10
+ oneSigName: z.string().describe('Canonical name of the OneSig'),
11
11
  expiry: z
12
12
  .number()
13
13
  .optional()
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/model/onesig-bundle/onesig-entity.ts"],"names":["oneSigEntitySchema","z","object","id","uuid","describe","oneSigName","string","optional","expiry","number","seed","signatures","array","signerSignatureSchema","leaves","oneSigLeafSchema","metadata","record","any","bundlingOverride","oneSigBundleSizeOverrideSchema","proposerSignature","proposerSignatureSchema","oneSigProposedEntitySchema","status","merkleRoot"],"mappings":";;;;;;;;AAOO,IAAMA,kBAAAA,GAAqBC,MAAEC,MAAAA,CAAO;AACvCC,EAAAA,EAAAA,EAAIF,KAAAA,CAAEG,IAAAA,EAAI,CAAGC,QAAAA,CAAS,mDAAA,CAAA;AACtBC,EAAAA,UAAAA,EAAYL,MAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,8BAAA,CAAA;AAC3CI,EAAAA,MAAAA,EAAQR,MACHS,MAAAA,EAAM,CACNF,QAAAA,EAAQ,CACRH,SACG,qFAAA,CAAA;AAGRM,EAAAA,IAAAA,EAAMV,MAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,qBAAA,CAAA;AACrCO,EAAAA,UAAAA,EAAYX,MACPY,KAAAA,CAAMC,kCAAAA,EACNN,QAAAA,EAAQ,CACRH,SAAS,mCAAA,CAAA;AACdU,EAAAA,MAAAA,EAAQd,KAAAA,CAAEY,KAAAA,CAAMG,8BAAAA,CAAAA,CAAkBX,SAAS,gBAAA,CAAA;AAC3CY,EAAAA,QAAAA,EAAUhB,KAAAA,CAAEiB,MAAAA,CAAOjB,KAAAA,CAAEkB,GAAAA,EAAG,EAAIlB,KAAAA,CAAEkB,GAAAA,EAAG,CAAA,CAAIX,QAAAA,EAAQ,CAAGH,QAAAA,CAAS,yBAAA,CAAA;AACzDe,EAAAA,gBAAAA,EAAkBC,2CAAAA,CACbb,QAAAA,EAAQ,CACRH,QAAAA,CAAS,4CAAA,CAAA;EACdiB,iBAAAA,EAAmBC,oCAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA;AAEO,IAAMmB,0BAAAA,GAA6BvB,MAAEC,MAAAA,CAAO;AAC/CuB,EAAAA,MAAAA,EAAQxB,MAAEM,MAAAA,EAAM;EAChBmB,UAAAA,EAAYzB,KAAAA,CAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ;EAC/BC,MAAAA,EAAQR,KAAAA,CAAES,MAAAA,EAAM,CAAGF,QAAAA,EAAQ;EAC3BG,IAAAA,EAAMV,KAAAA,CAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ;AACzBI,EAAAA,UAAAA,EAAYX,MAAEiB,MAAAA,CAAOjB,KAAAA,CAAEM,QAAM,EAAIN,KAAAA,CAAEM,QAAM;AAC7C,CAAA","file":"2OQP6H5S.cjs","sourcesContent":["import { z } from 'zod';\n\nimport { oneSigLeafSchema } from './onesig-leaf';\nimport { oneSigBundleSizeOverrideSchema } from './onesig-overrides';\nimport { proposerSignatureSchema } from './onesig-proposer-signature';\nimport { signerSignatureSchema } from './onesig-signer-signature';\n\nexport const oneSigEntitySchema = z.object({\n id: z.uuid().describe('Client generated id for the batch of transactions'),\n oneSigName: z.string().optional().describe('Canonical name of the OneSig'),\n expiry: z\n .number()\n .optional()\n .describe(\n 'unix timestamp in milliseconds, after which the OneSig transactions fail to execute',\n ),\n\n seed: z.string().optional().describe('Seed for the OneSig'),\n signatures: z\n .array(signerSignatureSchema)\n .optional()\n .describe('List of signatures of the signers'),\n leaves: z.array(oneSigLeafSchema).describe('List of leaves'),\n metadata: z.record(z.any(), z.any()).optional().describe('Metadata for the OneSig'),\n bundlingOverride: oneSigBundleSizeOverrideSchema\n .optional()\n .describe('Override for the number of calls in a leaf'),\n proposerSignature: proposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport const oneSigProposedEntitySchema = z.object({\n status: z.string(),\n merkleRoot: z.string().optional(),\n expiry: z.number().optional(),\n seed: z.string().optional(),\n signatures: z.record(z.string(), z.string()),\n});\n\nexport type OneSigEntity = z.infer<typeof oneSigEntitySchema>;\nexport type OneSigProposedEntity = z.infer<typeof oneSigProposedEntitySchema>;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/model/onesig-bundle/onesig-entity.ts"],"names":["oneSigEntitySchema","z","object","id","uuid","describe","oneSigName","string","optional","expiry","number","seed","signatures","array","signerSignatureSchema","leaves","oneSigLeafSchema","metadata","record","any","bundlingOverride","oneSigBundleSizeOverrideSchema","proposerSignature","proposerSignatureSchema","oneSigProposedEntitySchema","status","merkleRoot"],"mappings":";;;;;;AAOO,IAAMA,kBAAAA,GAAqBC,EAAEC,MAAAA,CAAO;AACvCC,EAAAA,EAAAA,EAAIF,CAAAA,CAAEG,IAAAA,EAAI,CAAGC,QAAAA,CAAS,mDAAA,CAAA;AACtBC,EAAAA,UAAAA,EAAYL,EAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,8BAAA,CAAA;AAC3CI,EAAAA,MAAAA,EAAQR,EACHS,MAAAA,EAAM,CACNF,QAAAA,EAAQ,CACRH,SACG,qFAAA,CAAA;AAGRM,EAAAA,IAAAA,EAAMV,EAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,qBAAA,CAAA;AACrCO,EAAAA,UAAAA,EAAYX,EACPY,KAAAA,CAAMC,qBAAAA,EACNN,QAAAA,EAAQ,CACRH,SAAS,mCAAA,CAAA;AACdU,EAAAA,MAAAA,EAAQd,CAAAA,CAAEY,KAAAA,CAAMG,gBAAAA,CAAAA,CAAkBX,SAAS,gBAAA,CAAA;AAC3CY,EAAAA,QAAAA,EAAUhB,CAAAA,CAAEiB,MAAAA,CAAOjB,CAAAA,CAAEkB,GAAAA,EAAG,EAAIlB,CAAAA,CAAEkB,GAAAA,EAAG,CAAA,CAAIX,QAAAA,EAAQ,CAAGH,QAAAA,CAAS,yBAAA,CAAA;AACzDe,EAAAA,gBAAAA,EAAkBC,8BAAAA,CACbb,QAAAA,EAAQ,CACRH,QAAAA,CAAS,4CAAA,CAAA;EACdiB,iBAAAA,EAAmBC,uBAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA;AAEO,IAAMmB,0BAAAA,GAA6BvB,EAAEC,MAAAA,CAAO;AAC/CuB,EAAAA,MAAAA,EAAQxB,EAAEM,MAAAA,EAAM;EAChBmB,UAAAA,EAAYzB,CAAAA,CAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ;EAC/BC,MAAAA,EAAQR,CAAAA,CAAES,MAAAA,EAAM,CAAGF,QAAAA,EAAQ;EAC3BG,IAAAA,EAAMV,CAAAA,CAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ;AACzBI,EAAAA,UAAAA,EAAYX,EAAEiB,MAAAA,CAAOjB,CAAAA,CAAEM,QAAM,EAAIN,CAAAA,CAAEM,QAAM;AAC7C,CAAA","file":"FLDA2262.js","sourcesContent":["import { z } from 'zod';\n\nimport { oneSigLeafSchema } from './onesig-leaf';\nimport { oneSigBundleSizeOverrideSchema } from './onesig-overrides';\nimport { proposerSignatureSchema } from './onesig-proposer-signature';\nimport { signerSignatureSchema } from './onesig-signer-signature';\n\nexport const oneSigEntitySchema = z.object({\n id: z.uuid().describe('Client generated id for the batch of transactions'),\n oneSigName: z.string().optional().describe('Canonical name of the OneSig'),\n expiry: z\n .number()\n .optional()\n .describe(\n 'unix timestamp in milliseconds, after which the OneSig transactions fail to execute',\n ),\n\n seed: z.string().optional().describe('Seed for the OneSig'),\n signatures: z\n .array(signerSignatureSchema)\n .optional()\n .describe('List of signatures of the signers'),\n leaves: z.array(oneSigLeafSchema).describe('List of leaves'),\n metadata: z.record(z.any(), z.any()).optional().describe('Metadata for the OneSig'),\n bundlingOverride: oneSigBundleSizeOverrideSchema\n .optional()\n .describe('Override for the number of calls in a leaf'),\n proposerSignature: proposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport const oneSigProposedEntitySchema = z.object({\n status: z.string(),\n merkleRoot: z.string().optional(),\n expiry: z.number().optional(),\n seed: z.string().optional(),\n signatures: z.record(z.string(), z.string()),\n});\n\nexport type OneSigEntity = z.infer<typeof oneSigEntitySchema>;\nexport type OneSigProposedEntity = z.infer<typeof oneSigProposedEntitySchema>;\n"]}