@skip-go/client 1.0.3-alpha-0 → 1.0.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 (106) hide show
  1. package/dist/api/getAssets.cjs +15 -0
  2. package/dist/api/{getAssets.d.ts → getAssets.d.cts} +2 -2
  3. package/dist/api/getAssetsBetweenChains.cjs +11 -0
  4. package/dist/api/{getAssetsBetweenChains.d.ts → getAssetsBetweenChains.d.cts} +2 -2
  5. package/dist/api/getBridges.cjs +11 -0
  6. package/dist/api/{getBridges.d.ts → getBridges.d.cts} +2 -2
  7. package/dist/api/getChains.cjs +11 -0
  8. package/dist/api/{getChains.d.ts → getChains.d.cts} +2 -2
  9. package/dist/api/getVenues.cjs +11 -0
  10. package/dist/api/{getVenues.d.ts → getVenues.d.cts} +1 -1
  11. package/dist/api/postAssetsFromSource.cjs +12 -0
  12. package/dist/api/{postAssetsFromSource.d.ts → postAssetsFromSource.d.cts} +2 -2
  13. package/dist/api/postBalances.cjs +11 -0
  14. package/dist/api/{postBalances.d.ts → postBalances.d.cts} +3 -3
  15. package/dist/api/postIbcOriginAssets.cjs +11 -0
  16. package/dist/api/{postIbcOriginAssets.d.ts → postIbcOriginAssets.d.cts} +1 -1
  17. package/dist/api/postMessages.cjs +11 -0
  18. package/dist/api/{postMessages.d.ts → postMessages.d.cts} +186 -186
  19. package/dist/api/postMessagesDirect.cjs +11 -0
  20. package/dist/api/{postMessagesDirect.d.ts → postMessagesDirect.d.cts} +185 -185
  21. package/dist/api/postRecommendAssets.cjs +11 -0
  22. package/dist/api/{postRecommendAssets.d.ts → postRecommendAssets.d.cts} +2 -2
  23. package/dist/api/postRoute.cjs +11 -0
  24. package/dist/api/{postRoute.d.ts → postRoute.d.cts} +163 -163
  25. package/dist/api/postSubmitTransaction.cjs +11 -0
  26. package/dist/api/{postSubmitTransaction.d.ts → postSubmitTransaction.d.cts} +1 -1
  27. package/dist/api/postTrackTransaction.cjs +11 -0
  28. package/dist/api/{postTrackTransaction.d.ts → postTrackTransaction.d.cts} +1 -1
  29. package/dist/api/postTransactionStatus.cjs +11 -0
  30. package/dist/api/{postTransactionStatus.d.ts → postTransactionStatus.d.cts} +3 -3
  31. package/dist/chunk-32MRDO7V.cjs +12 -0
  32. package/dist/{chunk-VQ5SIQWU.js → chunk-4R6OCWRR.cjs} +3 -1
  33. package/dist/chunk-4RVEOKQU.cjs +24 -0
  34. package/dist/{chunk-4JJWOILI.js → chunk-77ITCT75.cjs} +5 -3
  35. package/dist/{chunk-JTIHU43D.js → chunk-7SK3IFXJ.cjs} +6 -1
  36. package/dist/{chunk-SONZJVQM.js → chunk-D2MDLQQZ.cjs} +51 -47
  37. package/dist/chunk-DAMZSSOH.cjs +12 -0
  38. package/dist/{chunk-BRMONS6A.js → chunk-ED2OY55G.cjs} +11 -5
  39. package/dist/{chunk-F75DC5RW.js → chunk-GQYZQCOJ.cjs} +185 -179
  40. package/dist/{chunk-W6TBGBV3.js → chunk-HAR3IXDE.cjs} +31 -1
  41. package/dist/chunk-ISHM4QWP.cjs +16 -0
  42. package/dist/{chunk-VMPFHQ7U.js → chunk-J4LI33TK.cjs} +11 -9
  43. package/dist/chunk-KDN7RCGP.cjs +13 -0
  44. package/dist/{chunk-SWYON2RG.js → chunk-KZOSEIWH.cjs} +4 -1
  45. package/dist/chunk-L5V5PASH.cjs +12 -0
  46. package/dist/chunk-LXYLWTNZ.cjs +12 -0
  47. package/dist/{chunk-C2EDPY6J.js → chunk-PNWIJSMA.cjs} +5 -3
  48. package/dist/{chunk-PRQ2NHRZ.js → chunk-RDOSNDAQ.cjs} +5 -3
  49. package/dist/{chunk-GARVPN2H.js → chunk-SFMBRLUS.cjs} +6 -4
  50. package/dist/{chunk-PHTQQIAH.js → chunk-UO54MR5Z.cjs} +226 -220
  51. package/dist/chunk-URLFWBSC.cjs +11 -0
  52. package/dist/{chunk-KNV72XRZ.js → chunk-VI7UMBQ7.cjs} +5 -3
  53. package/dist/{chunk-TD63P2AG.js → chunk-WMXUOVHN.cjs} +156 -111
  54. package/dist/{chunk-TW77BXMT.js → chunk-ZNXE6PUV.cjs} +9 -7
  55. package/dist/{client-types-CxjtffyG.d.ts → client-types-qvyKvyFh.d.cts} +1 -1
  56. package/dist/{executeRoute-BKvMVd1I.d.ts → executeRoute-BKRpODCc.d.cts} +3 -3
  57. package/dist/{generateApi-DqCp36fX.d.ts → generateApi-C0amiydg.d.cts} +1 -1
  58. package/dist/index.cjs +209 -0
  59. package/dist/{index.d.ts → index.d.cts} +25 -25
  60. package/dist/public-functions/executeRoute.cjs +21 -0
  61. package/dist/public-functions/{executeRoute.d.ts → executeRoute.d.cts} +4 -4
  62. package/dist/public-functions/getFeeInfoForChain.cjs +14 -0
  63. package/dist/public-functions/{getFeeInfoForChain.d.ts → getFeeInfoForChain.d.cts} +2 -2
  64. package/dist/public-functions/getRecommendedGasPrice.cjs +16 -0
  65. package/dist/public-functions/{getRecommendedGasPrice.d.ts → getRecommendedGasPrice.d.cts} +1 -1
  66. package/dist/public-functions/getSigningStargateClient.cjs +13 -0
  67. package/dist/public-functions/setApiOptions.cjs +11 -0
  68. package/dist/public-functions/{setApiOptions.d.ts → setApiOptions.d.cts} +2 -2
  69. package/dist/public-functions/setClientOptions.cjs +13 -0
  70. package/dist/public-functions/setClientOptions.d.cts +9 -0
  71. package/dist/{setClientOptions-DbanEIwL.d.ts → setClientOptions-CT6CHI9I.d.cts} +2 -2
  72. package/package.json +6 -6
  73. package/dist/api/getAssets.js +0 -2
  74. package/dist/api/getAssetsBetweenChains.js +0 -2
  75. package/dist/api/getBridges.js +0 -2
  76. package/dist/api/getChains.js +0 -2
  77. package/dist/api/getVenues.js +0 -2
  78. package/dist/api/postAssetsFromSource.js +0 -3
  79. package/dist/api/postBalances.js +0 -2
  80. package/dist/api/postIbcOriginAssets.js +0 -2
  81. package/dist/api/postMessages.js +0 -2
  82. package/dist/api/postMessagesDirect.js +0 -2
  83. package/dist/api/postRecommendAssets.js +0 -2
  84. package/dist/api/postRoute.js +0 -2
  85. package/dist/api/postSubmitTransaction.js +0 -2
  86. package/dist/api/postTrackTransaction.js +0 -2
  87. package/dist/api/postTransactionStatus.js +0 -2
  88. package/dist/chunk-33K6EESX.js +0 -10
  89. package/dist/chunk-BQTQJQ5E.js +0 -10
  90. package/dist/chunk-DW4U6YI6.js +0 -10
  91. package/dist/chunk-MGVXJ2U4.js +0 -11
  92. package/dist/chunk-MTMPHY3Y.js +0 -9
  93. package/dist/chunk-RDRDFJQE.js +0 -10
  94. package/dist/chunk-RMP3HM5N.js +0 -14
  95. package/dist/chunk-UNF72WYO.js +0 -22
  96. package/dist/index.js +0 -24
  97. package/dist/public-functions/executeRoute.js +0 -12
  98. package/dist/public-functions/getFeeInfoForChain.js +0 -5
  99. package/dist/public-functions/getRecommendedGasPrice.js +0 -7
  100. package/dist/public-functions/getSigningStargateClient.js +0 -4
  101. package/dist/public-functions/setApiOptions.js +0 -2
  102. package/dist/public-functions/setClientOptions.d.ts +0 -9
  103. package/dist/public-functions/setClientOptions.js +0 -4
  104. /package/dist/{apiState-CdzxTxYd.d.ts → apiState-CdzxTxYd.d.cts} +0 -0
  105. /package/dist/public-functions/{getSigningStargateClient.d.ts → getSigningStargateClient.d.cts} +0 -0
  106. /package/dist/{swaggerTypes-O9-gvCT1.d.ts → swaggerTypes-O9-gvCT1.d.cts} +0 -0
@@ -1,6 +1,6 @@
1
- import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { A as ApiRequest } from '../generateApi-DqCp36fX.js';
1
+ import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.cjs';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
3
+ import { A as ApiRequest } from '../generateApi-C0amiydg.cjs';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -12,128 +12,6 @@ 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
- usdFeeAmount?: string | undefined;
27
- feeAsset?: {
28
- chainId: string;
29
- coingeckoId?: string | undefined;
30
- decimals?: number | undefined;
31
- denom: string;
32
- description?: string | undefined;
33
- isCw20: boolean;
34
- isEvm: boolean;
35
- isSvm: boolean;
36
- logoUri?: string | undefined;
37
- name?: string | undefined;
38
- originChainId: string;
39
- originDenom: string;
40
- recommendedSymbol?: string | undefined;
41
- symbol?: string | undefined;
42
- tokenContract?: string | undefined;
43
- trace: string;
44
- } | undefined;
45
- bridgeId?: BridgeType | undefined;
46
- smartRelay?: boolean | undefined;
47
- } | undefined;
48
- txIndex: number;
49
- amountIn: string;
50
- amountOut: string;
51
- } | {
52
- swap?: {
53
- swapIn?: {
54
- swapAmountIn?: string | undefined;
55
- swapOperations?: {
56
- denomIn?: string | undefined;
57
- denomOut?: string | undefined;
58
- pool?: string | undefined;
59
- interface?: string | undefined;
60
- }[] | undefined;
61
- swapVenue?: {
62
- chainId?: string | undefined;
63
- name?: string | undefined;
64
- logoUri?: string | undefined;
65
- } | undefined;
66
- priceImpactPercent?: string | undefined;
67
- } | undefined;
68
- estimatedAffiliateFee?: string | undefined;
69
- chainId?: string | undefined;
70
- fromChainId?: string | undefined;
71
- denomIn?: string | undefined;
72
- denomOut?: string | undefined;
73
- swapVenues?: {
74
- chainId?: string | undefined;
75
- name?: string | undefined;
76
- logoUri?: string | undefined;
77
- }[] | undefined;
78
- } | {
79
- swapOut?: {
80
- swapAmountOut?: string | undefined;
81
- swapOperations?: {
82
- denomIn?: string | undefined;
83
- denomOut?: string | undefined;
84
- pool?: string | undefined;
85
- interface?: string | undefined;
86
- }[] | undefined;
87
- swapVenue?: {
88
- chainId?: string | undefined;
89
- name?: string | undefined;
90
- logoUri?: string | undefined;
91
- } | undefined;
92
- priceImpactPercent?: string | undefined;
93
- } | undefined;
94
- estimatedAffiliateFee?: string | undefined;
95
- chainId?: string | undefined;
96
- fromChainId?: string | undefined;
97
- denomIn?: string | undefined;
98
- denomOut?: string | undefined;
99
- swapVenues?: {
100
- chainId?: string | undefined;
101
- name?: string | undefined;
102
- logoUri?: string | undefined;
103
- }[] | undefined;
104
- } | {
105
- smartSwapIn?: {
106
- swapVenue?: {
107
- chainId?: string | undefined;
108
- name?: string | undefined;
109
- logoUri?: string | undefined;
110
- } | undefined;
111
- swapRoutes?: {
112
- swapAmountIn?: string | undefined;
113
- denomIn?: string | undefined;
114
- swapOperations?: {
115
- denomIn?: string | undefined;
116
- denomOut?: string | undefined;
117
- pool?: string | undefined;
118
- interface?: string | undefined;
119
- }[] | undefined;
120
- }[] | undefined;
121
- } | undefined;
122
- estimatedAffiliateFee?: string | undefined;
123
- chainId?: string | undefined;
124
- fromChainId?: string | undefined;
125
- denomIn?: string | undefined;
126
- denomOut?: string | undefined;
127
- swapVenues?: {
128
- chainId?: string | undefined;
129
- name?: string | undefined;
130
- logoUri?: string | undefined;
131
- }[] | undefined;
132
- } | undefined;
133
- txIndex: number;
134
- amountIn: string;
135
- amountOut: string;
136
- } | {
137
15
  axelarTransfer?: {
138
16
  asset?: string | undefined;
139
17
  feeAmount?: string | undefined;
@@ -203,14 +81,6 @@ declare const route: (request: RouteRequest) => Promise<{
203
81
  txIndex: number;
204
82
  amountIn: string;
205
83
  amountOut: string;
206
- } | {
207
- bankSend?: {
208
- chainId?: string | undefined;
209
- denom?: string | undefined;
210
- } | undefined;
211
- txIndex: number;
212
- amountIn: string;
213
- amountOut: string;
214
84
  } | {
215
85
  cctpTransfer?: {
216
86
  fromChainId?: string | undefined;
@@ -232,14 +102,15 @@ declare const route: (request: RouteRequest) => Promise<{
232
102
  amountIn: string;
233
103
  amountOut: string;
234
104
  } | {
235
- hyperlaneTransfer?: {
105
+ stargateTransfer?: {
236
106
  fromChainId?: string | undefined;
237
107
  toChainId?: string | undefined;
238
108
  denomIn?: string | undefined;
239
109
  denomOut?: string | undefined;
240
- hyperlaneContractAddress?: string | undefined;
241
- feeAmount?: string | undefined;
242
- feeAsset?: {
110
+ bridgeId?: BridgeType | undefined;
111
+ poolAddress?: string | undefined;
112
+ destinationEndpointId?: number | undefined;
113
+ oftFeeAsset?: {
243
114
  chainId: string;
244
115
  coingeckoId?: string | undefined;
245
116
  decimals?: number | undefined;
@@ -257,9 +128,36 @@ declare const route: (request: RouteRequest) => Promise<{
257
128
  tokenContract?: string | undefined;
258
129
  trace: string;
259
130
  } | undefined;
260
- usdFeeAmount?: string | undefined;
261
- bridgeId?: BridgeType | undefined;
262
- smartRelay?: boolean | undefined;
131
+ oftFeeAmount?: string | undefined;
132
+ oftFeeAmountUsd?: string | undefined;
133
+ messagingFeeAsset?: {
134
+ chainId: string;
135
+ coingeckoId?: string | undefined;
136
+ decimals?: number | undefined;
137
+ denom: string;
138
+ description?: string | undefined;
139
+ isCw20: boolean;
140
+ isEvm: boolean;
141
+ isSvm: boolean;
142
+ logoUri?: string | undefined;
143
+ name?: string | undefined;
144
+ originChainId: string;
145
+ originDenom: string;
146
+ recommendedSymbol?: string | undefined;
147
+ symbol?: string | undefined;
148
+ tokenContract?: string | undefined;
149
+ trace: string;
150
+ } | undefined;
151
+ messagingFeeAmount?: string | undefined;
152
+ messageingFeeAmountUsd?: string | undefined;
153
+ } | undefined;
154
+ txIndex: number;
155
+ amountIn: string;
156
+ amountOut: string;
157
+ } | {
158
+ bankSend?: {
159
+ chainId?: string | undefined;
160
+ denom?: string | undefined;
263
161
  } | undefined;
264
162
  txIndex: number;
265
163
  amountIn: string;
@@ -283,28 +181,14 @@ declare const route: (request: RouteRequest) => Promise<{
283
181
  amountIn: string;
284
182
  amountOut: string;
285
183
  } | {
286
- transfer?: {
287
- fromChainId?: string | undefined;
288
- toChainId?: string | undefined;
289
- denomIn?: string | undefined;
290
- denomOut?: string | undefined;
291
- opInitBridgeId?: any;
292
- bridgeId?: BridgeType | undefined;
293
- smartRelay?: boolean | undefined;
294
- } | undefined;
295
- txIndex: number;
296
- amountIn: string;
297
- amountOut: string;
298
- } | {
299
- stargateTransfer?: {
184
+ hyperlaneTransfer?: {
300
185
  fromChainId?: string | undefined;
301
186
  toChainId?: string | undefined;
302
187
  denomIn?: string | undefined;
303
188
  denomOut?: string | undefined;
304
- bridgeId?: BridgeType | undefined;
305
- poolAddress?: string | undefined;
306
- destinationEndpointId?: number | undefined;
307
- oftFeeAsset?: {
189
+ hyperlaneContractAddress?: string | undefined;
190
+ feeAmount?: string | undefined;
191
+ feeAsset?: {
308
192
  chainId: string;
309
193
  coingeckoId?: string | undefined;
310
194
  decimals?: number | undefined;
@@ -322,9 +206,27 @@ declare const route: (request: RouteRequest) => Promise<{
322
206
  tokenContract?: string | undefined;
323
207
  trace: string;
324
208
  } | undefined;
325
- oftFeeAmount?: string | undefined;
326
- oftFeeAmountUsd?: string | undefined;
327
- messagingFeeAsset?: {
209
+ usdFeeAmount?: string | undefined;
210
+ bridgeId?: BridgeType | undefined;
211
+ smartRelay?: boolean | undefined;
212
+ } | undefined;
213
+ txIndex: number;
214
+ amountIn: string;
215
+ amountOut: string;
216
+ } | {
217
+ transfer?: {
218
+ fromChainId?: string | undefined;
219
+ toChainId?: string | undefined;
220
+ channel?: string | undefined;
221
+ destDenom?: string | undefined;
222
+ pfmEnabled?: boolean | undefined;
223
+ port?: string | undefined;
224
+ supportsMemo?: boolean | undefined;
225
+ denomIn?: string | undefined;
226
+ denomOut?: string | undefined;
227
+ feeAmount?: string | undefined;
228
+ usdFeeAmount?: string | undefined;
229
+ feeAsset?: {
328
230
  chainId: string;
329
231
  coingeckoId?: string | undefined;
330
232
  decimals?: number | undefined;
@@ -342,8 +244,106 @@ declare const route: (request: RouteRequest) => Promise<{
342
244
  tokenContract?: string | undefined;
343
245
  trace: string;
344
246
  } | undefined;
345
- messagingFeeAmount?: string | undefined;
346
- messageingFeeAmountUsd?: string | undefined;
247
+ bridgeId?: BridgeType | undefined;
248
+ smartRelay?: boolean | undefined;
249
+ } | undefined;
250
+ txIndex: number;
251
+ amountIn: string;
252
+ amountOut: string;
253
+ } | {
254
+ swap?: {
255
+ swapIn?: {
256
+ swapAmountIn?: string | undefined;
257
+ swapOperations?: {
258
+ denomIn?: string | undefined;
259
+ denomOut?: string | undefined;
260
+ pool?: string | undefined;
261
+ interface?: string | undefined;
262
+ }[] | undefined;
263
+ swapVenue?: {
264
+ chainId?: string | undefined;
265
+ name?: string | undefined;
266
+ logoUri?: string | undefined;
267
+ } | undefined;
268
+ priceImpactPercent?: string | undefined;
269
+ } | undefined;
270
+ estimatedAffiliateFee?: string | undefined;
271
+ chainId?: string | undefined;
272
+ fromChainId?: string | undefined;
273
+ denomIn?: string | undefined;
274
+ denomOut?: string | undefined;
275
+ swapVenues?: {
276
+ chainId?: string | undefined;
277
+ name?: string | undefined;
278
+ logoUri?: string | undefined;
279
+ }[] | undefined;
280
+ } | {
281
+ swapOut?: {
282
+ swapAmountOut?: string | undefined;
283
+ swapOperations?: {
284
+ denomIn?: string | undefined;
285
+ denomOut?: string | undefined;
286
+ pool?: string | undefined;
287
+ interface?: string | undefined;
288
+ }[] | undefined;
289
+ swapVenue?: {
290
+ chainId?: string | undefined;
291
+ name?: string | undefined;
292
+ logoUri?: string | undefined;
293
+ } | undefined;
294
+ priceImpactPercent?: string | undefined;
295
+ } | undefined;
296
+ estimatedAffiliateFee?: string | undefined;
297
+ chainId?: string | undefined;
298
+ fromChainId?: string | undefined;
299
+ denomIn?: string | undefined;
300
+ denomOut?: string | undefined;
301
+ swapVenues?: {
302
+ chainId?: string | undefined;
303
+ name?: string | undefined;
304
+ logoUri?: string | undefined;
305
+ }[] | undefined;
306
+ } | {
307
+ smartSwapIn?: {
308
+ swapVenue?: {
309
+ chainId?: string | undefined;
310
+ name?: string | undefined;
311
+ logoUri?: string | undefined;
312
+ } | undefined;
313
+ swapRoutes?: {
314
+ swapAmountIn?: string | undefined;
315
+ denomIn?: string | undefined;
316
+ swapOperations?: {
317
+ denomIn?: string | undefined;
318
+ denomOut?: string | undefined;
319
+ pool?: string | undefined;
320
+ interface?: string | undefined;
321
+ }[] | undefined;
322
+ }[] | undefined;
323
+ } | undefined;
324
+ estimatedAffiliateFee?: string | undefined;
325
+ chainId?: string | undefined;
326
+ fromChainId?: string | undefined;
327
+ denomIn?: string | undefined;
328
+ denomOut?: string | undefined;
329
+ swapVenues?: {
330
+ chainId?: string | undefined;
331
+ name?: string | undefined;
332
+ logoUri?: string | undefined;
333
+ }[] | undefined;
334
+ } | undefined;
335
+ txIndex: number;
336
+ amountIn: string;
337
+ amountOut: string;
338
+ } | {
339
+ transfer?: {
340
+ fromChainId?: string | undefined;
341
+ toChainId?: string | undefined;
342
+ denomIn?: string | undefined;
343
+ denomOut?: string | undefined;
344
+ opInitBridgeId?: any;
345
+ bridgeId?: BridgeType | undefined;
346
+ smartRelay?: boolean | undefined;
347
347
  } | undefined;
348
348
  txIndex: number;
349
349
  amountIn: string;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkL5V5PASH_cjs = require('../chunk-L5V5PASH.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "submitTransaction", {
9
+ enumerable: true,
10
+ get: function () { return chunkL5V5PASH_cjs.submitTransaction; }
11
+ });
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
2
2
 
3
3
  declare const submitTransaction: (options?: ({
4
4
  tx?: string | undefined;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkKDN7RCGP_cjs = require('../chunk-KDN7RCGP.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "trackTransaction", {
9
+ enumerable: true,
10
+ get: function () { return chunkKDN7RCGP_cjs.trackTransaction; }
11
+ });
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
2
2
 
3
3
  declare const trackTransaction: (params?: ({
4
4
  txHash: string;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkDAMZSSOH_cjs = require('../chunk-DAMZSSOH.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "transactionStatus", {
9
+ enumerable: true,
10
+ get: function () { return chunkDAMZSSOH_cjs.transactionStatus; }
11
+ });
@@ -1,6 +1,6 @@
1
- import { au as StatusErrorType, aI as TransactionState, ak as PacketErrorType, aR as TransferState, k as AxelarTransferState, N as ContractCallWithTokenErrorType, ar as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a7 as HyperlaneTransferState, aN as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aO as LayerZeroTransferState } from '../swaggerTypes-O9-gvCT1.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { a as ApiResponse } from '../generateApi-DqCp36fX.js';
1
+ import { au as StatusErrorType, aI as TransactionState, ak as PacketErrorType, aR as TransferState, k as AxelarTransferState, N as ContractCallWithTokenErrorType, ar as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a7 as HyperlaneTransferState, aN as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aO as LayerZeroTransferState } from '../swaggerTypes-O9-gvCT1.cjs';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
3
+ import { a as ApiResponse } from '../generateApi-C0amiydg.cjs';
4
4
 
5
5
  declare const transactionStatus: (params?: ({
6
6
  txHash: string;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
4
+
5
+ // src/api/postMessages.ts
6
+ var messages = chunkHAR3IXDE_cjs.api({
7
+ methodName: "getMsgsV2",
8
+ method: "post",
9
+ path: "/v2/fungible/msgs"
10
+ });
11
+
12
+ exports.messages = messages;
@@ -1,3 +1,5 @@
1
+ 'use strict';
2
+
1
3
  // ../../node_modules/bignumber.js/bignumber.mjs
2
4
  var isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i;
3
5
  var mathceil = Math.ceil;
@@ -1341,4 +1343,4 @@ function toFixedPoint(str, e, z) {
1341
1343
  }
1342
1344
  var BigNumber = clone();
1343
1345
 
1344
- export { BigNumber };
1346
+ exports.BigNumber = BigNumber;
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ var chunk4R6OCWRR_cjs = require('./chunk-4R6OCWRR.cjs');
4
+ var chunkJ4LI33TK_cjs = require('./chunk-J4LI33TK.cjs');
5
+ var math = require('@cosmjs/math');
6
+ var stargate = require('@cosmjs/stargate');
7
+
8
+ var getRecommendedGasPrice = async (props) => {
9
+ const feeInfo = await chunkJ4LI33TK_cjs.getFeeInfoForChain(props);
10
+ if (!feeInfo || !feeInfo.gasPrice) {
11
+ return void 0;
12
+ }
13
+ let price = feeInfo.gasPrice.average;
14
+ if (price === "") {
15
+ price = feeInfo.gasPrice.high;
16
+ }
17
+ if (price === "") {
18
+ price = feeInfo.gasPrice.low;
19
+ }
20
+ if (!price) return;
21
+ return new stargate.GasPrice(math.Decimal.fromUserInput(chunk4R6OCWRR_cjs.BigNumber(price).toFixed(), 18), feeInfo.denom);
22
+ };
23
+
24
+ exports.getRecommendedGasPrice = getRecommendedGasPrice;
@@ -1,7 +1,9 @@
1
- import { api } from './chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
2
4
 
3
5
  // src/api/postRecommendAssets.ts
4
- var recommendAssets = api({
6
+ var recommendAssets = chunkHAR3IXDE_cjs.api({
5
7
  methodName: "getAssetRecommendations",
6
8
  method: "post",
7
9
  path: "/v2/fungible/recommend_assets",
@@ -10,4 +12,4 @@ var recommendAssets = api({
10
12
  }
11
13
  });
12
14
 
13
- export { recommendAssets };
15
+ exports.recommendAssets = recommendAssets;