@skip-go/client 1.6.0-alpha.0 → 1.6.0-alpha.2

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.
Files changed (37) hide show
  1. package/dist/cjs/{chunk-GDDD6R2X.cjs → chunk-25TA7Z7R.cjs} +1 -0
  2. package/dist/cjs/index.cjs +23 -23
  3. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +2 -2
  4. package/dist/esm/api/getAssets.d.ts +1 -1
  5. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  6. package/dist/esm/api/getBridges.d.ts +3 -3
  7. package/dist/esm/api/getChains.d.ts +1 -1
  8. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  9. package/dist/esm/api/postBalances.d.ts +2 -2
  10. package/dist/esm/api/postMessages.d.ts +2 -2
  11. package/dist/esm/api/postMessagesDirect.d.ts +24 -1
  12. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  13. package/dist/esm/api/postRoute.d.ts +25 -2
  14. package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
  15. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  16. package/dist/esm/api/postTransactionStatus.d.ts +2 -2
  17. package/dist/esm/{callbacks-1e6BnDot.d.ts → callbacks-DdC6QMlE.d.ts} +3 -3
  18. package/dist/esm/{chunk-A4HQEGYV.js → chunk-RH7PDDI5.js} +2 -1
  19. package/dist/esm/{client-types-Bz-WqtM3.d.ts → client-types-D03Tellv.d.ts} +1 -1
  20. package/dist/esm/{generateApi-Bi3W_Sti.d.ts → generateApi-Bv02Xt5y.d.ts} +1 -1
  21. package/dist/esm/index.d.ts +5 -5
  22. package/dist/esm/index.js +1 -1
  23. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
  24. package/dist/esm/public-functions/executeRoute.d.ts +4 -4
  25. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  26. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
  27. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  28. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
  29. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +1 -1
  30. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  31. package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
  32. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
  33. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  34. package/dist/esm/public-functions/waitForTransaction.d.ts +4 -4
  35. package/dist/esm/{setClientOptions-QO8p3yRr.d.ts → setClientOptions-CTwe8YVX.d.ts} +3 -3
  36. package/dist/esm/{swaggerTypes-Cvh0GDv-.d.ts → swaggerTypes-CzGbnX_b.d.ts} +19 -2
  37. package/package.json +1 -1
@@ -205,6 +205,7 @@ var evmChains = [
205
205
  chains.moonbeam,
206
206
  chains.optimism,
207
207
  chains.polygon,
208
+ chains.polygonAmoy,
208
209
  chains.polygonMumbai,
209
210
  chains.sepolia,
210
211
  chains.avalancheFuji,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkGDDD6R2X_cjs = require('./chunk-GDDD6R2X.cjs');
3
+ var chunk25TA7Z7R_cjs = require('./chunk-25TA7Z7R.cjs');
4
4
  var chunkAVWWCQ5P_cjs = require('./chunk-AVWWCQ5P.cjs');
5
5
  var chunkCK6CQWQU_cjs = require('./chunk-CK6CQWQU.cjs');
6
6
  var chunk4BWE7SOV_cjs = require('./chunk-4BWE7SOV.cjs');
@@ -37,91 +37,91 @@ var chunkLJV45UGL_cjs = require('./chunk-LJV45UGL.cjs');
37
37
 
38
38
  Object.defineProperty(exports, "AutopilotActionJson", {
39
39
  enumerable: true,
40
- get: function () { return chunkGDDD6R2X_cjs.AutopilotActionJson; }
40
+ get: function () { return chunk25TA7Z7R_cjs.AutopilotActionJson; }
41
41
  });
42
42
  Object.defineProperty(exports, "AxelarTransferStateJson", {
43
43
  enumerable: true,
44
- get: function () { return chunkGDDD6R2X_cjs.AxelarTransferStateJson; }
44
+ get: function () { return chunk25TA7Z7R_cjs.AxelarTransferStateJson; }
45
45
  });
46
46
  Object.defineProperty(exports, "AxelarTransferTypeJson", {
47
47
  enumerable: true,
48
- get: function () { return chunkGDDD6R2X_cjs.AxelarTransferTypeJson; }
48
+ get: function () { return chunk25TA7Z7R_cjs.AxelarTransferTypeJson; }
49
49
  });
50
50
  Object.defineProperty(exports, "BridgeTypeJson", {
51
51
  enumerable: true,
52
- get: function () { return chunkGDDD6R2X_cjs.BridgeTypeJson; }
52
+ get: function () { return chunk25TA7Z7R_cjs.BridgeTypeJson; }
53
53
  });
54
54
  Object.defineProperty(exports, "CCTPTransferStateJson", {
55
55
  enumerable: true,
56
- get: function () { return chunkGDDD6R2X_cjs.CCTPTransferStateJson; }
56
+ get: function () { return chunk25TA7Z7R_cjs.CCTPTransferStateJson; }
57
57
  });
58
58
  Object.defineProperty(exports, "ChainTypeJson", {
59
59
  enumerable: true,
60
- get: function () { return chunkGDDD6R2X_cjs.ChainTypeJson; }
60
+ get: function () { return chunk25TA7Z7R_cjs.ChainTypeJson; }
61
61
  });
62
62
  Object.defineProperty(exports, "ContractCallWithTokenErrorTypeJson", {
63
63
  enumerable: true,
64
- get: function () { return chunkGDDD6R2X_cjs.ContractCallWithTokenErrorTypeJson; }
64
+ get: function () { return chunk25TA7Z7R_cjs.ContractCallWithTokenErrorTypeJson; }
65
65
  });
66
66
  Object.defineProperty(exports, "FeeBehaviorJson", {
67
67
  enumerable: true,
68
- get: function () { return chunkGDDD6R2X_cjs.FeeBehaviorJson; }
68
+ get: function () { return chunk25TA7Z7R_cjs.FeeBehaviorJson; }
69
69
  });
70
70
  Object.defineProperty(exports, "FeeTypeJson", {
71
71
  enumerable: true,
72
- get: function () { return chunkGDDD6R2X_cjs.FeeTypeJson; }
72
+ get: function () { return chunk25TA7Z7R_cjs.FeeTypeJson; }
73
73
  });
74
74
  Object.defineProperty(exports, "GoFastTransferStateJson", {
75
75
  enumerable: true,
76
- get: function () { return chunkGDDD6R2X_cjs.GoFastTransferStateJson; }
76
+ get: function () { return chunk25TA7Z7R_cjs.GoFastTransferStateJson; }
77
77
  });
78
78
  Object.defineProperty(exports, "HyperlaneTransferStateJson", {
79
79
  enumerable: true,
80
- get: function () { return chunkGDDD6R2X_cjs.HyperlaneTransferStateJson; }
80
+ get: function () { return chunk25TA7Z7R_cjs.HyperlaneTransferStateJson; }
81
81
  });
82
82
  Object.defineProperty(exports, "LayerZeroTransferStateJson", {
83
83
  enumerable: true,
84
- get: function () { return chunkGDDD6R2X_cjs.LayerZeroTransferStateJson; }
84
+ get: function () { return chunk25TA7Z7R_cjs.LayerZeroTransferStateJson; }
85
85
  });
86
86
  Object.defineProperty(exports, "OPInitTransferStateJson", {
87
87
  enumerable: true,
88
- get: function () { return chunkGDDD6R2X_cjs.OPInitTransferStateJson; }
88
+ get: function () { return chunk25TA7Z7R_cjs.OPInitTransferStateJson; }
89
89
  });
90
90
  Object.defineProperty(exports, "PacketErrorTypeJson", {
91
91
  enumerable: true,
92
- get: function () { return chunkGDDD6R2X_cjs.PacketErrorTypeJson; }
92
+ get: function () { return chunk25TA7Z7R_cjs.PacketErrorTypeJson; }
93
93
  });
94
94
  Object.defineProperty(exports, "ReasonJson", {
95
95
  enumerable: true,
96
- get: function () { return chunkGDDD6R2X_cjs.ReasonJson; }
96
+ get: function () { return chunk25TA7Z7R_cjs.ReasonJson; }
97
97
  });
98
98
  Object.defineProperty(exports, "RoutePriceWarningTypeJson", {
99
99
  enumerable: true,
100
- get: function () { return chunkGDDD6R2X_cjs.RoutePriceWarningTypeJson; }
100
+ get: function () { return chunk25TA7Z7R_cjs.RoutePriceWarningTypeJson; }
101
101
  });
102
102
  Object.defineProperty(exports, "SendTokenErrorTypeJson", {
103
103
  enumerable: true,
104
- get: function () { return chunkGDDD6R2X_cjs.SendTokenErrorTypeJson; }
104
+ get: function () { return chunk25TA7Z7R_cjs.SendTokenErrorTypeJson; }
105
105
  });
106
106
  Object.defineProperty(exports, "StargateTransferStateJson", {
107
107
  enumerable: true,
108
- get: function () { return chunkGDDD6R2X_cjs.StargateTransferStateJson; }
108
+ get: function () { return chunk25TA7Z7R_cjs.StargateTransferStateJson; }
109
109
  });
110
110
  Object.defineProperty(exports, "StatusErrorTypeJson", {
111
111
  enumerable: true,
112
- get: function () { return chunkGDDD6R2X_cjs.StatusErrorTypeJson; }
112
+ get: function () { return chunk25TA7Z7R_cjs.StatusErrorTypeJson; }
113
113
  });
114
114
  Object.defineProperty(exports, "TransactionStateJson", {
115
115
  enumerable: true,
116
- get: function () { return chunkGDDD6R2X_cjs.TransactionStateJson; }
116
+ get: function () { return chunk25TA7Z7R_cjs.TransactionStateJson; }
117
117
  });
118
118
  Object.defineProperty(exports, "TransferStateJson", {
119
119
  enumerable: true,
120
- get: function () { return chunkGDDD6R2X_cjs.TransferStateJson; }
120
+ get: function () { return chunk25TA7Z7R_cjs.TransferStateJson; }
121
121
  });
122
122
  Object.defineProperty(exports, "getRouteWithGasOnReceive", {
123
123
  enumerable: true,
124
- get: function () { return chunkGDDD6R2X_cjs.getRouteWithGasOnReceive; }
124
+ get: function () { return chunk25TA7Z7R_cjs.getRouteWithGasOnReceive; }
125
125
  });
126
126
  Object.defineProperty(exports, "setClientOptions", {
127
127
  enumerable: true,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkGDDD6R2X_cjs = require('../chunk-GDDD6R2X.cjs');
3
+ var chunk25TA7Z7R_cjs = require('../chunk-25TA7Z7R.cjs');
4
4
  require('../chunk-AVWWCQ5P.cjs');
5
5
  require('../chunk-CK6CQWQU.cjs');
6
6
  require('../chunk-4BWE7SOV.cjs');
@@ -37,5 +37,5 @@ require('../chunk-LJV45UGL.cjs');
37
37
 
38
38
  Object.defineProperty(exports, "getRouteWithGasOnReceive", {
39
39
  enumerable: true,
40
- get: function () { return chunkGDDD6R2X_cjs.getRouteWithGasOnReceive; }
40
+ get: function () { return chunk25TA7Z7R_cjs.getRouteWithGasOnReceive; }
41
41
  });
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { m as Asset } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { m as Asset } from '../swaggerTypes-CzGbnX_b.js';
3
3
 
4
4
  declare const assets: (options?: ({
5
5
  chainIds?: string[] | undefined;
@@ -1,4 +1,4 @@
1
- import { B as BridgeType } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { B as BridgeType } from '../swaggerTypes-CzGbnX_b.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
3
 
4
4
  declare const assetsBetweenChains: (options?: ({
@@ -1,12 +1,12 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { bG as ContentType, B as BridgeType } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { bI as ContentType, B as BridgeType } from '../swaggerTypes-CzGbnX_b.js';
3
3
 
4
4
  declare const bridges: (options?: ({
5
5
  cache?: RequestCache | undefined;
6
6
  credentials?: RequestCredentials | undefined;
7
- headers?: {
7
+ headers?: string[][] | {
8
8
  [x: string]: string;
9
- } | string[][] | {
9
+ } | {
10
10
  append: {};
11
11
  delete: {};
12
12
  get: {};
@@ -1,4 +1,4 @@
1
- import { e as ChainType } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { e as ChainType } from '../swaggerTypes-CzGbnX_b.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
3
 
4
4
  declare const chains: (options?: ({
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { d as Reason, m as Asset } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { d as Reason, m as Asset } from '../swaggerTypes-CzGbnX_b.js';
3
3
 
4
4
  declare const assetsFromSource: (options?: ({
5
5
  sourceAssetDenom: string;
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bi3W_Sti.js';
3
- import '../swaggerTypes-Cvh0GDv-.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
3
+ import '../swaggerTypes-CzGbnX_b.js';
4
4
 
5
5
  declare const balances: (options?: ({
6
6
  chains?: {
@@ -1,6 +1,6 @@
1
- import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-CzGbnX_b.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bi3W_Sti.js';
3
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
4
4
 
5
5
  declare const messages: (request: MessagesRequest) => Promise<{
6
6
  msgs?: ({
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-CzGbnX_b.js';
3
3
 
4
4
  declare const messagesDirect: (options?: ({
5
5
  sourceAssetDenom?: string | undefined;
@@ -215,6 +215,29 @@ declare const messagesDirect: (options?: ({
215
215
  txIndex: number;
216
216
  amountIn: string;
217
217
  amountOut: string;
218
+ } | {
219
+ cctpTransferV2?: {
220
+ fromChainId?: string | undefined;
221
+ toChainId?: string | undefined;
222
+ burnToken?: string | undefined;
223
+ denomIn?: string | undefined;
224
+ denomOut?: string | undefined;
225
+ bridgeId?: BridgeType | undefined;
226
+ smartRelay?: boolean | undefined;
227
+ smartRelayFeeQuote?: {
228
+ feeAmount?: string | undefined;
229
+ relayerAddress?: string | undefined;
230
+ expiration?: string | undefined;
231
+ feeDenom?: string | undefined;
232
+ feePaymentAddress?: string | undefined;
233
+ } | undefined;
234
+ destinationDomain?: number | undefined;
235
+ finalityThreshold?: number | undefined;
236
+ maxFee?: string | undefined;
237
+ } | undefined;
238
+ txIndex: number;
239
+ amountIn: string;
240
+ amountOut: string;
218
241
  } | {
219
242
  stargateTransfer?: {
220
243
  fromChainId?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { d as Reason } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { d as Reason } from '../swaggerTypes-CzGbnX_b.js';
3
3
 
4
4
  declare const recommendAssets: (options?: ({
5
5
  requests?: {
@@ -1,6 +1,6 @@
1
- import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-CzGbnX_b.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
- import { A as ApiRequest } from '../generateApi-Bi3W_Sti.js';
3
+ import { A as ApiRequest } from '../generateApi-Bv02Xt5y.js';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -103,6 +103,29 @@ declare const route: (request: RouteRequest) => Promise<{
103
103
  txIndex: number;
104
104
  amountIn: string;
105
105
  amountOut: string;
106
+ } | {
107
+ cctpTransferV2?: {
108
+ fromChainId?: string | undefined;
109
+ toChainId?: string | undefined;
110
+ burnToken?: string | undefined;
111
+ denomIn?: string | undefined;
112
+ denomOut?: string | undefined;
113
+ bridgeId?: BridgeType | undefined;
114
+ smartRelay?: boolean | undefined;
115
+ smartRelayFeeQuote?: {
116
+ feeAmount?: string | undefined;
117
+ relayerAddress?: string | undefined;
118
+ expiration?: string | undefined;
119
+ feeDenom?: string | undefined;
120
+ feePaymentAddress?: string | undefined;
121
+ } | undefined;
122
+ destinationDomain?: number | undefined;
123
+ finalityThreshold?: number | undefined;
124
+ maxFee?: string | undefined;
125
+ } | undefined;
126
+ txIndex: number;
127
+ amountIn: string;
128
+ amountOut: string;
106
129
  } | {
107
130
  stargateTransfer?: {
108
131
  fromChainId?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bi3W_Sti.js';
3
- import '../swaggerTypes-Cvh0GDv-.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
3
+ import '../swaggerTypes-CzGbnX_b.js';
4
4
 
5
5
  declare const submitTransaction: (options?: ({
6
6
  tx?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { A as ApiRequest, P as PollingProps } from '../generateApi-Bi3W_Sti.js';
3
- import '../swaggerTypes-Cvh0GDv-.js';
2
+ import { A as ApiRequest, P as PollingProps } from '../generateApi-Bv02Xt5y.js';
3
+ import '../swaggerTypes-CzGbnX_b.js';
4
4
 
5
5
  type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps & SkipApiOptions;
6
6
  type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
@@ -1,5 +1,5 @@
1
- import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-Cvh0GDv-.js';
2
- import { a as ApiResponse } from '../generateApi-Bi3W_Sti.js';
1
+ import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-CzGbnX_b.js';
2
+ import { a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
3
3
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
4
4
 
5
5
  declare const transactionStatus: (params?: ({
@@ -1,7 +1,7 @@
1
1
  import { TxStatusResponse } from './api/postTransactionStatus.js';
2
- import { T as TransferState, h as AxelarTransferState, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, G as GoFastTransferState, f as StargateTransferState, L as LayerZeroTransferState, b as TransactionState, bq as RouteResponse, a6 as CosmosMsg, ax as PostHandler, ay as Route, aV as TransferAssetRelease, aW as TransferStatus, a3 as Erc20Approval } from './swaggerTypes-Cvh0GDv-.js';
3
- import { A as ApiRequest } from './generateApi-Bi3W_Sti.js';
4
- import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-Bz-WqtM3.js';
2
+ import { T as TransferState, h as AxelarTransferState, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, G as GoFastTransferState, f as StargateTransferState, L as LayerZeroTransferState, b as TransactionState, bs as RouteResponse, a8 as CosmosMsg, az as PostHandler, aA as Route, aX as TransferAssetRelease, aY as TransferStatus, a5 as Erc20Approval } from './swaggerTypes-CzGbnX_b.js';
3
+ import { A as ApiRequest } from './generateApi-Bv02Xt5y.js';
4
+ import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-D03Tellv.js';
5
5
 
6
6
  type OverallStatus = "pending" | "success" | "failed";
7
7
  declare function getTransferEventsFromTxStatusResponse(txStatusResponse?: TxStatusResponse[]): {
@@ -2,7 +2,7 @@ import { route } from './chunk-KZKAL5ZN.js';
2
2
  import { ClientState, chains, assets } from './chunk-J24LYWJE.js';
3
3
  import BigNumber2 from 'bignumber.js';
4
4
  import { defineChain, createPublicClient, fallback, http } from 'viem';
5
- import { arbitrum, avalanche, base, bsc, celo, fantom, filecoin, kava, linea, mainnet, manta, moonbeam, optimism, polygon, polygonMumbai, sepolia, avalancheFuji, baseSepolia, optimismSepolia, arbitrumSepolia, blast, blastSepolia, forma, sei, bscTestnet, fantomTestnet, kavaTestnet, lineaSepolia, mantaSepoliaTestnet, injective, injectiveTestnet } from 'viem/chains';
5
+ import { arbitrum, avalanche, base, bsc, celo, fantom, filecoin, kava, linea, mainnet, manta, moonbeam, optimism, polygon, polygonAmoy, polygonMumbai, sepolia, avalancheFuji, baseSepolia, optimismSepolia, arbitrumSepolia, blast, blastSepolia, forma, sei, bscTestnet, fantomTestnet, kavaTestnet, lineaSepolia, mantaSepoliaTestnet, injective, injectiveTestnet } from 'viem/chains';
6
6
 
7
7
  // src/types/swaggerTypesJson.ts
8
8
  var FeeBehaviorJson = /* @__PURE__ */ ((FeeBehaviorJson2) => {
@@ -199,6 +199,7 @@ var evmChains = [
199
199
  moonbeam,
200
200
  optimism,
201
201
  polygon,
202
+ polygonAmoy,
202
203
  polygonMumbai,
203
204
  sepolia,
204
205
  avalancheFuji,
@@ -3,7 +3,7 @@ import { OfflineDirectSigner } from '@cosmjs/proto-signing';
3
3
  import { GasPrice, StdFee, SignerData } from '@cosmjs/stargate';
4
4
  import { WalletClient } from 'viem';
5
5
  import { Adapter } from '@solana/wallet-adapter-base';
6
- import { e as ChainType, af as FeeAsset, a6 as CosmosMsg } from './swaggerTypes-Cvh0GDv-.js';
6
+ import { e as ChainType, ah as FeeAsset, a8 as CosmosMsg } from './swaggerTypes-CzGbnX_b.js';
7
7
  import { TrackTxPollingProps } from './api/postTrackTransaction.js';
8
8
 
9
9
  /** Common Types */
@@ -1,4 +1,4 @@
1
- import { bI as Api } from './swaggerTypes-Cvh0GDv-.js';
1
+ import { bK as Api } from './swaggerTypes-CzGbnX_b.js';
2
2
 
3
3
  type CamelKey<S extends string> = S extends `${infer T}_${infer U}` ? `${T}${Capitalize<CamelKey<U>>}` : S;
4
4
  type Camel<T> = T extends (infer U)[] ? Camel<U>[] : T extends object ? {
@@ -1,6 +1,6 @@
1
- export { j as AcknowledgementErrorDetails, k as Affiliate, bI as Api, bE as ApiConfig, l as ApiError, m as Asset, n as AssetBetweenChains, o as AssetRecommendation, ba as AssetRecommendationsRequest, bt as AssetRecommendationsResponse, bg as AssetsBetweenChainsRequest, b7 as AssetsFromSourceRequest, bp as AssetsFromSourceResponse, bn as AssetsRequest, bo as AssetsResponse, i as AutopilotAction, p as AutopilotMsg, q as AutopilotMsgWrapper, r as AxelarTransfer, s as AxelarTransferInfo, h as AxelarTransferState, A as AxelarTransferType, t as AxelarTransferWrapper, Q as BalanceRequestChainEntry, V as BalanceResponseChainEntry, U as BalanceResponseDenomEntry, b6 as BalancesRequest, bj as BalancesResponse, W as BankSend, X as BankSendWrapper, Y as Bridge, B as BridgeType, bk as BridgesResponse, v as CCTPTransfer, w as CCTPTransferInfo, g as CCTPTransferState, x as CCTPTransferTxs, y as CCTPTransferWrapper, Z as Chain, _ as ChainAffiliates, aw as ChainTransaction, e as ChainType, bh as ChainsRequest, bi as ChainsResponse, bG as ContentType, $ as ContractCallWithTokenError, C as ContractCallWithTokenErrorType, a0 as ContractCallWithTokenTxs, a1 as CosmWasmContractMsg, a2 as CosmWasmContractMsgWrapper, b3 as CosmosModuleSupport, a6 as CosmosMsg, a7 as CosmosTx, a8 as CosmosTxWrapper, a3 as Erc20Approval, a5 as Error, a4 as ErrorDetail, aY as EurekaTransfer, aZ as EurekaTransferInfo, a_ as EurekaTransferWrapper, a9 as EvmSwap, aa as EvmSwapWrapper, ab as EvmTx, ac as EvmTxWrapper, b5 as Fee, af as FeeAsset, F as FeeBehavior, a as FeeType, bC as FullRequestParams, bz as FungibleAssetsBetweenChainsCreateResponse, ah as GRPCStatusCode, ag as GoFastFee, J as GoFastTransfer, M as GoFastTransferInfo, G as GoFastTransferState, K as GoFastTransferTxs, N as GoFastTransferWrapper, bH as HttpClient, bF as HttpResponse, ai as HyperlaneTransfer, aj as HyperlaneTransferInfo, H as HyperlaneTransferState, ak as HyperlaneTransferTransactions, al as HyperlaneTransferWrapper, am as IBCTransferInfo, b4 as IbcCapabilities, bf as IbcOriginAssetsRequest, by as IbcOriginAssetsResponse, a$ as LayerZeroTransfer, b0 as LayerZeroTransferInfo, L as LayerZeroTransferState, at as LayerZeroTransferTransactions, b1 as LayerZeroTransferWrapper, an as Msg, b9 as MsgsDirectRequest, bs as MsgsDirectResponse, b8 as MsgsRequest, br as MsgsResponse, ap as MultiChainMsg, aq as MultiChainMsgWrapper, aP as OPInitTransfer, aR as OPInitTransferInfo, O as OPInitTransferState, aS as OPInitTransferTxs, aQ as OPInitTransferWrapper, ar as Operation, as as OptionalAsset, au as Packet, av as PacketError, P as PacketErrorType, ax as PostHandler, bA as QueryParamsType, d as Reason, b2 as RecommendationRequest, bD as RequestParams, bB as ResponseFormat, ay as Route, R as RoutePriceWarningType, bq as RouteResponse, az as SendTokenError, c as SendTokenErrorType, aA as SendTokenTxs, u as SmartRelayFeeQuote, aJ as SmartSwapExactCoinIn, aL as SmartSwapInWrapper, aK as SmartSwapOptions, z as StargateTransfer, E as StargateTransferInfo, f as StargateTransferState, D as StargateTransferTxs, I as StargateTransferWrapper, aB as StatusError, S as StatusErrorType, bw as StatusRequest, bx as StatusResponse, be as StatusTxResponse, bu as SubmitResponse, bb as SubmitTxRequest, ad as SvmTx, ae as SvmTxWrapper, aC as Swap, aD as SwapExactCoinIn, aE as SwapExactCoinOut, aF as SwapInWrapper, aG as SwapOperation, aH as SwapOutWrapper, aI as SwapRoute, aM as SwapVenue, aN as SwapWrapper, bv as TrackResponse, bc as TrackTxRequest, bd as TrackTxResponse, aO as TransactionExecutionErrorDetails, b as TransactionState, aT as Transfer, aV as TransferAssetRelease, aU as TransferEvent, T as TransferState, aW as TransferStatus, aX as TransferWrapper, ao as Tx, bl as VenuesRequest, bm as VenuesResponse } from './swaggerTypes-Cvh0GDv-.js';
2
- export { C as ClientTransferEvent, E as ExecuteRouteOptions, O as OverallStatus, R as RouteDetails, a as RouteStatus, h as TransactionCallbacks, T as TransactionDetails, b as TransactionStatus, c as TransferEventStatus, d as TransferType, e as executeRoute, f as getSimpleOverallStatus, g as getTransferEventsFromTxStatusResponse, s as subscribeToRouteStatus } from './callbacks-1e6BnDot.js';
3
- export { B as BaseSettings, E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-Bz-WqtM3.js';
1
+ export { j as AcknowledgementErrorDetails, k as Affiliate, bK as Api, bG as ApiConfig, l as ApiError, m as Asset, n as AssetBetweenChains, o as AssetRecommendation, bc as AssetRecommendationsRequest, bv as AssetRecommendationsResponse, bi as AssetsBetweenChainsRequest, b9 as AssetsFromSourceRequest, br as AssetsFromSourceResponse, bp as AssetsRequest, bq as AssetsResponse, i as AutopilotAction, p as AutopilotMsg, q as AutopilotMsgWrapper, r as AxelarTransfer, s as AxelarTransferInfo, h as AxelarTransferState, A as AxelarTransferType, t as AxelarTransferWrapper, V as BalanceRequestChainEntry, X as BalanceResponseChainEntry, W as BalanceResponseDenomEntry, b8 as BalancesRequest, bl as BalancesResponse, Y as BankSend, Z as BankSendWrapper, _ as Bridge, B as BridgeType, bm as BridgesResponse, v as CCTPTransfer, w as CCTPTransferInfo, g as CCTPTransferState, x as CCTPTransferTxs, z as CCTPTransferV2, D as CCTPTransferV2Wrapper, y as CCTPTransferWrapper, $ as Chain, a0 as ChainAffiliates, ay as ChainTransaction, e as ChainType, bj as ChainsRequest, bk as ChainsResponse, bI as ContentType, a1 as ContractCallWithTokenError, C as ContractCallWithTokenErrorType, a2 as ContractCallWithTokenTxs, a3 as CosmWasmContractMsg, a4 as CosmWasmContractMsgWrapper, b5 as CosmosModuleSupport, a8 as CosmosMsg, a9 as CosmosTx, aa as CosmosTxWrapper, a5 as Erc20Approval, a7 as Error, a6 as ErrorDetail, a_ as EurekaTransfer, a$ as EurekaTransferInfo, b0 as EurekaTransferWrapper, ab as EvmSwap, ac as EvmSwapWrapper, ad as EvmTx, ae as EvmTxWrapper, b7 as Fee, ah as FeeAsset, F as FeeBehavior, a as FeeType, bE as FullRequestParams, bB as FungibleAssetsBetweenChainsCreateResponse, aj as GRPCStatusCode, ai as GoFastFee, M as GoFastTransfer, Q as GoFastTransferInfo, G as GoFastTransferState, N as GoFastTransferTxs, U as GoFastTransferWrapper, bJ as HttpClient, bH as HttpResponse, ak as HyperlaneTransfer, al as HyperlaneTransferInfo, H as HyperlaneTransferState, am as HyperlaneTransferTransactions, an as HyperlaneTransferWrapper, ao as IBCTransferInfo, b6 as IbcCapabilities, bh as IbcOriginAssetsRequest, bA as IbcOriginAssetsResponse, b1 as LayerZeroTransfer, b2 as LayerZeroTransferInfo, L as LayerZeroTransferState, av as LayerZeroTransferTransactions, b3 as LayerZeroTransferWrapper, ap as Msg, bb as MsgsDirectRequest, bu as MsgsDirectResponse, ba as MsgsRequest, bt as MsgsResponse, ar as MultiChainMsg, as as MultiChainMsgWrapper, aR as OPInitTransfer, aT as OPInitTransferInfo, O as OPInitTransferState, aU as OPInitTransferTxs, aS as OPInitTransferWrapper, at as Operation, au as OptionalAsset, aw as Packet, ax as PacketError, P as PacketErrorType, az as PostHandler, bC as QueryParamsType, d as Reason, b4 as RecommendationRequest, bF as RequestParams, bD as ResponseFormat, aA as Route, R as RoutePriceWarningType, bs as RouteResponse, aB as SendTokenError, c as SendTokenErrorType, aC as SendTokenTxs, u as SmartRelayFeeQuote, aL as SmartSwapExactCoinIn, aN as SmartSwapInWrapper, aM as SmartSwapOptions, E as StargateTransfer, J as StargateTransferInfo, f as StargateTransferState, I as StargateTransferTxs, K as StargateTransferWrapper, aD as StatusError, S as StatusErrorType, by as StatusRequest, bz as StatusResponse, bg as StatusTxResponse, bw as SubmitResponse, bd as SubmitTxRequest, af as SvmTx, ag as SvmTxWrapper, aE as Swap, aF as SwapExactCoinIn, aG as SwapExactCoinOut, aH as SwapInWrapper, aI as SwapOperation, aJ as SwapOutWrapper, aK as SwapRoute, aO as SwapVenue, aP as SwapWrapper, bx as TrackResponse, be as TrackTxRequest, bf as TrackTxResponse, aQ as TransactionExecutionErrorDetails, b as TransactionState, aV as Transfer, aX as TransferAssetRelease, aW as TransferEvent, T as TransferState, aY as TransferStatus, aZ as TransferWrapper, aq as Tx, bn as VenuesRequest, bo as VenuesResponse } from './swaggerTypes-CzGbnX_b.js';
2
+ export { C as ClientTransferEvent, E as ExecuteRouteOptions, O as OverallStatus, R as RouteDetails, a as RouteStatus, h as TransactionCallbacks, T as TransactionDetails, b as TransactionStatus, c as TransferEventStatus, d as TransferType, e as executeRoute, f as getSimpleOverallStatus, g as getTransferEventsFromTxStatusResponse, s as subscribeToRouteStatus } from './callbacks-DdC6QMlE.js';
3
+ export { B as BaseSettings, E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-D03Tellv.js';
4
4
  export { assets } from './api/getAssets.js';
5
5
  export { assetsBetweenChains } from './api/getAssetsBetweenChains.js';
6
6
  export { bridges } from './api/getBridges.js';
@@ -19,7 +19,7 @@ export { trackTransaction } from './api/postTrackTransaction.js';
19
19
  export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
20
20
  export { ExecuteMultipleRoutesOptions, executeMultipleRoutes } from './public-functions/executeMultipleRoutes.js';
21
21
  export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
22
- export { C as ClientState, S as SkipClientOptions, s as setClientOptions } from './setClientOptions-QO8p3yRr.js';
22
+ export { C as ClientState, S as SkipClientOptions, s as setClientOptions } from './setClientOptions-CTwe8YVX.js';
23
23
  export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
24
24
  export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
25
25
  export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
@@ -27,7 +27,7 @@ export { waitForTransaction, waitForTransactionWithCancel } from './public-funct
27
27
  export { getCosmosGasAmountForMessage } from './public-functions/getCosmosGasAmountForMessage.js';
28
28
  export { getEVMGasAmountForMessage } from './public-functions/getEvmGasAmountForMessage.js';
29
29
  export { validateCosmosGasBalance } from './public-functions/validateCosmosGasBalance.js';
30
- import './generateApi-Bi3W_Sti.js';
30
+ import './generateApi-Bv02Xt5y.js';
31
31
  import '@cosmjs/amino';
32
32
  import '@cosmjs/proto-signing';
33
33
  import '@cosmjs/stargate';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { AutopilotActionJson, AxelarTransferStateJson, AxelarTransferTypeJson, BridgeTypeJson, CCTPTransferStateJson, ChainTypeJson, ContractCallWithTokenErrorTypeJson, FeeBehaviorJson, FeeTypeJson, GoFastTransferStateJson, HyperlaneTransferStateJson, LayerZeroTransferStateJson, OPInitTransferStateJson, PacketErrorTypeJson, ReasonJson, RoutePriceWarningTypeJson, SendTokenErrorTypeJson, StargateTransferStateJson, StatusErrorTypeJson, TransactionStateJson, TransferStateJson, getRouteWithGasOnReceive } from './chunk-A4HQEGYV.js';
1
+ export { AutopilotActionJson, AxelarTransferStateJson, AxelarTransferTypeJson, BridgeTypeJson, CCTPTransferStateJson, ChainTypeJson, ContractCallWithTokenErrorTypeJson, FeeBehaviorJson, FeeTypeJson, GoFastTransferStateJson, HyperlaneTransferStateJson, LayerZeroTransferStateJson, OPInitTransferStateJson, PacketErrorTypeJson, ReasonJson, RoutePriceWarningTypeJson, SendTokenErrorTypeJson, StargateTransferStateJson, StatusErrorTypeJson, TransactionStateJson, TransferStateJson, getRouteWithGasOnReceive } from './chunk-RH7PDDI5.js';
2
2
  export { setClientOptions } from './chunk-GZJLX2CP.js';
3
3
  export { setApiOptions } from './chunk-QYXGDTUU.js';
4
4
  export { waitForTransaction, waitForTransactionWithCancel } from './chunk-E4NRDAVO.js';
@@ -1,7 +1,7 @@
1
- import { h as TransactionCallbacks } from '../callbacks-1e6BnDot.js';
2
- import { bq as RouteResponse, a6 as CosmosMsg, ax as PostHandler } from '../swaggerTypes-Cvh0GDv-.js';
3
- import { A as ApiRequest } from '../generateApi-Bi3W_Sti.js';
4
- import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress } from '../client-types-Bz-WqtM3.js';
1
+ import { h as TransactionCallbacks } from '../callbacks-DdC6QMlE.js';
2
+ import { bs as RouteResponse, a8 as CosmosMsg, az as PostHandler } from '../swaggerTypes-CzGbnX_b.js';
3
+ import { A as ApiRequest } from '../generateApi-Bv02Xt5y.js';
4
+ import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress } from '../client-types-D03Tellv.js';
5
5
  import '../api/postTransactionStatus.js';
6
6
  import '../apiState-1VvikVK-.js';
7
7
  import '@cosmjs/amino';
@@ -1,7 +1,7 @@
1
- export { E as ExecuteRouteOptions, e as executeRoute } from '../callbacks-1e6BnDot.js';
2
- import '../swaggerTypes-Cvh0GDv-.js';
3
- import '../generateApi-Bi3W_Sti.js';
4
- import '../client-types-Bz-WqtM3.js';
1
+ export { E as ExecuteRouteOptions, e as executeRoute } from '../callbacks-DdC6QMlE.js';
2
+ import '../swaggerTypes-CzGbnX_b.js';
3
+ import '../generateApi-Bv02Xt5y.js';
4
+ import '../client-types-D03Tellv.js';
5
5
  import '../api/postTransactionStatus.js';
6
6
  import '../apiState-1VvikVK-.js';
7
7
  import '@cosmjs/amino';
@@ -1,6 +1,6 @@
1
1
  import { EncodeObject } from '@cosmjs/proto-signing';
2
2
  import { SigningStargateClient } from '@cosmjs/stargate';
3
- import { a6 as CosmosMsg } from '../swaggerTypes-Cvh0GDv-.js';
3
+ import { a8 as CosmosMsg } from '../swaggerTypes-CzGbnX_b.js';
4
4
 
5
5
  declare const DEFAULT_GAS_MULTIPLIER = 1.5;
6
6
  declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainId: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
@@ -1,5 +1,5 @@
1
- import { G as GetFallbackGasAmount } from '../client-types-Bz-WqtM3.js';
2
- import { ab as EvmTx } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { G as GetFallbackGasAmount } from '../client-types-D03Tellv.js';
2
+ import { ad as EvmTx } from '../swaggerTypes-CzGbnX_b.js';
3
3
  import { WalletClient } from 'viem';
4
4
  import '@cosmjs/amino';
5
5
  import '@cosmjs/proto-signing';
@@ -7,7 +7,7 @@ import '@cosmjs/stargate';
7
7
  import '@solana/wallet-adapter-base';
8
8
  import '../api/postTrackTransaction.js';
9
9
  import '../apiState-1VvikVK-.js';
10
- import '../generateApi-Bi3W_Sti.js';
10
+ import '../generateApi-Bv02Xt5y.js';
11
11
 
12
12
  declare function getEVMGasAmountForMessage(signer: WalletClient, tx: EvmTx, getFallbackGasAmount?: GetFallbackGasAmount): Promise<bigint>;
13
13
 
@@ -1,4 +1,4 @@
1
- import { af as FeeAsset } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { ah as FeeAsset } from '../swaggerTypes-CzGbnX_b.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
3
 
4
4
  type GetFeeInfoForChainProps = {
@@ -1,4 +1,4 @@
1
- import { bq as RouteResponse, bJ as RouteRequest, ay as Route } from '../swaggerTypes-Cvh0GDv-.js';
1
+ import { bs as RouteResponse, bL as RouteRequest, aA as Route } from '../swaggerTypes-CzGbnX_b.js';
2
2
 
3
3
  /**
4
4
  * Routes with gas on receive.
@@ -1,4 +1,4 @@
1
- export { getRouteWithGasOnReceive } from '../chunk-A4HQEGYV.js';
1
+ export { getRouteWithGasOnReceive } from '../chunk-RH7PDDI5.js';
2
2
  import '../chunk-GZJLX2CP.js';
3
3
  import '../chunk-QYXGDTUU.js';
4
4
  import '../chunk-E4NRDAVO.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { _ as ChainAffiliates } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { a0 as ChainAffiliates } from '../swaggerTypes-CzGbnX_b.js';
3
3
 
4
4
  type SetApiOptionsProps = {
5
5
  chainIdsToAffiliates?: Record<string, ChainAffiliates>;
@@ -1,10 +1,10 @@
1
- export { s as setClientOptions } from '../setClientOptions-QO8p3yRr.js';
1
+ export { s as setClientOptions } from '../setClientOptions-CTwe8YVX.js';
2
2
  import '@cosmjs/proto-signing';
3
3
  import '@cosmjs/stargate';
4
- import '../swaggerTypes-Cvh0GDv-.js';
5
- import '../generateApi-Bi3W_Sti.js';
4
+ import '../swaggerTypes-CzGbnX_b.js';
5
+ import '../generateApi-Bv02Xt5y.js';
6
6
  import '../apiState-1VvikVK-.js';
7
- import '../client-types-Bz-WqtM3.js';
7
+ import '../client-types-D03Tellv.js';
8
8
  import '@cosmjs/amino';
9
9
  import 'viem';
10
10
  import '@solana/wallet-adapter-base';
@@ -1,8 +1,8 @@
1
1
  import '../api/postTransactionStatus.js';
2
- import '../swaggerTypes-Cvh0GDv-.js';
3
- export { R as RouteDetails, a as RouteStatus, T as TransactionDetails, b as TransactionStatus, l as executeAndSubscribeToRouteStatus, k as executeAndSubscribeToRouteStatusProps, i as getTransactionStatus, s as subscribeToRouteStatus, j as subscribeToRouteStatusProps, u as updateRouteDetails } from '../callbacks-1e6BnDot.js';
4
- import '../client-types-Bz-WqtM3.js';
5
- import '../generateApi-Bi3W_Sti.js';
2
+ import '../swaggerTypes-CzGbnX_b.js';
3
+ export { R as RouteDetails, a as RouteStatus, T as TransactionDetails, b as TransactionStatus, l as executeAndSubscribeToRouteStatus, k as executeAndSubscribeToRouteStatusProps, i as getTransactionStatus, s as subscribeToRouteStatus, j as subscribeToRouteStatusProps, u as updateRouteDetails } from '../callbacks-DdC6QMlE.js';
4
+ import '../client-types-D03Tellv.js';
5
+ import '../generateApi-Bv02Xt5y.js';
6
6
  import '../apiState-1VvikVK-.js';
7
7
  import '@cosmjs/amino';
8
8
  import '@cosmjs/proto-signing';
@@ -1,10 +1,10 @@
1
1
  import * as _cosmjs_stargate from '@cosmjs/stargate';
2
- import { a6 as CosmosMsg, af as FeeAsset } from '../swaggerTypes-Cvh0GDv-.js';
2
+ import { a8 as CosmosMsg, ah as FeeAsset } from '../swaggerTypes-CzGbnX_b.js';
3
3
  import { OfflineSigner } from '@cosmjs/proto-signing';
4
- import { E as ExecuteRouteOptions } from '../callbacks-1e6BnDot.js';
5
- import { G as GetFallbackGasAmount } from '../client-types-Bz-WqtM3.js';
4
+ import { E as ExecuteRouteOptions } from '../callbacks-DdC6QMlE.js';
5
+ import { G as GetFallbackGasAmount } from '../client-types-D03Tellv.js';
6
6
  import '../api/postTransactionStatus.js';
7
- import '../generateApi-Bi3W_Sti.js';
7
+ import '../generateApi-Bv02Xt5y.js';
8
8
  import '../apiState-1VvikVK-.js';
9
9
  import '@cosmjs/amino';
10
10
  import 'viem';
@@ -1,8 +1,8 @@
1
- import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-Cvh0GDv-.js';
2
- import { h as TransactionCallbacks } from '../callbacks-1e6BnDot.js';
3
- import { T as TxResult } from '../client-types-Bz-WqtM3.js';
1
+ import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-CzGbnX_b.js';
2
+ import { h as TransactionCallbacks } from '../callbacks-DdC6QMlE.js';
3
+ import { T as TxResult } from '../client-types-D03Tellv.js';
4
4
  import { TxStatusResponse } from '../api/postTransactionStatus.js';
5
- import '../generateApi-Bi3W_Sti.js';
5
+ import '../generateApi-Bv02Xt5y.js';
6
6
  import '@cosmjs/amino';
7
7
  import '@cosmjs/proto-signing';
8
8
  import '@cosmjs/stargate';
@@ -1,9 +1,9 @@
1
1
  import { GeneratedType, Registry } from '@cosmjs/proto-signing';
2
2
  import { AminoConverters, AminoTypes, SigningStargateClient } from '@cosmjs/stargate';
3
- import { Z as Chain, m as Asset } from './swaggerTypes-Cvh0GDv-.js';
4
- import { a as ApiResponse } from './generateApi-Bi3W_Sti.js';
3
+ import { $ as Chain, m as Asset } from './swaggerTypes-CzGbnX_b.js';
4
+ import { a as ApiResponse } from './generateApi-Bv02Xt5y.js';
5
5
  import { S as SkipApiOptions } from './apiState-1VvikVK-.js';
6
- import { E as EndpointOptions, V as ValidateGasResult } from './client-types-Bz-WqtM3.js';
6
+ import { E as EndpointOptions, V as ValidateGasResult } from './client-types-D03Tellv.js';
7
7
 
8
8
  type GetMainnetAndTestnetAssetsProps = {
9
9
  chainId?: string;
@@ -469,6 +469,23 @@ interface CCTPTransferWrapper {
469
469
  /** A transfer facilitated by the CCTP bridge */
470
470
  cctpTransfer?: CCTPTransfer;
471
471
  }
472
+ interface CCTPTransferV2 {
473
+ fromChainId?: string;
474
+ toChainId?: string;
475
+ burnToken?: string;
476
+ denomIn?: string;
477
+ denomOut?: string;
478
+ bridgeId?: BridgeType;
479
+ smartRelay?: boolean;
480
+ smartRelayFeeQuote?: SmartRelayFeeQuote;
481
+ destinationDomain?: number;
482
+ finalityThreshold?: number;
483
+ maxFee?: string;
484
+ }
485
+ interface CCTPTransferV2Wrapper {
486
+ /** A transfer facilitated by the CCTP V2 bridge */
487
+ cctpTransferV2?: CCTPTransferV2;
488
+ }
472
489
  /** A transfer facilitated by the Stargate bridge */
473
490
  interface StargateTransfer {
474
491
  /** Canonical chain-id of the source chain of the bridge transaction */
@@ -910,7 +927,7 @@ interface MultiChainMsgWrapper {
910
927
  /** A message that interacts with multiple chains */
911
928
  multiChainMsg?: MultiChainMsg;
912
929
  }
913
- type Operation = (TransferWrapper | SwapWrapper | AxelarTransferWrapper | BankSendWrapper | CCTPTransferWrapper | HyperlaneTransferWrapper | EvmSwapWrapper | OPInitTransferWrapper | GoFastTransferWrapper | StargateTransferWrapper | LayerZeroTransferWrapper | EurekaTransferWrapper) & {
930
+ type Operation = (TransferWrapper | SwapWrapper | AxelarTransferWrapper | BankSendWrapper | CCTPTransferWrapper | CCTPTransferV2Wrapper | HyperlaneTransferWrapper | EvmSwapWrapper | OPInitTransferWrapper | GoFastTransferWrapper | StargateTransferWrapper | LayerZeroTransferWrapper | EurekaTransferWrapper) & {
914
931
  /** Index of the tx returned from Msgs that executes this operation */
915
932
  txIndex: number;
916
933
  /** Amount of input asset to this operation */
@@ -2047,4 +2064,4 @@ declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityD
2047
2064
  fungibleAssetsBetweenChainsCreate: (data: AssetsBetweenChainsRequest, params?: RequestParams) => Promise<HttpResponse<FungibleAssetsBetweenChainsCreateResponse, Error>>;
2048
2065
  }
2049
2066
 
2050
- export { type ContractCallWithTokenError as $, AxelarTransferType as A, BridgeType as B, ContractCallWithTokenErrorType as C, type StargateTransferTxs as D, type StargateTransferInfo as E, FeeBehavior as F, GoFastTransferState as G, HyperlaneTransferState as H, type StargateTransferWrapper as I, type GoFastTransfer as J, type GoFastTransferTxs as K, LayerZeroTransferState as L, type GoFastTransferInfo as M, type GoFastTransferWrapper as N, OPInitTransferState as O, PacketErrorType as P, type BalanceRequestChainEntry as Q, RoutePriceWarningType as R, StatusErrorType as S, TransferState as T, type BalanceResponseDenomEntry as U, type BalanceResponseChainEntry as V, type BankSend as W, type BankSendWrapper as X, type Bridge as Y, type Chain as Z, type ChainAffiliates as _, FeeType as a, type LayerZeroTransfer as a$, type ContractCallWithTokenTxs as a0, type CosmWasmContractMsg as a1, type CosmWasmContractMsgWrapper as a2, type Erc20Approval as a3, type ErrorDetail as a4, type Error as a5, type CosmosMsg as a6, type CosmosTx as a7, type CosmosTxWrapper as a8, type EvmSwap as a9, type SendTokenTxs as aA, type StatusError as aB, type Swap as aC, type SwapExactCoinIn as aD, type SwapExactCoinOut as aE, type SwapInWrapper as aF, type SwapOperation as aG, type SwapOutWrapper as aH, type SwapRoute as aI, type SmartSwapExactCoinIn as aJ, type SmartSwapOptions as aK, type SmartSwapInWrapper as aL, type SwapVenue as aM, type SwapWrapper as aN, type TransactionExecutionErrorDetails as aO, type OPInitTransfer as aP, type OPInitTransferWrapper as aQ, type OPInitTransferInfo as aR, type OPInitTransferTxs as aS, type Transfer as aT, type TransferEvent as aU, type TransferAssetRelease as aV, type TransferStatus as aW, type TransferWrapper as aX, type EurekaTransfer as aY, type EurekaTransferInfo as aZ, type EurekaTransferWrapper as a_, type EvmSwapWrapper as aa, type EvmTx as ab, type EvmTxWrapper as ac, type SvmTx as ad, type SvmTxWrapper as ae, type FeeAsset as af, type GoFastFee as ag, type GRPCStatusCode as ah, type HyperlaneTransfer as ai, type HyperlaneTransferInfo as aj, type HyperlaneTransferTransactions as ak, type HyperlaneTransferWrapper as al, type IBCTransferInfo as am, type Msg as an, type Tx as ao, type MultiChainMsg as ap, type MultiChainMsgWrapper as aq, type Operation as ar, type OptionalAsset as as, type LayerZeroTransferTransactions as at, type Packet as au, type PacketError as av, type ChainTransaction as aw, type PostHandler as ax, type Route as ay, type SendTokenError as az, TransactionState as b, type LayerZeroTransferInfo as b0, type LayerZeroTransferWrapper as b1, type RecommendationRequest as b2, type CosmosModuleSupport as b3, type IbcCapabilities as b4, type Fee as b5, type BalancesRequest as b6, type AssetsFromSourceRequest as b7, type MsgsRequest as b8, type MsgsDirectRequest as b9, type QueryParamsType as bA, type ResponseFormat as bB, type FullRequestParams as bC, type RequestParams as bD, type ApiConfig as bE, type HttpResponse as bF, ContentType as bG, HttpClient as bH, Api as bI, type RouteRequest as bJ, type AssetRecommendationsRequest as ba, type SubmitTxRequest as bb, type TrackTxRequest as bc, type TrackTxResponse as bd, type StatusTxResponse as be, type IbcOriginAssetsRequest as bf, type AssetsBetweenChainsRequest as bg, type ChainsRequest as bh, type ChainsResponse as bi, type BalancesResponse as bj, type BridgesResponse as bk, type VenuesRequest as bl, type VenuesResponse as bm, type AssetsRequest as bn, type AssetsResponse as bo, type AssetsFromSourceResponse as bp, type RouteResponse as bq, type MsgsResponse as br, type MsgsDirectResponse as bs, type AssetRecommendationsResponse as bt, type SubmitResponse as bu, type TrackResponse as bv, type StatusRequest as bw, type StatusResponse as bx, type IbcOriginAssetsResponse as by, type FungibleAssetsBetweenChainsCreateResponse as bz, SendTokenErrorType as c, Reason as d, ChainType as e, StargateTransferState as f, CCTPTransferState as g, AxelarTransferState as h, AutopilotAction as i, type AcknowledgementErrorDetails as j, type Affiliate as k, type ApiError as l, type Asset as m, type AssetBetweenChains as n, type AssetRecommendation as o, type AutopilotMsg as p, type AutopilotMsgWrapper as q, type AxelarTransfer as r, type AxelarTransferInfo as s, type AxelarTransferWrapper as t, type SmartRelayFeeQuote as u, type CCTPTransfer as v, type CCTPTransferInfo as w, type CCTPTransferTxs as x, type CCTPTransferWrapper as y, type StargateTransfer as z };
2067
+ export { type Chain as $, AxelarTransferType as A, BridgeType as B, ContractCallWithTokenErrorType as C, type CCTPTransferV2Wrapper as D, type StargateTransfer as E, FeeBehavior as F, GoFastTransferState as G, HyperlaneTransferState as H, type StargateTransferTxs as I, type StargateTransferInfo as J, type StargateTransferWrapper as K, LayerZeroTransferState as L, type GoFastTransfer as M, type GoFastTransferTxs as N, OPInitTransferState as O, PacketErrorType as P, type GoFastTransferInfo as Q, RoutePriceWarningType as R, StatusErrorType as S, TransferState as T, type GoFastTransferWrapper as U, type BalanceRequestChainEntry as V, type BalanceResponseDenomEntry as W, type BalanceResponseChainEntry as X, type BankSend as Y, type BankSendWrapper as Z, type Bridge as _, FeeType as a, type EurekaTransferInfo as a$, type ChainAffiliates as a0, type ContractCallWithTokenError as a1, type ContractCallWithTokenTxs as a2, type CosmWasmContractMsg as a3, type CosmWasmContractMsgWrapper as a4, type Erc20Approval as a5, type ErrorDetail as a6, type Error as a7, type CosmosMsg as a8, type CosmosTx as a9, type Route as aA, type SendTokenError as aB, type SendTokenTxs as aC, type StatusError as aD, type Swap as aE, type SwapExactCoinIn as aF, type SwapExactCoinOut as aG, type SwapInWrapper as aH, type SwapOperation as aI, type SwapOutWrapper as aJ, type SwapRoute as aK, type SmartSwapExactCoinIn as aL, type SmartSwapOptions as aM, type SmartSwapInWrapper as aN, type SwapVenue as aO, type SwapWrapper as aP, type TransactionExecutionErrorDetails as aQ, type OPInitTransfer as aR, type OPInitTransferWrapper as aS, type OPInitTransferInfo as aT, type OPInitTransferTxs as aU, type Transfer as aV, type TransferEvent as aW, type TransferAssetRelease as aX, type TransferStatus as aY, type TransferWrapper as aZ, type EurekaTransfer as a_, type CosmosTxWrapper as aa, type EvmSwap as ab, type EvmSwapWrapper as ac, type EvmTx as ad, type EvmTxWrapper as ae, type SvmTx as af, type SvmTxWrapper as ag, type FeeAsset as ah, type GoFastFee as ai, type GRPCStatusCode as aj, type HyperlaneTransfer as ak, type HyperlaneTransferInfo as al, type HyperlaneTransferTransactions as am, type HyperlaneTransferWrapper as an, type IBCTransferInfo as ao, type Msg as ap, type Tx as aq, type MultiChainMsg as ar, type MultiChainMsgWrapper as as, type Operation as at, type OptionalAsset as au, type LayerZeroTransferTransactions as av, type Packet as aw, type PacketError as ax, type ChainTransaction as ay, type PostHandler as az, TransactionState as b, type EurekaTransferWrapper as b0, type LayerZeroTransfer as b1, type LayerZeroTransferInfo as b2, type LayerZeroTransferWrapper as b3, type RecommendationRequest as b4, type CosmosModuleSupport as b5, type IbcCapabilities as b6, type Fee as b7, type BalancesRequest as b8, type AssetsFromSourceRequest as b9, type IbcOriginAssetsResponse as bA, type FungibleAssetsBetweenChainsCreateResponse as bB, type QueryParamsType as bC, type ResponseFormat as bD, type FullRequestParams as bE, type RequestParams as bF, type ApiConfig as bG, type HttpResponse as bH, ContentType as bI, HttpClient as bJ, Api as bK, type RouteRequest as bL, type MsgsRequest as ba, type MsgsDirectRequest as bb, type AssetRecommendationsRequest as bc, type SubmitTxRequest as bd, type TrackTxRequest as be, type TrackTxResponse as bf, type StatusTxResponse as bg, type IbcOriginAssetsRequest as bh, type AssetsBetweenChainsRequest as bi, type ChainsRequest as bj, type ChainsResponse as bk, type BalancesResponse as bl, type BridgesResponse as bm, type VenuesRequest as bn, type VenuesResponse as bo, type AssetsRequest as bp, type AssetsResponse as bq, type AssetsFromSourceResponse as br, type RouteResponse as bs, type MsgsResponse as bt, type MsgsDirectResponse as bu, type AssetRecommendationsResponse as bv, type SubmitResponse as bw, type TrackResponse as bx, type StatusRequest as by, type StatusResponse as bz, SendTokenErrorType as c, Reason as d, ChainType as e, StargateTransferState as f, CCTPTransferState as g, AxelarTransferState as h, AutopilotAction as i, type AcknowledgementErrorDetails as j, type Affiliate as k, type ApiError as l, type Asset as m, type AssetBetweenChains as n, type AssetRecommendation as o, type AutopilotMsg as p, type AutopilotMsgWrapper as q, type AxelarTransfer as r, type AxelarTransferInfo as s, type AxelarTransferWrapper as t, type SmartRelayFeeQuote as u, type CCTPTransfer as v, type CCTPTransferInfo as w, type CCTPTransferTxs as x, type CCTPTransferWrapper as y, type CCTPTransferV2 as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/client",
3
3
  "description": "JavaScript SDK for Skip Go API",
4
- "version": "1.6.0-alpha.0",
4
+ "version": "1.6.0-alpha.2",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
7
  "main": "./dist/cjs/index.cjs",