@skip-go/client 1.3.2 → 1.3.4

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 (125) hide show
  1. package/dist/cjs/api/getAssets.cjs +4 -4
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +3 -3
  3. package/dist/cjs/api/getBridges.cjs +3 -3
  4. package/dist/cjs/api/getChains.cjs +3 -3
  5. package/dist/cjs/api/getVenues.cjs +3 -3
  6. package/dist/cjs/api/postAssetsFromSource.cjs +4 -4
  7. package/dist/cjs/api/postBalances.cjs +3 -3
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +3 -3
  9. package/dist/cjs/api/postMessages.cjs +3 -3
  10. package/dist/cjs/api/postMessagesDirect.cjs +3 -3
  11. package/dist/cjs/api/postRecommendAssets.cjs +3 -3
  12. package/dist/cjs/api/postRoute.cjs +3 -3
  13. package/dist/cjs/api/postSubmitTransaction.cjs +3 -3
  14. package/dist/cjs/api/postTrackTransaction.cjs +3 -3
  15. package/dist/cjs/api/postTransactionStatus.cjs +3 -3
  16. package/dist/cjs/{chunk-EINQFLWN.cjs → chunk-2CCLIBCC.cjs} +2 -2
  17. package/dist/cjs/{chunk-SLZCWA4K.cjs → chunk-2EKCOIWV.cjs} +7 -7
  18. package/dist/cjs/{chunk-SIY2K7TT.cjs → chunk-2VQ2TNFM.cjs} +2 -2
  19. package/dist/cjs/{chunk-DUJSZRFD.cjs → chunk-4AB775IT.cjs} +81 -58
  20. package/dist/cjs/{chunk-EQBTNGJJ.cjs → chunk-7I2KQNIU.cjs} +2 -2
  21. package/dist/cjs/{chunk-WE7KICKO.cjs → chunk-B4OGYBRC.cjs} +2 -2
  22. package/dist/cjs/{chunk-OA5PE7TW.cjs → chunk-DBDB2XWX.cjs} +3 -3
  23. package/dist/cjs/{chunk-PFCGKAXF.cjs → chunk-DCFIIF7G.cjs} +2 -2
  24. package/dist/cjs/{chunk-W2DPDT3Y.cjs → chunk-EXK2GDR5.cjs} +2 -2
  25. package/dist/cjs/{chunk-G3G6PBIF.cjs → chunk-FO25SR66.cjs} +6 -6
  26. package/dist/cjs/{chunk-AHRSARNR.cjs → chunk-FY56EEFB.cjs} +3 -2
  27. package/dist/cjs/{chunk-5FR25GF5.cjs → chunk-HKQ5VION.cjs} +1 -1
  28. package/dist/cjs/{chunk-TCQMGBFL.cjs → chunk-J5RC6ZU5.cjs} +19 -11
  29. package/dist/cjs/{chunk-MGYSCMET.cjs → chunk-KJ5NZG2D.cjs} +10 -10
  30. package/dist/cjs/{chunk-KMDNP6DN.cjs → chunk-L4MLX6KI.cjs} +2 -2
  31. package/dist/cjs/{chunk-NQR3EPN2.cjs → chunk-MCZ3F457.cjs} +2 -2
  32. package/dist/cjs/{chunk-PG7RVHOU.cjs → chunk-MW3TE7DC.cjs} +2 -2
  33. package/dist/cjs/{chunk-TFL5E5A6.cjs → chunk-P7CDAHIX.cjs} +2 -2
  34. package/dist/cjs/{chunk-D2W4UBJB.cjs → chunk-QSISUSYP.cjs} +4 -4
  35. package/dist/cjs/{chunk-HDKNPB2J.cjs → chunk-TWXIFMTM.cjs} +7 -7
  36. package/dist/cjs/{chunk-CWUD7UGL.cjs → chunk-XGBCEYWI.cjs} +2 -2
  37. package/dist/cjs/{chunk-TWPLCFOH.cjs → chunk-YYBGBKRE.cjs} +4 -4
  38. package/dist/cjs/index.cjs +52 -57
  39. package/dist/cjs/public-functions/executeRoute.cjs +13 -14
  40. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +4 -4
  41. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +5 -5
  42. package/dist/cjs/public-functions/getSigningStargateClient.cjs +4 -4
  43. package/dist/cjs/public-functions/setApiOptions.cjs +3 -3
  44. package/dist/cjs/public-functions/setClientOptions.cjs +4 -4
  45. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +6 -6
  46. package/dist/cjs/public-functions/waitForTransaction.cjs +5 -5
  47. package/dist/esm/api/getAssets.d.ts +1 -1
  48. package/dist/esm/api/getAssets.js +2 -2
  49. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  50. package/dist/esm/api/getAssetsBetweenChains.js +2 -2
  51. package/dist/esm/api/getBridges.d.ts +1 -1
  52. package/dist/esm/api/getBridges.js +2 -2
  53. package/dist/esm/api/getChains.d.ts +1 -1
  54. package/dist/esm/api/getChains.js +2 -2
  55. package/dist/esm/api/getVenues.js +2 -2
  56. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  57. package/dist/esm/api/postAssetsFromSource.js +3 -3
  58. package/dist/esm/api/postBalances.d.ts +2 -2
  59. package/dist/esm/api/postBalances.js +2 -2
  60. package/dist/esm/api/postIbcOriginAssets.js +2 -2
  61. package/dist/esm/api/postMessages.d.ts +2 -2
  62. package/dist/esm/api/postMessages.js +2 -2
  63. package/dist/esm/api/postMessagesDirect.d.ts +1 -1
  64. package/dist/esm/api/postMessagesDirect.js +2 -2
  65. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  66. package/dist/esm/api/postRecommendAssets.js +2 -2
  67. package/dist/esm/api/postRoute.d.ts +2 -2
  68. package/dist/esm/api/postRoute.js +2 -2
  69. package/dist/esm/api/postSubmitTransaction.d.ts +5 -1
  70. package/dist/esm/api/postSubmitTransaction.js +2 -2
  71. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  72. package/dist/esm/api/postTrackTransaction.js +2 -2
  73. package/dist/esm/api/postTransactionStatus.d.ts +2 -2
  74. package/dist/esm/api/postTransactionStatus.js +2 -2
  75. package/dist/esm/{callbacks-DGLv2hr0.d.ts → callbacks-CuL50GnB.d.ts} +1 -1
  76. package/dist/esm/{chunk-6ULKULTX.js → chunk-2L7PKZDY.js} +1 -1
  77. package/dist/esm/{chunk-F65QOYUA.js → chunk-6F2T2KB3.js} +1 -1
  78. package/dist/esm/{chunk-MAOMQHG5.js → chunk-7ITTEUMR.js} +1 -1
  79. package/dist/esm/{chunk-NZVZH6OA.js → chunk-7LSTJXAF.js} +2 -1
  80. package/dist/esm/{chunk-4DI7G6TH.js → chunk-7YN3UVVF.js} +1 -1
  81. package/dist/esm/{chunk-CGZ5DA2T.js → chunk-CFDTJGQK.js} +1 -1
  82. package/dist/esm/{chunk-ERPZHRBM.js → chunk-CU6W3622.js} +17 -9
  83. package/dist/esm/{chunk-7ZG7HNNC.js → chunk-GD7EWX2G.js} +3 -3
  84. package/dist/esm/{chunk-VUOOTNLG.js → chunk-HT6O3BQ7.js} +1 -1
  85. package/dist/esm/{chunk-ZTDLGX7X.js → chunk-IPHFFTGO.js} +1 -1
  86. package/dist/esm/{chunk-YLMQS52U.js → chunk-IWXRHEX4.js} +2 -2
  87. package/dist/esm/{chunk-UZKIIX6A.js → chunk-JIADJKRD.js} +1 -1
  88. package/dist/esm/{chunk-HAGMHUOI.js → chunk-JOBBQQDA.js} +46 -23
  89. package/dist/esm/{chunk-YYXOIRHZ.js → chunk-JSY7M43P.js} +1 -1
  90. package/dist/esm/{chunk-HS2D6FKN.js → chunk-JYUNVL4F.js} +1 -1
  91. package/dist/esm/{chunk-SS5LQKBL.js → chunk-LZI7A4JI.js} +1 -1
  92. package/dist/esm/{chunk-I4AMZAHH.js → chunk-MXCJ2M3K.js} +1 -1
  93. package/dist/esm/{chunk-PIQZD2VE.js → chunk-OHV2LZEG.js} +1 -1
  94. package/dist/esm/{chunk-C6NHVJ3R.js → chunk-OL7CWCPB.js} +2 -2
  95. package/dist/esm/{chunk-2R5COFPS.js → chunk-SJP6W2SK.js} +1 -1
  96. package/dist/esm/{chunk-QPJEHGY7.js → chunk-XXTECZG3.js} +1 -1
  97. package/dist/esm/{chunk-GOD6ESBZ.js → chunk-Y5H25R7Z.js} +1 -1
  98. package/dist/esm/{client-types-CSzTHcG9.d.ts → client-types-B7Fin0mq.d.ts} +2 -1
  99. package/dist/esm/{generateApi-Bfli9ipj.d.ts → generateApi-C_xgtxrO.d.ts} +1 -1
  100. package/dist/esm/index.d.ts +6 -7
  101. package/dist/esm/index.js +23 -24
  102. package/dist/esm/public-functions/executeRoute.d.ts +16 -4
  103. package/dist/esm/public-functions/executeRoute.js +12 -13
  104. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  105. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +2 -2
  106. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  107. package/dist/esm/public-functions/getFeeInfoForChain.js +3 -3
  108. package/dist/esm/public-functions/getRecommendedGasPrice.js +4 -4
  109. package/dist/esm/public-functions/getSigningStargateClient.js +3 -3
  110. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  111. package/dist/esm/public-functions/setApiOptions.js +2 -2
  112. package/dist/esm/public-functions/setClientOptions.d.ts +3 -3
  113. package/dist/esm/public-functions/setClientOptions.js +3 -3
  114. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  115. package/dist/esm/public-functions/validateCosmosGasBalance.js +5 -5
  116. package/dist/esm/public-functions/waitForTransaction.d.ts +10 -6
  117. package/dist/esm/public-functions/waitForTransaction.js +4 -4
  118. package/dist/esm/{setClientOptions-RMgGQ1KD.d.ts → setClientOptions-BTRwCbmt.d.ts} +1 -1
  119. package/dist/esm/{swaggerTypes-BIYUp1AO.d.ts → swaggerTypes-DDwqIjap.d.ts} +1 -1
  120. package/package.json +1 -1
  121. package/dist/cjs/api/postSubmit.cjs +0 -12
  122. package/dist/cjs/chunk-RFBDXALX.cjs +0 -12
  123. package/dist/esm/api/postSubmit.d.ts +0 -17
  124. package/dist/esm/api/postSubmit.js +0 -3
  125. package/dist/esm/chunk-6UMMVC2P.js +0 -10
package/dist/esm/index.js CHANGED
@@ -1,32 +1,31 @@
1
- export { setClientOptions } from './chunk-C6NHVJ3R.js';
2
- export { executeRoute } from './chunk-HAGMHUOI.js';
3
- export { validateCosmosGasBalance } from './chunk-7ZG7HNNC.js';
4
- export { waitForTransaction } from './chunk-ERPZHRBM.js';
5
- export { transactionStatus } from './chunk-I4AMZAHH.js';
1
+ export { executeRoute } from './chunk-JOBBQQDA.js';
2
+ export { validateCosmosGasBalance } from './chunk-GD7EWX2G.js';
3
+ export { waitForTransaction } from './chunk-CU6W3622.js';
6
4
  export { getCosmosGasAmountForMessage } from './chunk-TV2XPAIF.js';
7
- import './chunk-TD63P2AG.js';
8
5
  export { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
9
- export { getRecommendedGasPrice } from './chunk-CGZ5DA2T.js';
6
+ export { getRecommendedGasPrice } from './chunk-CFDTJGQK.js';
10
7
  import './chunk-VQ5SIQWU.js';
11
- export { getFeeInfoForChain } from './chunk-GOD6ESBZ.js';
8
+ export { getFeeInfoForChain } from './chunk-Y5H25R7Z.js';
12
9
  export { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
13
- export { getSigningStargateClient } from './chunk-F65QOYUA.js';
10
+ export { getSigningStargateClient } from './chunk-6F2T2KB3.js';
14
11
  import './chunk-43P4WRGN.js';
15
- export { setApiOptions } from './chunk-HS2D6FKN.js';
16
- export { ibcOriginAssets } from './chunk-QPJEHGY7.js';
17
- export { messages } from './chunk-NZVZH6OA.js';
18
- export { messagesDirect } from './chunk-2R5COFPS.js';
19
- export { recommendAssets } from './chunk-ZTDLGX7X.js';
20
- export { route } from './chunk-UZKIIX6A.js';
21
- export { submit } from './chunk-6UMMVC2P.js';
22
- export { submitTransaction } from './chunk-PIQZD2VE.js';
23
- export { trackTransaction } from './chunk-MAOMQHG5.js';
24
- export { assetsBetweenChains } from './chunk-VUOOTNLG.js';
25
- export { bridges } from './chunk-4DI7G6TH.js';
26
- export { venues } from './chunk-YYXOIRHZ.js';
27
- export { assetsFromSource } from './chunk-YLMQS52U.js';
28
- export { assets, balances, chains } from './chunk-6ULKULTX.js';
29
- import './chunk-SS5LQKBL.js';
12
+ export { setApiOptions } from './chunk-JYUNVL4F.js';
13
+ export { setClientOptions } from './chunk-OL7CWCPB.js';
14
+ import './chunk-TD63P2AG.js';
15
+ export { ibcOriginAssets } from './chunk-XXTECZG3.js';
16
+ export { messages } from './chunk-7LSTJXAF.js';
17
+ export { messagesDirect } from './chunk-SJP6W2SK.js';
18
+ export { recommendAssets } from './chunk-IPHFFTGO.js';
19
+ export { route } from './chunk-JIADJKRD.js';
20
+ export { submitTransaction } from './chunk-OHV2LZEG.js';
21
+ export { trackTransaction } from './chunk-7ITTEUMR.js';
22
+ export { transactionStatus } from './chunk-MXCJ2M3K.js';
23
+ export { assetsBetweenChains } from './chunk-HT6O3BQ7.js';
24
+ export { bridges } from './chunk-7YN3UVVF.js';
25
+ export { venues } from './chunk-JSY7M43P.js';
26
+ export { assetsFromSource } from './chunk-IWXRHEX4.js';
27
+ export { assets, balances, chains } from './chunk-2L7PKZDY.js';
28
+ import './chunk-LZI7A4JI.js';
30
29
  export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeBehavior, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-OQDBWVET.js';
31
30
 
32
31
  // src/types/swaggerTypesJson.ts
@@ -1,7 +1,7 @@
1
- import { T as TransactionCallbacks } from '../callbacks-DGLv2hr0.js';
2
- import { bf as RouteResponse, W as CosmosMsg, an as PostHandler } from '../swaggerTypes-BIYUp1AO.js';
3
- import { A as ApiRequest } from '../generateApi-Bfli9ipj.js';
4
- import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-CSzTHcG9.js';
1
+ import { T as TransactionCallbacks } from '../callbacks-CuL50GnB.js';
2
+ import { bf as RouteResponse, W as CosmosMsg, an as PostHandler } from '../swaggerTypes-DDwqIjap.js';
3
+ import { A as ApiRequest } from '../generateApi-C_xgtxrO.js';
4
+ import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-B7Fin0mq.js';
5
5
  import { TrackTxPollingProps } from '../api/postTrackTransaction.js';
6
6
  import '@cosmjs/amino';
7
7
  import '@cosmjs/proto-signing';
@@ -63,6 +63,18 @@ type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & P
63
63
  * It should be a function that takes a chainId and returns the denom for the priority fee.
64
64
  */
65
65
  getCosmosPriorityFeeDenom?: (chainId: string) => Promise<string | undefined>;
66
+ /**
67
+ * SVM Fee Payer
68
+ *
69
+ * This is used to pay for the transaction fees on SVM chains.
70
+ * It should be an object with the following properties:
71
+ * `address`: The address of the fee payer.
72
+ * `signTransaction`: A function that takes the data to sign and returns a Promise that resolves to the signed transaction.
73
+ */
74
+ svmFeePayer?: {
75
+ address: string;
76
+ signTransaction: (dataToSign: Buffer) => Promise<Uint8Array>;
77
+ };
66
78
  };
67
79
  declare const executeRoute: (options: ExecuteRouteOptions) => Promise<void>;
68
80
 
@@ -1,19 +1,18 @@
1
- export { executeRoute } from '../chunk-HAGMHUOI.js';
2
- import '../chunk-7ZG7HNNC.js';
3
- import '../chunk-ERPZHRBM.js';
4
- import '../chunk-I4AMZAHH.js';
1
+ export { executeRoute } from '../chunk-JOBBQQDA.js';
2
+ import '../chunk-GD7EWX2G.js';
3
+ import '../chunk-CU6W3622.js';
5
4
  import '../chunk-TV2XPAIF.js';
6
- import '../chunk-TD63P2AG.js';
7
5
  import '../chunk-GV2QOWB4.js';
8
6
  import '../chunk-VQ5SIQWU.js';
9
7
  import '../chunk-SWYON2RG.js';
10
- import '../chunk-F65QOYUA.js';
8
+ import '../chunk-6F2T2KB3.js';
11
9
  import '../chunk-43P4WRGN.js';
12
- import '../chunk-NZVZH6OA.js';
13
- import '../chunk-6UMMVC2P.js';
14
- import '../chunk-PIQZD2VE.js';
15
- import '../chunk-MAOMQHG5.js';
16
- import '../chunk-YYXOIRHZ.js';
17
- import '../chunk-6ULKULTX.js';
18
- import '../chunk-SS5LQKBL.js';
10
+ import '../chunk-TD63P2AG.js';
11
+ import '../chunk-7LSTJXAF.js';
12
+ import '../chunk-OHV2LZEG.js';
13
+ import '../chunk-7ITTEUMR.js';
14
+ import '../chunk-MXCJ2M3K.js';
15
+ import '../chunk-JSY7M43P.js';
16
+ import '../chunk-2L7PKZDY.js';
17
+ import '../chunk-LZI7A4JI.js';
19
18
  import '../chunk-OQDBWVET.js';
@@ -1,6 +1,6 @@
1
1
  import { EncodeObject } from '@cosmjs/proto-signing';
2
2
  import { SigningStargateClient } from '@cosmjs/stargate';
3
- import { W as CosmosMsg } from '../swaggerTypes-BIYUp1AO.js';
3
+ import { W as CosmosMsg } from '../swaggerTypes-DDwqIjap.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-CSzTHcG9.js';
2
- import { $ as EvmTx } from '../swaggerTypes-BIYUp1AO.js';
1
+ import { G as GetFallbackGasAmount } from '../client-types-B7Fin0mq.js';
2
+ import { $ as EvmTx } from '../swaggerTypes-DDwqIjap.js';
3
3
  import { WalletClient } from 'viem';
4
4
  import '@cosmjs/amino';
5
5
  import '@cosmjs/proto-signing';
@@ -1,4 +1,4 @@
1
- import { a3 as FeeAsset } from '../swaggerTypes-BIYUp1AO.js';
1
+ import { a3 as FeeAsset } from '../swaggerTypes-DDwqIjap.js';
2
2
  import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
 
4
4
  type GetFeeInfoForChainProps = {
@@ -1,6 +1,6 @@
1
- export { getFeeInfoForChain } from '../chunk-GOD6ESBZ.js';
1
+ export { getFeeInfoForChain } from '../chunk-Y5H25R7Z.js';
2
2
  import '../chunk-SWYON2RG.js';
3
3
  import '../chunk-43P4WRGN.js';
4
- import '../chunk-6ULKULTX.js';
5
- import '../chunk-SS5LQKBL.js';
4
+ import '../chunk-2L7PKZDY.js';
5
+ import '../chunk-LZI7A4JI.js';
6
6
  import '../chunk-OQDBWVET.js';
@@ -1,8 +1,8 @@
1
- export { getRecommendedGasPrice } from '../chunk-CGZ5DA2T.js';
1
+ export { getRecommendedGasPrice } from '../chunk-CFDTJGQK.js';
2
2
  import '../chunk-VQ5SIQWU.js';
3
- import '../chunk-GOD6ESBZ.js';
3
+ import '../chunk-Y5H25R7Z.js';
4
4
  import '../chunk-SWYON2RG.js';
5
5
  import '../chunk-43P4WRGN.js';
6
- import '../chunk-6ULKULTX.js';
7
- import '../chunk-SS5LQKBL.js';
6
+ import '../chunk-2L7PKZDY.js';
7
+ import '../chunk-LZI7A4JI.js';
8
8
  import '../chunk-OQDBWVET.js';
@@ -1,5 +1,5 @@
1
- export { getSigningStargateClient } from '../chunk-F65QOYUA.js';
1
+ export { getSigningStargateClient } from '../chunk-6F2T2KB3.js';
2
2
  import '../chunk-43P4WRGN.js';
3
- import '../chunk-6ULKULTX.js';
4
- import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-2L7PKZDY.js';
4
+ import '../chunk-LZI7A4JI.js';
5
5
  import '../chunk-OQDBWVET.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
- import { M as ChainAffiliates } from '../swaggerTypes-BIYUp1AO.js';
2
+ import { M as ChainAffiliates } from '../swaggerTypes-DDwqIjap.js';
3
3
 
4
4
  type SetApiOptionsProps = {
5
5
  chainIdsToAffiliates?: Record<string, ChainAffiliates>;
@@ -1,3 +1,3 @@
1
- export { setApiOptions } from '../chunk-HS2D6FKN.js';
2
- import '../chunk-SS5LQKBL.js';
1
+ export { setApiOptions } from '../chunk-JYUNVL4F.js';
2
+ import '../chunk-LZI7A4JI.js';
3
3
  import '../chunk-OQDBWVET.js';
@@ -1,9 +1,9 @@
1
- export { s as setClientOptions } from '../setClientOptions-RMgGQ1KD.js';
1
+ export { s as setClientOptions } from '../setClientOptions-BTRwCbmt.js';
2
2
  import '@cosmjs/proto-signing';
3
3
  import '@cosmjs/stargate';
4
4
  import '../apiState-DwZhwVul.js';
5
- import '../client-types-CSzTHcG9.js';
5
+ import '../client-types-B7Fin0mq.js';
6
6
  import '@cosmjs/amino';
7
7
  import 'viem';
8
8
  import '@solana/wallet-adapter-base';
9
- import '../swaggerTypes-BIYUp1AO.js';
9
+ import '../swaggerTypes-DDwqIjap.js';
@@ -1,5 +1,5 @@
1
- export { setClientOptions } from '../chunk-C6NHVJ3R.js';
1
+ export { setClientOptions } from '../chunk-OL7CWCPB.js';
2
2
  import '../chunk-TD63P2AG.js';
3
- import '../chunk-6ULKULTX.js';
4
- import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-2L7PKZDY.js';
4
+ import '../chunk-LZI7A4JI.js';
5
5
  import '../chunk-OQDBWVET.js';
@@ -1,10 +1,10 @@
1
1
  import * as _cosmjs_stargate from '@cosmjs/stargate';
2
- import { W as CosmosMsg, a3 as FeeAsset } from '../swaggerTypes-BIYUp1AO.js';
2
+ import { W as CosmosMsg, a3 as FeeAsset } from '../swaggerTypes-DDwqIjap.js';
3
3
  import { OfflineSigner } from '@cosmjs/proto-signing';
4
4
  import { ExecuteRouteOptions } from './executeRoute.js';
5
- import { G as GetFallbackGasAmount } from '../client-types-CSzTHcG9.js';
6
- import '../callbacks-DGLv2hr0.js';
7
- import '../generateApi-Bfli9ipj.js';
5
+ import { G as GetFallbackGasAmount } from '../client-types-B7Fin0mq.js';
6
+ import '../callbacks-CuL50GnB.js';
7
+ import '../generateApi-C_xgtxrO.js';
8
8
  import '../api/postTrackTransaction.js';
9
9
  import '@cosmjs/amino';
10
10
  import 'viem';
@@ -1,9 +1,9 @@
1
- export { validateCosmosGasBalance } from '../chunk-7ZG7HNNC.js';
1
+ export { validateCosmosGasBalance } from '../chunk-GD7EWX2G.js';
2
2
  import '../chunk-TV2XPAIF.js';
3
- import '../chunk-TD63P2AG.js';
4
3
  import '../chunk-VQ5SIQWU.js';
5
- import '../chunk-F65QOYUA.js';
4
+ import '../chunk-6F2T2KB3.js';
6
5
  import '../chunk-43P4WRGN.js';
7
- import '../chunk-6ULKULTX.js';
8
- import '../chunk-SS5LQKBL.js';
6
+ import '../chunk-TD63P2AG.js';
7
+ import '../chunk-2L7PKZDY.js';
8
+ import '../chunk-LZI7A4JI.js';
9
9
  import '../chunk-OQDBWVET.js';
@@ -1,12 +1,16 @@
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-BIYUp1AO.js';
2
- import { T as TransactionCallbacks } from '../callbacks-DGLv2hr0.js';
3
- import { TrackTxRequest } from '../api/postTrackTransaction.js';
4
- import '../generateApi-Bfli9ipj.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-DDwqIjap.js';
2
+ import { T as TransactionCallbacks } from '../callbacks-CuL50GnB.js';
3
+ import { T as TxResult } from '../client-types-B7Fin0mq.js';
4
+ import '@cosmjs/amino';
5
+ import '@cosmjs/proto-signing';
6
+ import '@cosmjs/stargate';
7
+ import 'viem';
8
+ import '@solana/wallet-adapter-base';
5
9
 
6
- type WaitForTransactionProps = TrackTxRequest & {
10
+ type WaitForTransactionProps = TxResult & {
7
11
  onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
8
12
  };
9
- declare const waitForTransaction: ({ chainId, txHash, onTransactionTracked, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
13
+ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactionTracked, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
10
14
  transfers?: {
11
15
  error?: {
12
16
  details?: {
@@ -1,5 +1,5 @@
1
- export { waitForTransaction } from '../chunk-ERPZHRBM.js';
2
- import '../chunk-I4AMZAHH.js';
3
- import '../chunk-MAOMQHG5.js';
4
- import '../chunk-SS5LQKBL.js';
1
+ export { waitForTransaction } from '../chunk-CU6W3622.js';
2
+ import '../chunk-7ITTEUMR.js';
3
+ import '../chunk-MXCJ2M3K.js';
4
+ import '../chunk-LZI7A4JI.js';
5
5
  import '../chunk-OQDBWVET.js';
@@ -1,7 +1,7 @@
1
1
  import { GeneratedType } from '@cosmjs/proto-signing';
2
2
  import { AminoConverters } from '@cosmjs/stargate';
3
3
  import { S as SkipApiOptions } from './apiState-DwZhwVul.js';
4
- import { E as EndpointOptions } from './client-types-CSzTHcG9.js';
4
+ import { E as EndpointOptions } from './client-types-B7Fin0mq.js';
5
5
 
6
6
  type SkipClientOptions = SkipApiOptions & {
7
7
  endpointOptions?: {
@@ -1994,4 +1994,4 @@ declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityD
1994
1994
  }, params?: RequestParams) => Promise<HttpResponse<FungibleAssetsBetweenChainsCreateResponse, Error>>;
1995
1995
  }
1996
1996
 
1997
- export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, FeeBehavior as b4, type Fee as b5, type ChainsRequest as b6, type ChainsResponse as b7, type BalancesResponse as b8, type BridgesResponse as b9, type VenuesRequest as ba, type VenuesResponse as bb, type AssetsRequest as bc, type AssetsResponse as bd, type AssetsFromSourceResponse as be, type RouteResponse as bf, type MsgsResponse as bg, type MsgsDirectResponse as bh, type AssetRecommendationsResponse as bi, type TrackResponse as bj, type StatusRequest as bk, type StatusResponse as bl, type IbcOriginAssetsResponse as bm, type FungibleAssetsBetweenChainsCreateResponse as bn, type QueryParamsType as bo, type ResponseFormat as bp, type FullRequestParams as bq, type RequestParams as br, type ApiConfig as bs, type HttpResponse as bt, ContentType as bu, HttpClient as bv, Api as bw, type Asset as c, type AssetBetweenChains as d, type AssetRecommendation as e, AutopilotAction as f, type AutopilotMsg as g, type AutopilotMsgWrapper as h, type AxelarTransfer as i, type AxelarTransferInfo as j, AxelarTransferState as k, AxelarTransferType as l, type AxelarTransferWrapper as m, type CCTPTransferInfo as n, type CCTPTransferTxs as o, CCTPTransferState as p, type CCTPTransferWrapper as q, type StargateTransfer as r, StargateTransferState as s, type StargateTransferTxs as t, type StargateTransferInfo as u, type StargateTransferWrapper as v, GoFastTransferState as w, type GoFastTransferTxs as x, type GoFastTransferInfo as y, type GoFastTransferWrapper as z };
1997
+ export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, FeeBehavior as b4, type Fee as b5, type ChainsRequest as b6, type ChainsResponse as b7, type BalancesResponse as b8, type BridgesResponse as b9, type VenuesRequest as ba, type VenuesResponse as bb, type AssetsRequest as bc, type AssetsResponse as bd, type AssetsFromSourceResponse as be, type RouteResponse as bf, type MsgsResponse as bg, type MsgsDirectResponse as bh, type AssetRecommendationsResponse as bi, type SubmitResponse as bj, type TrackResponse as bk, type StatusRequest as bl, type StatusResponse as bm, type IbcOriginAssetsResponse as bn, type FungibleAssetsBetweenChainsCreateResponse as bo, type QueryParamsType as bp, type ResponseFormat as bq, type FullRequestParams as br, type RequestParams as bs, type ApiConfig as bt, type HttpResponse as bu, ContentType as bv, HttpClient as bw, Api as bx, type Asset as c, type AssetBetweenChains as d, type AssetRecommendation as e, AutopilotAction as f, type AutopilotMsg as g, type AutopilotMsgWrapper as h, type AxelarTransfer as i, type AxelarTransferInfo as j, AxelarTransferState as k, AxelarTransferType as l, type AxelarTransferWrapper as m, type CCTPTransferInfo as n, type CCTPTransferTxs as o, CCTPTransferState as p, type CCTPTransferWrapper as q, type StargateTransfer as r, StargateTransferState as s, type StargateTransferTxs as t, type StargateTransferInfo as u, type StargateTransferWrapper as v, GoFastTransferState as w, type GoFastTransferTxs as x, type GoFastTransferInfo as y, type GoFastTransferWrapper 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.3.2",
4
+ "version": "1.3.4",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
7
  "main": "./dist/cjs/index.cjs",
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkRFBDXALX_cjs = require('../chunk-RFBDXALX.cjs');
4
- require('../chunk-5FR25GF5.cjs');
5
- require('../chunk-IDDRJJO5.cjs');
6
-
7
-
8
-
9
- Object.defineProperty(exports, "submit", {
10
- enumerable: true,
11
- get: function () { return chunkRFBDXALX_cjs.submit; }
12
- });
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk5FR25GF5_cjs = require('./chunk-5FR25GF5.cjs');
4
-
5
- // src/api/postSubmit.ts
6
- var submit = chunk5FR25GF5_cjs.api({
7
- methodName: "submit",
8
- method: "post",
9
- path: "v2/tx/submit"
10
- });
11
-
12
- exports.submit = submit;
@@ -1,17 +0,0 @@
1
- import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bfli9ipj.js';
3
- import '../swaggerTypes-BIYUp1AO.js';
4
-
5
- declare const submit: (options?: ({
6
- tx?: string | undefined;
7
- chainId?: string | undefined;
8
- } & SkipApiOptions & {
9
- abortDuplicateRequests?: boolean | undefined;
10
- }) | undefined) => Promise<{
11
- txHash?: string | undefined;
12
- explorerLink?: string | undefined;
13
- } | undefined>;
14
- type SubmitRequest = ApiRequest<"submit">;
15
- type SubmitResponse = ApiResponse<"submit">;
16
-
17
- export { type SubmitRequest, type SubmitResponse, submit };
@@ -1,3 +0,0 @@
1
- export { submit } from '../chunk-6UMMVC2P.js';
2
- import '../chunk-SS5LQKBL.js';
3
- import '../chunk-OQDBWVET.js';
@@ -1,10 +0,0 @@
1
- import { api } from './chunk-SS5LQKBL.js';
2
-
3
- // src/api/postSubmit.ts
4
- var submit = api({
5
- methodName: "submit",
6
- method: "post",
7
- path: "v2/tx/submit"
8
- });
9
-
10
- export { submit };