@layerzerolabs/onesig-model 0.0.64 → 0.0.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.
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/onesig-model@0.0.2 build /home/runner/work/monorepo-internal/monorepo-internal/packages/onesig/onesig-model
3
3
  > tsup
4
4
 
5
- CLI Building entry: src/index.ts, src/model/index.ts, src/model/onesig-bundle/index.ts, src/model/onesig-bundle/onesig-entity.ts, src/model/onesig-bundle/onesig-leaf.ts, src/model/onesig-bundle/onesig-overrides.ts, src/model/onesig-bundle/onesig-proposer-signature.ts, src/model/onesig-bundle/onesig-signer-signature.ts, src/model/onesig-peer-to-peer/index.ts, src/model/onesig-peer-to-peer/onesig-session.ts, src/model/onesig-bundle/calls/index.ts, src/model/onesig-bundle/calls/onesig-evm-call.ts
5
+ CLI Building entry: src/index.ts, src/model/index.ts, src/model/onesig-peer-to-peer/index.ts, src/model/onesig-peer-to-peer/onesig-session.ts, src/model/onesig-bundle/index.ts, src/model/onesig-bundle/onesig-entity.ts, src/model/onesig-bundle/onesig-leaf.ts, src/model/onesig-bundle/onesig-overrides.ts, src/model/onesig-bundle/onesig-proposer-signature.ts, src/model/onesig-bundle/onesig-signer-signature.ts, src/model/onesig-bundle/calls/index.ts, src/model/onesig-bundle/calls/onesig-evm-call.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  CLI Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/onesig/onesig-model/tsup.config.ts
@@ -10,103 +10,103 @@
10
10
  CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
- Generated an empty chunk: "6BUEZFLN".
14
- Generated an empty chunk: "T7HE2FLY".
15
- Generated an empty chunk: "NTKZVLDN".
16
13
  Generated an empty chunk: "EJWDS73U".
17
14
  Generated an empty chunk: "P2ZSGLQK".
18
15
  Generated an empty chunk: "YKZ5WATU".
19
- ESM dist/model/onesig-peer-to-peer/index.js 152.00 B
20
- ESM dist/model/onesig-bundle/calls/index.js 184.00 B
21
- ESM dist/model/onesig-peer-to-peer/onesig-session.js 142.00 B
22
- ESM dist/model/onesig-bundle/calls/onesig-evm-call.js 147.00 B
16
+ Generated an empty chunk: "6BUEZFLN".
17
+ Generated an empty chunk: "T7HE2FLY".
18
+ Generated an empty chunk: "NTKZVLDN".
19
+ CJS dist/model/onesig-bundle/calls/index.cjs 475.00 B
20
+ CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs 329.00 B
21
+ CJS dist/model/onesig-bundle/onesig-signer-signature.cjs 323.00 B
22
+ CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs 304.00 B
23
+ CJS dist/index.cjs 1.67 KB
24
+ CJS dist/model/index.cjs 1.68 KB
25
+ CJS dist/6BUEZFLN.cjs 90.00 B
26
+ CJS dist/model/onesig-peer-to-peer/index.cjs 312.00 B
27
+ CJS dist/model/onesig-peer-to-peer/onesig-session.cjs 299.00 B
28
+ CJS dist/T7HE2FLY.cjs 90.00 B
29
+ CJS dist/BGLHFIC5.cjs 318.00 B
30
+ CJS dist/model/onesig-bundle/index.cjs 1.46 KB
31
+ CJS dist/NTKZVLDN.cjs 90.00 B
32
+ CJS dist/model/onesig-bundle/onesig-entity.cjs 481.00 B
33
+ CJS dist/BURXGKEN.cjs 1.28 KB
34
+ CJS dist/DW4HRBA6.cjs 738.00 B
35
+ CJS dist/3TTNTSTZ.cjs 434.00 B
36
+ CJS dist/model/onesig-bundle/onesig-leaf.cjs 349.00 B
37
+ CJS dist/Z3WJTDPV.cjs 1006.00 B
38
+ CJS dist/IX2XL3EV.cjs 589.00 B
39
+ CJS dist/JM7HWRIG.cjs 286.00 B
40
+ CJS dist/model/onesig-bundle/onesig-overrides.cjs 325.00 B
41
+ CJS dist/YJCCJ376.cjs 608.00 B
42
+ CJS dist/model/onesig-bundle/calls/index.cjs.map 70.00 B
43
+ CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs.map 90.00 B
44
+ CJS dist/model/onesig-bundle/onesig-signer-signature.cjs.map 88.00 B
45
+ CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs.map 80.00 B
46
+ CJS dist/index.cjs.map 70.00 B
47
+ CJS dist/model/index.cjs.map 70.00 B
48
+ CJS dist/6BUEZFLN.cjs.map 73.00 B
49
+ CJS dist/model/onesig-peer-to-peer/index.cjs.map 70.00 B
50
+ CJS dist/model/onesig-peer-to-peer/onesig-session.cjs.map 79.00 B
51
+ CJS dist/T7HE2FLY.cjs.map 73.00 B
52
+ CJS dist/BGLHFIC5.cjs.map 560.00 B
53
+ CJS dist/model/onesig-bundle/index.cjs.map 70.00 B
54
+ CJS dist/NTKZVLDN.cjs.map 73.00 B
55
+ CJS dist/BURXGKEN.cjs.map 2.62 KB
56
+ CJS dist/model/onesig-bundle/onesig-entity.cjs.map 78.00 B
57
+ CJS dist/DW4HRBA6.cjs.map 1.45 KB
58
+ CJS dist/3TTNTSTZ.cjs.map 845.00 B
59
+ CJS dist/model/onesig-bundle/onesig-leaf.cjs.map 76.00 B
60
+ CJS dist/Z3WJTDPV.cjs.map 2.10 KB
61
+ CJS dist/IX2XL3EV.cjs.map 1.23 KB
62
+ CJS dist/JM7HWRIG.cjs.map 515.00 B
63
+ CJS dist/model/onesig-bundle/onesig-overrides.cjs.map 81.00 B
64
+ CJS dist/YJCCJ376.cjs.map 1.15 KB
65
+ CJS ⚡️ Build success in 295ms
23
66
  ESM dist/index.js 573.00 B
24
67
  ESM dist/model/index.js 584.00 B
68
+ ESM dist/model/onesig-peer-to-peer/index.js 152.00 B
25
69
  ESM dist/EJWDS73U.js 74.00 B
26
70
  ESM dist/P2ZSGLQK.js 74.00 B
27
71
  ESM dist/FHNAO635.js 273.00 B
28
- ESM dist/model/onesig-bundle/index.js 504.00 B
72
+ ESM dist/model/onesig-peer-to-peer/onesig-session.js 142.00 B
29
73
  ESM dist/YKZ5WATU.js 74.00 B
30
- ESM dist/model/onesig-bundle/onesig-entity.js 307.00 B
31
- ESM dist/UZZEG45S.js 1.21 KB
74
+ ESM dist/CQJ3E64U.js 680.00 B
32
75
  ESM dist/4XBY6VCH.js 928.00 B
76
+ ESM dist/MHCJFQUP.js 381.00 B
33
77
  ESM dist/model/onesig-bundle/onesig-leaf.js 189.00 B
34
78
  ESM dist/ETMBUEXO.js 244.00 B
35
- ESM dist/BUEQ32NZ.js 529.00 B
36
79
  ESM dist/model/onesig-bundle/onesig-overrides.js 157.00 B
37
80
  ESM dist/UO2SVNWT.js 543.00 B
81
+ ESM dist/BUEQ32NZ.js 529.00 B
82
+ ESM dist/model/onesig-bundle/index.js 504.00 B
83
+ ESM dist/7GCSX377.js 1.21 KB
84
+ ESM dist/model/onesig-bundle/onesig-entity.js 307.00 B
38
85
  ESM dist/model/onesig-bundle/onesig-proposer-signature.js 168.00 B
39
- ESM dist/CQJ3E64U.js 680.00 B
86
+ ESM dist/model/onesig-bundle/calls/index.js 184.00 B
40
87
  ESM dist/model/onesig-bundle/onesig-signer-signature.js 162.00 B
41
- ESM dist/MHCJFQUP.js 381.00 B
42
- ESM dist/model/onesig-peer-to-peer/index.js.map 69.00 B
43
- ESM dist/model/onesig-bundle/calls/index.js.map 69.00 B
44
- ESM dist/model/onesig-peer-to-peer/onesig-session.js.map 78.00 B
45
- ESM dist/model/onesig-bundle/calls/onesig-evm-call.js.map 79.00 B
88
+ ESM dist/model/onesig-bundle/calls/onesig-evm-call.js 147.00 B
46
89
  ESM dist/index.js.map 69.00 B
47
- ESM dist/EJWDS73U.js.map 72.00 B
48
90
  ESM dist/model/index.js.map 69.00 B
91
+ ESM dist/model/onesig-peer-to-peer/index.js.map 69.00 B
92
+ ESM dist/EJWDS73U.js.map 72.00 B
49
93
  ESM dist/P2ZSGLQK.js.map 72.00 B
50
94
  ESM dist/FHNAO635.js.map 557.00 B
51
- ESM dist/model/onesig-bundle/index.js.map 69.00 B
95
+ ESM dist/model/onesig-peer-to-peer/onesig-session.js.map 78.00 B
52
96
  ESM dist/YKZ5WATU.js.map 72.00 B
53
- ESM dist/model/onesig-bundle/onesig-entity.js.map 77.00 B
54
- ESM dist/UZZEG45S.js.map 2.62 KB
97
+ ESM dist/CQJ3E64U.js.map 1.44 KB
98
+ ESM dist/MHCJFQUP.js.map 842.00 B
55
99
  ESM dist/4XBY6VCH.js.map 2.10 KB
56
100
  ESM dist/model/onesig-bundle/onesig-leaf.js.map 75.00 B
57
101
  ESM dist/ETMBUEXO.js.map 512.00 B
58
- ESM dist/BUEQ32NZ.js.map 1.23 KB
59
102
  ESM dist/model/onesig-bundle/onesig-overrides.js.map 80.00 B
60
103
  ESM dist/UO2SVNWT.js.map 1.15 KB
104
+ ESM dist/BUEQ32NZ.js.map 1.23 KB
105
+ ESM dist/model/onesig-bundle/index.js.map 69.00 B
106
+ ESM dist/7GCSX377.js.map 2.62 KB
107
+ ESM dist/model/onesig-bundle/onesig-entity.js.map 77.00 B
61
108
  ESM dist/model/onesig-bundle/onesig-proposer-signature.js.map 89.00 B
62
- ESM dist/CQJ3E64U.js.map 1.44 KB
109
+ ESM dist/model/onesig-bundle/calls/index.js.map 69.00 B
63
110
  ESM dist/model/onesig-bundle/onesig-signer-signature.js.map 87.00 B
64
- ESM dist/MHCJFQUP.js.map 842.00 B
65
- ESM ⚡️ Build success in 249ms
66
- CJS dist/index.cjs 1.67 KB
67
- CJS dist/model/index.cjs 1.68 KB
68
- CJS dist/model/onesig-bundle/index.cjs 1.46 KB
69
- CJS dist/T7HE2FLY.cjs 90.00 B
70
- CJS dist/6BUEZFLN.cjs 90.00 B
71
- CJS dist/BGLHFIC5.cjs 318.00 B
72
- CJS dist/NTKZVLDN.cjs 90.00 B
73
- CJS dist/model/onesig-bundle/onesig-entity.cjs 481.00 B
74
- CJS dist/PN7YDDHE.cjs 1.28 KB
75
- CJS dist/model/onesig-bundle/onesig-leaf.cjs 349.00 B
76
- CJS dist/Z3WJTDPV.cjs 1006.00 B
77
- CJS dist/JM7HWRIG.cjs 286.00 B
78
- CJS dist/IX2XL3EV.cjs 589.00 B
79
- CJS dist/model/onesig-bundle/onesig-overrides.cjs 325.00 B
80
- CJS dist/YJCCJ376.cjs 608.00 B
81
- CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs 329.00 B
82
- CJS dist/DW4HRBA6.cjs 738.00 B
83
- CJS dist/model/onesig-bundle/onesig-signer-signature.cjs 323.00 B
84
- CJS dist/3TTNTSTZ.cjs 434.00 B
85
- CJS dist/model/onesig-peer-to-peer/index.cjs 312.00 B
86
- CJS dist/model/onesig-bundle/calls/index.cjs 475.00 B
87
- CJS dist/model/onesig-peer-to-peer/onesig-session.cjs 299.00 B
88
- CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs 304.00 B
89
- CJS dist/index.cjs.map 70.00 B
90
- CJS dist/model/index.cjs.map 70.00 B
91
- CJS dist/model/onesig-bundle/index.cjs.map 70.00 B
92
- CJS dist/T7HE2FLY.cjs.map 73.00 B
93
- CJS dist/6BUEZFLN.cjs.map 73.00 B
94
- CJS dist/BGLHFIC5.cjs.map 560.00 B
95
- CJS dist/NTKZVLDN.cjs.map 73.00 B
96
- CJS dist/model/onesig-bundle/onesig-entity.cjs.map 78.00 B
97
- CJS dist/PN7YDDHE.cjs.map 2.62 KB
98
- CJS dist/model/onesig-bundle/onesig-leaf.cjs.map 76.00 B
99
- CJS dist/Z3WJTDPV.cjs.map 2.10 KB
100
- CJS dist/JM7HWRIG.cjs.map 515.00 B
101
- CJS dist/IX2XL3EV.cjs.map 1.23 KB
102
- CJS dist/model/onesig-bundle/onesig-overrides.cjs.map 81.00 B
103
- CJS dist/YJCCJ376.cjs.map 1.15 KB
104
- CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs.map 90.00 B
105
- CJS dist/DW4HRBA6.cjs.map 1.45 KB
106
- CJS dist/model/onesig-bundle/onesig-signer-signature.cjs.map 88.00 B
107
- CJS dist/3TTNTSTZ.cjs.map 845.00 B
108
- CJS dist/model/onesig-peer-to-peer/index.cjs.map 70.00 B
109
- CJS dist/model/onesig-bundle/calls/index.cjs.map 70.00 B
110
- CJS dist/model/onesig-peer-to-peer/onesig-session.cjs.map 79.00 B
111
- CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs.map 80.00 B
112
- CJS ⚡️ Build success in 251ms
111
+ ESM dist/model/onesig-bundle/calls/onesig-evm-call.js.map 79.00 B
112
+ ESM ⚡️ Build success in 299ms
@@ -1,7 +1,7 @@
1
- import { OneSigLeafSchema } from './4XBY6VCH.js';
2
- import { OneSigBundleSizeOverrideSchema } from './UO2SVNWT.js';
3
1
  import { ProposerSignatureSchema } from './CQJ3E64U.js';
4
2
  import { SignerSignatureSchema } from './MHCJFQUP.js';
3
+ import { OneSigLeafSchema } from './4XBY6VCH.js';
4
+ import { OneSigBundleSizeOverrideSchema } from './UO2SVNWT.js';
5
5
  import { z } from 'zod/v4';
6
6
 
7
7
  var OneSigEntitySchema = z.object({
@@ -17,5 +17,5 @@ var OneSigEntitySchema = z.object({
17
17
  });
18
18
 
19
19
  export { OneSigEntitySchema };
20
- //# sourceMappingURL=UZZEG45S.js.map
21
- //# sourceMappingURL=UZZEG45S.js.map
20
+ //# sourceMappingURL=7GCSX377.js.map
21
+ //# sourceMappingURL=7GCSX377.js.map
@@ -1 +1 @@
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"],"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,CAA+Bb,QAAAA,EAAQ,CAAGH,QAAAA,CACxD,4CAAA,CAAA;EAEJiB,iBAAAA,EAAmBC,uBAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA","file":"UZZEG45S.js","sourcesContent":["import { z } from 'zod/v4';\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.optional().describe(\n 'Override for the number of calls in a leaf',\n ),\n proposerSignature: ProposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport type OneSigEntity = z.infer<typeof OneSigEntitySchema>;\n"]}
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"],"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,CAA+Bb,QAAAA,EAAQ,CAAGH,QAAAA,CACxD,4CAAA,CAAA;EAEJiB,iBAAAA,EAAmBC,uBAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA","file":"7GCSX377.js","sourcesContent":["import { z } from 'zod/v4';\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.optional().describe(\n 'Override for the number of calls in a leaf',\n ),\n proposerSignature: ProposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport type OneSigEntity = z.infer<typeof OneSigEntitySchema>;\n"]}
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var Z3WJTDPV_cjs = require('./Z3WJTDPV.cjs');
4
- var YJCCJ376_cjs = require('./YJCCJ376.cjs');
5
3
  var DW4HRBA6_cjs = require('./DW4HRBA6.cjs');
6
4
  var _3TTNTSTZ_cjs = require('./3TTNTSTZ.cjs');
5
+ var Z3WJTDPV_cjs = require('./Z3WJTDPV.cjs');
6
+ var YJCCJ376_cjs = require('./YJCCJ376.cjs');
7
7
  var v4 = require('zod/v4');
8
8
 
9
9
  var OneSigEntitySchema = v4.z.object({
@@ -19,5 +19,5 @@ var OneSigEntitySchema = v4.z.object({
19
19
  });
20
20
 
21
21
  exports.OneSigEntitySchema = OneSigEntitySchema;
22
- //# sourceMappingURL=PN7YDDHE.cjs.map
23
- //# sourceMappingURL=PN7YDDHE.cjs.map
22
+ //# sourceMappingURL=BURXGKEN.cjs.map
23
+ //# sourceMappingURL=BURXGKEN.cjs.map
@@ -1 +1 @@
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"],"mappings":";;;;;;;;AAOO,IAAMA,kBAAAA,GAAqBC,KAAEC,MAAAA,CAAO;AACvCC,EAAAA,EAAAA,EAAIF,IAAAA,CAAEG,IAAAA,EAAI,CAAGC,QAAAA,CAAS,mDAAA,CAAA;AACtBC,EAAAA,UAAAA,EAAYL,KAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,8BAAA,CAAA;AAC3CI,EAAAA,MAAAA,EAAQR,KACHS,MAAAA,EAAM,CACNF,QAAAA,EAAQ,CACRH,SACG,qFAAA,CAAA;AAGRM,EAAAA,IAAAA,EAAMV,KAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,qBAAA,CAAA;AACrCO,EAAAA,UAAAA,EAAYX,KACPY,KAAAA,CAAMC,mCAAAA,EACNN,QAAAA,EAAQ,CACRH,SAAS,mCAAA,CAAA;AACdU,EAAAA,MAAAA,EAAQd,IAAAA,CAAEY,KAAAA,CAAMG,6BAAAA,CAAAA,CAAkBX,SAAS,gBAAA,CAAA;AAC3CY,EAAAA,QAAAA,EAAUhB,IAAAA,CAAEiB,MAAAA,CAAOjB,IAAAA,CAAEkB,GAAAA,EAAG,EAAIlB,IAAAA,CAAEkB,GAAAA,EAAG,CAAA,CAAIX,QAAAA,EAAQ,CAAGH,QAAAA,CAAS,yBAAA,CAAA;AACzDe,EAAAA,gBAAAA,EAAkBC,2CAAAA,CAA+Bb,QAAAA,EAAQ,CAAGH,QAAAA,CACxD,4CAAA,CAAA;EAEJiB,iBAAAA,EAAmBC,oCAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA","file":"PN7YDDHE.cjs","sourcesContent":["import { z } from 'zod/v4';\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.optional().describe(\n 'Override for the number of calls in a leaf',\n ),\n proposerSignature: ProposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport type OneSigEntity = z.infer<typeof OneSigEntitySchema>;\n"]}
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"],"mappings":";;;;;;;;AAOO,IAAMA,kBAAAA,GAAqBC,KAAEC,MAAAA,CAAO;AACvCC,EAAAA,EAAAA,EAAIF,IAAAA,CAAEG,IAAAA,EAAI,CAAGC,QAAAA,CAAS,mDAAA,CAAA;AACtBC,EAAAA,UAAAA,EAAYL,KAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,8BAAA,CAAA;AAC3CI,EAAAA,MAAAA,EAAQR,KACHS,MAAAA,EAAM,CACNF,QAAAA,EAAQ,CACRH,SACG,qFAAA,CAAA;AAGRM,EAAAA,IAAAA,EAAMV,KAAEM,MAAAA,EAAM,CAAGC,QAAAA,EAAQ,CAAGH,SAAS,qBAAA,CAAA;AACrCO,EAAAA,UAAAA,EAAYX,KACPY,KAAAA,CAAMC,mCAAAA,EACNN,QAAAA,EAAQ,CACRH,SAAS,mCAAA,CAAA;AACdU,EAAAA,MAAAA,EAAQd,IAAAA,CAAEY,KAAAA,CAAMG,6BAAAA,CAAAA,CAAkBX,SAAS,gBAAA,CAAA;AAC3CY,EAAAA,QAAAA,EAAUhB,IAAAA,CAAEiB,MAAAA,CAAOjB,IAAAA,CAAEkB,GAAAA,EAAG,EAAIlB,IAAAA,CAAEkB,GAAAA,EAAG,CAAA,CAAIX,QAAAA,EAAQ,CAAGH,QAAAA,CAAS,yBAAA,CAAA;AACzDe,EAAAA,gBAAAA,EAAkBC,2CAAAA,CAA+Bb,QAAAA,EAAQ,CAAGH,QAAAA,CACxD,4CAAA,CAAA;EAEJiB,iBAAAA,EAAmBC,oCAAAA,CAAwBlB,SACvC,8DAAA;AAER,CAAA","file":"BURXGKEN.cjs","sourcesContent":["import { z } from 'zod/v4';\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.optional().describe(\n 'Override for the number of calls in a leaf',\n ),\n proposerSignature: ProposerSignatureSchema.describe(\n 'Object containing the signature of the proposer and metadata',\n ),\n});\n\nexport type OneSigEntity = z.infer<typeof OneSigEntitySchema>;\n"]}
package/dist/index.cjs CHANGED
@@ -4,13 +4,13 @@ require('./6BUEZFLN.cjs');
4
4
  require('./T7HE2FLY.cjs');
5
5
  var BGLHFIC5_cjs = require('./BGLHFIC5.cjs');
6
6
  require('./NTKZVLDN.cjs');
7
- var PN7YDDHE_cjs = require('./PN7YDDHE.cjs');
7
+ var BURXGKEN_cjs = require('./BURXGKEN.cjs');
8
+ var DW4HRBA6_cjs = require('./DW4HRBA6.cjs');
9
+ var _3TTNTSTZ_cjs = require('./3TTNTSTZ.cjs');
8
10
  var Z3WJTDPV_cjs = require('./Z3WJTDPV.cjs');
9
11
  var JM7HWRIG_cjs = require('./JM7HWRIG.cjs');
10
12
  var IX2XL3EV_cjs = require('./IX2XL3EV.cjs');
11
13
  var YJCCJ376_cjs = require('./YJCCJ376.cjs');
12
- var DW4HRBA6_cjs = require('./DW4HRBA6.cjs');
13
- var _3TTNTSTZ_cjs = require('./3TTNTSTZ.cjs');
14
14
 
15
15
 
16
16
 
@@ -20,7 +20,15 @@ Object.defineProperty(exports, "OneSigSessionSchema", {
20
20
  });
21
21
  Object.defineProperty(exports, "OneSigEntitySchema", {
22
22
  enumerable: true,
23
- get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
23
+ get: function () { return BURXGKEN_cjs.OneSigEntitySchema; }
24
+ });
25
+ Object.defineProperty(exports, "ProposerSignatureSchema", {
26
+ enumerable: true,
27
+ get: function () { return DW4HRBA6_cjs.ProposerSignatureSchema; }
28
+ });
29
+ Object.defineProperty(exports, "SignerSignatureSchema", {
30
+ enumerable: true,
31
+ get: function () { return _3TTNTSTZ_cjs.SignerSignatureSchema; }
24
32
  });
25
33
  Object.defineProperty(exports, "OneSigLeafSchema", {
26
34
  enumerable: true,
@@ -38,13 +46,5 @@ Object.defineProperty(exports, "OneSigBundleSizeOverrideSchema", {
38
46
  enumerable: true,
39
47
  get: function () { return YJCCJ376_cjs.OneSigBundleSizeOverrideSchema; }
40
48
  });
41
- Object.defineProperty(exports, "ProposerSignatureSchema", {
42
- enumerable: true,
43
- get: function () { return DW4HRBA6_cjs.ProposerSignatureSchema; }
44
- });
45
- Object.defineProperty(exports, "SignerSignatureSchema", {
46
- enumerable: true,
47
- get: function () { return _3TTNTSTZ_cjs.SignerSignatureSchema; }
48
- });
49
49
  //# sourceMappingURL=index.cjs.map
50
50
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -2,12 +2,12 @@ import './EJWDS73U.js';
2
2
  import './P2ZSGLQK.js';
3
3
  export { OneSigSessionSchema } from './FHNAO635.js';
4
4
  import './YKZ5WATU.js';
5
- export { OneSigEntitySchema } from './UZZEG45S.js';
5
+ export { OneSigEntitySchema } from './7GCSX377.js';
6
+ export { ProposerSignatureSchema } from './CQJ3E64U.js';
7
+ export { SignerSignatureSchema } from './MHCJFQUP.js';
6
8
  export { OneSigLeafSchema } from './4XBY6VCH.js';
7
9
  export { OneSigCallSchema } from './ETMBUEXO.js';
8
10
  export { OneSigEVMCallSchema } from './BUEQ32NZ.js';
9
11
  export { OneSigBundleSizeOverrideSchema } from './UO2SVNWT.js';
10
- export { ProposerSignatureSchema } from './CQJ3E64U.js';
11
- export { SignerSignatureSchema } from './MHCJFQUP.js';
12
12
  //# sourceMappingURL=index.js.map
13
13
  //# sourceMappingURL=index.js.map
@@ -4,13 +4,13 @@ require('../6BUEZFLN.cjs');
4
4
  require('../T7HE2FLY.cjs');
5
5
  var BGLHFIC5_cjs = require('../BGLHFIC5.cjs');
6
6
  require('../NTKZVLDN.cjs');
7
- var PN7YDDHE_cjs = require('../PN7YDDHE.cjs');
7
+ var BURXGKEN_cjs = require('../BURXGKEN.cjs');
8
+ var DW4HRBA6_cjs = require('../DW4HRBA6.cjs');
9
+ var _3TTNTSTZ_cjs = require('../3TTNTSTZ.cjs');
8
10
  var Z3WJTDPV_cjs = require('../Z3WJTDPV.cjs');
9
11
  var JM7HWRIG_cjs = require('../JM7HWRIG.cjs');
10
12
  var IX2XL3EV_cjs = require('../IX2XL3EV.cjs');
11
13
  var YJCCJ376_cjs = require('../YJCCJ376.cjs');
12
- var DW4HRBA6_cjs = require('../DW4HRBA6.cjs');
13
- var _3TTNTSTZ_cjs = require('../3TTNTSTZ.cjs');
14
14
 
15
15
 
16
16
 
@@ -20,7 +20,15 @@ Object.defineProperty(exports, "OneSigSessionSchema", {
20
20
  });
21
21
  Object.defineProperty(exports, "OneSigEntitySchema", {
22
22
  enumerable: true,
23
- get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
23
+ get: function () { return BURXGKEN_cjs.OneSigEntitySchema; }
24
+ });
25
+ Object.defineProperty(exports, "ProposerSignatureSchema", {
26
+ enumerable: true,
27
+ get: function () { return DW4HRBA6_cjs.ProposerSignatureSchema; }
28
+ });
29
+ Object.defineProperty(exports, "SignerSignatureSchema", {
30
+ enumerable: true,
31
+ get: function () { return _3TTNTSTZ_cjs.SignerSignatureSchema; }
24
32
  });
25
33
  Object.defineProperty(exports, "OneSigLeafSchema", {
26
34
  enumerable: true,
@@ -38,13 +46,5 @@ Object.defineProperty(exports, "OneSigBundleSizeOverrideSchema", {
38
46
  enumerable: true,
39
47
  get: function () { return YJCCJ376_cjs.OneSigBundleSizeOverrideSchema; }
40
48
  });
41
- Object.defineProperty(exports, "ProposerSignatureSchema", {
42
- enumerable: true,
43
- get: function () { return DW4HRBA6_cjs.ProposerSignatureSchema; }
44
- });
45
- Object.defineProperty(exports, "SignerSignatureSchema", {
46
- enumerable: true,
47
- get: function () { return _3TTNTSTZ_cjs.SignerSignatureSchema; }
48
- });
49
49
  //# sourceMappingURL=index.cjs.map
50
50
  //# sourceMappingURL=index.cjs.map
@@ -2,12 +2,12 @@ import '../EJWDS73U.js';
2
2
  import '../P2ZSGLQK.js';
3
3
  export { OneSigSessionSchema } from '../FHNAO635.js';
4
4
  import '../YKZ5WATU.js';
5
- export { OneSigEntitySchema } from '../UZZEG45S.js';
5
+ export { OneSigEntitySchema } from '../7GCSX377.js';
6
+ export { ProposerSignatureSchema } from '../CQJ3E64U.js';
7
+ export { SignerSignatureSchema } from '../MHCJFQUP.js';
6
8
  export { OneSigLeafSchema } from '../4XBY6VCH.js';
7
9
  export { OneSigCallSchema } from '../ETMBUEXO.js';
8
10
  export { OneSigEVMCallSchema } from '../BUEQ32NZ.js';
9
11
  export { OneSigBundleSizeOverrideSchema } from '../UO2SVNWT.js';
10
- export { ProposerSignatureSchema } from '../CQJ3E64U.js';
11
- export { SignerSignatureSchema } from '../MHCJFQUP.js';
12
12
  //# sourceMappingURL=index.js.map
13
13
  //# sourceMappingURL=index.js.map
@@ -1,19 +1,27 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../NTKZVLDN.cjs');
4
- var PN7YDDHE_cjs = require('../../PN7YDDHE.cjs');
4
+ var BURXGKEN_cjs = require('../../BURXGKEN.cjs');
5
+ var DW4HRBA6_cjs = require('../../DW4HRBA6.cjs');
6
+ var _3TTNTSTZ_cjs = require('../../3TTNTSTZ.cjs');
5
7
  var Z3WJTDPV_cjs = require('../../Z3WJTDPV.cjs');
6
8
  var JM7HWRIG_cjs = require('../../JM7HWRIG.cjs');
7
9
  var IX2XL3EV_cjs = require('../../IX2XL3EV.cjs');
8
10
  var YJCCJ376_cjs = require('../../YJCCJ376.cjs');
9
- var DW4HRBA6_cjs = require('../../DW4HRBA6.cjs');
10
- var _3TTNTSTZ_cjs = require('../../3TTNTSTZ.cjs');
11
11
 
12
12
 
13
13
 
14
14
  Object.defineProperty(exports, "OneSigEntitySchema", {
15
15
  enumerable: true,
16
- get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
16
+ get: function () { return BURXGKEN_cjs.OneSigEntitySchema; }
17
+ });
18
+ Object.defineProperty(exports, "ProposerSignatureSchema", {
19
+ enumerable: true,
20
+ get: function () { return DW4HRBA6_cjs.ProposerSignatureSchema; }
21
+ });
22
+ Object.defineProperty(exports, "SignerSignatureSchema", {
23
+ enumerable: true,
24
+ get: function () { return _3TTNTSTZ_cjs.SignerSignatureSchema; }
17
25
  });
18
26
  Object.defineProperty(exports, "OneSigLeafSchema", {
19
27
  enumerable: true,
@@ -31,13 +39,5 @@ Object.defineProperty(exports, "OneSigBundleSizeOverrideSchema", {
31
39
  enumerable: true,
32
40
  get: function () { return YJCCJ376_cjs.OneSigBundleSizeOverrideSchema; }
33
41
  });
34
- Object.defineProperty(exports, "ProposerSignatureSchema", {
35
- enumerable: true,
36
- get: function () { return DW4HRBA6_cjs.ProposerSignatureSchema; }
37
- });
38
- Object.defineProperty(exports, "SignerSignatureSchema", {
39
- enumerable: true,
40
- get: function () { return _3TTNTSTZ_cjs.SignerSignatureSchema; }
41
- });
42
42
  //# sourceMappingURL=index.cjs.map
43
43
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
1
  import '../../YKZ5WATU.js';
2
- export { OneSigEntitySchema } from '../../UZZEG45S.js';
2
+ export { OneSigEntitySchema } from '../../7GCSX377.js';
3
+ export { ProposerSignatureSchema } from '../../CQJ3E64U.js';
4
+ export { SignerSignatureSchema } from '../../MHCJFQUP.js';
3
5
  export { OneSigLeafSchema } from '../../4XBY6VCH.js';
4
6
  export { OneSigCallSchema } from '../../ETMBUEXO.js';
5
7
  export { OneSigEVMCallSchema } from '../../BUEQ32NZ.js';
6
8
  export { OneSigBundleSizeOverrideSchema } from '../../UO2SVNWT.js';
7
- export { ProposerSignatureSchema } from '../../CQJ3E64U.js';
8
- export { SignerSignatureSchema } from '../../MHCJFQUP.js';
9
9
  //# sourceMappingURL=index.js.map
10
10
  //# sourceMappingURL=index.js.map
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var PN7YDDHE_cjs = require('../../PN7YDDHE.cjs');
3
+ var BURXGKEN_cjs = require('../../BURXGKEN.cjs');
4
+ require('../../DW4HRBA6.cjs');
5
+ require('../../3TTNTSTZ.cjs');
4
6
  require('../../Z3WJTDPV.cjs');
5
7
  require('../../JM7HWRIG.cjs');
6
8
  require('../../IX2XL3EV.cjs');
7
9
  require('../../YJCCJ376.cjs');
8
- require('../../DW4HRBA6.cjs');
9
- require('../../3TTNTSTZ.cjs');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "OneSigEntitySchema", {
14
14
  enumerable: true,
15
- get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
15
+ get: function () { return BURXGKEN_cjs.OneSigEntitySchema; }
16
16
  });
17
17
  //# sourceMappingURL=onesig-entity.cjs.map
18
18
  //# sourceMappingURL=onesig-entity.cjs.map
@@ -1,9 +1,9 @@
1
- export { OneSigEntitySchema } from '../../UZZEG45S.js';
1
+ export { OneSigEntitySchema } from '../../7GCSX377.js';
2
+ import '../../CQJ3E64U.js';
3
+ import '../../MHCJFQUP.js';
2
4
  import '../../4XBY6VCH.js';
3
5
  import '../../ETMBUEXO.js';
4
6
  import '../../BUEQ32NZ.js';
5
7
  import '../../UO2SVNWT.js';
6
- import '../../CQJ3E64U.js';
7
- import '../../MHCJFQUP.js';
8
8
  //# sourceMappingURL=onesig-entity.js.map
9
9
  //# sourceMappingURL=onesig-entity.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/onesig-model",
3
- "version": "0.0.64",
3
+ "version": "0.0.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.0.64",
23
- "@layerzerolabs/typescript-configuration": "0.0.64"
22
+ "@layerzerolabs/tsup-configuration": "0.0.65",
23
+ "@layerzerolabs/typescript-configuration": "0.0.65"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "restricted",