@skip-go/client 1.2.3 → 1.3.1

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 (173) hide show
  1. package/dist/cjs/api/getAssets.cjs +16 -0
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +12 -0
  3. package/dist/cjs/api/getBridges.cjs +12 -0
  4. package/dist/cjs/api/getChains.cjs +12 -0
  5. package/dist/cjs/api/getVenues.cjs +12 -0
  6. package/dist/cjs/api/postAssetsFromSource.cjs +13 -0
  7. package/dist/cjs/api/postBalances.cjs +12 -0
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +12 -0
  9. package/dist/cjs/api/postMessages.cjs +12 -0
  10. package/dist/cjs/api/postMessagesDirect.cjs +12 -0
  11. package/dist/cjs/api/postRecommendAssets.cjs +12 -0
  12. package/dist/cjs/api/postRoute.cjs +12 -0
  13. package/dist/cjs/api/postSubmit.cjs +12 -0
  14. package/dist/cjs/api/postSubmitTransaction.cjs +12 -0
  15. package/dist/cjs/api/postTrackTransaction.cjs +12 -0
  16. package/dist/cjs/api/postTransactionStatus.cjs +12 -0
  17. package/dist/cjs/chunk-4R6OCWRR.cjs +1346 -0
  18. package/dist/cjs/chunk-5FR25GF5.cjs +209 -0
  19. package/dist/cjs/chunk-AHRSARNR.cjs +38 -0
  20. package/dist/cjs/chunk-CPTNOPWI.cjs +566 -0
  21. package/dist/cjs/chunk-CWUD7UGL.cjs +13 -0
  22. package/dist/cjs/chunk-D2W4UBJB.cjs +136 -0
  23. package/dist/cjs/chunk-DUJSZRFD.cjs +1445 -0
  24. package/dist/cjs/chunk-EINQFLWN.cjs +12 -0
  25. package/dist/cjs/chunk-EQBTNGJJ.cjs +11 -0
  26. package/dist/cjs/chunk-F3EB2AQG.cjs +28 -0
  27. package/dist/cjs/chunk-G3G6PBIF.cjs +47 -0
  28. package/dist/cjs/chunk-HDKNPB2J.cjs +182 -0
  29. package/dist/cjs/chunk-KMDNP6DN.cjs +24 -0
  30. package/dist/cjs/chunk-KZOSEIWH.cjs +10 -0
  31. package/dist/cjs/chunk-MGYSCMET.cjs +273 -0
  32. package/dist/cjs/chunk-N3LR7KTI.cjs +304 -0
  33. package/dist/cjs/chunk-NQR3EPN2.cjs +12 -0
  34. package/dist/cjs/chunk-OA5PE7TW.cjs +18 -0
  35. package/dist/cjs/chunk-PFCGKAXF.cjs +15 -0
  36. package/dist/cjs/chunk-PG7RVHOU.cjs +12 -0
  37. package/dist/cjs/chunk-RFBDXALX.cjs +12 -0
  38. package/dist/cjs/chunk-SIY2K7TT.cjs +13 -0
  39. package/dist/cjs/chunk-SLZCWA4K.cjs +2234 -0
  40. package/dist/cjs/chunk-T5LPU5A2.cjs +188 -0
  41. package/dist/cjs/chunk-TCQMGBFL.cjs +38 -0
  42. package/dist/cjs/chunk-TFL5E5A6.cjs +12 -0
  43. package/dist/cjs/chunk-TWPLCFOH.cjs +16 -0
  44. package/dist/cjs/chunk-W2DPDT3Y.cjs +22 -0
  45. package/dist/cjs/chunk-WE7KICKO.cjs +95 -0
  46. package/dist/cjs/chunk-WMXUOVHN.cjs +3642 -0
  47. package/dist/cjs/index.cjs +401 -0
  48. package/dist/cjs/public-functions/executeRoute.cjs +28 -0
  49. package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +15 -0
  50. package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +11 -0
  51. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +15 -0
  52. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +17 -0
  53. package/dist/cjs/public-functions/getSigningStargateClient.cjs +14 -0
  54. package/dist/cjs/public-functions/setApiOptions.cjs +12 -0
  55. package/dist/cjs/public-functions/setClientOptions.cjs +14 -0
  56. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +18 -0
  57. package/dist/cjs/public-functions/waitForTransaction.cjs +14 -0
  58. package/dist/{api → esm/api}/getAssets.d.ts +1 -1
  59. package/dist/esm/api/getAssets.js +3 -0
  60. package/dist/{api → esm/api}/getAssetsBetweenChains.d.ts +1 -1
  61. package/dist/esm/api/getAssetsBetweenChains.js +3 -0
  62. package/dist/{api → esm/api}/getBridges.d.ts +3 -2
  63. package/dist/esm/api/getBridges.js +3 -0
  64. package/dist/{api → esm/api}/getChains.d.ts +1 -1
  65. package/dist/esm/api/getChains.js +3 -0
  66. package/dist/esm/api/getVenues.js +3 -0
  67. package/dist/{api → esm/api}/postAssetsFromSource.d.ts +1 -1
  68. package/dist/esm/api/postAssetsFromSource.js +4 -0
  69. package/dist/{api → esm/api}/postBalances.d.ts +2 -2
  70. package/dist/esm/api/postBalances.js +3 -0
  71. package/dist/esm/api/postIbcOriginAssets.js +3 -0
  72. package/dist/{api → esm/api}/postMessages.d.ts +3 -2
  73. package/dist/esm/api/postMessages.js +3 -0
  74. package/dist/{api → esm/api}/postMessagesDirect.d.ts +196 -194
  75. package/dist/esm/api/postMessagesDirect.js +3 -0
  76. package/dist/{api → esm/api}/postRecommendAssets.d.ts +1 -1
  77. package/dist/esm/api/postRecommendAssets.js +3 -0
  78. package/dist/{api → esm/api}/postRoute.d.ts +191 -190
  79. package/dist/esm/api/postRoute.js +3 -0
  80. package/dist/{api → esm/api}/postSubmit.d.ts +2 -2
  81. package/dist/esm/api/postSubmit.js +3 -0
  82. package/dist/esm/api/postSubmitTransaction.js +3 -0
  83. package/dist/{api → esm/api}/postTrackTransaction.d.ts +2 -2
  84. package/dist/esm/api/postTrackTransaction.js +3 -0
  85. package/dist/{api → esm/api}/postTransactionStatus.d.ts +14 -2
  86. package/dist/esm/api/postTransactionStatus.js +3 -0
  87. package/dist/{callbacks-CPh0dr86.d.ts → esm/callbacks-C2lXb0AH.d.ts} +6 -1
  88. package/dist/{chunk-4CXSWHQ6.js → esm/chunk-2R5COFPS.js} +1 -1
  89. package/dist/esm/chunk-43P4WRGN.js +183 -0
  90. package/dist/{chunk-UCUUIQHV.js → esm/chunk-4DI7G6TH.js} +1 -1
  91. package/dist/{chunk-4XUWIG3Z.js → esm/chunk-6ULKULTX.js} +1 -1
  92. package/dist/{chunk-OFBEDG4X.js → esm/chunk-6UMMVC2P.js} +1 -1
  93. package/dist/{chunk-5GWNR2CV.js → esm/chunk-7ZG7HNNC.js} +2 -2
  94. package/dist/{chunk-A4M35XLF.js → esm/chunk-C6NHVJ3R.js} +2 -2
  95. package/dist/{chunk-GQXA3DGV.js → esm/chunk-CGZ5DA2T.js} +1 -1
  96. package/dist/{chunk-COJAW7OW.js → esm/chunk-ERPZHRBM.js} +3 -3
  97. package/dist/{chunk-EHKR7I66.js → esm/chunk-F65QOYUA.js} +2 -2
  98. package/dist/{chunk-TKLDJEAS.js → esm/chunk-GOD6ESBZ.js} +14 -14
  99. package/dist/{chunk-S4LIRB4Q.js → esm/chunk-HAGMHUOI.js} +30 -14
  100. package/dist/{chunk-2YOWXBHH.js → esm/chunk-HS2D6FKN.js} +1 -1
  101. package/dist/{chunk-XZV42PVV.js → esm/chunk-I4AMZAHH.js} +3 -2
  102. package/dist/{chunk-UXUJNZOA.js → esm/chunk-KYLULQOS.js} +7 -1
  103. package/dist/{chunk-CXFOPLGZ.js → esm/chunk-MAOMQHG5.js} +1 -1
  104. package/dist/{chunk-A7FWC5OX.js → esm/chunk-NZVZH6OA.js} +1 -1
  105. package/dist/{chunk-DF3WCTFB.js → esm/chunk-PIQZD2VE.js} +1 -1
  106. package/dist/{chunk-NQZYCFAA.js → esm/chunk-QPJEHGY7.js} +1 -1
  107. package/dist/{chunk-YABXOO3H.js → esm/chunk-SS5LQKBL.js} +5 -1
  108. package/dist/{chunk-U6NXCWXE.js → esm/chunk-UZKIIX6A.js} +1 -1
  109. package/dist/{chunk-Z3Z7A3YS.js → esm/chunk-VUOOTNLG.js} +1 -1
  110. package/dist/{chunk-7MWYHGMD.js → esm/chunk-YLMQS52U.js} +2 -2
  111. package/dist/{chunk-RE4YYQCE.js → esm/chunk-YYXOIRHZ.js} +1 -1
  112. package/dist/{chunk-THUBVEVZ.js → esm/chunk-ZTDLGX7X.js} +1 -1
  113. package/dist/{client-types-DRmsTfeT.d.ts → esm/client-types-DuWWc2_J.d.ts} +1 -1
  114. package/dist/{generateApi-D7KXciAd.d.ts → esm/generateApi-DvFEIUee.d.ts} +2 -1
  115. package/dist/{index.d.ts → esm/index.d.ts} +21 -6
  116. package/dist/{index.js → esm/index.js} +32 -26
  117. package/dist/{public-functions → esm/public-functions}/executeRoute.d.ts +4 -4
  118. package/dist/esm/public-functions/executeRoute.js +19 -0
  119. package/dist/{public-functions → esm/public-functions}/getCosmosGasAmountForMessage.d.ts +1 -1
  120. package/dist/{public-functions → esm/public-functions}/getEvmGasAmountForMessage.d.ts +2 -2
  121. package/dist/{public-functions → esm/public-functions}/getEvmGasAmountForMessage.js +1 -1
  122. package/dist/{public-functions → esm/public-functions}/getFeeInfoForChain.d.ts +1 -1
  123. package/dist/esm/public-functions/getFeeInfoForChain.js +6 -0
  124. package/dist/esm/public-functions/getRecommendedGasPrice.js +8 -0
  125. package/dist/esm/public-functions/getSigningStargateClient.js +5 -0
  126. package/dist/{public-functions → esm/public-functions}/setApiOptions.d.ts +1 -1
  127. package/dist/esm/public-functions/setApiOptions.js +3 -0
  128. package/dist/{public-functions → esm/public-functions}/setClientOptions.d.ts +3 -3
  129. package/dist/esm/public-functions/setClientOptions.js +5 -0
  130. package/dist/{public-functions → esm/public-functions}/validateCosmosGasBalance.d.ts +4 -4
  131. package/dist/esm/public-functions/validateCosmosGasBalance.js +9 -0
  132. package/dist/{public-functions → esm/public-functions}/waitForTransaction.d.ts +15 -3
  133. package/dist/esm/public-functions/waitForTransaction.js +5 -0
  134. package/dist/{setClientOptions-CwcM5Ps9.d.ts → esm/setClientOptions-B27lt_6h.d.ts} +1 -1
  135. package/dist/{swaggerTypes-BpJPRbC3.d.ts → esm/swaggerTypes-BrC-ZYnx.d.ts} +20 -1
  136. package/package.json +19 -7
  137. package/dist/api/getAssets.js +0 -3
  138. package/dist/api/getAssetsBetweenChains.js +0 -3
  139. package/dist/api/getBridges.js +0 -3
  140. package/dist/api/getChains.js +0 -3
  141. package/dist/api/getVenues.js +0 -3
  142. package/dist/api/postAssetsFromSource.js +0 -4
  143. package/dist/api/postBalances.js +0 -3
  144. package/dist/api/postIbcOriginAssets.js +0 -3
  145. package/dist/api/postMessages.js +0 -3
  146. package/dist/api/postMessagesDirect.js +0 -3
  147. package/dist/api/postRecommendAssets.js +0 -3
  148. package/dist/api/postRoute.js +0 -3
  149. package/dist/api/postSubmit.js +0 -3
  150. package/dist/api/postSubmitTransaction.js +0 -3
  151. package/dist/api/postTrackTransaction.js +0 -3
  152. package/dist/api/postTransactionStatus.js +0 -3
  153. package/dist/chunk-6AKLNBEL.js +0 -183
  154. package/dist/public-functions/executeRoute.js +0 -19
  155. package/dist/public-functions/getFeeInfoForChain.js +0 -6
  156. package/dist/public-functions/getRecommendedGasPrice.js +0 -8
  157. package/dist/public-functions/getSigningStargateClient.js +0 -5
  158. package/dist/public-functions/setApiOptions.js +0 -3
  159. package/dist/public-functions/setClientOptions.js +0 -5
  160. package/dist/public-functions/validateCosmosGasBalance.js +0 -9
  161. package/dist/public-functions/waitForTransaction.js +0 -5
  162. /package/dist/{api → esm/api}/getVenues.d.ts +0 -0
  163. /package/dist/{api → esm/api}/postIbcOriginAssets.d.ts +0 -0
  164. /package/dist/{api → esm/api}/postSubmitTransaction.d.ts +0 -0
  165. /package/dist/{apiState-DwZhwVul.d.ts → esm/apiState-DwZhwVul.d.ts} +0 -0
  166. /package/dist/{chunk-GV2QOWB4.js → esm/chunk-GV2QOWB4.js} +0 -0
  167. /package/dist/{chunk-SWYON2RG.js → esm/chunk-SWYON2RG.js} +0 -0
  168. /package/dist/{chunk-TD63P2AG.js → esm/chunk-TD63P2AG.js} +0 -0
  169. /package/dist/{chunk-TV2XPAIF.js → esm/chunk-TV2XPAIF.js} +0 -0
  170. /package/dist/{chunk-VQ5SIQWU.js → esm/chunk-VQ5SIQWU.js} +0 -0
  171. /package/dist/{public-functions → esm/public-functions}/getCosmosGasAmountForMessage.js +0 -0
  172. /package/dist/{public-functions → esm/public-functions}/getRecommendedGasPrice.d.ts +0 -0
  173. /package/dist/{public-functions → esm/public-functions}/getSigningStargateClient.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-BpJPRbC3.js';
1
+ import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-BrC-ZYnx.js';
2
2
  import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
- import { A as ApiRequest } from '../generateApi-D7KXciAd.js';
3
+ import { A as ApiRequest } from '../generateApi-DvFEIUee.js';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -12,6 +12,130 @@ declare const route: (request: RouteRequest) => Promise<{
12
12
  doesSwap?: boolean | undefined;
13
13
  estimatedAmountOut: string;
14
14
  operations: ({
15
+ transfer?: {
16
+ fromChainId?: string | undefined;
17
+ toChainId?: string | undefined;
18
+ channel?: string | undefined;
19
+ destDenom?: string | undefined;
20
+ pfmEnabled?: boolean | undefined;
21
+ port?: string | undefined;
22
+ supportsMemo?: boolean | undefined;
23
+ denomIn?: string | undefined;
24
+ denomOut?: string | undefined;
25
+ feeAmount?: string | undefined;
26
+ toChainEntryContractAddress?: string | undefined;
27
+ toChainCallbackContractAddress?: string | undefined;
28
+ usdFeeAmount?: string | undefined;
29
+ feeAsset?: {
30
+ chainId: string;
31
+ coingeckoId?: string | undefined;
32
+ decimals?: number | undefined;
33
+ denom: string;
34
+ description?: string | undefined;
35
+ isCw20: boolean;
36
+ isEvm: boolean;
37
+ isSvm: boolean;
38
+ logoUri?: string | undefined;
39
+ name?: string | undefined;
40
+ originChainId: string;
41
+ originDenom: string;
42
+ recommendedSymbol?: string | undefined;
43
+ symbol?: string | undefined;
44
+ tokenContract?: string | undefined;
45
+ trace: string;
46
+ } | undefined;
47
+ bridgeId?: BridgeType | undefined;
48
+ smartRelay?: boolean | undefined;
49
+ } | undefined;
50
+ txIndex: number;
51
+ amountIn: string;
52
+ amountOut: string;
53
+ } | {
54
+ swap?: {
55
+ swapIn?: {
56
+ swapAmountIn?: string | undefined;
57
+ swapOperations?: {
58
+ denomIn?: string | undefined;
59
+ denomOut?: string | undefined;
60
+ pool?: string | undefined;
61
+ interface?: string | undefined;
62
+ }[] | undefined;
63
+ swapVenue?: {
64
+ chainId?: string | undefined;
65
+ name?: string | undefined;
66
+ logoUri?: string | undefined;
67
+ } | undefined;
68
+ priceImpactPercent?: string | undefined;
69
+ } | undefined;
70
+ estimatedAffiliateFee?: string | undefined;
71
+ chainId?: string | undefined;
72
+ fromChainId?: string | undefined;
73
+ denomIn?: string | undefined;
74
+ denomOut?: string | undefined;
75
+ swapVenues?: {
76
+ chainId?: string | undefined;
77
+ name?: string | undefined;
78
+ logoUri?: string | undefined;
79
+ }[] | undefined;
80
+ } | {
81
+ swapOut?: {
82
+ swapAmountOut?: string | undefined;
83
+ swapOperations?: {
84
+ denomIn?: string | undefined;
85
+ denomOut?: string | undefined;
86
+ pool?: string | undefined;
87
+ interface?: string | undefined;
88
+ }[] | undefined;
89
+ swapVenue?: {
90
+ chainId?: string | undefined;
91
+ name?: string | undefined;
92
+ logoUri?: string | undefined;
93
+ } | undefined;
94
+ priceImpactPercent?: string | undefined;
95
+ } | undefined;
96
+ estimatedAffiliateFee?: string | undefined;
97
+ chainId?: string | undefined;
98
+ fromChainId?: string | undefined;
99
+ denomIn?: string | undefined;
100
+ denomOut?: string | undefined;
101
+ swapVenues?: {
102
+ chainId?: string | undefined;
103
+ name?: string | undefined;
104
+ logoUri?: string | undefined;
105
+ }[] | undefined;
106
+ } | {
107
+ smartSwapIn?: {
108
+ swapVenue?: {
109
+ chainId?: string | undefined;
110
+ name?: string | undefined;
111
+ logoUri?: string | undefined;
112
+ } | undefined;
113
+ swapRoutes?: {
114
+ swapAmountIn?: string | undefined;
115
+ denomIn?: string | undefined;
116
+ swapOperations?: {
117
+ denomIn?: string | undefined;
118
+ denomOut?: string | undefined;
119
+ pool?: string | undefined;
120
+ interface?: string | undefined;
121
+ }[] | undefined;
122
+ }[] | undefined;
123
+ } | undefined;
124
+ estimatedAffiliateFee?: string | undefined;
125
+ chainId?: string | undefined;
126
+ fromChainId?: string | undefined;
127
+ denomIn?: string | undefined;
128
+ denomOut?: string | undefined;
129
+ swapVenues?: {
130
+ chainId?: string | undefined;
131
+ name?: string | undefined;
132
+ logoUri?: string | undefined;
133
+ }[] | undefined;
134
+ } | undefined;
135
+ txIndex: number;
136
+ amountIn: string;
137
+ amountOut: string;
138
+ } | {
15
139
  axelarTransfer?: {
16
140
  asset?: string | undefined;
17
141
  feeAmount?: string | undefined;
@@ -83,6 +207,14 @@ declare const route: (request: RouteRequest) => Promise<{
83
207
  txIndex: number;
84
208
  amountIn: string;
85
209
  amountOut: string;
210
+ } | {
211
+ bankSend?: {
212
+ chainId?: string | undefined;
213
+ denom?: string | undefined;
214
+ } | undefined;
215
+ txIndex: number;
216
+ amountIn: string;
217
+ amountOut: string;
86
218
  } | {
87
219
  cctpTransfer?: {
88
220
  fromChainId?: string | undefined;
@@ -104,35 +236,14 @@ declare const route: (request: RouteRequest) => Promise<{
104
236
  amountIn: string;
105
237
  amountOut: string;
106
238
  } | {
107
- stargateTransfer?: {
239
+ hyperlaneTransfer?: {
108
240
  fromChainId?: string | undefined;
109
241
  toChainId?: string | undefined;
110
242
  denomIn?: string | undefined;
111
243
  denomOut?: string | undefined;
112
- bridgeId?: BridgeType | undefined;
113
- poolAddress?: string | undefined;
114
- destinationEndpointId?: number | undefined;
115
- oftFeeAsset?: {
116
- chainId: string;
117
- coingeckoId?: string | undefined;
118
- decimals?: number | undefined;
119
- denom: string;
120
- description?: string | undefined;
121
- isCw20: boolean;
122
- isEvm: boolean;
123
- isSvm: boolean;
124
- logoUri?: string | undefined;
125
- name?: string | undefined;
126
- originChainId: string;
127
- originDenom: string;
128
- recommendedSymbol?: string | undefined;
129
- symbol?: string | undefined;
130
- tokenContract?: string | undefined;
131
- trace: string;
132
- } | undefined;
133
- oftFeeAmount?: string | undefined;
134
- oftFeeAmountUsd?: string | undefined;
135
- messagingFeeAsset?: {
244
+ hyperlaneContractAddress?: string | undefined;
245
+ feeAmount?: string | undefined;
246
+ feeAsset?: {
136
247
  chainId: string;
137
248
  coingeckoId?: string | undefined;
138
249
  decimals?: number | undefined;
@@ -150,54 +261,9 @@ declare const route: (request: RouteRequest) => Promise<{
150
261
  tokenContract?: string | undefined;
151
262
  trace: string;
152
263
  } | undefined;
153
- messagingFeeAmount?: string | undefined;
154
- messagingFeeAmountUsd?: string | undefined;
155
- } | undefined;
156
- txIndex: number;
157
- amountIn: string;
158
- amountOut: string;
159
- } | {
160
- goFastTransfer?: {
161
- fromChainId?: string | undefined;
162
- toChainId?: string | undefined;
264
+ usdFeeAmount?: string | undefined;
163
265
  bridgeId?: BridgeType | undefined;
164
- denomIn?: string | undefined;
165
- denomOut?: string | undefined;
166
- fee?: {
167
- feeAsset: {
168
- chainId: string;
169
- coingeckoId?: string | undefined;
170
- decimals?: number | undefined;
171
- denom: string;
172
- description?: string | undefined;
173
- isCw20: boolean;
174
- isEvm: boolean;
175
- isSvm: boolean;
176
- logoUri?: string | undefined;
177
- name?: string | undefined;
178
- originChainId: string;
179
- originDenom: string;
180
- recommendedSymbol?: string | undefined;
181
- symbol?: string | undefined;
182
- tokenContract?: string | undefined;
183
- trace: string;
184
- };
185
- bpsFee?: string | undefined;
186
- bpsFeeAmount?: string | undefined;
187
- bpsFeeUsd?: string | undefined;
188
- sourceChainFeeAmount?: string | undefined;
189
- sourceChainFeeUsd?: string | undefined;
190
- destinationChainFeeAmount?: string | undefined;
191
- destinationChainFeeUsd?: string | undefined;
192
- } | undefined;
193
- } | undefined;
194
- txIndex: number;
195
- amountIn: string;
196
- amountOut: string;
197
- } | {
198
- bankSend?: {
199
- chainId?: string | undefined;
200
- denom?: string | undefined;
266
+ smartRelay?: boolean | undefined;
201
267
  } | undefined;
202
268
  txIndex: number;
203
269
  amountIn: string;
@@ -221,14 +287,28 @@ declare const route: (request: RouteRequest) => Promise<{
221
287
  amountIn: string;
222
288
  amountOut: string;
223
289
  } | {
224
- hyperlaneTransfer?: {
290
+ opInitTransfer?: {
225
291
  fromChainId?: string | undefined;
226
292
  toChainId?: string | undefined;
227
293
  denomIn?: string | undefined;
228
294
  denomOut?: string | undefined;
229
- hyperlaneContractAddress?: string | undefined;
230
- feeAmount?: string | undefined;
231
- feeAsset?: {
295
+ opInitBridgeId?: any;
296
+ bridgeId?: BridgeType | undefined;
297
+ smartRelay?: boolean | undefined;
298
+ } | undefined;
299
+ txIndex: number;
300
+ amountIn: string;
301
+ amountOut: string;
302
+ } | {
303
+ stargateTransfer?: {
304
+ fromChainId?: string | undefined;
305
+ toChainId?: string | undefined;
306
+ denomIn?: string | undefined;
307
+ denomOut?: string | undefined;
308
+ bridgeId?: BridgeType | undefined;
309
+ poolAddress?: string | undefined;
310
+ destinationEndpointId?: number | undefined;
311
+ oftFeeAsset?: {
232
312
  chainId: string;
233
313
  coingeckoId?: string | undefined;
234
314
  decimals?: number | undefined;
@@ -246,29 +326,9 @@ declare const route: (request: RouteRequest) => Promise<{
246
326
  tokenContract?: string | undefined;
247
327
  trace: string;
248
328
  } | undefined;
249
- usdFeeAmount?: string | undefined;
250
- bridgeId?: BridgeType | undefined;
251
- smartRelay?: boolean | undefined;
252
- } | undefined;
253
- txIndex: number;
254
- amountIn: string;
255
- amountOut: string;
256
- } | {
257
- transfer?: {
258
- fromChainId?: string | undefined;
259
- toChainId?: string | undefined;
260
- channel?: string | undefined;
261
- destDenom?: string | undefined;
262
- pfmEnabled?: boolean | undefined;
263
- port?: string | undefined;
264
- supportsMemo?: boolean | undefined;
265
- denomIn?: string | undefined;
266
- denomOut?: string | undefined;
267
- feeAmount?: string | undefined;
268
- toChainEntryContractAddress?: string | undefined;
269
- toChainCallbackContractAddress?: string | undefined;
270
- usdFeeAmount?: string | undefined;
271
- feeAsset?: {
329
+ oftFeeAmount?: string | undefined;
330
+ oftFeeAmountUsd?: string | undefined;
331
+ messagingFeeAsset?: {
272
332
  chainId: string;
273
333
  coingeckoId?: string | undefined;
274
334
  decimals?: number | undefined;
@@ -286,106 +346,46 @@ declare const route: (request: RouteRequest) => Promise<{
286
346
  tokenContract?: string | undefined;
287
347
  trace: string;
288
348
  } | undefined;
289
- bridgeId?: BridgeType | undefined;
290
- smartRelay?: boolean | undefined;
349
+ messagingFeeAmount?: string | undefined;
350
+ messagingFeeAmountUsd?: string | undefined;
291
351
  } | undefined;
292
352
  txIndex: number;
293
353
  amountIn: string;
294
354
  amountOut: string;
295
355
  } | {
296
- swap?: {
297
- swapIn?: {
298
- swapAmountIn?: string | undefined;
299
- swapOperations?: {
300
- denomIn?: string | undefined;
301
- denomOut?: string | undefined;
302
- pool?: string | undefined;
303
- interface?: string | undefined;
304
- }[] | undefined;
305
- swapVenue?: {
306
- chainId?: string | undefined;
307
- name?: string | undefined;
308
- logoUri?: string | undefined;
309
- } | undefined;
310
- priceImpactPercent?: string | undefined;
311
- } | undefined;
312
- estimatedAffiliateFee?: string | undefined;
313
- chainId?: string | undefined;
356
+ goFastTransfer?: {
314
357
  fromChainId?: string | undefined;
358
+ toChainId?: string | undefined;
359
+ bridgeId?: BridgeType | undefined;
315
360
  denomIn?: string | undefined;
316
361
  denomOut?: string | undefined;
317
- swapVenues?: {
318
- chainId?: string | undefined;
319
- name?: string | undefined;
320
- logoUri?: string | undefined;
321
- }[] | undefined;
322
- } | {
323
- swapOut?: {
324
- swapAmountOut?: string | undefined;
325
- swapOperations?: {
326
- denomIn?: string | undefined;
327
- denomOut?: string | undefined;
328
- pool?: string | undefined;
329
- interface?: string | undefined;
330
- }[] | undefined;
331
- swapVenue?: {
332
- chainId?: string | undefined;
333
- name?: string | undefined;
362
+ fee?: {
363
+ feeAsset: {
364
+ chainId: string;
365
+ coingeckoId?: string | undefined;
366
+ decimals?: number | undefined;
367
+ denom: string;
368
+ description?: string | undefined;
369
+ isCw20: boolean;
370
+ isEvm: boolean;
371
+ isSvm: boolean;
334
372
  logoUri?: string | undefined;
335
- } | undefined;
336
- priceImpactPercent?: string | undefined;
337
- } | undefined;
338
- estimatedAffiliateFee?: string | undefined;
339
- chainId?: string | undefined;
340
- fromChainId?: string | undefined;
341
- denomIn?: string | undefined;
342
- denomOut?: string | undefined;
343
- swapVenues?: {
344
- chainId?: string | undefined;
345
- name?: string | undefined;
346
- logoUri?: string | undefined;
347
- }[] | undefined;
348
- } | {
349
- smartSwapIn?: {
350
- swapVenue?: {
351
- chainId?: string | undefined;
352
373
  name?: string | undefined;
353
- logoUri?: string | undefined;
354
- } | undefined;
355
- swapRoutes?: {
356
- swapAmountIn?: string | undefined;
357
- denomIn?: string | undefined;
358
- swapOperations?: {
359
- denomIn?: string | undefined;
360
- denomOut?: string | undefined;
361
- pool?: string | undefined;
362
- interface?: string | undefined;
363
- }[] | undefined;
364
- }[] | undefined;
374
+ originChainId: string;
375
+ originDenom: string;
376
+ recommendedSymbol?: string | undefined;
377
+ symbol?: string | undefined;
378
+ tokenContract?: string | undefined;
379
+ trace: string;
380
+ };
381
+ bpsFee?: string | undefined;
382
+ bpsFeeAmount?: string | undefined;
383
+ bpsFeeUsd?: string | undefined;
384
+ sourceChainFeeAmount?: string | undefined;
385
+ sourceChainFeeUsd?: string | undefined;
386
+ destinationChainFeeAmount?: string | undefined;
387
+ destinationChainFeeUsd?: string | undefined;
365
388
  } | undefined;
366
- estimatedAffiliateFee?: string | undefined;
367
- chainId?: string | undefined;
368
- fromChainId?: string | undefined;
369
- denomIn?: string | undefined;
370
- denomOut?: string | undefined;
371
- swapVenues?: {
372
- chainId?: string | undefined;
373
- name?: string | undefined;
374
- logoUri?: string | undefined;
375
- }[] | undefined;
376
- } | undefined;
377
- txIndex: number;
378
- amountIn: string;
379
- amountOut: string;
380
- } | {
381
- opInitTransfer?: {
382
- fromChainId?: string | undefined;
383
- toChainId?: string | undefined;
384
- denomIn?: string | undefined;
385
- denomOut?: string | undefined;
386
- opInitBridgeId?: any;
387
- bridgeId?: BridgeType | undefined;
388
- smartRelay?: boolean | undefined;
389
389
  } | undefined;
390
390
  txIndex: number;
391
391
  amountIn: string;
@@ -492,6 +492,7 @@ declare const route: (request: RouteRequest) => Promise<{
492
492
  chainId?: string | undefined;
493
493
  txIndex?: number | undefined;
494
494
  operationIndex?: number | undefined;
495
+ feeBehavior?: FeeBehavior | undefined;
495
496
  }[] | undefined;
496
497
  estimatedRouteDurationSeconds: number;
497
498
  } | undefined>;
@@ -0,0 +1,3 @@
1
+ export { route } from '../chunk-UZKIIX6A.js';
2
+ import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-KYLULQOS.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-D7KXciAd.js';
3
- import '../swaggerTypes-BpJPRbC3.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-DvFEIUee.js';
3
+ import '../swaggerTypes-BrC-ZYnx.js';
4
4
 
5
5
  declare const submit: (options?: ({
6
6
  tx?: string | undefined;
@@ -0,0 +1,3 @@
1
+ export { submit } from '../chunk-6UMMVC2P.js';
2
+ import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-KYLULQOS.js';
@@ -0,0 +1,3 @@
1
+ export { submitTransaction } from '../chunk-PIQZD2VE.js';
2
+ import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-KYLULQOS.js';
@@ -1,5 +1,5 @@
1
- import { A as ApiRequest, P as PollingProps } from '../generateApi-D7KXciAd.js';
2
- import '../swaggerTypes-BpJPRbC3.js';
1
+ import { A as ApiRequest, P as PollingProps } from '../generateApi-DvFEIUee.js';
2
+ import '../swaggerTypes-BrC-ZYnx.js';
3
3
 
4
4
  type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps;
5
5
  type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
@@ -0,0 +1,3 @@
1
+ export { trackTransaction } from '../chunk-MAOMQHG5.js';
2
+ import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-KYLULQOS.js';
@@ -1,6 +1,6 @@
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-BpJPRbC3.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-BrC-ZYnx.js';
2
2
  import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
- import { a as ApiResponse } from '../generateApi-D7KXciAd.js';
3
+ import { a as ApiResponse } from '../generateApi-DvFEIUee.js';
4
4
 
5
5
  declare const transactionStatus: (params?: ({
6
6
  txHash: string;
@@ -303,6 +303,12 @@ declare const transactionStatus: (params?: ({
303
303
  txHash?: string | undefined;
304
304
  onChainAt?: string | undefined;
305
305
  } | undefined;
306
+ composeTx?: {
307
+ chainId?: string | undefined;
308
+ explorerLink: string;
309
+ txHash?: string | undefined;
310
+ onChainAt?: string | undefined;
311
+ } | undefined;
306
312
  errorTx?: {
307
313
  chainId?: string | undefined;
308
314
  explorerLink: string;
@@ -590,6 +596,12 @@ declare const transactionStatus: (params?: ({
590
596
  txHash?: string | undefined;
591
597
  onChainAt?: string | undefined;
592
598
  } | undefined;
599
+ composeTx?: {
600
+ chainId?: string | undefined;
601
+ explorerLink: string;
602
+ txHash?: string | undefined;
603
+ onChainAt?: string | undefined;
604
+ } | undefined;
593
605
  errorTx?: {
594
606
  chainId?: string | undefined;
595
607
  explorerLink: string;
@@ -0,0 +1,3 @@
1
+ export { transactionStatus } from '../chunk-I4AMZAHH.js';
2
+ import '../chunk-SS5LQKBL.js';
3
+ import '../chunk-KYLULQOS.js';
@@ -1,7 +1,12 @@
1
- import { aU as TransferStatus, T as Erc20Approval } from './swaggerTypes-BpJPRbC3.js';
1
+ import { aU as TransferStatus, T as Erc20Approval } from './swaggerTypes-BrC-ZYnx.js';
2
2
 
3
3
  type CallbackStatus = "error" | "pending" | "completed";
4
4
  type TransactionCallbacks = {
5
+ onTransactionSignRequested?: (value: {
6
+ chainId: string;
7
+ txIndex: number;
8
+ signerAddress?: string;
9
+ }) => Promise<void>;
5
10
  onTransactionSigned?: (txInfo: {
6
11
  chainId: string;
7
12
  }) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-YABXOO3H.js';
1
+ import { api } from './chunk-SS5LQKBL.js';
2
2
 
3
3
  // src/api/postMessagesDirect.ts
4
4
  var messagesDirect = api({