@skip-go/client 1.0.1 → 1.0.3-alpha-0

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 (65) hide show
  1. package/dist/api/getAssets.js +2 -15
  2. package/dist/api/getAssetsBetweenChains.js +2 -11
  3. package/dist/api/getBridges.js +2 -11
  4. package/dist/api/getChains.js +2 -11
  5. package/dist/api/getVenues.js +2 -11
  6. package/dist/api/postAssetsFromSource.js +3 -12
  7. package/dist/api/postBalances.js +2 -11
  8. package/dist/api/postIbcOriginAssets.js +2 -11
  9. package/dist/api/postMessages.d.ts +183 -183
  10. package/dist/api/postMessages.js +2 -11
  11. package/dist/api/postMessagesDirect.d.ts +183 -183
  12. package/dist/api/postMessagesDirect.js +2 -11
  13. package/dist/api/postRecommendAssets.js +2 -11
  14. package/dist/api/postRoute.d.ts +160 -160
  15. package/dist/api/postRoute.js +2 -11
  16. package/dist/api/postSubmitTransaction.js +2 -11
  17. package/dist/api/postTrackTransaction.js +2 -11
  18. package/dist/api/postTransactionStatus.js +2 -11
  19. package/dist/chunk-33K6EESX.js +10 -0
  20. package/dist/{chunk-Z4ZKOUGH.js → chunk-4JJWOILI.js} +3 -5
  21. package/dist/chunk-BQTQJQ5E.js +10 -0
  22. package/dist/chunk-BRMONS6A.js +130 -0
  23. package/dist/{chunk-ZG23Z3WY.js → chunk-C2EDPY6J.js} +3 -5
  24. package/dist/chunk-DW4U6YI6.js +10 -0
  25. package/dist/chunk-F75DC5RW.js +1786 -0
  26. package/dist/chunk-GARVPN2H.js +16 -0
  27. package/dist/{chunk-CG5CQQBW.js → chunk-JTIHU43D.js} +33 -42
  28. package/dist/{chunk-5ZJBR5AQ.js → chunk-KNV72XRZ.js} +3 -5
  29. package/dist/chunk-MGVXJ2U4.js +11 -0
  30. package/dist/chunk-MTMPHY3Y.js +9 -0
  31. package/dist/{chunk-GFRPLEJR.js → chunk-PHTQQIAH.js} +278 -311
  32. package/dist/{chunk-RE2QZJWE.js → chunk-PRQ2NHRZ.js} +3 -5
  33. package/dist/chunk-RDRDFJQE.js +10 -0
  34. package/dist/chunk-RMP3HM5N.js +14 -0
  35. package/dist/{chunk-X2YPYBVN.js → chunk-SONZJVQM.js} +59 -68
  36. package/dist/chunk-SWYON2RG.js +1 -4
  37. package/dist/{chunk-RT5TZAMU.js → chunk-TD63P2AG.js} +212 -312
  38. package/dist/{chunk-PKPZTO4H.js → chunk-TW77BXMT.js} +10 -13
  39. package/dist/chunk-UNF72WYO.js +22 -0
  40. package/dist/{chunk-4XWIXR2P.js → chunk-VMPFHQ7U.js} +19 -27
  41. package/dist/chunk-VQ5SIQWU.js +1 -3
  42. package/dist/chunk-W6TBGBV3.js +675 -0
  43. package/dist/index.d.ts +0 -3
  44. package/dist/index.js +24 -209
  45. package/dist/public-functions/executeRoute.js +12 -21
  46. package/dist/public-functions/getFeeInfoForChain.js +5 -14
  47. package/dist/public-functions/getRecommendedGasPrice.d.ts +1 -1
  48. package/dist/public-functions/getRecommendedGasPrice.js +7 -16
  49. package/dist/public-functions/getSigningStargateClient.d.ts +2 -2
  50. package/dist/public-functions/getSigningStargateClient.js +4 -13
  51. package/dist/public-functions/setApiOptions.js +2 -11
  52. package/dist/public-functions/setClientOptions.js +4 -13
  53. package/package.json +12 -3
  54. package/dist/chunk-2WHYWV4Y.js +0 -12
  55. package/dist/chunk-5KVRQLI5.js +0 -17
  56. package/dist/chunk-6BTWKTNM.js +0 -16
  57. package/dist/chunk-6GJEXV5J.js +0 -130
  58. package/dist/chunk-ASPVKNJ7.js +0 -242
  59. package/dist/chunk-EQLA2SEZ.js +0 -2361
  60. package/dist/chunk-FVSSCQ6C.js +0 -12
  61. package/dist/chunk-KYFTM3PI.js +0 -12
  62. package/dist/chunk-L2Q5RP6O.js +0 -25
  63. package/dist/chunk-LRIPQQ4M.js +0 -11
  64. package/dist/chunk-X2E2TKVR.js +0 -12
  65. package/dist/chunk-YYNIFO2A.js +0 -13
@@ -27,15 +27,15 @@ declare const messagesDirect: (options?: ({
27
27
  };
28
28
  } | undefined;
29
29
  postRouteHandler?: {
30
- autpilotMsg?: {
31
- action?: AutopilotAction | undefined;
32
- receiver?: string | undefined;
33
- } | undefined;
34
- } | {
35
30
  wasmMsg?: {
36
31
  contractAddress?: string | undefined;
37
32
  msg?: string | undefined;
38
33
  } | undefined;
34
+ } | {
35
+ autpilotMsg?: {
36
+ action?: AutopilotAction | undefined;
37
+ receiver?: string | undefined;
38
+ } | undefined;
39
39
  } | undefined;
40
40
  allowMultiTx?: boolean | undefined;
41
41
  allowUnsafe?: boolean | undefined;
@@ -53,6 +53,13 @@ declare const messagesDirect: (options?: ({
53
53
  abortDuplicateRequests?: boolean | undefined;
54
54
  }) | undefined) => Promise<{
55
55
  msgs?: ({
56
+ multiChainMsg?: {
57
+ chainId?: string | undefined;
58
+ msg?: string | undefined;
59
+ msgTypeUrl?: string | undefined;
60
+ path?: string[] | undefined;
61
+ } | undefined;
62
+ } | {
56
63
  evmTx: {
57
64
  chainId: string;
58
65
  data?: string | undefined;
@@ -71,26 +78,8 @@ declare const messagesDirect: (options?: ({
71
78
  signerAddress?: string | undefined;
72
79
  tx?: string | undefined;
73
80
  };
74
- } | {
75
- multiChainMsg?: {
76
- chainId?: string | undefined;
77
- msg?: string | undefined;
78
- msgTypeUrl?: string | undefined;
79
- path?: string[] | undefined;
80
- } | undefined;
81
81
  })[] | undefined;
82
82
  txs?: ({
83
- cosmosTx: {
84
- chainId: string;
85
- path?: string[] | undefined;
86
- signerAddress?: string | undefined;
87
- msgs?: {
88
- msg?: string | undefined;
89
- msgTypeUrl?: string | undefined;
90
- }[] | undefined;
91
- };
92
- operationsIndices?: number[] | undefined;
93
- } | {
94
83
  evmTx: {
95
84
  chainId: string;
96
85
  data?: string | undefined;
@@ -111,6 +100,17 @@ declare const messagesDirect: (options?: ({
111
100
  tx?: string | undefined;
112
101
  };
113
102
  operationsIndices?: number[] | undefined;
103
+ } | {
104
+ cosmosTx: {
105
+ chainId: string;
106
+ path?: string[] | undefined;
107
+ signerAddress?: string | undefined;
108
+ msgs?: {
109
+ msg?: string | undefined;
110
+ msgTypeUrl?: string | undefined;
111
+ }[] | undefined;
112
+ };
113
+ operationsIndices?: number[] | undefined;
114
114
  })[] | undefined;
115
115
  route?: {
116
116
  amountIn: string;
@@ -122,6 +122,128 @@ declare const messagesDirect: (options?: ({
122
122
  doesSwap?: boolean | undefined;
123
123
  estimatedAmountOut: string;
124
124
  operations: ({
125
+ transfer?: {
126
+ fromChainId?: string | undefined;
127
+ toChainId?: string | undefined;
128
+ channel?: string | undefined;
129
+ destDenom?: string | undefined;
130
+ pfmEnabled?: boolean | undefined;
131
+ port?: string | undefined;
132
+ supportsMemo?: boolean | undefined;
133
+ denomIn?: string | undefined;
134
+ denomOut?: string | undefined;
135
+ feeAmount?: string | undefined;
136
+ usdFeeAmount?: string | undefined;
137
+ feeAsset?: {
138
+ chainId: string;
139
+ coingeckoId?: string | undefined;
140
+ decimals?: number | undefined;
141
+ denom: string;
142
+ description?: string | undefined;
143
+ isCw20: boolean;
144
+ isEvm: boolean;
145
+ isSvm: boolean;
146
+ logoUri?: string | undefined;
147
+ name?: string | undefined;
148
+ originChainId: string;
149
+ originDenom: string;
150
+ recommendedSymbol?: string | undefined;
151
+ symbol?: string | undefined;
152
+ tokenContract?: string | undefined;
153
+ trace: string;
154
+ } | undefined;
155
+ bridgeId?: BridgeType | undefined;
156
+ smartRelay?: boolean | undefined;
157
+ } | undefined;
158
+ txIndex: number;
159
+ amountIn: string;
160
+ amountOut: string;
161
+ } | {
162
+ swap?: {
163
+ swapIn?: {
164
+ swapAmountIn?: string | undefined;
165
+ swapOperations?: {
166
+ denomIn?: string | undefined;
167
+ denomOut?: string | undefined;
168
+ pool?: string | undefined;
169
+ interface?: string | undefined;
170
+ }[] | undefined;
171
+ swapVenue?: {
172
+ chainId?: string | undefined;
173
+ name?: string | undefined;
174
+ logoUri?: string | undefined;
175
+ } | undefined;
176
+ priceImpactPercent?: string | undefined;
177
+ } | undefined;
178
+ estimatedAffiliateFee?: string | undefined;
179
+ chainId?: string | undefined;
180
+ fromChainId?: string | undefined;
181
+ denomIn?: string | undefined;
182
+ denomOut?: string | undefined;
183
+ swapVenues?: {
184
+ chainId?: string | undefined;
185
+ name?: string | undefined;
186
+ logoUri?: string | undefined;
187
+ }[] | undefined;
188
+ } | {
189
+ swapOut?: {
190
+ swapAmountOut?: string | undefined;
191
+ swapOperations?: {
192
+ denomIn?: string | undefined;
193
+ denomOut?: string | undefined;
194
+ pool?: string | undefined;
195
+ interface?: string | undefined;
196
+ }[] | undefined;
197
+ swapVenue?: {
198
+ chainId?: string | undefined;
199
+ name?: string | undefined;
200
+ logoUri?: string | undefined;
201
+ } | undefined;
202
+ priceImpactPercent?: string | undefined;
203
+ } | undefined;
204
+ estimatedAffiliateFee?: string | undefined;
205
+ chainId?: string | undefined;
206
+ fromChainId?: string | undefined;
207
+ denomIn?: string | undefined;
208
+ denomOut?: string | undefined;
209
+ swapVenues?: {
210
+ chainId?: string | undefined;
211
+ name?: string | undefined;
212
+ logoUri?: string | undefined;
213
+ }[] | undefined;
214
+ } | {
215
+ smartSwapIn?: {
216
+ swapVenue?: {
217
+ chainId?: string | undefined;
218
+ name?: string | undefined;
219
+ logoUri?: string | undefined;
220
+ } | undefined;
221
+ swapRoutes?: {
222
+ swapAmountIn?: string | undefined;
223
+ denomIn?: string | undefined;
224
+ swapOperations?: {
225
+ denomIn?: string | undefined;
226
+ denomOut?: string | undefined;
227
+ pool?: string | undefined;
228
+ interface?: string | undefined;
229
+ }[] | undefined;
230
+ }[] | undefined;
231
+ } | undefined;
232
+ estimatedAffiliateFee?: string | undefined;
233
+ chainId?: string | undefined;
234
+ fromChainId?: string | undefined;
235
+ denomIn?: string | undefined;
236
+ denomOut?: string | undefined;
237
+ swapVenues?: {
238
+ chainId?: string | undefined;
239
+ name?: string | undefined;
240
+ logoUri?: string | undefined;
241
+ }[] | undefined;
242
+ } | undefined;
243
+ txIndex: number;
244
+ amountIn: string;
245
+ amountOut: string;
246
+ } | {
125
247
  axelarTransfer?: {
126
248
  asset?: string | undefined;
127
249
  feeAmount?: string | undefined;
@@ -191,6 +313,14 @@ declare const messagesDirect: (options?: ({
191
313
  txIndex: number;
192
314
  amountIn: string;
193
315
  amountOut: string;
316
+ } | {
317
+ bankSend?: {
318
+ chainId?: string | undefined;
319
+ denom?: string | undefined;
320
+ } | undefined;
321
+ txIndex: number;
322
+ amountIn: string;
323
+ amountOut: string;
194
324
  } | {
195
325
  cctpTransfer?: {
196
326
  fromChainId?: string | undefined;
@@ -212,35 +342,14 @@ declare const messagesDirect: (options?: ({
212
342
  amountIn: string;
213
343
  amountOut: string;
214
344
  } | {
215
- stargateTransfer?: {
345
+ hyperlaneTransfer?: {
216
346
  fromChainId?: string | undefined;
217
347
  toChainId?: string | undefined;
218
348
  denomIn?: string | undefined;
219
349
  denomOut?: string | undefined;
220
- bridgeId?: BridgeType | undefined;
221
- poolAddress?: string | undefined;
222
- destinationEndpointId?: number | undefined;
223
- oftFeeAsset?: {
224
- chainId: string;
225
- coingeckoId?: string | undefined;
226
- decimals?: number | undefined;
227
- denom: string;
228
- description?: string | undefined;
229
- isCw20: boolean;
230
- isEvm: boolean;
231
- isSvm: boolean;
232
- logoUri?: string | undefined;
233
- name?: string | undefined;
234
- originChainId: string;
235
- originDenom: string;
236
- recommendedSymbol?: string | undefined;
237
- symbol?: string | undefined;
238
- tokenContract?: string | undefined;
239
- trace: string;
240
- } | undefined;
241
- oftFeeAmount?: string | undefined;
242
- oftFeeAmountUsd?: string | undefined;
243
- messagingFeeAsset?: {
350
+ hyperlaneContractAddress?: string | undefined;
351
+ feeAmount?: string | undefined;
352
+ feeAsset?: {
244
353
  chainId: string;
245
354
  coingeckoId?: string | undefined;
246
355
  decimals?: number | undefined;
@@ -258,16 +367,9 @@ declare const messagesDirect: (options?: ({
258
367
  tokenContract?: string | undefined;
259
368
  trace: string;
260
369
  } | undefined;
261
- messagingFeeAmount?: string | undefined;
262
- messageingFeeAmountUsd?: string | undefined;
263
- } | undefined;
264
- txIndex: number;
265
- amountIn: string;
266
- amountOut: string;
267
- } | {
268
- bankSend?: {
269
- chainId?: string | undefined;
270
- denom?: string | undefined;
370
+ usdFeeAmount?: string | undefined;
371
+ bridgeId?: BridgeType | undefined;
372
+ smartRelay?: boolean | undefined;
271
373
  } | undefined;
272
374
  txIndex: number;
273
375
  amountIn: string;
@@ -291,14 +393,28 @@ declare const messagesDirect: (options?: ({
291
393
  amountIn: string;
292
394
  amountOut: string;
293
395
  } | {
294
- hyperlaneTransfer?: {
396
+ transfer?: {
295
397
  fromChainId?: string | undefined;
296
398
  toChainId?: string | undefined;
297
399
  denomIn?: string | undefined;
298
400
  denomOut?: string | undefined;
299
- hyperlaneContractAddress?: string | undefined;
300
- feeAmount?: string | undefined;
301
- feeAsset?: {
401
+ opInitBridgeId?: any;
402
+ bridgeId?: BridgeType | undefined;
403
+ smartRelay?: boolean | undefined;
404
+ } | undefined;
405
+ txIndex: number;
406
+ amountIn: string;
407
+ amountOut: string;
408
+ } | {
409
+ stargateTransfer?: {
410
+ fromChainId?: string | undefined;
411
+ toChainId?: string | undefined;
412
+ denomIn?: string | undefined;
413
+ denomOut?: string | undefined;
414
+ bridgeId?: BridgeType | undefined;
415
+ poolAddress?: string | undefined;
416
+ destinationEndpointId?: number | undefined;
417
+ oftFeeAsset?: {
302
418
  chainId: string;
303
419
  coingeckoId?: string | undefined;
304
420
  decimals?: number | undefined;
@@ -316,27 +432,9 @@ declare const messagesDirect: (options?: ({
316
432
  tokenContract?: string | undefined;
317
433
  trace: string;
318
434
  } | undefined;
319
- usdFeeAmount?: string | undefined;
320
- bridgeId?: BridgeType | undefined;
321
- smartRelay?: boolean | undefined;
322
- } | undefined;
323
- txIndex: number;
324
- amountIn: string;
325
- amountOut: string;
326
- } | {
327
- transfer?: {
328
- fromChainId?: string | undefined;
329
- toChainId?: string | undefined;
330
- channel?: string | undefined;
331
- destDenom?: string | undefined;
332
- pfmEnabled?: boolean | undefined;
333
- port?: string | undefined;
334
- supportsMemo?: boolean | undefined;
335
- denomIn?: string | undefined;
336
- denomOut?: string | undefined;
337
- feeAmount?: string | undefined;
338
- usdFeeAmount?: string | undefined;
339
- feeAsset?: {
435
+ oftFeeAmount?: string | undefined;
436
+ oftFeeAmountUsd?: string | undefined;
437
+ messagingFeeAsset?: {
340
438
  chainId: string;
341
439
  coingeckoId?: string | undefined;
342
440
  decimals?: number | undefined;
@@ -354,106 +452,8 @@ declare const messagesDirect: (options?: ({
354
452
  tokenContract?: string | undefined;
355
453
  trace: string;
356
454
  } | undefined;
357
- bridgeId?: BridgeType | undefined;
358
- smartRelay?: boolean | undefined;
359
- } | undefined;
360
- txIndex: number;
361
- amountIn: string;
362
- amountOut: string;
363
- } | {
364
- swap?: {
365
- swapIn?: {
366
- swapAmountIn?: string | undefined;
367
- swapOperations?: {
368
- denomIn?: string | undefined;
369
- denomOut?: string | undefined;
370
- pool?: string | undefined;
371
- interface?: string | undefined;
372
- }[] | undefined;
373
- swapVenue?: {
374
- chainId?: string | undefined;
375
- name?: string | undefined;
376
- logoUri?: string | undefined;
377
- } | undefined;
378
- priceImpactPercent?: string | undefined;
379
- } | undefined;
380
- estimatedAffiliateFee?: string | undefined;
381
- chainId?: string | undefined;
382
- fromChainId?: string | undefined;
383
- denomIn?: string | undefined;
384
- denomOut?: string | undefined;
385
- swapVenues?: {
386
- chainId?: string | undefined;
387
- name?: string | undefined;
388
- logoUri?: string | undefined;
389
- }[] | undefined;
390
- } | {
391
- swapOut?: {
392
- swapAmountOut?: string | undefined;
393
- swapOperations?: {
394
- denomIn?: string | undefined;
395
- denomOut?: string | undefined;
396
- pool?: string | undefined;
397
- interface?: string | undefined;
398
- }[] | undefined;
399
- swapVenue?: {
400
- chainId?: string | undefined;
401
- name?: string | undefined;
402
- logoUri?: string | undefined;
403
- } | undefined;
404
- priceImpactPercent?: string | undefined;
405
- } | undefined;
406
- estimatedAffiliateFee?: string | undefined;
407
- chainId?: string | undefined;
408
- fromChainId?: string | undefined;
409
- denomIn?: string | undefined;
410
- denomOut?: string | undefined;
411
- swapVenues?: {
412
- chainId?: string | undefined;
413
- name?: string | undefined;
414
- logoUri?: string | undefined;
415
- }[] | undefined;
416
- } | {
417
- smartSwapIn?: {
418
- swapVenue?: {
419
- chainId?: string | undefined;
420
- name?: string | undefined;
421
- logoUri?: string | undefined;
422
- } | undefined;
423
- swapRoutes?: {
424
- swapAmountIn?: string | undefined;
425
- denomIn?: string | undefined;
426
- swapOperations?: {
427
- denomIn?: string | undefined;
428
- denomOut?: string | undefined;
429
- pool?: string | undefined;
430
- interface?: string | undefined;
431
- }[] | undefined;
432
- }[] | undefined;
433
- } | undefined;
434
- estimatedAffiliateFee?: string | undefined;
435
- chainId?: string | undefined;
436
- fromChainId?: string | undefined;
437
- denomIn?: string | undefined;
438
- denomOut?: string | undefined;
439
- swapVenues?: {
440
- chainId?: string | undefined;
441
- name?: string | undefined;
442
- logoUri?: string | undefined;
443
- }[] | undefined;
444
- } | undefined;
445
- txIndex: number;
446
- amountIn: string;
447
- amountOut: string;
448
- } | {
449
- transfer?: {
450
- fromChainId?: string | undefined;
451
- toChainId?: string | undefined;
452
- denomIn?: string | undefined;
453
- denomOut?: string | undefined;
454
- opInitBridgeId?: any;
455
- bridgeId?: BridgeType | undefined;
456
- smartRelay?: boolean | undefined;
455
+ messagingFeeAmount?: string | undefined;
456
+ messageingFeeAmountUsd?: string | undefined;
457
457
  } | undefined;
458
458
  txIndex: number;
459
459
  amountIn: string;
@@ -1,11 +1,2 @@
1
- 'use strict';
2
-
3
- var chunkX2E2TKVR_js = require('../chunk-X2E2TKVR.js');
4
- require('../chunk-ASPVKNJ7.js');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "messagesDirect", {
9
- enumerable: true,
10
- get: function () { return chunkX2E2TKVR_js.messagesDirect; }
11
- });
1
+ export { messagesDirect } from '../chunk-BQTQJQ5E.js';
2
+ import '../chunk-W6TBGBV3.js';
@@ -1,11 +1,2 @@
1
- 'use strict';
2
-
3
- var chunkZ4ZKOUGH_js = require('../chunk-Z4ZKOUGH.js');
4
- require('../chunk-ASPVKNJ7.js');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "recommendAssets", {
9
- enumerable: true,
10
- get: function () { return chunkZ4ZKOUGH_js.recommendAssets; }
11
- });
1
+ export { recommendAssets } from '../chunk-4JJWOILI.js';
2
+ import '../chunk-W6TBGBV3.js';