@hyperlane-xyz/sdk 14.3.0 → 14.4.0
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/core/HyperlaneRelayer.d.ts +8 -8
- package/dist/core/types.d.ts +132 -132
- package/dist/fork/types.d.ts +15 -15
- package/dist/hook/types.d.ts +1 -1
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +1 -1
- package/dist/hook/types.js.map +1 -1
- package/dist/ica/types.d.ts +18 -18
- package/dist/index.d.ts +26 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -26
- package/dist/index.js.map +1 -1
- package/dist/ism/types.d.ts +10 -10
- package/dist/metadata/agentConfig.d.ts +4 -4
- package/dist/middleware/account/InterchainAccount.d.ts +4 -4
- package/dist/middleware/account/types.d.ts +6 -6
- package/dist/providers/transactions/submitter/builder/types.d.ts +11 -11
- package/dist/providers/transactions/submitter/submitterBuilderGetter.d.ts +16 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.js +46 -22
- package/dist/providers/transactions/submitter/submitterBuilderGetter.js.map +1 -1
- package/dist/providers/transactions/submitter/types.d.ts +4 -4
- package/dist/providers/transactions/types.d.ts +2 -2
- package/dist/router/types.d.ts +24 -24
- package/dist/token/types.d.ts +103 -103
- package/dist/types.d.ts +3 -3
- package/dist/utils/cosmos.d.ts +2 -2
- package/dist/warp/types.d.ts +14 -14
- package/package.json +5 -5
- package/dist/middleware/liquidity-layer/LiquidityLayerApp.d.ts +0 -35
- package/dist/middleware/liquidity-layer/LiquidityLayerApp.d.ts.map +0 -1
- package/dist/middleware/liquidity-layer/LiquidityLayerApp.js +0 -171
- package/dist/middleware/liquidity-layer/LiquidityLayerApp.js.map +0 -1
- package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.d.ts +0 -49
- package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.d.ts.map +0 -1
- package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.js +0 -115
- package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.js.map +0 -1
- package/dist/middleware/liquidity-layer/contracts.d.ts +0 -10
- package/dist/middleware/liquidity-layer/contracts.d.ts.map +0 -1
- package/dist/middleware/liquidity-layer/contracts.js +0 -9
- package/dist/middleware/liquidity-layer/contracts.js.map +0 -1
- package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.d.ts +0 -2
- package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.d.ts.map +0 -1
- package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js +0 -112
- package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js.map +0 -1
|
@@ -68,8 +68,8 @@ export declare const EvmIcaTxSubmitterPropsSchema: z.ZodObject<{
|
|
|
68
68
|
}>]>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
type: TxSubmitterType.INTERCHAIN_ACCOUNT;
|
|
71
|
-
owner: string;
|
|
72
71
|
chain: string;
|
|
72
|
+
owner: string;
|
|
73
73
|
destinationChain: string;
|
|
74
74
|
internalSubmitter: {
|
|
75
75
|
type: TxSubmitterType.JSON_RPC;
|
|
@@ -96,8 +96,8 @@ export declare const EvmIcaTxSubmitterPropsSchema: z.ZodObject<{
|
|
|
96
96
|
interchainSecurityModule?: string | undefined;
|
|
97
97
|
}, {
|
|
98
98
|
type: TxSubmitterType.INTERCHAIN_ACCOUNT;
|
|
99
|
-
owner: string;
|
|
100
99
|
chain: string;
|
|
100
|
+
owner: string;
|
|
101
101
|
destinationChain: string;
|
|
102
102
|
internalSubmitter: {
|
|
103
103
|
type: TxSubmitterType.JSON_RPC;
|
|
@@ -249,8 +249,8 @@ export declare const SubmitterMetadataSchema: z.ZodUnion<[z.ZodDiscriminatedUnio
|
|
|
249
249
|
}>]>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
type: TxSubmitterType.INTERCHAIN_ACCOUNT;
|
|
252
|
-
owner: string;
|
|
253
252
|
chain: string;
|
|
253
|
+
owner: string;
|
|
254
254
|
destinationChain: string;
|
|
255
255
|
internalSubmitter: {
|
|
256
256
|
type: TxSubmitterType.JSON_RPC;
|
|
@@ -277,8 +277,8 @@ export declare const SubmitterMetadataSchema: z.ZodUnion<[z.ZodDiscriminatedUnio
|
|
|
277
277
|
interchainSecurityModule?: string | undefined;
|
|
278
278
|
}, {
|
|
279
279
|
type: TxSubmitterType.INTERCHAIN_ACCOUNT;
|
|
280
|
-
owner: string;
|
|
281
280
|
chain: string;
|
|
281
|
+
owner: string;
|
|
282
282
|
destinationChain: string;
|
|
283
283
|
internalSubmitter: {
|
|
284
284
|
type: TxSubmitterType.JSON_RPC;
|
|
@@ -5,12 +5,12 @@ export declare const CallDataSchema: z.ZodObject<{
|
|
|
5
5
|
data: z.ZodString;
|
|
6
6
|
value: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
data: string;
|
|
9
8
|
to: string;
|
|
9
|
+
data: string;
|
|
10
10
|
value?: string | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
data: string;
|
|
13
12
|
to: string;
|
|
13
|
+
data: string;
|
|
14
14
|
value?: string | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type CallData = z.infer<typeof CallDataSchema>;
|
package/dist/router/types.d.ts
CHANGED
|
@@ -249,12 +249,12 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
249
249
|
nativeBridge: z.ZodString;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
252
|
-
origin: string;
|
|
253
252
|
nativeBridge: string;
|
|
253
|
+
origin: string;
|
|
254
254
|
}, {
|
|
255
255
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
256
|
-
origin: string;
|
|
257
256
|
nativeBridge: string;
|
|
257
|
+
origin: string;
|
|
258
258
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
259
259
|
owner: z.ZodString;
|
|
260
260
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -295,11 +295,11 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
295
295
|
validators: z.ZodArray<z.ZodString, "many">;
|
|
296
296
|
threshold: z.ZodNumber;
|
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
validators: string[];
|
|
299
298
|
threshold: number;
|
|
300
|
-
}, {
|
|
301
299
|
validators: string[];
|
|
300
|
+
}, {
|
|
302
301
|
threshold: number;
|
|
302
|
+
validators: string[];
|
|
303
303
|
}>, z.ZodObject<{
|
|
304
304
|
type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -430,8 +430,8 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
430
430
|
destinationChain: string;
|
|
431
431
|
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
432
432
|
interchainSecurityModule?: string | ({
|
|
433
|
-
validators: string[];
|
|
434
433
|
threshold: number;
|
|
434
|
+
validators: string[];
|
|
435
435
|
} & {
|
|
436
436
|
type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
437
437
|
}) | ({
|
|
@@ -452,8 +452,8 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
452
452
|
type: import("../ism/types.js").IsmType.PAUSABLE;
|
|
453
453
|
}) | {
|
|
454
454
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
455
|
-
origin: string;
|
|
456
455
|
nativeBridge: string;
|
|
456
|
+
origin: string;
|
|
457
457
|
} | {
|
|
458
458
|
type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
|
|
459
459
|
relayer: string;
|
|
@@ -523,8 +523,8 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
523
523
|
destinationChain: string;
|
|
524
524
|
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
525
525
|
interchainSecurityModule?: string | ({
|
|
526
|
-
validators: string[];
|
|
527
526
|
threshold: number;
|
|
527
|
+
validators: string[];
|
|
528
528
|
} & {
|
|
529
529
|
type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
530
530
|
}) | ({
|
|
@@ -545,8 +545,8 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
545
545
|
type: import("../ism/types.js").IsmType.PAUSABLE;
|
|
546
546
|
}) | {
|
|
547
547
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
548
|
-
origin: string;
|
|
549
548
|
nativeBridge: string;
|
|
549
|
+
origin: string;
|
|
550
550
|
} | {
|
|
551
551
|
type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
|
|
552
552
|
relayer: string;
|
|
@@ -779,12 +779,12 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
779
779
|
nativeBridge: z.ZodString;
|
|
780
780
|
}, "strip", z.ZodTypeAny, {
|
|
781
781
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
782
|
-
origin: string;
|
|
783
782
|
nativeBridge: string;
|
|
783
|
+
origin: string;
|
|
784
784
|
}, {
|
|
785
785
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
786
|
-
origin: string;
|
|
787
786
|
nativeBridge: string;
|
|
787
|
+
origin: string;
|
|
788
788
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
789
789
|
owner: z.ZodString;
|
|
790
790
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -825,11 +825,11 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
825
825
|
validators: z.ZodArray<z.ZodString, "many">;
|
|
826
826
|
threshold: z.ZodNumber;
|
|
827
827
|
}, "strip", z.ZodTypeAny, {
|
|
828
|
-
validators: string[];
|
|
829
828
|
threshold: number;
|
|
830
|
-
}, {
|
|
831
829
|
validators: string[];
|
|
830
|
+
}, {
|
|
832
831
|
threshold: number;
|
|
832
|
+
validators: string[];
|
|
833
833
|
}>, z.ZodObject<{
|
|
834
834
|
type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
|
|
835
835
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -981,8 +981,8 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
981
981
|
destinationChain: string;
|
|
982
982
|
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
983
983
|
interchainSecurityModule?: string | ({
|
|
984
|
-
validators: string[];
|
|
985
984
|
threshold: number;
|
|
985
|
+
validators: string[];
|
|
986
986
|
} & {
|
|
987
987
|
type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
988
988
|
}) | ({
|
|
@@ -1003,8 +1003,8 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1003
1003
|
type: import("../ism/types.js").IsmType.PAUSABLE;
|
|
1004
1004
|
}) | {
|
|
1005
1005
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
1006
|
-
origin: string;
|
|
1007
1006
|
nativeBridge: string;
|
|
1007
|
+
origin: string;
|
|
1008
1008
|
} | {
|
|
1009
1009
|
type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
|
|
1010
1010
|
relayer: string;
|
|
@@ -1083,8 +1083,8 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1083
1083
|
destinationChain: string;
|
|
1084
1084
|
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1085
1085
|
interchainSecurityModule?: string | ({
|
|
1086
|
-
validators: string[];
|
|
1087
1086
|
threshold: number;
|
|
1087
|
+
validators: string[];
|
|
1088
1088
|
} & {
|
|
1089
1089
|
type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1090
1090
|
}) | ({
|
|
@@ -1105,8 +1105,8 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1105
1105
|
type: import("../ism/types.js").IsmType.PAUSABLE;
|
|
1106
1106
|
}) | {
|
|
1107
1107
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
1108
|
-
origin: string;
|
|
1109
1108
|
nativeBridge: string;
|
|
1109
|
+
origin: string;
|
|
1110
1110
|
} | {
|
|
1111
1111
|
type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
|
|
1112
1112
|
relayer: string;
|
|
@@ -1338,12 +1338,12 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1338
1338
|
nativeBridge: z.ZodString;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
1340
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
1341
|
-
origin: string;
|
|
1342
1341
|
nativeBridge: string;
|
|
1342
|
+
origin: string;
|
|
1343
1343
|
}, {
|
|
1344
1344
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
1345
|
-
origin: string;
|
|
1346
1345
|
nativeBridge: string;
|
|
1346
|
+
origin: string;
|
|
1347
1347
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
1348
1348
|
owner: z.ZodString;
|
|
1349
1349
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1384,11 +1384,11 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1384
1384
|
validators: z.ZodArray<z.ZodString, "many">;
|
|
1385
1385
|
threshold: z.ZodNumber;
|
|
1386
1386
|
}, "strip", z.ZodTypeAny, {
|
|
1387
|
-
validators: string[];
|
|
1388
1387
|
threshold: number;
|
|
1389
|
-
}, {
|
|
1390
1388
|
validators: string[];
|
|
1389
|
+
}, {
|
|
1391
1390
|
threshold: number;
|
|
1391
|
+
validators: string[];
|
|
1392
1392
|
}>, z.ZodObject<{
|
|
1393
1393
|
type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
|
|
1394
1394
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1534,8 +1534,8 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1534
1534
|
destinationChain: string;
|
|
1535
1535
|
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1536
1536
|
interchainSecurityModule?: string | ({
|
|
1537
|
-
validators: string[];
|
|
1538
1537
|
threshold: number;
|
|
1538
|
+
validators: string[];
|
|
1539
1539
|
} & {
|
|
1540
1540
|
type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1541
1541
|
}) | ({
|
|
@@ -1556,8 +1556,8 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1556
1556
|
type: import("../ism/types.js").IsmType.PAUSABLE;
|
|
1557
1557
|
}) | {
|
|
1558
1558
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
1559
|
-
origin: string;
|
|
1560
1559
|
nativeBridge: string;
|
|
1560
|
+
origin: string;
|
|
1561
1561
|
} | {
|
|
1562
1562
|
type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
|
|
1563
1563
|
relayer: string;
|
|
@@ -1638,8 +1638,8 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1638
1638
|
destinationChain: string;
|
|
1639
1639
|
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1640
1640
|
interchainSecurityModule?: string | ({
|
|
1641
|
-
validators: string[];
|
|
1642
1641
|
threshold: number;
|
|
1642
|
+
validators: string[];
|
|
1643
1643
|
} & {
|
|
1644
1644
|
type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1645
1645
|
}) | ({
|
|
@@ -1660,8 +1660,8 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1660
1660
|
type: import("../ism/types.js").IsmType.PAUSABLE;
|
|
1661
1661
|
}) | {
|
|
1662
1662
|
type: import("../ism/types.js").IsmType.OP_STACK;
|
|
1663
|
-
origin: string;
|
|
1664
1663
|
nativeBridge: string;
|
|
1664
|
+
origin: string;
|
|
1665
1665
|
} | {
|
|
1666
1666
|
type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
|
|
1667
1667
|
relayer: string;
|