@skip-go/client 1.1.3 → 1.1.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 (70) hide show
  1. package/dist/api/getAssets.d.ts +1 -1
  2. package/dist/api/getAssets.js +2 -2
  3. package/dist/api/getAssetsBetweenChains.d.ts +1 -1
  4. package/dist/api/getAssetsBetweenChains.js +2 -2
  5. package/dist/api/getBridges.d.ts +1 -1
  6. package/dist/api/getBridges.js +2 -2
  7. package/dist/api/getChains.d.ts +1 -1
  8. package/dist/api/getChains.js +2 -2
  9. package/dist/api/getVenues.js +2 -2
  10. package/dist/api/postAssetsFromSource.d.ts +1 -1
  11. package/dist/api/postAssetsFromSource.js +3 -3
  12. package/dist/api/postBalances.d.ts +2 -2
  13. package/dist/api/postBalances.js +2 -2
  14. package/dist/api/postIbcOriginAssets.js +2 -2
  15. package/dist/api/postMessages.d.ts +2 -2
  16. package/dist/api/postMessages.js +2 -2
  17. package/dist/api/postMessagesDirect.d.ts +3 -3
  18. package/dist/api/postMessagesDirect.js +2 -2
  19. package/dist/api/postRecommendAssets.d.ts +1 -1
  20. package/dist/api/postRecommendAssets.js +2 -2
  21. package/dist/api/postRoute.d.ts +4 -4
  22. package/dist/api/postRoute.js +2 -2
  23. package/dist/api/postSubmitTransaction.js +2 -2
  24. package/dist/api/postTrackTransaction.js +2 -2
  25. package/dist/api/postTransactionStatus.d.ts +2 -2
  26. package/dist/api/postTransactionStatus.js +2 -2
  27. package/dist/callbacks-BinMFSvp.d.ts +33 -0
  28. package/dist/{chunk-7FSLD7Y4.js → chunk-27P5BVWA.js} +1 -1
  29. package/dist/chunk-36MCR5DZ.js +183 -0
  30. package/dist/{chunk-R2N4D2PY.js → chunk-3G66QUIR.js} +1 -1
  31. package/dist/{chunk-2NYWLY5S.js → chunk-5G6WVH73.js} +1 -1
  32. package/dist/{chunk-5EU3SRDQ.js → chunk-5KEBJTG2.js} +2 -2
  33. package/dist/{chunk-BCN2WD5Q.js → chunk-BYK77RST.js} +1 -1
  34. package/dist/{chunk-RL5AVCSG.js → chunk-C6EHVJEC.js} +1 -1
  35. package/dist/{chunk-PZM2IB6H.js → chunk-DQJUP5YB.js} +1 -1
  36. package/dist/{chunk-PWSY2PQJ.js → chunk-ECFSAIIO.js} +1 -1
  37. package/dist/{chunk-R5U2IBQY.js → chunk-FB32UNL7.js} +8 -38
  38. package/dist/{chunk-KWVMUF5R.js → chunk-G3DPNB66.js} +1 -1
  39. package/dist/{chunk-GTJ2EDUG.js → chunk-GHK24RZZ.js} +2 -2
  40. package/dist/{chunk-EAUM5JYS.js → chunk-I5V6BIOW.js} +1 -1
  41. package/dist/{chunk-VRPPVMXO.js → chunk-KEXKVEVT.js} +1 -1
  42. package/dist/{chunk-UPL6CT4S.js → chunk-KTCDTZCU.js} +2 -2
  43. package/dist/{chunk-WWDCZAB5.js → chunk-LJ5Y4YS2.js} +1 -1
  44. package/dist/{chunk-H6RXHDUX.js → chunk-P7QXKAUS.js} +1 -1
  45. package/dist/{chunk-R3KHKN33.js → chunk-REIPMX4F.js} +1 -1
  46. package/dist/{chunk-7P6AOFMX.js → chunk-VYZE3SLF.js} +1 -1
  47. package/dist/chunk-WYKGBXPO.js +34 -0
  48. package/dist/{chunk-T2TOUPEA.js → chunk-YKWVCWO4.js} +2 -2
  49. package/dist/{client-types-B5Wk1mFT.d.ts → client-types-B_ihV5t6.d.ts} +1 -1
  50. package/dist/{generateApi-DBAMmstt.d.ts → generateApi-CpUxWvEf.d.ts} +1 -1
  51. package/dist/index.d.ts +8 -6
  52. package/dist/index.js +22 -21
  53. package/dist/public-functions/executeRoute.d.ts +40 -4
  54. package/dist/public-functions/executeRoute.js +11 -10
  55. package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
  56. package/dist/public-functions/getFeeInfoForChain.js +4 -4
  57. package/dist/public-functions/getRecommendedGasPrice.js +5 -5
  58. package/dist/public-functions/getSigningStargateClient.js +4 -4
  59. package/dist/public-functions/setApiOptions.d.ts +1 -1
  60. package/dist/public-functions/setApiOptions.js +2 -2
  61. package/dist/public-functions/setClientOptions.d.ts +3 -3
  62. package/dist/public-functions/setClientOptions.js +3 -3
  63. package/dist/public-functions/waitForTransaction.d.ts +621 -0
  64. package/dist/public-functions/waitForTransaction.js +4 -0
  65. package/dist/{setClientOptions-DNQRvnRl.d.ts → setClientOptions-C4rwBrB4.d.ts} +1 -1
  66. package/dist/{swaggerTypes-BkgwzRF2.d.ts → swaggerTypes-sZ9ALP9m.d.ts} +1 -1
  67. package/package.json +1 -1
  68. package/dist/chunk-JTIHU43D.js +0 -183
  69. package/dist/executeRoute-Dy607vic.d.ts +0 -69
  70. package/dist/{chunk-SOGMQT4H.js → chunk-SN5GGN5K.js} +5 -5
@@ -0,0 +1,621 @@
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-sZ9ALP9m.js';
2
+ import { T as TransactionCallbacks } from '../callbacks-BinMFSvp.js';
3
+
4
+ type WaitForTransactionProps = {
5
+ chainId: string;
6
+ txHash: string;
7
+ onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
8
+ };
9
+ declare const waitForTransaction: ({ chainId, txHash, onTransactionTracked, }: WaitForTransactionProps) => Promise<{
10
+ transfers?: {
11
+ error?: {
12
+ details?: {
13
+ code?: number | undefined;
14
+ message?: string | undefined;
15
+ } | undefined;
16
+ message?: string | undefined;
17
+ type?: StatusErrorType | undefined;
18
+ } | undefined;
19
+ nextBlockingTransfer?: {
20
+ transferSequenceIndex?: number | undefined;
21
+ } | undefined;
22
+ state?: TransactionState | undefined;
23
+ transferAssetRelease?: {
24
+ chainId?: string | undefined;
25
+ denom?: string | undefined;
26
+ amount?: string | undefined;
27
+ released?: boolean | undefined;
28
+ } | undefined;
29
+ transferSequence?: {
30
+ ibcTransfer?: {
31
+ toChainId: string;
32
+ packetTxs: {
33
+ acknowledgeTx?: {
34
+ chainId?: string | undefined;
35
+ explorerLink: string;
36
+ txHash?: string | undefined;
37
+ onChainAt?: string | undefined;
38
+ } | undefined;
39
+ error?: {
40
+ details?: {
41
+ code?: number | undefined;
42
+ message?: string | undefined;
43
+ } | undefined;
44
+ message?: string | undefined;
45
+ type?: PacketErrorType | undefined;
46
+ } | undefined;
47
+ receiveTx?: {
48
+ chainId?: string | undefined;
49
+ explorerLink: string;
50
+ txHash?: string | undefined;
51
+ onChainAt?: string | undefined;
52
+ } | undefined;
53
+ sendTx?: {
54
+ chainId?: string | undefined;
55
+ explorerLink: string;
56
+ txHash?: string | undefined;
57
+ onChainAt?: string | undefined;
58
+ } | undefined;
59
+ timeoutTx?: {
60
+ chainId?: string | undefined;
61
+ explorerLink: string;
62
+ txHash?: string | undefined;
63
+ onChainAt?: string | undefined;
64
+ } | undefined;
65
+ };
66
+ fromChainId: string;
67
+ state: TransferState;
68
+ } | undefined;
69
+ axelarTransfer?: {
70
+ axelarScanLink?: string | undefined;
71
+ toChainId: string;
72
+ fromChainId: string;
73
+ state: AxelarTransferState;
74
+ txs: {
75
+ approveTx?: {
76
+ chainId?: string | undefined;
77
+ explorerLink: string;
78
+ txHash?: string | undefined;
79
+ onChainAt?: string | undefined;
80
+ } | undefined;
81
+ confirmTx?: {
82
+ chainId?: string | undefined;
83
+ explorerLink: string;
84
+ txHash?: string | undefined;
85
+ onChainAt?: string | undefined;
86
+ } | undefined;
87
+ error?: {
88
+ message?: string | undefined;
89
+ type?: ContractCallWithTokenErrorType | undefined;
90
+ } | undefined;
91
+ executeTx?: {
92
+ chainId?: string | undefined;
93
+ explorerLink: string;
94
+ txHash?: string | undefined;
95
+ onChainAt?: string | undefined;
96
+ } | undefined;
97
+ gasPaidTx?: {
98
+ chainId?: string | undefined;
99
+ explorerLink: string;
100
+ txHash?: string | undefined;
101
+ onChainAt?: string | undefined;
102
+ } | undefined;
103
+ sendTx?: {
104
+ chainId?: string | undefined;
105
+ explorerLink: string;
106
+ txHash?: string | undefined;
107
+ onChainAt?: string | undefined;
108
+ } | undefined;
109
+ } | {
110
+ confirmTx?: {
111
+ chainId?: string | undefined;
112
+ explorerLink: string;
113
+ txHash?: string | undefined;
114
+ onChainAt?: string | undefined;
115
+ } | undefined;
116
+ error?: {
117
+ message?: string | undefined;
118
+ type?: SendTokenErrorType | undefined;
119
+ } | undefined;
120
+ executeTx?: {
121
+ chainId?: string | undefined;
122
+ explorerLink: string;
123
+ txHash?: string | undefined;
124
+ onChainAt?: string | undefined;
125
+ } | undefined;
126
+ sendTx?: {
127
+ chainId?: string | undefined;
128
+ explorerLink: string;
129
+ txHash?: string | undefined;
130
+ onChainAt?: string | undefined;
131
+ } | undefined;
132
+ };
133
+ type?: AxelarTransferType | undefined;
134
+ } | undefined;
135
+ cctpTransfer?: {
136
+ toChainId?: string | undefined;
137
+ fromChainId?: string | undefined;
138
+ state?: CCTPTransferState | undefined;
139
+ txs?: {
140
+ sendTx?: {
141
+ chainId?: string | undefined;
142
+ explorerLink: string;
143
+ txHash?: string | undefined;
144
+ onChainAt?: string | undefined;
145
+ } | undefined;
146
+ receiveTx?: {
147
+ chainId?: string | undefined;
148
+ explorerLink: string;
149
+ txHash?: string | undefined;
150
+ onChainAt?: string | undefined;
151
+ } | undefined;
152
+ } | undefined;
153
+ } | undefined;
154
+ hyperlaneTransfer?: {
155
+ fromChainId: string;
156
+ toChainId: string;
157
+ state: HyperlaneTransferState;
158
+ txs: {
159
+ sendTx?: {
160
+ chainId?: string | undefined;
161
+ explorerLink: string;
162
+ txHash?: string | undefined;
163
+ onChainAt?: string | undefined;
164
+ } | undefined;
165
+ receiveTx?: {
166
+ chainId?: string | undefined;
167
+ explorerLink: string;
168
+ txHash?: string | undefined;
169
+ onChainAt?: string | undefined;
170
+ } | undefined;
171
+ };
172
+ } | undefined;
173
+ opInitTransfer?: {
174
+ toChainId: string;
175
+ fromChainId: string;
176
+ state: OPInitTransferState;
177
+ txs: {
178
+ sendTx?: {
179
+ chainId?: string | undefined;
180
+ explorerLink: string;
181
+ txHash?: string | undefined;
182
+ onChainAt?: string | undefined;
183
+ } | undefined;
184
+ receiveTx?: {
185
+ chainId?: string | undefined;
186
+ explorerLink: string;
187
+ txHash?: string | undefined;
188
+ onChainAt?: string | undefined;
189
+ } | undefined;
190
+ };
191
+ } | undefined;
192
+ stargateTransfer?: {
193
+ fromChainId?: string | undefined;
194
+ toChainId?: string | undefined;
195
+ state?: StargateTransferState | undefined;
196
+ txs?: {
197
+ sendTx?: {
198
+ chainId?: string | undefined;
199
+ explorerLink: string;
200
+ txHash?: string | undefined;
201
+ onChainAt?: string | undefined;
202
+ } | undefined;
203
+ receiveTx?: {
204
+ chainId?: string | undefined;
205
+ explorerLink: string;
206
+ txHash?: string | undefined;
207
+ onChainAt?: string | undefined;
208
+ } | undefined;
209
+ errorTx?: {
210
+ chainId?: string | undefined;
211
+ explorerLink: string;
212
+ txHash?: string | undefined;
213
+ onChainAt?: string | undefined;
214
+ } | undefined;
215
+ } | undefined;
216
+ } | undefined;
217
+ goFastTransfer?: {
218
+ fromChainId: string;
219
+ toChainId: string;
220
+ state: GoFastTransferState;
221
+ txs: {
222
+ orderSubmittedTx?: {
223
+ chainId?: string | undefined;
224
+ explorerLink: string;
225
+ txHash?: string | undefined;
226
+ onChainAt?: string | undefined;
227
+ } | undefined;
228
+ orderFilledTx?: {
229
+ chainId?: string | undefined;
230
+ explorerLink: string;
231
+ txHash?: string | undefined;
232
+ onChainAt?: string | undefined;
233
+ } | undefined;
234
+ orderRefundedTx?: {
235
+ chainId?: string | undefined;
236
+ explorerLink: string;
237
+ txHash?: string | undefined;
238
+ onChainAt?: string | undefined;
239
+ } | undefined;
240
+ orderTimeoutTx?: {
241
+ chainId?: string | undefined;
242
+ explorerLink: string;
243
+ txHash?: string | undefined;
244
+ onChainAt?: string | undefined;
245
+ } | undefined;
246
+ };
247
+ errorMessage?: string | undefined;
248
+ } | undefined;
249
+ eurekaTransfer?: {
250
+ fromChainId: string;
251
+ toChainId: string;
252
+ state: TransferState;
253
+ packetTxs: {
254
+ acknowledgeTx?: {
255
+ chainId?: string | undefined;
256
+ explorerLink: string;
257
+ txHash?: string | undefined;
258
+ onChainAt?: string | undefined;
259
+ } | undefined;
260
+ error?: {
261
+ details?: {
262
+ code?: number | undefined;
263
+ message?: string | undefined;
264
+ } | undefined;
265
+ message?: string | undefined;
266
+ type?: PacketErrorType | undefined;
267
+ } | undefined;
268
+ receiveTx?: {
269
+ chainId?: string | undefined;
270
+ explorerLink: string;
271
+ txHash?: string | undefined;
272
+ onChainAt?: string | undefined;
273
+ } | undefined;
274
+ sendTx?: {
275
+ chainId?: string | undefined;
276
+ explorerLink: string;
277
+ txHash?: string | undefined;
278
+ onChainAt?: string | undefined;
279
+ } | undefined;
280
+ timeoutTx?: {
281
+ chainId?: string | undefined;
282
+ explorerLink: string;
283
+ txHash?: string | undefined;
284
+ onChainAt?: string | undefined;
285
+ } | undefined;
286
+ };
287
+ } | undefined;
288
+ layerZeroTransfer?: {
289
+ fromChainId: string;
290
+ toChainId: string;
291
+ state: LayerZeroTransferState;
292
+ txs: {
293
+ sendTx?: {
294
+ chainId?: string | undefined;
295
+ explorerLink: string;
296
+ txHash?: string | undefined;
297
+ onChainAt?: string | undefined;
298
+ } | undefined;
299
+ receiveTx?: {
300
+ chainId?: string | undefined;
301
+ explorerLink: string;
302
+ txHash?: string | undefined;
303
+ onChainAt?: string | undefined;
304
+ } | undefined;
305
+ errorTx?: {
306
+ chainId?: string | undefined;
307
+ explorerLink: string;
308
+ txHash?: string | undefined;
309
+ onChainAt?: string | undefined;
310
+ } | undefined;
311
+ };
312
+ } | undefined;
313
+ }[] | undefined;
314
+ }[] | undefined;
315
+ state: TransactionState;
316
+ transferSequence: {
317
+ ibcTransfer?: {
318
+ toChainId: string;
319
+ packetTxs: {
320
+ acknowledgeTx?: {
321
+ chainId?: string | undefined;
322
+ explorerLink: string;
323
+ txHash?: string | undefined;
324
+ onChainAt?: string | undefined;
325
+ } | undefined;
326
+ error?: {
327
+ details?: {
328
+ code?: number | undefined;
329
+ message?: string | undefined;
330
+ } | undefined;
331
+ message?: string | undefined;
332
+ type?: PacketErrorType | undefined;
333
+ } | undefined;
334
+ receiveTx?: {
335
+ chainId?: string | undefined;
336
+ explorerLink: string;
337
+ txHash?: string | undefined;
338
+ onChainAt?: string | undefined;
339
+ } | undefined;
340
+ sendTx?: {
341
+ chainId?: string | undefined;
342
+ explorerLink: string;
343
+ txHash?: string | undefined;
344
+ onChainAt?: string | undefined;
345
+ } | undefined;
346
+ timeoutTx?: {
347
+ chainId?: string | undefined;
348
+ explorerLink: string;
349
+ txHash?: string | undefined;
350
+ onChainAt?: string | undefined;
351
+ } | undefined;
352
+ };
353
+ fromChainId: string;
354
+ state: TransferState;
355
+ } | undefined;
356
+ axelarTransfer?: {
357
+ axelarScanLink?: string | undefined;
358
+ toChainId: string;
359
+ fromChainId: string;
360
+ state: AxelarTransferState;
361
+ txs: {
362
+ approveTx?: {
363
+ chainId?: string | undefined;
364
+ explorerLink: string;
365
+ txHash?: string | undefined;
366
+ onChainAt?: string | undefined;
367
+ } | undefined;
368
+ confirmTx?: {
369
+ chainId?: string | undefined;
370
+ explorerLink: string;
371
+ txHash?: string | undefined;
372
+ onChainAt?: string | undefined;
373
+ } | undefined;
374
+ error?: {
375
+ message?: string | undefined;
376
+ type?: ContractCallWithTokenErrorType | undefined;
377
+ } | undefined;
378
+ executeTx?: {
379
+ chainId?: string | undefined;
380
+ explorerLink: string;
381
+ txHash?: string | undefined;
382
+ onChainAt?: string | undefined;
383
+ } | undefined;
384
+ gasPaidTx?: {
385
+ chainId?: string | undefined;
386
+ explorerLink: string;
387
+ txHash?: string | undefined;
388
+ onChainAt?: string | undefined;
389
+ } | undefined;
390
+ sendTx?: {
391
+ chainId?: string | undefined;
392
+ explorerLink: string;
393
+ txHash?: string | undefined;
394
+ onChainAt?: string | undefined;
395
+ } | undefined;
396
+ } | {
397
+ confirmTx?: {
398
+ chainId?: string | undefined;
399
+ explorerLink: string;
400
+ txHash?: string | undefined;
401
+ onChainAt?: string | undefined;
402
+ } | undefined;
403
+ error?: {
404
+ message?: string | undefined;
405
+ type?: SendTokenErrorType | undefined;
406
+ } | undefined;
407
+ executeTx?: {
408
+ chainId?: string | undefined;
409
+ explorerLink: string;
410
+ txHash?: string | undefined;
411
+ onChainAt?: string | undefined;
412
+ } | undefined;
413
+ sendTx?: {
414
+ chainId?: string | undefined;
415
+ explorerLink: string;
416
+ txHash?: string | undefined;
417
+ onChainAt?: string | undefined;
418
+ } | undefined;
419
+ };
420
+ type?: AxelarTransferType | undefined;
421
+ } | undefined;
422
+ cctpTransfer?: {
423
+ toChainId?: string | undefined;
424
+ fromChainId?: string | undefined;
425
+ state?: CCTPTransferState | undefined;
426
+ txs?: {
427
+ sendTx?: {
428
+ chainId?: string | undefined;
429
+ explorerLink: string;
430
+ txHash?: string | undefined;
431
+ onChainAt?: string | undefined;
432
+ } | undefined;
433
+ receiveTx?: {
434
+ chainId?: string | undefined;
435
+ explorerLink: string;
436
+ txHash?: string | undefined;
437
+ onChainAt?: string | undefined;
438
+ } | undefined;
439
+ } | undefined;
440
+ } | undefined;
441
+ hyperlaneTransfer?: {
442
+ fromChainId: string;
443
+ toChainId: string;
444
+ state: HyperlaneTransferState;
445
+ txs: {
446
+ sendTx?: {
447
+ chainId?: string | undefined;
448
+ explorerLink: string;
449
+ txHash?: string | undefined;
450
+ onChainAt?: string | undefined;
451
+ } | undefined;
452
+ receiveTx?: {
453
+ chainId?: string | undefined;
454
+ explorerLink: string;
455
+ txHash?: string | undefined;
456
+ onChainAt?: string | undefined;
457
+ } | undefined;
458
+ };
459
+ } | undefined;
460
+ opInitTransfer?: {
461
+ toChainId: string;
462
+ fromChainId: string;
463
+ state: OPInitTransferState;
464
+ txs: {
465
+ sendTx?: {
466
+ chainId?: string | undefined;
467
+ explorerLink: string;
468
+ txHash?: string | undefined;
469
+ onChainAt?: string | undefined;
470
+ } | undefined;
471
+ receiveTx?: {
472
+ chainId?: string | undefined;
473
+ explorerLink: string;
474
+ txHash?: string | undefined;
475
+ onChainAt?: string | undefined;
476
+ } | undefined;
477
+ };
478
+ } | undefined;
479
+ stargateTransfer?: {
480
+ fromChainId?: string | undefined;
481
+ toChainId?: string | undefined;
482
+ state?: StargateTransferState | undefined;
483
+ txs?: {
484
+ sendTx?: {
485
+ chainId?: string | undefined;
486
+ explorerLink: string;
487
+ txHash?: string | undefined;
488
+ onChainAt?: string | undefined;
489
+ } | undefined;
490
+ receiveTx?: {
491
+ chainId?: string | undefined;
492
+ explorerLink: string;
493
+ txHash?: string | undefined;
494
+ onChainAt?: string | undefined;
495
+ } | undefined;
496
+ errorTx?: {
497
+ chainId?: string | undefined;
498
+ explorerLink: string;
499
+ txHash?: string | undefined;
500
+ onChainAt?: string | undefined;
501
+ } | undefined;
502
+ } | undefined;
503
+ } | undefined;
504
+ goFastTransfer?: {
505
+ fromChainId: string;
506
+ toChainId: string;
507
+ state: GoFastTransferState;
508
+ txs: {
509
+ orderSubmittedTx?: {
510
+ chainId?: string | undefined;
511
+ explorerLink: string;
512
+ txHash?: string | undefined;
513
+ onChainAt?: string | undefined;
514
+ } | undefined;
515
+ orderFilledTx?: {
516
+ chainId?: string | undefined;
517
+ explorerLink: string;
518
+ txHash?: string | undefined;
519
+ onChainAt?: string | undefined;
520
+ } | undefined;
521
+ orderRefundedTx?: {
522
+ chainId?: string | undefined;
523
+ explorerLink: string;
524
+ txHash?: string | undefined;
525
+ onChainAt?: string | undefined;
526
+ } | undefined;
527
+ orderTimeoutTx?: {
528
+ chainId?: string | undefined;
529
+ explorerLink: string;
530
+ txHash?: string | undefined;
531
+ onChainAt?: string | undefined;
532
+ } | undefined;
533
+ };
534
+ errorMessage?: string | undefined;
535
+ } | undefined;
536
+ eurekaTransfer?: {
537
+ fromChainId: string;
538
+ toChainId: string;
539
+ state: TransferState;
540
+ packetTxs: {
541
+ acknowledgeTx?: {
542
+ chainId?: string | undefined;
543
+ explorerLink: string;
544
+ txHash?: string | undefined;
545
+ onChainAt?: string | undefined;
546
+ } | undefined;
547
+ error?: {
548
+ details?: {
549
+ code?: number | undefined;
550
+ message?: string | undefined;
551
+ } | undefined;
552
+ message?: string | undefined;
553
+ type?: PacketErrorType | undefined;
554
+ } | undefined;
555
+ receiveTx?: {
556
+ chainId?: string | undefined;
557
+ explorerLink: string;
558
+ txHash?: string | undefined;
559
+ onChainAt?: string | undefined;
560
+ } | undefined;
561
+ sendTx?: {
562
+ chainId?: string | undefined;
563
+ explorerLink: string;
564
+ txHash?: string | undefined;
565
+ onChainAt?: string | undefined;
566
+ } | undefined;
567
+ timeoutTx?: {
568
+ chainId?: string | undefined;
569
+ explorerLink: string;
570
+ txHash?: string | undefined;
571
+ onChainAt?: string | undefined;
572
+ } | undefined;
573
+ };
574
+ } | undefined;
575
+ layerZeroTransfer?: {
576
+ fromChainId: string;
577
+ toChainId: string;
578
+ state: LayerZeroTransferState;
579
+ txs: {
580
+ sendTx?: {
581
+ chainId?: string | undefined;
582
+ explorerLink: string;
583
+ txHash?: string | undefined;
584
+ onChainAt?: string | undefined;
585
+ } | undefined;
586
+ receiveTx?: {
587
+ chainId?: string | undefined;
588
+ explorerLink: string;
589
+ txHash?: string | undefined;
590
+ onChainAt?: string | undefined;
591
+ } | undefined;
592
+ errorTx?: {
593
+ chainId?: string | undefined;
594
+ explorerLink: string;
595
+ txHash?: string | undefined;
596
+ onChainAt?: string | undefined;
597
+ } | undefined;
598
+ };
599
+ } | undefined;
600
+ }[];
601
+ nextBlockingTransfer?: {
602
+ transferSequenceIndex?: number | undefined;
603
+ } | undefined;
604
+ transferAssetRelease?: {
605
+ chainId?: string | undefined;
606
+ denom?: string | undefined;
607
+ amount?: string | undefined;
608
+ released?: boolean | undefined;
609
+ } | undefined;
610
+ error?: {
611
+ details?: {
612
+ code?: number | undefined;
613
+ message?: string | undefined;
614
+ } | undefined;
615
+ message?: string | undefined;
616
+ type?: StatusErrorType | undefined;
617
+ } | null | undefined;
618
+ status?: string | undefined;
619
+ }>;
620
+
621
+ export { type WaitForTransactionProps, waitForTransaction };
@@ -0,0 +1,4 @@
1
+ export { waitForTransaction } from '../chunk-WYKGBXPO.js';
2
+ import '../chunk-BYK77RST.js';
3
+ import '../chunk-5G6WVH73.js';
4
+ import '../chunk-SN5GGN5K.js';
@@ -1,7 +1,7 @@
1
1
  import { GeneratedType } from '@cosmjs/proto-signing';
2
2
  import { AminoConverters } from '@cosmjs/stargate';
3
3
  import { S as SkipApiOptions } from './apiState-CdzxTxYd.js';
4
- import { E as EndpointOptions } from './client-types-B5Wk1mFT.js';
4
+ import { E as EndpointOptions } from './client-types-B_ihV5t6.js';
5
5
 
6
6
  type SkipClientOptions = SkipApiOptions & {
7
7
  endpointOptions?: {
@@ -865,7 +865,7 @@ interface Route {
865
865
  /** Denom of the source asset */
866
866
  sourceAssetDenom: string;
867
867
  /** Swap venue on which the swap is performed, if a swap is performed */
868
- swapVenue?: SwapVenue;
868
+ swapVenues?: SwapVenue[];
869
869
  /** Number of transactions required to perform the transfer or swap */
870
870
  txsRequired: number;
871
871
  /** Amount of the source denom, converted to USD value */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/client",
3
3
  "description": "JavaScript SDK for Skip Go API",
4
- "version": "1.1.3",
4
+ "version": "1.1.5",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",