@skip-go/client 1.1.0 → 1.1.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 (64) hide show
  1. package/dist/api/getAssets.d.ts +1 -1
  2. package/dist/api/getAssets.js +2 -2
  3. package/dist/api/getAssetsBetweenChains.d.ts +1 -1
  4. package/dist/api/getAssetsBetweenChains.js +2 -2
  5. package/dist/api/getBridges.d.ts +1 -1
  6. package/dist/api/getBridges.js +2 -2
  7. package/dist/api/getChains.d.ts +1 -1
  8. package/dist/api/getChains.js +2 -2
  9. package/dist/api/getVenues.js +2 -2
  10. package/dist/api/postAssetsFromSource.d.ts +1 -1
  11. package/dist/api/postAssetsFromSource.js +3 -3
  12. package/dist/api/postBalances.d.ts +4 -4
  13. package/dist/api/postBalances.js +2 -2
  14. package/dist/api/postIbcOriginAssets.js +2 -2
  15. package/dist/api/postMessages.d.ts +42 -4
  16. package/dist/api/postMessages.js +2 -2
  17. package/dist/api/postMessagesDirect.d.ts +40 -2
  18. package/dist/api/postMessagesDirect.js +2 -2
  19. package/dist/api/postRecommendAssets.d.ts +1 -1
  20. package/dist/api/postRecommendAssets.js +2 -2
  21. package/dist/api/postRoute.d.ts +42 -4
  22. package/dist/api/postRoute.js +2 -2
  23. package/dist/api/postSubmitTransaction.js +2 -2
  24. package/dist/api/postTrackTransaction.js +2 -2
  25. package/dist/api/postTransactionStatus.d.ts +4 -4
  26. package/dist/api/postTransactionStatus.js +2 -2
  27. package/dist/{chunk-33K6EESX.js → chunk-2NYWLY5S.js} +2 -2
  28. package/dist/{chunk-RMP3HM5N.js → chunk-5EU3SRDQ.js} +3 -3
  29. package/dist/{chunk-DW4U6YI6.js → chunk-7FSLD7Y4.js} +2 -2
  30. package/dist/{chunk-RDRDFJQE.js → chunk-7P6AOFMX.js} +2 -2
  31. package/dist/{chunk-MGVXJ2U4.js → chunk-BCN2WD5Q.js} +2 -2
  32. package/dist/{chunk-BRMONS6A.js → chunk-EAUM5JYS.js} +4 -4
  33. package/dist/{chunk-L2KVKJG4.js → chunk-GTJ2EDUG.js} +2 -2
  34. package/dist/{chunk-BQTQJQ5E.js → chunk-H6RXHDUX.js} +2 -2
  35. package/dist/{chunk-TW77BXMT.js → chunk-KWVMUF5R.js} +1 -1
  36. package/dist/{chunk-UNF72WYO.js → chunk-PWSY2PQJ.js} +1 -1
  37. package/dist/{chunk-4JJWOILI.js → chunk-PZM2IB6H.js} +2 -2
  38. package/dist/{chunk-GARVPN2H.js → chunk-R2N4D2PY.js} +2 -2
  39. package/dist/{chunk-MTMPHY3Y.js → chunk-R3KHKN33.js} +1 -1
  40. package/dist/{chunk-C2EDPY6J.js → chunk-RL5AVCSG.js} +2 -2
  41. package/dist/{chunk-W6TBGBV3.js → chunk-SOGMQT4H.js} +68 -28
  42. package/dist/{chunk-VMPFHQ7U.js → chunk-T2TOUPEA.js} +1 -1
  43. package/dist/{chunk-SONZJVQM.js → chunk-UPL6CT4S.js} +1 -1
  44. package/dist/{chunk-KNV72XRZ.js → chunk-VRPPVMXO.js} +2 -2
  45. package/dist/{chunk-PRQ2NHRZ.js → chunk-WWDCZAB5.js} +2 -2
  46. package/dist/{chunk-F75DC5RW.js → chunk-XS6ZMEDX.js} +48 -22
  47. package/dist/{client-types-CRJ3C0Fs.d.ts → client-types-BvdIj_Nf.d.ts} +1 -1
  48. package/dist/{executeRoute-DuwZ4QCT.d.ts → executeRoute-CxEpxhJ4.d.ts} +4 -4
  49. package/dist/{generateApi-B9tL1Q3P.d.ts → generateApi-BXIkShKU.d.ts} +1 -1
  50. package/dist/index.d.ts +155 -9
  51. package/dist/index.js +20 -20
  52. package/dist/public-functions/executeRoute.d.ts +4 -4
  53. package/dist/public-functions/executeRoute.js +9 -8
  54. package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
  55. package/dist/public-functions/getFeeInfoForChain.js +3 -3
  56. package/dist/public-functions/getRecommendedGasPrice.js +4 -4
  57. package/dist/public-functions/getSigningStargateClient.js +3 -3
  58. package/dist/public-functions/setApiOptions.d.ts +1 -1
  59. package/dist/public-functions/setApiOptions.js +2 -2
  60. package/dist/public-functions/setClientOptions.d.ts +3 -3
  61. package/dist/public-functions/setClientOptions.js +3 -3
  62. package/dist/{setClientOptions-BvZ71LJa.d.ts → setClientOptions-BkD-BMo7.d.ts} +1 -1
  63. package/dist/{swaggerTypes-zXseZjSi.d.ts → swaggerTypes-A72fxJ5y.d.ts} +228 -162
  64. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { c as Asset } from '../swaggerTypes-zXseZjSi.js';
2
+ import { c as Asset } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const assets: (options?: ({
5
5
  chainIds?: string[] | undefined;
@@ -1,2 +1,2 @@
1
- export { assets, transformAssetsMap } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { assets, transformAssetsMap } from '../chunk-EAUM5JYS.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,4 +1,4 @@
1
- import { I as BridgeType } from '../swaggerTypes-zXseZjSi.js';
1
+ import { J as BridgeType } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  declare const assetsBetweenChains: (options?: ({
@@ -1,2 +1,2 @@
1
- export { assetsBetweenChains } from '../chunk-MTMPHY3Y.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { assetsBetweenChains } from '../chunk-R3KHKN33.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { ba as ContentType, I as BridgeType } from '../swaggerTypes-zXseZjSi.js';
2
+ import { bu as ContentType, J as BridgeType } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const bridges: (options?: ({
5
5
  cache?: RequestCache | undefined;
@@ -1,2 +1,2 @@
1
- export { bridges } from '../chunk-KNV72XRZ.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { bridges } from '../chunk-VRPPVMXO.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,4 +1,4 @@
1
- import { K as ChainType } from '../swaggerTypes-zXseZjSi.js';
1
+ import { L as ChainType } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  declare const chains: (options?: ({
@@ -1,2 +1,2 @@
1
- export { chains } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { chains } from '../chunk-EAUM5JYS.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { venues } from '../chunk-C2EDPY6J.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { venues } from '../chunk-RL5AVCSG.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,4 +1,4 @@
1
- import { c as Asset } from '../swaggerTypes-zXseZjSi.js';
1
+ import { c as Asset } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  declare const assetsFromSource: (options?: ({
@@ -1,3 +1,3 @@
1
- export { assetsFromSource } from '../chunk-RMP3HM5N.js';
2
- import '../chunk-BRMONS6A.js';
3
- import '../chunk-W6TBGBV3.js';
1
+ export { assetsFromSource } from '../chunk-5EU3SRDQ.js';
2
+ import '../chunk-EAUM5JYS.js';
3
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-B9tL1Q3P.js';
3
- import '../swaggerTypes-zXseZjSi.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-BXIkShKU.js';
3
+ import '../swaggerTypes-A72fxJ5y.js';
4
4
 
5
5
  declare const balances: (options?: ({
6
6
  chains?: {
@@ -29,7 +29,7 @@ declare const balances: (options?: ({
29
29
  };
30
30
  } | undefined;
31
31
  } | undefined>;
32
- type BalanceRequest = ApiRequest<"getBalances">;
33
- type BalanceResponse = ApiResponse<"getBalances">;
32
+ type BalanceRequest = ApiRequest<"balances">;
33
+ type BalanceResponse = ApiResponse<"balances">;
34
34
 
35
35
  export { type BalanceRequest, type BalanceResponse, balances };
@@ -1,2 +1,2 @@
1
- export { balances } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { balances } from '../chunk-EAUM5JYS.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { ibcOriginAssets } from '../chunk-PRQ2NHRZ.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { ibcOriginAssets } from '../chunk-WWDCZAB5.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { I as BridgeType, f as AutopilotAction, b2 as FeeType } from '../swaggerTypes-zXseZjSi.js';
3
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-B9tL1Q3P.js';
2
+ import { J as BridgeType, f as AutopilotAction, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
3
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-BXIkShKU.js';
4
4
 
5
5
  declare const messages: (options?: ({
6
6
  sourceAssetDenom: string;
@@ -153,6 +153,44 @@ declare const messages: (options?: ({
153
153
  txIndex: number;
154
154
  amountIn: string;
155
155
  amountOut: string;
156
+ } | {
157
+ goFastTransfer?: {
158
+ fromChainId?: string | undefined;
159
+ toChainId?: string | undefined;
160
+ bridgeId?: BridgeType | undefined;
161
+ denomIn?: string | undefined;
162
+ denomOut?: string | undefined;
163
+ fee?: {
164
+ feeAsset: {
165
+ chainId: string;
166
+ coingeckoId?: string | undefined;
167
+ decimals?: number | undefined;
168
+ denom: string;
169
+ description?: string | undefined;
170
+ isCw20: boolean;
171
+ isEvm: boolean;
172
+ isSvm: boolean;
173
+ logoUri?: string | undefined;
174
+ name?: string | undefined;
175
+ originChainId: string;
176
+ originDenom: string;
177
+ recommendedSymbol?: string | undefined;
178
+ symbol?: string | undefined;
179
+ tokenContract?: string | undefined;
180
+ trace: string;
181
+ };
182
+ bpsFee?: string | undefined;
183
+ bpsFeeAmount?: string | undefined;
184
+ bpsFeeUsd?: string | undefined;
185
+ sourceChainFeeAmount?: string | undefined;
186
+ sourceChainFeeUsd?: string | undefined;
187
+ destinationChainFeeAmount?: string | undefined;
188
+ destinationChainFeeUsd?: string | undefined;
189
+ } | undefined;
190
+ } | undefined;
191
+ txIndex: number;
192
+ amountIn: string;
193
+ amountOut: string;
156
194
  } | {
157
195
  bankSend?: {
158
196
  chainId?: string | undefined;
@@ -522,7 +560,7 @@ declare const messages: (options?: ({
522
560
  operationIndex?: number | undefined;
523
561
  }[] | undefined;
524
562
  } | undefined>;
525
- type MessagesRequest = ApiRequest<"getMsgsV2">;
526
- type MessagesResponse = ApiResponse<"getMsgsV2">;
563
+ type MessagesRequest = ApiRequest<"msgs">;
564
+ type MessagesResponse = ApiResponse<"msgs">;
527
565
 
528
566
  export { type MessagesRequest, type MessagesResponse, messages };
@@ -1,2 +1,2 @@
1
- export { messages } from '../chunk-DW4U6YI6.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { messages } from '../chunk-7FSLD7Y4.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { f as AutopilotAction, I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-zXseZjSi.js';
2
+ import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const messagesDirect: (options?: ({
5
5
  sourceAssetDenom?: string | undefined;
@@ -264,6 +264,44 @@ declare const messagesDirect: (options?: ({
264
264
  txIndex: number;
265
265
  amountIn: string;
266
266
  amountOut: string;
267
+ } | {
268
+ goFastTransfer?: {
269
+ fromChainId?: string | undefined;
270
+ toChainId?: string | undefined;
271
+ bridgeId?: BridgeType | undefined;
272
+ denomIn?: string | undefined;
273
+ denomOut?: string | undefined;
274
+ fee?: {
275
+ feeAsset: {
276
+ chainId: string;
277
+ coingeckoId?: string | undefined;
278
+ decimals?: number | undefined;
279
+ denom: string;
280
+ description?: string | undefined;
281
+ isCw20: boolean;
282
+ isEvm: boolean;
283
+ isSvm: boolean;
284
+ logoUri?: string | undefined;
285
+ name?: string | undefined;
286
+ originChainId: string;
287
+ originDenom: string;
288
+ recommendedSymbol?: string | undefined;
289
+ symbol?: string | undefined;
290
+ tokenContract?: string | undefined;
291
+ trace: string;
292
+ };
293
+ bpsFee?: string | undefined;
294
+ bpsFeeAmount?: string | undefined;
295
+ bpsFeeUsd?: string | undefined;
296
+ sourceChainFeeAmount?: string | undefined;
297
+ sourceChainFeeUsd?: string | undefined;
298
+ destinationChainFeeAmount?: string | undefined;
299
+ destinationChainFeeUsd?: string | undefined;
300
+ } | undefined;
301
+ } | undefined;
302
+ txIndex: number;
303
+ amountIn: string;
304
+ amountOut: string;
267
305
  } | {
268
306
  bankSend?: {
269
307
  chainId?: string | undefined;
@@ -561,7 +599,7 @@ declare const messagesDirect: (options?: ({
561
599
  txIndex?: number | undefined;
562
600
  operationIndex?: number | undefined;
563
601
  }[] | undefined;
564
- estimatedRouteDurationSeconds?: number | undefined;
602
+ estimatedRouteDurationSeconds: number;
565
603
  } | undefined;
566
604
  } | undefined>;
567
605
 
@@ -1,2 +1,2 @@
1
- export { messagesDirect } from '../chunk-BQTQJQ5E.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { messagesDirect } from '../chunk-H6RXHDUX.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { an as Reason } from '../swaggerTypes-zXseZjSi.js';
2
+ import { ao as Reason } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const recommendAssets: (options?: ({
5
5
  requests?: {
@@ -1,2 +1,2 @@
1
- export { recommendAssets } from '../chunk-4JJWOILI.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { recommendAssets } from '../chunk-PZM2IB6H.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
- import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-zXseZjSi.js';
1
+ import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { A as ApiRequest } from '../generateApi-B9tL1Q3P.js';
3
+ import { A as ApiRequest } from '../generateApi-BXIkShKU.js';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -154,6 +154,44 @@ declare const route: (request: RouteRequest) => Promise<{
154
154
  txIndex: number;
155
155
  amountIn: string;
156
156
  amountOut: string;
157
+ } | {
158
+ goFastTransfer?: {
159
+ fromChainId?: string | undefined;
160
+ toChainId?: string | undefined;
161
+ bridgeId?: BridgeType | undefined;
162
+ denomIn?: string | undefined;
163
+ denomOut?: string | undefined;
164
+ fee?: {
165
+ feeAsset: {
166
+ chainId: string;
167
+ coingeckoId?: string | undefined;
168
+ decimals?: number | undefined;
169
+ denom: string;
170
+ description?: string | undefined;
171
+ isCw20: boolean;
172
+ isEvm: boolean;
173
+ isSvm: boolean;
174
+ logoUri?: string | undefined;
175
+ name?: string | undefined;
176
+ originChainId: string;
177
+ originDenom: string;
178
+ recommendedSymbol?: string | undefined;
179
+ symbol?: string | undefined;
180
+ tokenContract?: string | undefined;
181
+ trace: string;
182
+ };
183
+ bpsFee?: string | undefined;
184
+ bpsFeeAmount?: string | undefined;
185
+ bpsFeeUsd?: string | undefined;
186
+ sourceChainFeeAmount?: string | undefined;
187
+ sourceChainFeeUsd?: string | undefined;
188
+ destinationChainFeeAmount?: string | undefined;
189
+ destinationChainFeeUsd?: string | undefined;
190
+ } | undefined;
191
+ } | undefined;
192
+ txIndex: number;
193
+ amountIn: string;
194
+ amountOut: string;
157
195
  } | {
158
196
  bankSend?: {
159
197
  chainId?: string | undefined;
@@ -451,9 +489,9 @@ declare const route: (request: RouteRequest) => Promise<{
451
489
  txIndex?: number | undefined;
452
490
  operationIndex?: number | undefined;
453
491
  }[] | undefined;
454
- estimatedRouteDurationSeconds?: number | undefined;
492
+ estimatedRouteDurationSeconds: number;
455
493
  } | undefined>;
456
- type RouteRequest = ApiRequest<"getRouteV2"> & SkipApiOptions & {
494
+ type RouteRequest = ApiRequest<"route"> & SkipApiOptions & {
457
495
  abortDuplicateRequests?: boolean;
458
496
  };
459
497
 
@@ -1,2 +1,2 @@
1
- export { route } from '../chunk-GARVPN2H.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { route } from '../chunk-R2N4D2PY.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { submitTransaction } from '../chunk-RDRDFJQE.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { submitTransaction } from '../chunk-7P6AOFMX.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { trackTransaction } from '../chunk-MGVXJ2U4.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { trackTransaction } from '../chunk-BCN2WD5Q.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
- import { au as StatusErrorType, aI as TransactionState, ak as PacketErrorType, aR as TransferState, k as AxelarTransferState, N as ContractCallWithTokenErrorType, ar as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a7 as HyperlaneTransferState, aN as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aO as LayerZeroTransferState } from '../swaggerTypes-zXseZjSi.js';
1
+ import { av as StatusErrorType, aJ as TransactionState, al as PacketErrorType, aS as TransferState, k as AxelarTransferState, O as ContractCallWithTokenErrorType, as as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a8 as HyperlaneTransferState, aO as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aP as LayerZeroTransferState } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { a as ApiResponse } from '../generateApi-B9tL1Q3P.js';
3
+ import { a as ApiResponse } from '../generateApi-BXIkShKU.js';
4
4
 
5
5
  declare const transactionStatus: (params?: ({
6
6
  txHash: string;
@@ -601,7 +601,7 @@ declare const transactionStatus: (params?: ({
601
601
  }[];
602
602
  nextBlockingTransfer?: {
603
603
  transferSequenceIndex?: number | undefined;
604
- } | null | undefined;
604
+ } | undefined;
605
605
  transferAssetRelease?: {
606
606
  chainId?: string | undefined;
607
607
  denom?: string | undefined;
@@ -618,6 +618,6 @@ declare const transactionStatus: (params?: ({
618
618
  } | null | undefined;
619
619
  status?: string | undefined;
620
620
  }>;
621
- type TxStatusResponse = ApiResponse<"getTransactionStatusV2">;
621
+ type TxStatusResponse = ApiResponse<"status">;
622
622
 
623
623
  export { type TxStatusResponse, transactionStatus };
@@ -1,2 +1,2 @@
1
- export { transactionStatus } from '../chunk-33K6EESX.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { transactionStatus } from '../chunk-2NYWLY5S.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,8 +1,8 @@
1
- import { pollingApi } from './chunk-W6TBGBV3.js';
1
+ import { pollingApi } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postTransactionStatus.ts
4
4
  var transactionStatus = pollingApi({
5
- methodName: "getTransactionStatusV2",
5
+ methodName: "status",
6
6
  path: "/v2/tx/status",
7
7
  method: "get"
8
8
  });
@@ -1,9 +1,9 @@
1
- import { transformAssetsMap } from './chunk-BRMONS6A.js';
2
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { transformAssetsMap } from './chunk-EAUM5JYS.js';
2
+ import { api } from './chunk-SOGMQT4H.js';
3
3
 
4
4
  // src/api/postAssetsFromSource.ts
5
5
  var assetsFromSource = api({
6
- methodName: "getAssetsFromSource",
6
+ methodName: "assetsFromSource",
7
7
  method: "post",
8
8
  path: "/v2/fungible/assets_from_source",
9
9
  transformResponse(response) {
@@ -1,8 +1,8 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postMessages.ts
4
4
  var messages = api({
5
- methodName: "getMsgsV2",
5
+ methodName: "msgs",
6
6
  method: "post",
7
7
  path: "/v2/fungible/msgs"
8
8
  });
@@ -1,8 +1,8 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postSubmitTransaction.ts
4
4
  var submitTransaction = api({
5
- methodName: "submitTransactionV2",
5
+ methodName: "submit",
6
6
  method: "post",
7
7
  path: "/v2/tx/submit"
8
8
  });
@@ -1,8 +1,8 @@
1
- import { pollingApi } from './chunk-W6TBGBV3.js';
1
+ import { pollingApi } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postTrackTransaction.ts
4
4
  var trackTransaction = pollingApi({
5
- methodName: "trackTransactionV2",
5
+ methodName: "track",
6
6
  path: "/v2/tx/track",
7
7
  method: "post",
8
8
  backoffMultiplier: 2.5
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/private-functions/getMainnetAndTestnetChains.ts
4
4
  var getMainnetAndTestnetChains = async (apiOptions) => {
@@ -22,7 +22,7 @@ var getMainnetAndTestnetChains = async (apiOptions) => {
22
22
 
23
23
  // src/api/getAssets.ts
24
24
  var assets = api({
25
- methodName: "getAssets",
25
+ methodName: "assets",
26
26
  path: "/v2/fungible/assets",
27
27
  transformResponse: (response) => {
28
28
  return transformAssetsMap(response.chainToAssetsMap);
@@ -69,7 +69,7 @@ var getMainnetAndTestnetAssets = async ({
69
69
 
70
70
  // src/api/postBalances.ts
71
71
  var balances = api({
72
- methodName: "getBalances",
72
+ methodName: "balances",
73
73
  method: "post",
74
74
  path: "/v2/info/balances",
75
75
  onSuccess: (response, options) => {
@@ -117,7 +117,7 @@ var ClientState = class {
117
117
 
118
118
  // src/api/getChains.ts
119
119
  var chains = api({
120
- methodName: "getChains",
120
+ methodName: "chains",
121
121
  path: "/v2/info/chains",
122
122
  transformResponse: (response) => response.chains,
123
123
  onSuccess: (response, options) => {
@@ -1,6 +1,6 @@
1
1
  import { MsgAcceptOwner, MsgAddRemoteTokenMessenger, MsgDepositForBurn, MsgDepositForBurnWithCaller, MsgDisableAttester, MsgEnableAttester, MsgLinkTokenPair, MsgPauseBurningAndMinting, MsgPauseSendingAndReceivingMessages, MsgReceiveMessage, MsgRemoveRemoteTokenMessenger, MsgReplaceDepositForBurn, MsgReplaceMessage, MsgSendMessage, MsgSendMessageWithCaller, MsgUnlinkTokenPair, MsgUnpauseBurningAndMinting, MsgUnpauseSendingAndReceivingMessages, MsgUpdateOwner, MsgUpdateAttesterManager, MsgUpdateTokenController, MsgUpdatePauser, MsgUpdateMaxMessageBodySize, MsgSetMaxBurnAmountPerMessage, MsgUpdateSignatureThreshold, MsgExecute, MsgInitiateTokenDeposit, Coin, isSet, Long, Timestamp, toTimestamp, Period, fromTimestamp, fromJsonTimestamp, padDecimal } from './chunk-TD63P2AG.js';
2
- import { ClientState } from './chunk-BRMONS6A.js';
3
- import { ApiState, createRequestClient } from './chunk-W6TBGBV3.js';
2
+ import { ClientState } from './chunk-EAUM5JYS.js';
3
+ import { ApiState, createRequestClient } from './chunk-SOGMQT4H.js';
4
4
  import { AminoTypes, createDefaultAminoConverters, defaultRegistryTypes } from '@cosmjs/stargate';
5
5
  import { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate';
6
6
  import { Registry } from '@cosmjs/proto-signing';
@@ -1,8 +1,8 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postMessagesDirect.ts
4
4
  var messagesDirect = api({
5
- methodName: "getMsgsDirectV2",
5
+ methodName: "msgsDirect",
6
6
  method: "post",
7
7
  path: "/v2/fungible/msgs_direct"
8
8
  });
@@ -1,4 +1,4 @@
1
- import { ApiState, createRequestClient } from './chunk-W6TBGBV3.js';
1
+ import { ApiState, createRequestClient } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/public-functions/setApiOptions.ts
4
4
  var setApiOptions = (options = {}) => {
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from './chunk-VQ5SIQWU.js';
2
- import { getFeeInfoForChain } from './chunk-VMPFHQ7U.js';
2
+ import { getFeeInfoForChain } from './chunk-T2TOUPEA.js';
3
3
  import { Decimal } from '@cosmjs/math';
4
4
  import { GasPrice } from '@cosmjs/stargate';
5
5
 
@@ -1,8 +1,8 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postRecommendAssets.ts
4
4
  var recommendAssets = api({
5
- methodName: "getAssetRecommendations",
5
+ methodName: "assetRecommendations",
6
6
  method: "post",
7
7
  path: "/v2/fungible/recommend_assets",
8
8
  transformResponse(response) {
@@ -1,4 +1,4 @@
1
- import { ApiState, api } from './chunk-W6TBGBV3.js';
1
+ import { ApiState, api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/postRoute.ts
4
4
  var route = async (request) => {
@@ -7,7 +7,7 @@ var route = async (request) => {
7
7
  cumulativeAffiliateFeeBps: ApiState.cumulativeAffiliateFeeBPS
8
8
  };
9
9
  return api({
10
- methodName: "getRouteV2",
10
+ methodName: "route",
11
11
  method: "post",
12
12
  path: "/v2/fungible/route"
13
13
  })(requestWithAffiliateFeeBps);
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/getAssetsBetweenChains.ts
4
4
  var assetsBetweenChains = api({
@@ -1,8 +1,8 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ import { api } from './chunk-SOGMQT4H.js';
2
2
 
3
3
  // src/api/getVenues.ts
4
4
  var venues = api({
5
- methodName: "getVenues",
5
+ methodName: "venues",
6
6
  path: "/v2/fungible/venues",
7
7
  transformResponse: (response) => response.venues
8
8
  });