@skip-go/client 1.5.3 → 1.5.5

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 (141) 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-HFEMNOJS.cjs → chunk-2QPPD3BB.cjs} +3 -0
  17. package/dist/cjs/{chunk-7SZZBUBD.cjs → chunk-2SA3OAIJ.cjs} +3 -3
  18. package/dist/cjs/{chunk-DAPPFYGA.cjs → chunk-3RPOC3AX.cjs} +6 -6
  19. package/dist/cjs/chunk-4BWE7SOV.cjs +68 -0
  20. package/dist/cjs/{chunk-FF5UWES6.cjs → chunk-4GHUZDDP.cjs} +4 -4
  21. package/dist/cjs/{chunk-3UPZIINE.cjs → chunk-4KPBBDLF.cjs} +6 -6
  22. package/dist/cjs/{chunk-QWQVTCKP.cjs → chunk-7CFJPJJ2.cjs} +10 -10
  23. package/dist/cjs/{chunk-GOQK63JP.cjs → chunk-7L4FYNDR.cjs} +2 -2
  24. package/dist/cjs/{chunk-BCX2D6TE.cjs → chunk-A3UNNRKD.cjs} +56 -23
  25. package/dist/cjs/{chunk-AW6IQ7JH.cjs → chunk-A5S6SIYN.cjs} +2 -2
  26. package/dist/cjs/{chunk-ZBJZTBIW.cjs → chunk-ASDMDYTC.cjs} +2 -2
  27. package/dist/cjs/{chunk-QAHHTQ7V.cjs → chunk-ATW6UNT5.cjs} +4 -4
  28. package/dist/cjs/{chunk-PLO5CVGN.cjs → chunk-AUTOIM57.cjs} +2 -2
  29. package/dist/cjs/{chunk-BT6HQNBF.cjs → chunk-BB5QJRM4.cjs} +14 -14
  30. package/dist/cjs/{chunk-KWH6S7PB.cjs → chunk-CK6CQWQU.cjs} +6 -6
  31. package/dist/cjs/{chunk-T5EGKQAT.cjs → chunk-FCTBCHOT.cjs} +2 -2
  32. package/dist/cjs/{chunk-S3BKLN4L.cjs → chunk-IJIBMN2F.cjs} +2 -2
  33. package/dist/cjs/{chunk-BFA7XKVT.cjs → chunk-JBGCVGJP.cjs} +80 -63
  34. package/dist/cjs/{chunk-262HFM6V.cjs → chunk-JRXPJ45U.cjs} +2 -2
  35. package/dist/cjs/{chunk-3NHW3XWK.cjs → chunk-NCFH5MGF.cjs} +2 -2
  36. package/dist/cjs/{chunk-ND7SYSAP.cjs → chunk-NWHKDAJY.cjs} +8 -4
  37. package/dist/cjs/{chunk-4MV4GLIA.cjs → chunk-OJISEAMX.cjs} +2 -2
  38. package/dist/cjs/{chunk-JWWJIJUE.cjs → chunk-PDNKS5R2.cjs} +2 -2
  39. package/dist/cjs/{chunk-4RLEZ5DV.cjs → chunk-PHFHOXMV.cjs} +10 -10
  40. package/dist/cjs/{chunk-RBM66GW6.cjs → chunk-UXW4XVHF.cjs} +2 -2
  41. package/dist/cjs/{chunk-U2NZCNKX.cjs → chunk-WRTBZRHG.cjs} +8 -8
  42. package/dist/cjs/index.cjs +81 -82
  43. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +13 -14
  44. package/dist/cjs/public-functions/executeRoute.cjs +13 -14
  45. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +4 -5
  46. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +5 -6
  47. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +27 -28
  48. package/dist/cjs/public-functions/getSigningStargateClient.cjs +4 -4
  49. package/dist/cjs/public-functions/setApiOptions.cjs +3 -3
  50. package/dist/cjs/public-functions/setClientOptions.cjs +4 -4
  51. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +8 -8
  52. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +5 -5
  53. package/dist/cjs/public-functions/waitForTransaction.cjs +9 -5
  54. package/dist/esm/api/getAssets.d.ts +1 -1
  55. package/dist/esm/api/getAssets.js +2 -2
  56. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  57. package/dist/esm/api/getAssetsBetweenChains.js +2 -2
  58. package/dist/esm/api/getBridges.d.ts +1 -1
  59. package/dist/esm/api/getBridges.js +2 -2
  60. package/dist/esm/api/getChains.d.ts +1 -1
  61. package/dist/esm/api/getChains.js +2 -2
  62. package/dist/esm/api/getVenues.js +2 -2
  63. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  64. package/dist/esm/api/postAssetsFromSource.js +3 -3
  65. package/dist/esm/api/postBalances.d.ts +2 -2
  66. package/dist/esm/api/postBalances.js +2 -2
  67. package/dist/esm/api/postIbcOriginAssets.js +2 -2
  68. package/dist/esm/api/postMessages.d.ts +2 -2
  69. package/dist/esm/api/postMessages.js +2 -2
  70. package/dist/esm/api/postMessagesDirect.d.ts +1 -1
  71. package/dist/esm/api/postMessagesDirect.js +2 -2
  72. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  73. package/dist/esm/api/postRecommendAssets.js +2 -2
  74. package/dist/esm/api/postRoute.d.ts +2 -2
  75. package/dist/esm/api/postRoute.js +2 -2
  76. package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
  77. package/dist/esm/api/postSubmitTransaction.js +2 -2
  78. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  79. package/dist/esm/api/postTrackTransaction.js +2 -2
  80. package/dist/esm/api/postTransactionStatus.d.ts +72 -68
  81. package/dist/esm/api/postTransactionStatus.js +2 -2
  82. package/dist/esm/{callbacks-CJ_p70xa.d.ts → callbacks-CZNSHCBb.d.ts} +5 -5
  83. package/dist/esm/{chunk-426BGQ4K.js → chunk-32JIBODG.js} +2 -2
  84. package/dist/esm/{chunk-5IXH2QPF.js → chunk-3DIX6KRJ.js} +53 -20
  85. package/dist/esm/{chunk-YLVUKXLR.js → chunk-3JHLVPRG.js} +1 -1
  86. package/dist/esm/{chunk-SA4GETWP.js → chunk-6ERJCOUK.js} +5 -5
  87. package/dist/esm/{chunk-FNTPI2AV.js → chunk-A5NZMSTI.js} +1 -1
  88. package/dist/esm/{chunk-HZVXNDMH.js → chunk-ACRGYWFW.js} +1 -1
  89. package/dist/esm/{chunk-BBEFB277.js → chunk-DRWCXWGY.js} +4 -4
  90. package/dist/esm/chunk-E4NRDAVO.js +65 -0
  91. package/dist/esm/{chunk-QYIZGNWZ.js → chunk-ERN6U7FJ.js} +6 -2
  92. package/dist/esm/{chunk-HDW6XFWX.js → chunk-ETBJVFQP.js} +1 -1
  93. package/dist/esm/{chunk-VGCTTJO7.js → chunk-F66EKL3W.js} +3 -0
  94. package/dist/esm/{chunk-RFJYCJK4.js → chunk-HNU2Y3JI.js} +1 -1
  95. package/dist/esm/{chunk-MYGJGC62.js → chunk-J24LYWJE.js} +1 -1
  96. package/dist/esm/{chunk-H2TTIB5K.js → chunk-KXS5UH7E.js} +2 -2
  97. package/dist/esm/{chunk-VWOMKMH2.js → chunk-KZKAL5ZN.js} +1 -1
  98. package/dist/esm/{chunk-3WFXBPS2.js → chunk-N4PTRCNT.js} +1 -1
  99. package/dist/esm/{chunk-IHSSWY3M.js → chunk-P36PE4CR.js} +1 -1
  100. package/dist/esm/{chunk-L233BZ4I.js → chunk-PBGKHTV4.js} +35 -18
  101. package/dist/esm/{chunk-UBVBVJPY.js → chunk-QYXGDTUU.js} +1 -1
  102. package/dist/esm/{chunk-AUNRER4I.js → chunk-SXBG57J3.js} +1 -1
  103. package/dist/esm/{chunk-HELQO7PA.js → chunk-TGTOO2ZQ.js} +2 -2
  104. package/dist/esm/{chunk-LBS7KX5I.js → chunk-TON3V7SK.js} +2 -2
  105. package/dist/esm/{chunk-KXQ2ASHQ.js → chunk-UHCKOKBM.js} +1 -1
  106. package/dist/esm/{chunk-YGQ4NKTM.js → chunk-UN46DUOV.js} +1 -1
  107. package/dist/esm/{chunk-GLM7QWYT.js → chunk-VMEHGKH7.js} +1 -1
  108. package/dist/esm/{chunk-44IX6KPJ.js → chunk-XNU3TKKM.js} +1 -1
  109. package/dist/esm/{client-types-uXKJQRqe.d.ts → client-types-BX_0924O.d.ts} +1 -1
  110. package/dist/esm/{generateApi-BMFrG4FZ.d.ts → generateApi-Clc85Kxw.d.ts} +1 -1
  111. package/dist/esm/index.d.ts +10 -10
  112. package/dist/esm/index.js +26 -27
  113. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
  114. package/dist/esm/public-functions/executeMultipleRoutes.js +12 -13
  115. package/dist/esm/public-functions/executeRoute.d.ts +4 -4
  116. package/dist/esm/public-functions/executeRoute.js +12 -13
  117. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  118. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
  119. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  120. package/dist/esm/public-functions/getFeeInfoForChain.js +3 -4
  121. package/dist/esm/public-functions/getRecommendedGasPrice.js +4 -5
  122. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
  123. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +26 -27
  124. package/dist/esm/public-functions/getSigningStargateClient.js +3 -3
  125. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  126. package/dist/esm/public-functions/setApiOptions.js +2 -2
  127. package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
  128. package/dist/esm/public-functions/setClientOptions.js +3 -3
  129. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
  130. package/dist/esm/public-functions/subscribeToRouteStatus.js +4 -4
  131. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  132. package/dist/esm/public-functions/validateCosmosGasBalance.js +4 -4
  133. package/dist/esm/public-functions/waitForTransaction.d.ts +712 -74
  134. package/dist/esm/public-functions/waitForTransaction.js +4 -4
  135. package/dist/esm/{setClientOptions-D1qgaOqC.d.ts → setClientOptions-DD5Mzkw_.d.ts} +3 -3
  136. package/dist/esm/{swaggerTypes-Cop47I0X.d.ts → swaggerTypes-Dr4I6vW2.d.ts} +3 -1
  137. package/package.json +1 -1
  138. package/dist/cjs/chunk-4NGHNHAS.cjs +0 -46
  139. package/dist/cjs/chunk-KZOSEIWH.cjs +0 -10
  140. package/dist/esm/chunk-SWYON2RG.js +0 -7
  141. package/dist/esm/chunk-TNIGHYH2.js +0 -44
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkDAPPFYGA_cjs = require('../chunk-DAPPFYGA.cjs');
3
+ var chunk3RPOC3AX_cjs = require('../chunk-3RPOC3AX.cjs');
4
4
  require('../chunk-4TBONPD6.cjs');
5
5
  require('../chunk-NM4PISTQ.cjs');
6
6
  require('../chunk-6W2OIU3O.cjs');
7
- require('../chunk-QWQVTCKP.cjs');
7
+ require('../chunk-7CFJPJJ2.cjs');
8
8
  require('../chunk-MUJBB64F.cjs');
9
9
  require('../chunk-UMBMSRZZ.cjs');
10
- require('../chunk-QAHHTQ7V.cjs');
11
- require('../chunk-HFEMNOJS.cjs');
10
+ require('../chunk-ATW6UNT5.cjs');
11
+ require('../chunk-2QPPD3BB.cjs');
12
12
  require('../chunk-WOSAJSJB.cjs');
13
13
 
14
14
 
15
15
 
16
16
  Object.defineProperty(exports, "validateCosmosGasBalance", {
17
17
  enumerable: true,
18
- get: function () { return chunkDAPPFYGA_cjs.validateCosmosGasBalance; }
18
+ get: function () { return chunk3RPOC3AX_cjs.validateCosmosGasBalance; }
19
19
  });
@@ -1,14 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunk4NGHNHAS_cjs = require('../chunk-4NGHNHAS.cjs');
4
- require('../chunk-PLO5CVGN.cjs');
5
- require('../chunk-JWWJIJUE.cjs');
6
- require('../chunk-HFEMNOJS.cjs');
3
+ var chunk4BWE7SOV_cjs = require('../chunk-4BWE7SOV.cjs');
4
+ require('../chunk-AUTOIM57.cjs');
5
+ require('../chunk-PDNKS5R2.cjs');
6
+ require('../chunk-2QPPD3BB.cjs');
7
7
  require('../chunk-WOSAJSJB.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "waitForTransaction", {
12
12
  enumerable: true,
13
- get: function () { return chunk4NGHNHAS_cjs.waitForTransaction; }
13
+ get: function () { return chunk4BWE7SOV_cjs.waitForTransaction; }
14
+ });
15
+ Object.defineProperty(exports, "waitForTransactionWithCancel", {
16
+ enumerable: true,
17
+ get: function () { return chunk4BWE7SOV_cjs.waitForTransactionWithCancel; }
14
18
  });
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { m as Asset } from '../swaggerTypes-Cop47I0X.js';
2
+ import { m as Asset } from '../swaggerTypes-Dr4I6vW2.js';
3
3
 
4
4
  declare const assets: (options?: ({
5
5
  chainIds?: string[] | undefined;
@@ -1,3 +1,3 @@
1
- export { assets, transformAssetsMap } from '../chunk-MYGJGC62.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { assets, transformAssetsMap } from '../chunk-J24LYWJE.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,4 +1,4 @@
1
- import { B as BridgeType } from '../swaggerTypes-Cop47I0X.js';
1
+ import { B as BridgeType } from '../swaggerTypes-Dr4I6vW2.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
3
 
4
4
  declare const assetsBetweenChains: (options?: ({
@@ -1,3 +1,3 @@
1
- export { assetsBetweenChains } from '../chunk-KXQ2ASHQ.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { assetsBetweenChains } from '../chunk-UHCKOKBM.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { bG as ContentType, B as BridgeType } from '../swaggerTypes-Cop47I0X.js';
2
+ import { bG as ContentType, B as BridgeType } from '../swaggerTypes-Dr4I6vW2.js';
3
3
 
4
4
  declare const bridges: (options?: ({
5
5
  cache?: RequestCache | undefined;
@@ -1,3 +1,3 @@
1
- export { bridges } from '../chunk-YLVUKXLR.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { bridges } from '../chunk-3JHLVPRG.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,4 +1,4 @@
1
- import { e as ChainType } from '../swaggerTypes-Cop47I0X.js';
1
+ import { e as ChainType } from '../swaggerTypes-Dr4I6vW2.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
3
 
4
4
  declare const chains: (options?: ({
@@ -1,3 +1,3 @@
1
- export { chains } from '../chunk-MYGJGC62.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { chains } from '../chunk-J24LYWJE.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,3 +1,3 @@
1
- export { venues } from '../chunk-FNTPI2AV.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { venues } from '../chunk-A5NZMSTI.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { d as Reason, m as Asset } from '../swaggerTypes-Cop47I0X.js';
2
+ import { d as Reason, m as Asset } from '../swaggerTypes-Dr4I6vW2.js';
3
3
 
4
4
  declare const assetsFromSource: (options?: ({
5
5
  sourceAssetDenom: string;
@@ -1,4 +1,4 @@
1
- export { assetsFromSource } from '../chunk-HELQO7PA.js';
2
- import '../chunk-MYGJGC62.js';
3
- import '../chunk-VGCTTJO7.js';
1
+ export { assetsFromSource } from '../chunk-TGTOO2ZQ.js';
2
+ import '../chunk-J24LYWJE.js';
3
+ import '../chunk-F66EKL3W.js';
4
4
  import '../chunk-HP5EMWC6.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-BMFrG4FZ.js';
3
- import '../swaggerTypes-Cop47I0X.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-Clc85Kxw.js';
3
+ import '../swaggerTypes-Dr4I6vW2.js';
4
4
 
5
5
  declare const balances: (options?: ({
6
6
  chains?: {
@@ -1,3 +1,3 @@
1
- export { balances } from '../chunk-MYGJGC62.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { balances } from '../chunk-J24LYWJE.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,3 +1,3 @@
1
- export { ibcOriginAssets } from '../chunk-YGQ4NKTM.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { ibcOriginAssets } from '../chunk-UN46DUOV.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,6 +1,6 @@
1
- import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-Cop47I0X.js';
1
+ import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-Dr4I6vW2.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-BMFrG4FZ.js';
3
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-Clc85Kxw.js';
4
4
 
5
5
  declare const messages: (request: MessagesRequest) => Promise<{
6
6
  msgs?: ({
@@ -1,3 +1,3 @@
1
- export { messages } from '../chunk-IHSSWY3M.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { messages } from '../chunk-P36PE4CR.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -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-Cop47I0X.js';
2
+ import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-Dr4I6vW2.js';
3
3
 
4
4
  declare const messagesDirect: (options?: ({
5
5
  sourceAssetDenom?: string | undefined;
@@ -1,3 +1,3 @@
1
- export { messagesDirect } from '../chunk-44IX6KPJ.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { messagesDirect } from '../chunk-XNU3TKKM.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { d as Reason } from '../swaggerTypes-Cop47I0X.js';
2
+ import { d as Reason } from '../swaggerTypes-Dr4I6vW2.js';
3
3
 
4
4
  declare const recommendAssets: (options?: ({
5
5
  requests?: {
@@ -1,3 +1,3 @@
1
- export { recommendAssets } from '../chunk-RFJYCJK4.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { recommendAssets } from '../chunk-HNU2Y3JI.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,6 +1,6 @@
1
- import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-Cop47I0X.js';
1
+ import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-Dr4I6vW2.js';
2
2
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
3
- import { A as ApiRequest } from '../generateApi-BMFrG4FZ.js';
3
+ import { A as ApiRequest } from '../generateApi-Clc85Kxw.js';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -1,3 +1,3 @@
1
- export { route } from '../chunk-VWOMKMH2.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { route } from '../chunk-KZKAL5ZN.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-BMFrG4FZ.js';
3
- import '../swaggerTypes-Cop47I0X.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-Clc85Kxw.js';
3
+ import '../swaggerTypes-Dr4I6vW2.js';
4
4
 
5
5
  declare const submitTransaction: (options?: ({
6
6
  tx?: string | undefined;
@@ -1,3 +1,3 @@
1
- export { submitTransaction } from '../chunk-HDW6XFWX.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { submitTransaction } from '../chunk-ETBJVFQP.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
2
- import { A as ApiRequest, P as PollingProps } from '../generateApi-BMFrG4FZ.js';
3
- import '../swaggerTypes-Cop47I0X.js';
2
+ import { A as ApiRequest, P as PollingProps } from '../generateApi-Clc85Kxw.js';
3
+ import '../swaggerTypes-Dr4I6vW2.js';
4
4
 
5
5
  type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps & SkipApiOptions;
6
6
  type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
@@ -1,3 +1,3 @@
1
- export { trackTransaction } from '../chunk-AUNRER4I.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { trackTransaction } from '../chunk-SXBG57J3.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -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-Cop47I0X.js';
2
- import { a as ApiResponse } from '../generateApi-BMFrG4FZ.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-Dr4I6vW2.js';
2
+ import { a as ApiResponse } from '../generateApi-Clc85Kxw.js';
3
3
  import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
4
4
 
5
5
  declare const transactionStatus: (params?: ({
@@ -56,39 +56,41 @@ declare const transactionStatus: (params?: ({
56
56
  fromChainId: string;
57
57
  state: AxelarTransferState;
58
58
  txs: {
59
- approveTx?: {
60
- chainId?: string | undefined;
61
- explorerLink: string;
62
- txHash?: string | undefined;
63
- onChainAt?: string | undefined;
64
- } | undefined;
65
- confirmTx?: {
66
- chainId?: string | undefined;
67
- explorerLink: string;
68
- txHash?: string | undefined;
69
- onChainAt?: string | undefined;
70
- } | undefined;
71
- error?: {
72
- message?: string | undefined;
73
- type?: ContractCallWithTokenErrorType | undefined;
74
- } | undefined;
75
- executeTx?: {
76
- chainId?: string | undefined;
77
- explorerLink: string;
78
- txHash?: string | undefined;
79
- onChainAt?: string | undefined;
80
- } | undefined;
81
- gasPaidTx?: {
82
- chainId?: string | undefined;
83
- explorerLink: string;
84
- txHash?: string | undefined;
85
- onChainAt?: string | undefined;
86
- } | undefined;
87
- sendTx?: {
88
- chainId?: string | undefined;
89
- explorerLink: string;
90
- txHash?: string | undefined;
91
- onChainAt?: string | undefined;
59
+ contractCallWithTokenTxs?: {
60
+ approveTx?: {
61
+ chainId?: string | undefined;
62
+ explorerLink: string;
63
+ txHash?: string | undefined;
64
+ onChainAt?: string | undefined;
65
+ } | undefined;
66
+ confirmTx?: {
67
+ chainId?: string | undefined;
68
+ explorerLink: string;
69
+ txHash?: string | undefined;
70
+ onChainAt?: string | undefined;
71
+ } | undefined;
72
+ error?: {
73
+ message?: string | undefined;
74
+ type?: ContractCallWithTokenErrorType | undefined;
75
+ } | undefined;
76
+ executeTx?: {
77
+ chainId?: string | undefined;
78
+ explorerLink: string;
79
+ txHash?: string | undefined;
80
+ onChainAt?: string | undefined;
81
+ } | undefined;
82
+ gasPaidTx?: {
83
+ chainId?: string | undefined;
84
+ explorerLink: string;
85
+ txHash?: string | undefined;
86
+ onChainAt?: string | undefined;
87
+ } | undefined;
88
+ sendTx?: {
89
+ chainId?: string | undefined;
90
+ explorerLink: string;
91
+ txHash?: string | undefined;
92
+ onChainAt?: string | undefined;
93
+ } | undefined;
92
94
  } | undefined;
93
95
  } | {
94
96
  confirmTx?: {
@@ -383,39 +385,41 @@ declare const transactionStatus: (params?: ({
383
385
  fromChainId: string;
384
386
  state: AxelarTransferState;
385
387
  txs: {
386
- approveTx?: {
387
- chainId?: string | undefined;
388
- explorerLink: string;
389
- txHash?: string | undefined;
390
- onChainAt?: string | undefined;
391
- } | undefined;
392
- confirmTx?: {
393
- chainId?: string | undefined;
394
- explorerLink: string;
395
- txHash?: string | undefined;
396
- onChainAt?: string | undefined;
397
- } | undefined;
398
- error?: {
399
- message?: string | undefined;
400
- type?: ContractCallWithTokenErrorType | undefined;
401
- } | undefined;
402
- executeTx?: {
403
- chainId?: string | undefined;
404
- explorerLink: string;
405
- txHash?: string | undefined;
406
- onChainAt?: string | undefined;
407
- } | undefined;
408
- gasPaidTx?: {
409
- chainId?: string | undefined;
410
- explorerLink: string;
411
- txHash?: string | undefined;
412
- onChainAt?: string | undefined;
413
- } | undefined;
414
- sendTx?: {
415
- chainId?: string | undefined;
416
- explorerLink: string;
417
- txHash?: string | undefined;
418
- onChainAt?: string | undefined;
388
+ contractCallWithTokenTxs?: {
389
+ approveTx?: {
390
+ chainId?: string | undefined;
391
+ explorerLink: string;
392
+ txHash?: string | undefined;
393
+ onChainAt?: string | undefined;
394
+ } | undefined;
395
+ confirmTx?: {
396
+ chainId?: string | undefined;
397
+ explorerLink: string;
398
+ txHash?: string | undefined;
399
+ onChainAt?: string | undefined;
400
+ } | undefined;
401
+ error?: {
402
+ message?: string | undefined;
403
+ type?: ContractCallWithTokenErrorType | undefined;
404
+ } | undefined;
405
+ executeTx?: {
406
+ chainId?: string | undefined;
407
+ explorerLink: string;
408
+ txHash?: string | undefined;
409
+ onChainAt?: string | undefined;
410
+ } | undefined;
411
+ gasPaidTx?: {
412
+ chainId?: string | undefined;
413
+ explorerLink: string;
414
+ txHash?: string | undefined;
415
+ onChainAt?: string | undefined;
416
+ } | undefined;
417
+ sendTx?: {
418
+ chainId?: string | undefined;
419
+ explorerLink: string;
420
+ txHash?: string | undefined;
421
+ onChainAt?: string | undefined;
422
+ } | undefined;
419
423
  } | undefined;
420
424
  } | {
421
425
  confirmTx?: {
@@ -1,3 +1,3 @@
1
- export { transactionStatus } from '../chunk-3WFXBPS2.js';
2
- import '../chunk-VGCTTJO7.js';
1
+ export { transactionStatus } from '../chunk-N4PTRCNT.js';
2
+ import '../chunk-F66EKL3W.js';
3
3
  import '../chunk-HP5EMWC6.js';
@@ -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-Cop47I0X.js';
3
- import { A as ApiRequest } from './generateApi-BMFrG4FZ.js';
4
- import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-uXKJQRqe.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-Dr4I6vW2.js';
3
+ import { A as ApiRequest } from './generateApi-Clc85Kxw.js';
4
+ import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-BX_0924O.js';
5
5
 
6
6
  type OverallStatus = "pending" | "success" | "failed";
7
7
  declare function getTransferEventsFromTxStatusResponse(txStatusResponse?: TxStatusResponse[]): {
@@ -73,7 +73,7 @@ type TransactionDetails = {
73
73
  routeKeyToStatus?: Record<string, TransactionStatus>;
74
74
  routeKey?: string;
75
75
  };
76
- type SimpleRoute = Partial<Pick<Route, "usdAmountIn" | "usdAmountOut" | "amountIn" | "amountOut" | "sourceAssetDenom" | "sourceAssetChainId" | "destAssetDenom" | "destAssetChainId" | "estimatedRouteDurationSeconds">>;
76
+ type SimpleRoute = Partial<Pick<Route, "usdAmountIn" | "usdAmountOut" | "amountIn" | "amountOut" | "sourceAssetDenom" | "sourceAssetChainId" | "destAssetDenom" | "destAssetChainId" | "estimatedRouteDurationSeconds" | "operations">>;
77
77
  type RouteDetails = {
78
78
  id: string;
79
79
  timestamp: number;
@@ -155,4 +155,4 @@ type TransactionCallbacks = {
155
155
  }) => Promise<void>;
156
156
  };
157
157
 
158
- export { type ClientTransferEvent as C, type ExecuteRouteOptions as E, type RouteDetails as R, type TransactionDetails as T, type RouteStatus as a, type TransactionStatus as b, type TransferEventStatus as c, TransferType as d, executeRoute as e, getSimpleOverallStatus as f, getTransferEventsFromTxStatusResponse as g, type TransactionCallbacks as h, getTransactionStatus as i, type subscribeToRouteStatusProps as j, type executeAndSubscribeToRouteStatusProps as k, executeAndSubscribeToRouteStatus as l, subscribeToRouteStatus as s, updateRouteDetails as u };
158
+ export { type ClientTransferEvent as C, type ExecuteRouteOptions as E, type OverallStatus as O, type RouteDetails as R, type TransactionDetails as T, type RouteStatus as a, type TransactionStatus as b, type TransferEventStatus as c, TransferType as d, executeRoute as e, getSimpleOverallStatus as f, getTransferEventsFromTxStatusResponse as g, type TransactionCallbacks as h, getTransactionStatus as i, type subscribeToRouteStatusProps as j, type executeAndSubscribeToRouteStatusProps as k, executeAndSubscribeToRouteStatus as l, subscribeToRouteStatus as s, updateRouteDetails as u };
@@ -1,6 +1,6 @@
1
1
  import { bignumber_default } from './chunk-KS764SOZ.js';
2
- import { route } from './chunk-VWOMKMH2.js';
3
- import { ClientState, chains, assets } from './chunk-MYGJGC62.js';
2
+ import { route } from './chunk-KZKAL5ZN.js';
3
+ import { ClientState, chains, assets } from './chunk-J24LYWJE.js';
4
4
  import { defineChain, createPublicClient, fallback, http } from 'viem';
5
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 } from 'viem/chains';
6
6
 
@@ -1,6 +1,6 @@
1
- import { trackTransaction } from './chunk-AUNRER4I.js';
2
- import { transactionStatus } from './chunk-3WFXBPS2.js';
3
- import { wait } from './chunk-VGCTTJO7.js';
1
+ import { trackTransaction } from './chunk-SXBG57J3.js';
2
+ import { transactionStatus } from './chunk-N4PTRCNT.js';
3
+ import { wait } from './chunk-F66EKL3W.js';
4
4
  import { v4 } from 'uuid';
5
5
 
6
6
  // src/utils/clientType.ts
@@ -45,7 +45,7 @@ function getClientTransferEvent(transferEvent) {
45
45
  };
46
46
  }
47
47
  return {
48
- explorerLink: ibcTransfer.packetTxs.receiveTx?.explorerLink,
48
+ explorerLink: ibcTransfer.packetTxs.receiveTx?.explorerLink ?? ibcTransfer.packetTxs.timeoutTx?.explorerLink,
49
49
  txHash: ibcTransfer.packetTxs.receiveTx?.txHash
50
50
  };
51
51
  case "eurekaTransfer" /* eurekaTransfer */:
@@ -56,7 +56,7 @@ function getClientTransferEvent(transferEvent) {
56
56
  };
57
57
  }
58
58
  return {
59
- explorerLink: eurekaTransfer.packetTxs.receiveTx?.explorerLink,
59
+ explorerLink: eurekaTransfer.packetTxs.receiveTx?.explorerLink ?? eurekaTransfer.packetTxs.timeoutTx?.explorerLink,
60
60
  txHash: eurekaTransfer.packetTxs.receiveTx?.txHash
61
61
  };
62
62
  case "goFastTransfer" /* goFastTransfer */:
@@ -67,13 +67,21 @@ function getClientTransferEvent(transferEvent) {
67
67
  };
68
68
  }
69
69
  return {
70
- explorerLink: goFastTransfer.txs.orderFilledTx?.explorerLink,
70
+ explorerLink: goFastTransfer.txs.orderFilledTx?.explorerLink ?? goFastTransfer.txs.orderTimeoutTx?.explorerLink ?? goFastTransfer.txs.orderRefundedTx?.explorerLink,
71
71
  txHash: goFastTransfer.txs.orderFilledTx?.txHash
72
72
  };
73
73
  case "axelarTransfer" /* axelarTransfer */:
74
+ const sendTokenTxs = axelarTransfer.txs;
75
+ const contractCallWithTokenTxs = axelarTransfer.txs?.contractCallWithTokenTxs;
76
+ if (type === "send") {
77
+ return {
78
+ explorerLink: sendTokenTxs?.sendTx?.explorerLink ?? contractCallWithTokenTxs?.sendTx?.explorerLink,
79
+ txHash: sendTokenTxs?.sendTx?.txHash ?? contractCallWithTokenTxs?.sendTx?.txHash
80
+ };
81
+ }
74
82
  return {
75
- explorerLink: axelarTransfer?.axelarScanLink,
76
- txHash: axelarTransfer?.txs?.sendTx?.txHash
83
+ explorerLink: sendTokenTxs?.executeTx?.explorerLink ?? contractCallWithTokenTxs?.executeTx?.explorerLink,
84
+ txHash: sendTokenTxs?.executeTx?.txHash ?? contractCallWithTokenTxs?.executeTx?.txHash
77
85
  };
78
86
  default:
79
87
  if (type === "send") {
@@ -90,16 +98,39 @@ function getClientTransferEvent(transferEvent) {
90
98
  };
91
99
  const getDuration = () => {
92
100
  switch (transferType) {
93
- case "ibcTransfer" /* ibcTransfer */:
94
- return new Date(ibcTransfer.packetTxs.receiveTx?.onChainAt ?? 0).getTime() - new Date(ibcTransfer.packetTxs.sendTx?.onChainAt ?? 0).getTime();
95
- case "eurekaTransfer" /* eurekaTransfer */:
96
- return new Date(eurekaTransfer.packetTxs.receiveTx?.onChainAt ?? 0).getTime() - new Date(eurekaTransfer.packetTxs.sendTx?.onChainAt ?? 0).getTime();
97
- case "goFastTransfer" /* goFastTransfer */:
98
- return new Date(goFastTransfer.txs.orderFilledTx?.onChainAt ?? 0).getTime() - new Date(goFastTransfer.txs.orderSubmittedTx?.onChainAt ?? 0).getTime();
99
- case "axelarTransfer" /* axelarTransfer */:
100
- return new Date(axelarTransfer?.txs?.confirmTx?.onChainAt ?? 0).getTime() - new Date(axelarTransfer?.txs?.sendTx?.onChainAt ?? 0).getTime();
101
- default:
102
- return new Date(combinedTransferEvent[transferType]?.txs?.receiveTx?.onChainAt ?? 0).getTime() - new Date(combinedTransferEvent[transferType]?.txs?.sendTx?.onChainAt ?? 0).getTime();
101
+ case "ibcTransfer" /* ibcTransfer */: {
102
+ const sendTime = ibcTransfer.packetTxs.sendTx?.onChainAt;
103
+ const receiveTime = ibcTransfer.packetTxs.receiveTx?.onChainAt;
104
+ if (!sendTime || !receiveTime) return;
105
+ return new Date(receiveTime).getTime() - new Date(sendTime).getTime();
106
+ }
107
+ case "eurekaTransfer" /* eurekaTransfer */: {
108
+ const sendTime = eurekaTransfer.packetTxs.sendTx?.onChainAt;
109
+ const receiveTime = eurekaTransfer.packetTxs.receiveTx?.onChainAt;
110
+ if (!sendTime || !receiveTime) return;
111
+ return new Date(receiveTime).getTime() - new Date(sendTime).getTime();
112
+ }
113
+ case "goFastTransfer" /* goFastTransfer */: {
114
+ const submitTime = goFastTransfer.txs.orderSubmittedTx?.onChainAt;
115
+ const filledTime = goFastTransfer.txs.orderFilledTx?.onChainAt;
116
+ if (!submitTime || !filledTime) return;
117
+ return new Date(filledTime).getTime() - new Date(submitTime).getTime();
118
+ }
119
+ case "axelarTransfer" /* axelarTransfer */: {
120
+ const sendTokenTxs = axelarTransfer.txs;
121
+ const contractCallWithTokenTxs = axelarTransfer.txs?.contractCallWithTokenTxs;
122
+ const sendTime = sendTokenTxs?.sendTx?.onChainAt ?? contractCallWithTokenTxs?.sendTx?.onChainAt;
123
+ const confirmTime = sendTokenTxs?.confirmTx?.onChainAt ?? contractCallWithTokenTxs?.confirmTx?.onChainAt;
124
+ if (!sendTime || !confirmTime) return;
125
+ return new Date(confirmTime).getTime() - new Date(sendTime).getTime();
126
+ }
127
+ default: {
128
+ const remainingTransfer = combinedTransferEvent[transferType];
129
+ const sendTime = remainingTransfer?.txs?.sendTx?.onChainAt;
130
+ const receiveTime = remainingTransfer?.txs?.receiveTx?.onChainAt;
131
+ if (!sendTime || !receiveTime) return;
132
+ return new Date(receiveTime).getTime() - new Date(sendTime).getTime();
133
+ }
103
134
  }
104
135
  };
105
136
  const _result = {
@@ -131,7 +162,7 @@ function getClientTransferEvent(transferEvent) {
131
162
  function getTransferEventsFromTxStatusResponse(txStatusResponse) {
132
163
  if (!txStatusResponse) return [];
133
164
  return txStatusResponse?.flatMap((txStatus) => {
134
- return (txStatus.transferSequence ?? []).map((transferEvent) => {
165
+ return (txStatus?.transferSequence ?? []).map((transferEvent) => {
135
166
  return getClientTransferEvent(transferEvent);
136
167
  });
137
168
  });
@@ -163,6 +194,7 @@ function getSimpleStatus(state) {
163
194
  case "GO_FAST_TRANSFER_SENT":
164
195
  case "STARGATE_TRANSFER_SENT":
165
196
  case "LAYER_ZERO_TRANSFER_SENT":
197
+ case "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE":
166
198
  return "pending";
167
199
  case "TRANSFER_SUCCESS":
168
200
  case "AXELAR_TRANSFER_SUCCESS":
@@ -469,7 +501,8 @@ var getSimpleRoute = (route) => {
469
501
  sourceAssetChainId: route?.sourceAssetChainId,
470
502
  destAssetDenom: route?.destAssetDenom,
471
503
  destAssetChainId: route?.destAssetChainId,
472
- estimatedRouteDurationSeconds: route?.estimatedRouteDurationSeconds
504
+ estimatedRouteDurationSeconds: route?.estimatedRouteDurationSeconds,
505
+ operations: route?.operations
473
506
  };
474
507
  };
475
508
  var getRouteDetailsWithSimpleTransactionDetailsStatus = (routeDetails) => {
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-VGCTTJO7.js';
1
+ import { api } from './chunk-F66EKL3W.js';
2
2
 
3
3
  // src/api/getBridges.ts
4
4
  var bridges = api({
@@ -1,8 +1,8 @@
1
- import { createValidAddressList, executeTransactions } from './chunk-L233BZ4I.js';
2
- import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-5IXH2QPF.js';
3
- import { messages } from './chunk-IHSSWY3M.js';
4
- import { trackTransaction } from './chunk-AUNRER4I.js';
5
- import { ApiState } from './chunk-VGCTTJO7.js';
1
+ import { createValidAddressList, executeTransactions } from './chunk-PBGKHTV4.js';
2
+ import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-3DIX6KRJ.js';
3
+ import { messages } from './chunk-P36PE4CR.js';
4
+ import { trackTransaction } from './chunk-SXBG57J3.js';
5
+ import { ApiState } from './chunk-F66EKL3W.js';
6
6
 
7
7
  // src/public-functions/executeMultipleRoutes.ts
8
8
  var executeMultipleRoutes = async (options) => {