@layerzerolabs/onesig-model 0.0.32 → 0.0.34

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-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
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-bundle/calls/index.ts, src/model/onesig-bundle/calls/onesig-evm-call.ts, src/model/onesig-peer-to-peer/index.ts, src/model/onesig-peer-to-peer/onesig-session.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-bundle/calls/index.js 184.00 B
20
- ESM dist/model/onesig-bundle/onesig-signer-signature.js 162.00 B
21
- ESM dist/model/onesig-bundle/onesig-proposer-signature.js 168.00 B
22
- ESM dist/model/onesig-bundle/calls/onesig-evm-call.js 147.00 B
23
- ESM dist/EJWDS73U.js 74.00 B
24
- ESM dist/model/index.js 584.00 B
25
- ESM dist/index.js 573.00 B
26
- ESM dist/model/onesig-peer-to-peer/index.js 152.00 B
27
- ESM dist/P2ZSGLQK.js 74.00 B
28
- ESM dist/model/onesig-peer-to-peer/onesig-session.js 142.00 B
29
- ESM dist/FHNAO635.js 273.00 B
30
- ESM dist/model/onesig-bundle/index.js 504.00 B
31
- ESM dist/YKZ5WATU.js 74.00 B
32
- ESM dist/model/onesig-bundle/onesig-entity.js 307.00 B
33
- ESM dist/7GCSX377.js 1.21 KB
34
- ESM dist/MHCJFQUP.js 381.00 B
35
- ESM dist/CQJ3E64U.js 680.00 B
36
- ESM dist/4XBY6VCH.js 928.00 B
37
- ESM dist/ETMBUEXO.js 244.00 B
38
- ESM dist/model/onesig-bundle/onesig-leaf.js 189.00 B
39
- ESM dist/model/onesig-bundle/onesig-overrides.js 157.00 B
40
- ESM dist/BUEQ32NZ.js 529.00 B
41
- ESM dist/UO2SVNWT.js 543.00 B
42
- ESM dist/model/onesig-bundle/calls/index.js.map 69.00 B
43
- ESM dist/model/onesig-bundle/onesig-signer-signature.js.map 87.00 B
44
- ESM dist/model/onesig-bundle/onesig-proposer-signature.js.map 89.00 B
45
- ESM dist/model/onesig-bundle/calls/onesig-evm-call.js.map 79.00 B
46
- ESM dist/EJWDS73U.js.map 72.00 B
47
- ESM dist/model/index.js.map 69.00 B
48
- ESM dist/index.js.map 69.00 B
49
- ESM dist/model/onesig-peer-to-peer/index.js.map 69.00 B
50
- ESM dist/P2ZSGLQK.js.map 72.00 B
51
- ESM dist/model/onesig-peer-to-peer/onesig-session.js.map 78.00 B
52
- ESM dist/FHNAO635.js.map 557.00 B
53
- ESM dist/model/onesig-bundle/index.js.map 69.00 B
54
- ESM dist/YKZ5WATU.js.map 72.00 B
55
- ESM dist/model/onesig-bundle/onesig-entity.js.map 77.00 B
56
- ESM dist/7GCSX377.js.map 2.62 KB
57
- ESM dist/MHCJFQUP.js.map 842.00 B
58
- ESM dist/CQJ3E64U.js.map 1.44 KB
59
- ESM dist/4XBY6VCH.js.map 2.10 KB
60
- ESM dist/ETMBUEXO.js.map 512.00 B
61
- ESM dist/model/onesig-bundle/onesig-leaf.js.map 75.00 B
62
- ESM dist/model/onesig-bundle/onesig-overrides.js.map 80.00 B
63
- ESM dist/BUEQ32NZ.js.map 1.23 KB
64
- ESM dist/UO2SVNWT.js.map 1.15 KB
65
- ESM ⚡️ Build success in 260ms
66
- CJS dist/index.cjs 1.67 KB
16
+ Generated an empty chunk: "6BUEZFLN".
17
+ Generated an empty chunk: "T7HE2FLY".
18
+ Generated an empty chunk: "NTKZVLDN".
67
19
  CJS dist/model/index.cjs 1.68 KB
68
- CJS dist/model/onesig-peer-to-peer/index.cjs 312.00 B
69
20
  CJS dist/model/onesig-bundle/index.cjs 1.46 KB
21
+ CJS dist/index.cjs 1.67 KB
70
22
  CJS dist/6BUEZFLN.cjs 90.00 B
71
23
  CJS dist/T7HE2FLY.cjs 90.00 B
72
- CJS dist/model/onesig-peer-to-peer/onesig-session.cjs 299.00 B
73
24
  CJS dist/BGLHFIC5.cjs 318.00 B
74
25
  CJS dist/NTKZVLDN.cjs 90.00 B
75
26
  CJS dist/model/onesig-bundle/onesig-entity.cjs 481.00 B
76
- CJS dist/BURXGKEN.cjs 1.28 KB
77
- CJS dist/3TTNTSTZ.cjs 434.00 B
78
- CJS dist/DW4HRBA6.cjs 738.00 B
79
27
  CJS dist/model/onesig-bundle/onesig-leaf.cjs 349.00 B
28
+ CJS dist/PN7YDDHE.cjs 1.28 KB
80
29
  CJS dist/Z3WJTDPV.cjs 1006.00 B
30
+ CJS dist/JM7HWRIG.cjs 286.00 B
81
31
  CJS dist/IX2XL3EV.cjs 589.00 B
82
32
  CJS dist/model/onesig-bundle/onesig-overrides.cjs 325.00 B
83
- CJS dist/JM7HWRIG.cjs 286.00 B
33
+ CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs 329.00 B
84
34
  CJS dist/YJCCJ376.cjs 608.00 B
35
+ CJS dist/DW4HRBA6.cjs 738.00 B
85
36
  CJS dist/model/onesig-bundle/onesig-signer-signature.cjs 323.00 B
37
+ CJS dist/3TTNTSTZ.cjs 434.00 B
86
38
  CJS dist/model/onesig-bundle/calls/index.cjs 475.00 B
87
- CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs 329.00 B
88
39
  CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs 304.00 B
89
- CJS dist/index.cjs.map 70.00 B
40
+ CJS dist/model/onesig-peer-to-peer/index.cjs 312.00 B
41
+ CJS dist/model/onesig-peer-to-peer/onesig-session.cjs 299.00 B
90
42
  CJS dist/model/index.cjs.map 70.00 B
91
- CJS dist/model/onesig-peer-to-peer/index.cjs.map 70.00 B
92
43
  CJS dist/model/onesig-bundle/index.cjs.map 70.00 B
44
+ CJS dist/index.cjs.map 70.00 B
93
45
  CJS dist/6BUEZFLN.cjs.map 73.00 B
94
46
  CJS dist/T7HE2FLY.cjs.map 73.00 B
95
- CJS dist/model/onesig-peer-to-peer/onesig-session.cjs.map 79.00 B
96
47
  CJS dist/BGLHFIC5.cjs.map 560.00 B
97
48
  CJS dist/NTKZVLDN.cjs.map 73.00 B
98
49
  CJS dist/model/onesig-bundle/onesig-entity.cjs.map 78.00 B
99
- CJS dist/BURXGKEN.cjs.map 2.62 KB
100
- CJS dist/3TTNTSTZ.cjs.map 845.00 B
101
- CJS dist/DW4HRBA6.cjs.map 1.45 KB
102
50
  CJS dist/model/onesig-bundle/onesig-leaf.cjs.map 76.00 B
51
+ CJS dist/PN7YDDHE.cjs.map 2.62 KB
103
52
  CJS dist/Z3WJTDPV.cjs.map 2.10 KB
53
+ CJS dist/JM7HWRIG.cjs.map 515.00 B
104
54
  CJS dist/IX2XL3EV.cjs.map 1.23 KB
105
55
  CJS dist/model/onesig-bundle/onesig-overrides.cjs.map 81.00 B
106
- CJS dist/JM7HWRIG.cjs.map 515.00 B
107
- CJS dist/YJCCJ376.cjs.map 1.15 KB
108
56
  CJS dist/model/onesig-bundle/onesig-proposer-signature.cjs.map 90.00 B
109
- CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs.map 80.00 B
110
- CJS dist/model/onesig-bundle/calls/index.cjs.map 70.00 B
57
+ CJS dist/YJCCJ376.cjs.map 1.15 KB
58
+ CJS dist/DW4HRBA6.cjs.map 1.45 KB
111
59
  CJS dist/model/onesig-bundle/onesig-signer-signature.cjs.map 88.00 B
112
- CJS ⚡️ Build success in 263ms
60
+ CJS dist/3TTNTSTZ.cjs.map 845.00 B
61
+ CJS dist/model/onesig-bundle/calls/index.cjs.map 70.00 B
62
+ CJS dist/model/onesig-bundle/calls/onesig-evm-call.cjs.map 80.00 B
63
+ CJS dist/model/onesig-peer-to-peer/index.cjs.map 70.00 B
64
+ CJS dist/model/onesig-peer-to-peer/onesig-session.cjs.map 79.00 B
65
+ CJS ⚡️ Build success in 346ms
66
+ ESM dist/index.js 573.00 B
67
+ ESM dist/FHNAO635.js 273.00 B
68
+ ESM dist/EJWDS73U.js 74.00 B
69
+ ESM dist/P2ZSGLQK.js 74.00 B
70
+ ESM dist/YKZ5WATU.js 74.00 B
71
+ ESM dist/UZZEG45S.js 1.21 KB
72
+ ESM dist/4XBY6VCH.js 928.00 B
73
+ ESM dist/ETMBUEXO.js 244.00 B
74
+ ESM dist/BUEQ32NZ.js 529.00 B
75
+ ESM dist/UO2SVNWT.js 543.00 B
76
+ ESM dist/CQJ3E64U.js 680.00 B
77
+ ESM dist/MHCJFQUP.js 381.00 B
78
+ ESM dist/model/onesig-bundle/calls/index.js 184.00 B
79
+ ESM dist/model/onesig-peer-to-peer/index.js 152.00 B
80
+ ESM dist/model/onesig-peer-to-peer/onesig-session.js 142.00 B
81
+ ESM dist/model/index.js 584.00 B
82
+ ESM dist/model/onesig-bundle/calls/onesig-evm-call.js 147.00 B
83
+ ESM dist/model/onesig-bundle/index.js 504.00 B
84
+ ESM dist/model/onesig-bundle/onesig-entity.js 307.00 B
85
+ ESM dist/model/onesig-bundle/onesig-overrides.js 157.00 B
86
+ ESM dist/model/onesig-bundle/onesig-proposer-signature.js 168.00 B
87
+ ESM dist/model/onesig-bundle/onesig-signer-signature.js 162.00 B
88
+ ESM dist/model/onesig-bundle/onesig-leaf.js 189.00 B
89
+ ESM dist/index.js.map 69.00 B
90
+ ESM dist/EJWDS73U.js.map 72.00 B
91
+ ESM dist/P2ZSGLQK.js.map 72.00 B
92
+ ESM dist/FHNAO635.js.map 557.00 B
93
+ ESM dist/YKZ5WATU.js.map 72.00 B
94
+ ESM dist/UZZEG45S.js.map 2.62 KB
95
+ ESM dist/4XBY6VCH.js.map 2.10 KB
96
+ ESM dist/ETMBUEXO.js.map 512.00 B
97
+ ESM dist/BUEQ32NZ.js.map 1.23 KB
98
+ ESM dist/UO2SVNWT.js.map 1.15 KB
99
+ ESM dist/CQJ3E64U.js.map 1.44 KB
100
+ ESM dist/MHCJFQUP.js.map 842.00 B
101
+ ESM dist/model/onesig-bundle/calls/index.js.map 69.00 B
102
+ ESM dist/model/onesig-peer-to-peer/index.js.map 69.00 B
103
+ ESM dist/model/onesig-peer-to-peer/onesig-session.js.map 78.00 B
104
+ ESM dist/model/index.js.map 69.00 B
105
+ ESM dist/model/onesig-bundle/calls/onesig-evm-call.js.map 79.00 B
106
+ ESM dist/model/onesig-bundle/index.js.map 69.00 B
107
+ ESM dist/model/onesig-bundle/onesig-overrides.js.map 80.00 B
108
+ ESM dist/model/onesig-bundle/onesig-entity.js.map 77.00 B
109
+ ESM dist/model/onesig-bundle/onesig-proposer-signature.js.map 89.00 B
110
+ ESM dist/model/onesig-bundle/onesig-leaf.js.map 75.00 B
111
+ ESM dist/model/onesig-bundle/onesig-signer-signature.js.map 87.00 B
112
+ ESM ⚡️ Build success in 348ms
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var DW4HRBA6_cjs = require('./DW4HRBA6.cjs');
4
- var _3TTNTSTZ_cjs = require('./3TTNTSTZ.cjs');
5
3
  var Z3WJTDPV_cjs = require('./Z3WJTDPV.cjs');
6
4
  var YJCCJ376_cjs = require('./YJCCJ376.cjs');
5
+ var DW4HRBA6_cjs = require('./DW4HRBA6.cjs');
6
+ var _3TTNTSTZ_cjs = require('./3TTNTSTZ.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=BURXGKEN.cjs.map
23
- //# sourceMappingURL=BURXGKEN.cjs.map
22
+ //# sourceMappingURL=PN7YDDHE.cjs.map
23
+ //# sourceMappingURL=PN7YDDHE.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":"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"]}
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,7 +1,7 @@
1
- import { ProposerSignatureSchema } from './CQJ3E64U.js';
2
- import { SignerSignatureSchema } from './MHCJFQUP.js';
3
1
  import { OneSigLeafSchema } from './4XBY6VCH.js';
4
2
  import { OneSigBundleSizeOverrideSchema } from './UO2SVNWT.js';
3
+ import { ProposerSignatureSchema } from './CQJ3E64U.js';
4
+ import { SignerSignatureSchema } from './MHCJFQUP.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=7GCSX377.js.map
21
- //# sourceMappingURL=7GCSX377.js.map
20
+ //# sourceMappingURL=UZZEG45S.js.map
21
+ //# sourceMappingURL=UZZEG45S.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":"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
+ {"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"]}
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 BURXGKEN_cjs = require('./BURXGKEN.cjs');
8
- var DW4HRBA6_cjs = require('./DW4HRBA6.cjs');
9
- var _3TTNTSTZ_cjs = require('./3TTNTSTZ.cjs');
7
+ var PN7YDDHE_cjs = require('./PN7YDDHE.cjs');
10
8
  var Z3WJTDPV_cjs = require('./Z3WJTDPV.cjs');
11
9
  var JM7HWRIG_cjs = require('./JM7HWRIG.cjs');
12
10
  var IX2XL3EV_cjs = require('./IX2XL3EV.cjs');
13
11
  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,15 +20,7 @@ Object.defineProperty(exports, "OneSigSessionSchema", {
20
20
  });
21
21
  Object.defineProperty(exports, "OneSigEntitySchema", {
22
22
  enumerable: true,
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; }
23
+ get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
32
24
  });
33
25
  Object.defineProperty(exports, "OneSigLeafSchema", {
34
26
  enumerable: true,
@@ -46,5 +38,13 @@ Object.defineProperty(exports, "OneSigBundleSizeOverrideSchema", {
46
38
  enumerable: true,
47
39
  get: function () { return YJCCJ376_cjs.OneSigBundleSizeOverrideSchema; }
48
40
  });
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 './7GCSX377.js';
6
- export { ProposerSignatureSchema } from './CQJ3E64U.js';
7
- export { SignerSignatureSchema } from './MHCJFQUP.js';
5
+ export { OneSigEntitySchema } from './UZZEG45S.js';
8
6
  export { OneSigLeafSchema } from './4XBY6VCH.js';
9
7
  export { OneSigCallSchema } from './ETMBUEXO.js';
10
8
  export { OneSigEVMCallSchema } from './BUEQ32NZ.js';
11
9
  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 BURXGKEN_cjs = require('../BURXGKEN.cjs');
8
- var DW4HRBA6_cjs = require('../DW4HRBA6.cjs');
9
- var _3TTNTSTZ_cjs = require('../3TTNTSTZ.cjs');
7
+ var PN7YDDHE_cjs = require('../PN7YDDHE.cjs');
10
8
  var Z3WJTDPV_cjs = require('../Z3WJTDPV.cjs');
11
9
  var JM7HWRIG_cjs = require('../JM7HWRIG.cjs');
12
10
  var IX2XL3EV_cjs = require('../IX2XL3EV.cjs');
13
11
  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,15 +20,7 @@ Object.defineProperty(exports, "OneSigSessionSchema", {
20
20
  });
21
21
  Object.defineProperty(exports, "OneSigEntitySchema", {
22
22
  enumerable: true,
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; }
23
+ get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
32
24
  });
33
25
  Object.defineProperty(exports, "OneSigLeafSchema", {
34
26
  enumerable: true,
@@ -46,5 +38,13 @@ Object.defineProperty(exports, "OneSigBundleSizeOverrideSchema", {
46
38
  enumerable: true,
47
39
  get: function () { return YJCCJ376_cjs.OneSigBundleSizeOverrideSchema; }
48
40
  });
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 '../7GCSX377.js';
6
- export { ProposerSignatureSchema } from '../CQJ3E64U.js';
7
- export { SignerSignatureSchema } from '../MHCJFQUP.js';
5
+ export { OneSigEntitySchema } from '../UZZEG45S.js';
8
6
  export { OneSigLeafSchema } from '../4XBY6VCH.js';
9
7
  export { OneSigCallSchema } from '../ETMBUEXO.js';
10
8
  export { OneSigEVMCallSchema } from '../BUEQ32NZ.js';
11
9
  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,27 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../NTKZVLDN.cjs');
4
- var BURXGKEN_cjs = require('../../BURXGKEN.cjs');
5
- var DW4HRBA6_cjs = require('../../DW4HRBA6.cjs');
6
- var _3TTNTSTZ_cjs = require('../../3TTNTSTZ.cjs');
4
+ var PN7YDDHE_cjs = require('../../PN7YDDHE.cjs');
7
5
  var Z3WJTDPV_cjs = require('../../Z3WJTDPV.cjs');
8
6
  var JM7HWRIG_cjs = require('../../JM7HWRIG.cjs');
9
7
  var IX2XL3EV_cjs = require('../../IX2XL3EV.cjs');
10
8
  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 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; }
16
+ get: function () { return PN7YDDHE_cjs.OneSigEntitySchema; }
25
17
  });
26
18
  Object.defineProperty(exports, "OneSigLeafSchema", {
27
19
  enumerable: true,
@@ -39,5 +31,13 @@ Object.defineProperty(exports, "OneSigBundleSizeOverrideSchema", {
39
31
  enumerable: true,
40
32
  get: function () { return YJCCJ376_cjs.OneSigBundleSizeOverrideSchema; }
41
33
  });
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 '../../7GCSX377.js';
3
- export { ProposerSignatureSchema } from '../../CQJ3E64U.js';
4
- export { SignerSignatureSchema } from '../../MHCJFQUP.js';
2
+ export { OneSigEntitySchema } from '../../UZZEG45S.js';
5
3
  export { OneSigLeafSchema } from '../../4XBY6VCH.js';
6
4
  export { OneSigCallSchema } from '../../ETMBUEXO.js';
7
5
  export { OneSigEVMCallSchema } from '../../BUEQ32NZ.js';
8
6
  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 BURXGKEN_cjs = require('../../BURXGKEN.cjs');
4
- require('../../DW4HRBA6.cjs');
5
- require('../../3TTNTSTZ.cjs');
3
+ var PN7YDDHE_cjs = require('../../PN7YDDHE.cjs');
6
4
  require('../../Z3WJTDPV.cjs');
7
5
  require('../../JM7HWRIG.cjs');
8
6
  require('../../IX2XL3EV.cjs');
9
7
  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 BURXGKEN_cjs.OneSigEntitySchema; }
15
+ get: function () { return PN7YDDHE_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 '../../7GCSX377.js';
2
- import '../../CQJ3E64U.js';
3
- import '../../MHCJFQUP.js';
1
+ export { OneSigEntitySchema } from '../../UZZEG45S.js';
4
2
  import '../../4XBY6VCH.js';
5
3
  import '../../ETMBUEXO.js';
6
4
  import '../../BUEQ32NZ.js';
7
5
  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.32",
3
+ "version": "0.0.34",
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.32",
23
- "@layerzerolabs/typescript-configuration": "0.0.32"
22
+ "@layerzerolabs/tsup-configuration": "0.0.34",
23
+ "@layerzerolabs/typescript-configuration": "0.0.34"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "restricted",