@layerzerolabs/common-chain-model 1.2.83 → 1.2.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/address.d.ts CHANGED
@@ -11,7 +11,7 @@ export declare const normalizedHexSchema: z.ZodType<NormalizedHexString, unknown
11
11
  */
12
12
  export declare const isNormalizedHex: (value: string) => boolean;
13
13
  export declare const normalizeHex: (address: HexString) => NormalizedHexString;
14
- export declare const normalizedHexSort: (a: NormalizedHexString, b: NormalizedHexString) => 1 | -1;
14
+ export declare const normalizedHexSort: (a: NormalizedHexString, b: NormalizedHexString) => -1 | 1;
15
15
  export declare const sortNormalizedHex: <T extends NormalizedHexString[] | null>(hexStrings: T) => T;
16
16
  export declare const NORMALIZED_HEX_ZERO: NormalizedHexString;
17
17
  //# sourceMappingURL=address.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../src/address.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAGtF,YAAY,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,SAAS,EAI+C,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AA2B1F,eAAO,MAAM,mBAAmB,iGAA8D,CAAC;AAE/F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,OACA,CAAC;AAEjD,eAAO,MAAM,YAAY,GAAI,SAAS,SAAS,KAAG,mBAKjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,GAAG,mBAAmB,EAAE,GAAG,mBAAmB,WACpB,CAAC;AAE7D,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,mBAAmB,EAAE,GAAG,IAAI,EAAE,YAAY,CAAC,KAAG,CACV,CAAC;AAEjF,eAAO,MAAM,mBAAmB,qBAAsB,CAAC"}
1
+ {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../src/address.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAGtF,YAAY,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,SAAS,EAI+C,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AA2B1F,eAAO,MAAM,mBAAmB,iGAA8D,CAAC;AAE/F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,UAAW,MAAM,KAAG,OACA,CAAC;AAEjD,eAAO,MAAM,YAAY,YAAa,SAAS,KAAG,mBAKjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,MAAO,mBAAmB,KAAK,mBAAmB,WACpB,CAAC;AAE7D,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,mBAAmB,EAAE,GAAG,IAAI,cAAc,CAAC,KAAG,CACV,CAAC;AAEjF,eAAO,MAAM,mBAAmB,qBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"bigint.d.ts","sourceRoot":"","sources":["../src/bigint.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,mBAAmB,EAWnB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;AAEtC,eAAO,MAAM,aAAa;kBACR,MAAM,GAAG,MAAM;qBAcZ,aAAa;CAGjC,CAAC"}
1
+ {"version":3,"file":"bigint.d.ts","sourceRoot":"","sources":["../src/bigint.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,mBAAmB,EAWnB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;AAEtC,eAAO,MAAM,aAAa;IACtB,KAAK,SAAS,MAAM,GAAG,MAAM;IAc7B,QAAQ,SAAS,aAAa;CAGjC,CAAC"}
@@ -34,9 +34,9 @@ export declare const onchainMultiSigTransactionToProposeSchema: z.ZodObject<{
34
34
  }, z.core.$strip>;
35
35
  type: z.ZodOptional<z.ZodString>;
36
36
  parallelizingKey: z.ZodOptional<z.ZodString>;
37
- nonce: z.ZodOptional<z.ZodNumber>;
38
37
  proposerSenderEntityName: z.ZodString;
39
38
  multiSigAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
39
+ nonce: z.ZodOptional<z.ZodNumber>;
40
40
  }, z.core.$strip>;
41
41
  export declare const offChainMultiSigDetailsSchema: z.ZodObject<{
42
42
  proposerSenderEntityName: z.ZodString;
@@ -81,16 +81,6 @@ export declare const multiSigSignedTransactionToProposeSchema: z.ZodObject<{
81
81
  nonce: z.ZodNumber;
82
82
  }, z.core.$strip>;
83
83
  export declare const multiSigExecutedProposedTransactionSchema: z.ZodObject<{
84
- result: z.ZodDiscriminatedUnion<[z.ZodObject<{
85
- type: z.ZodLiteral<"success">;
86
- minedTxHash: z.ZodString;
87
- }, z.core.$strip>, z.ZodObject<{
88
- type: z.ZodLiteral<"error">;
89
- error: z.ZodString;
90
- }, z.core.$strip>, z.ZodObject<{
91
- type: z.ZodLiteral<"indeterminate">;
92
- meta: z.ZodAny;
93
- }, z.core.$strip>], "type">;
94
84
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
95
85
  chainName: z.ZodString;
96
86
  timestamps: z.ZodObject<{
@@ -107,6 +97,16 @@ export declare const multiSigExecutedProposedTransactionSchema: z.ZodObject<{
107
97
  multiSigUrl: z.ZodString;
108
98
  multiSigApiKey: z.ZodOptional<z.ZodString>;
109
99
  nonce: z.ZodNumber;
100
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
101
+ type: z.ZodLiteral<"success">;
102
+ minedTxHash: z.ZodString;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ type: z.ZodLiteral<"error">;
105
+ error: z.ZodString;
106
+ }, z.core.$strip>, z.ZodObject<{
107
+ type: z.ZodLiteral<"indeterminate">;
108
+ meta: z.ZodAny;
109
+ }, z.core.$strip>], "type">;
110
110
  }, z.core.$strip>;
111
111
  export type BaseMultiSigDetails = z.infer<typeof baseMultiSigDetailsSchema>;
112
112
  export type OnchainMultiSigDetails = z.infer<typeof onchainMultiSigDetailsSchema>;
@@ -60,16 +60,6 @@ export declare const signedTransactionSchema: z.ZodObject<{
60
60
  nonce: z.ZodNumber;
61
61
  }, z.core.$strip>;
62
62
  export declare const minedTransactionSchema: z.ZodObject<{
63
- result: z.ZodDiscriminatedUnion<[z.ZodObject<{
64
- type: z.ZodLiteral<"success">;
65
- minedTxHash: z.ZodString;
66
- }, z.core.$strip>, z.ZodObject<{
67
- type: z.ZodLiteral<"error">;
68
- error: z.ZodString;
69
- }, z.core.$strip>, z.ZodObject<{
70
- type: z.ZodLiteral<"indeterminate">;
71
- meta: z.ZodAny;
72
- }, z.core.$strip>], "type">;
73
63
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
74
64
  chainName: z.ZodString;
75
65
  timestamps: z.ZodObject<{
@@ -83,8 +73,6 @@ export declare const minedTransactionSchema: z.ZodObject<{
83
73
  parallelizingKey: z.ZodOptional<z.ZodString>;
84
74
  senderEntityName: z.ZodString;
85
75
  nonce: z.ZodNumber;
86
- }, z.core.$strip>;
87
- export declare const transactionWithResultSchema: z.ZodObject<{
88
76
  result: z.ZodDiscriminatedUnion<[z.ZodObject<{
89
77
  type: z.ZodLiteral<"success">;
90
78
  minedTxHash: z.ZodString;
@@ -95,6 +83,8 @@ export declare const transactionWithResultSchema: z.ZodObject<{
95
83
  type: z.ZodLiteral<"indeterminate">;
96
84
  meta: z.ZodAny;
97
85
  }, z.core.$strip>], "type">;
86
+ }, z.core.$strip>;
87
+ export declare const transactionWithResultSchema: z.ZodObject<{
98
88
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
99
89
  chainName: z.ZodString;
100
90
  timestamps: z.ZodObject<{
@@ -106,8 +96,18 @@ export declare const transactionWithResultSchema: z.ZodObject<{
106
96
  }, z.core.$strip>;
107
97
  type: z.ZodOptional<z.ZodString>;
108
98
  parallelizingKey: z.ZodOptional<z.ZodString>;
99
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
100
+ type: z.ZodLiteral<"success">;
101
+ minedTxHash: z.ZodString;
102
+ }, z.core.$strip>, z.ZodObject<{
103
+ type: z.ZodLiteral<"error">;
104
+ error: z.ZodString;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ type: z.ZodLiteral<"indeterminate">;
107
+ meta: z.ZodAny;
108
+ }, z.core.$strip>], "type">;
109
109
  }, z.core.$strip>;
110
- export declare const buildTransactionWithResultSchema: <T extends typeof transactionSchema>(txSchema: T) => z.ZodObject<T["shape"] & {
110
+ export declare const buildTransactionWithResultSchema: <T extends typeof transactionSchema>(txSchema: T) => z.ZodObject<T['shape'] & {
111
111
  result: typeof transactionResultSchema;
112
112
  }, z.core.$strip>;
113
113
  export interface Transaction extends z.infer<typeof transactionSchema> {
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,6BAA6B;;;;;;iBAMxC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;iBAM5B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAGpC,CAAC;AAEH,eAAO,MAAM,uB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  {
2
2
  "name": "@layerzerolabs/common-chain-model",
3
- "version": "1.2.83",
3
+ "version": "1.2.85",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,14 +16,14 @@
16
16
  "dist/**/*"
17
17
  ],
18
18
  "dependencies": {
19
- "@layerzerolabs/common-encoding-utils": "1.2.83",
20
- "@layerzerolabs/typescript-utils": "1.2.83",
21
- "@layerzerolabs/zod-utils": "1.2.83",
19
+ "@layerzerolabs/common-encoding-utils": "1.2.85",
20
+ "@layerzerolabs/typescript-utils": "1.2.85",
21
+ "@layerzerolabs/zod-utils": "1.2.85",
22
22
  "zod": "4.3.5"
23
23
  },
24
24
  "devDependencies": {
25
- "@layerzerolabs/tsup-configuration": "1.2.83",
26
- "@layerzerolabs/typescript-configuration": "1.2.83",
25
+ "@layerzerolabs/tsup-configuration": "1.2.85",
26
+ "@layerzerolabs/typescript-configuration": "1.2.85",
27
27
  "tsup": "^8.4.0",
28
28
  "vitest": "^4.1.10"
29
29
  },
@@ -39,8 +39,7 @@
39
39
  "layerzero-ver",
40
40
  "lz-labs-sidecar",
41
41
  "monorepo-external",
42
- "onesig-client",
43
- "value-transfer-external"
42
+ "onesig-client"
44
43
  ]
45
44
  },
46
45
  "scripts": {