@skip-go/client 1.0.6 → 1.1.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 (64) 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 +4 -4
  13. package/dist/api/postBalances.js +2 -2
  14. package/dist/api/postIbcOriginAssets.js +2 -2
  15. package/dist/api/postMessages.d.ts +44 -6
  16. package/dist/api/postMessages.js +2 -2
  17. package/dist/api/postMessagesDirect.d.ts +42 -4
  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 +44 -6
  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 +68 -4
  26. package/dist/api/postTransactionStatus.js +2 -2
  27. package/dist/{chunk-33K6EESX.js → chunk-2NYWLY5S.js} +2 -2
  28. package/dist/{chunk-RMP3HM5N.js → chunk-5EU3SRDQ.js} +3 -3
  29. package/dist/{chunk-DW4U6YI6.js → chunk-7FSLD7Y4.js} +2 -2
  30. package/dist/{chunk-RDRDFJQE.js → chunk-7P6AOFMX.js} +2 -2
  31. package/dist/{chunk-MGVXJ2U4.js → chunk-BCN2WD5Q.js} +2 -2
  32. package/dist/{chunk-BRMONS6A.js → chunk-EAUM5JYS.js} +4 -4
  33. package/dist/{chunk-PHTQQIAH.js → chunk-GTJ2EDUG.js} +2 -3
  34. package/dist/{chunk-BQTQJQ5E.js → chunk-H6RXHDUX.js} +2 -2
  35. package/dist/{chunk-TW77BXMT.js → chunk-KWVMUF5R.js} +1 -1
  36. package/dist/{chunk-F75DC5RW.js → chunk-MTXTFZRN.js} +7 -7
  37. package/dist/{chunk-UNF72WYO.js → chunk-PWSY2PQJ.js} +1 -1
  38. package/dist/{chunk-4JJWOILI.js → chunk-PZM2IB6H.js} +2 -2
  39. package/dist/{chunk-GARVPN2H.js → chunk-R2N4D2PY.js} +2 -2
  40. package/dist/{chunk-MTMPHY3Y.js → chunk-R3KHKN33.js} +1 -1
  41. package/dist/{chunk-C2EDPY6J.js → chunk-RL5AVCSG.js} +2 -2
  42. package/dist/{chunk-W6TBGBV3.js → chunk-SOGMQT4H.js} +68 -28
  43. package/dist/{chunk-VMPFHQ7U.js → chunk-T2TOUPEA.js} +1 -1
  44. package/dist/{chunk-SONZJVQM.js → chunk-UPL6CT4S.js} +1 -1
  45. package/dist/{chunk-KNV72XRZ.js → chunk-VRPPVMXO.js} +2 -2
  46. package/dist/{chunk-PRQ2NHRZ.js → chunk-WWDCZAB5.js} +2 -2
  47. package/dist/{client-types-CxjtffyG.d.ts → client-types-BvdIj_Nf.d.ts} +1 -1
  48. package/dist/{executeRoute-BKvMVd1I.d.ts → executeRoute-CxEpxhJ4.d.ts} +4 -4
  49. package/dist/{generateApi-DqCp36fX.d.ts → generateApi-BXIkShKU.d.ts} +1 -1
  50. package/dist/index.d.ts +1555 -6
  51. package/dist/index.js +159 -20
  52. package/dist/public-functions/executeRoute.d.ts +4 -4
  53. package/dist/public-functions/executeRoute.js +8 -8
  54. package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
  55. package/dist/public-functions/getFeeInfoForChain.js +3 -3
  56. package/dist/public-functions/getRecommendedGasPrice.js +4 -4
  57. package/dist/public-functions/getSigningStargateClient.js +3 -3
  58. package/dist/public-functions/setApiOptions.d.ts +1 -1
  59. package/dist/public-functions/setApiOptions.js +2 -2
  60. package/dist/public-functions/setClientOptions.d.ts +3 -3
  61. package/dist/public-functions/setClientOptions.js +3 -3
  62. package/dist/{setClientOptions-DbanEIwL.d.ts → setClientOptions-BkD-BMo7.d.ts} +1 -1
  63. package/dist/{swaggerTypes-O9-gvCT1.d.ts → swaggerTypes-A72fxJ5y.d.ts} +232 -164
  64. package/package.json +1 -2
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { c as Asset } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { c as Asset } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const assets: (options?: ({
5
5
  chainIds?: string[] | undefined;
@@ -1,2 +1,2 @@
1
- export { assets, transformAssetsMap } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { assets, transformAssetsMap } from '../chunk-EAUM5JYS.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,4 +1,4 @@
1
- import { I as BridgeType } from '../swaggerTypes-O9-gvCT1.js';
1
+ import { J as BridgeType } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  declare const assetsBetweenChains: (options?: ({
@@ -1,2 +1,2 @@
1
- export { assetsBetweenChains } from '../chunk-MTMPHY3Y.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { assetsBetweenChains } from '../chunk-R3KHKN33.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { ba as ContentType, I as BridgeType } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { bu as ContentType, J as BridgeType } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const bridges: (options?: ({
5
5
  cache?: RequestCache | undefined;
@@ -1,2 +1,2 @@
1
- export { bridges } from '../chunk-KNV72XRZ.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { bridges } from '../chunk-VRPPVMXO.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,4 +1,4 @@
1
- import { K as ChainType } from '../swaggerTypes-O9-gvCT1.js';
1
+ import { L as ChainType } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  declare const chains: (options?: ({
@@ -1,2 +1,2 @@
1
- export { chains } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { chains } from '../chunk-EAUM5JYS.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { venues } from '../chunk-C2EDPY6J.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { venues } from '../chunk-RL5AVCSG.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,4 +1,4 @@
1
- import { c as Asset } from '../swaggerTypes-O9-gvCT1.js';
1
+ import { c as Asset } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  declare const assetsFromSource: (options?: ({
@@ -1,3 +1,3 @@
1
- export { assetsFromSource } from '../chunk-RMP3HM5N.js';
2
- import '../chunk-BRMONS6A.js';
3
- import '../chunk-W6TBGBV3.js';
1
+ export { assetsFromSource } from '../chunk-5EU3SRDQ.js';
2
+ import '../chunk-EAUM5JYS.js';
3
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-DqCp36fX.js';
3
- import '../swaggerTypes-O9-gvCT1.js';
2
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-BXIkShKU.js';
3
+ import '../swaggerTypes-A72fxJ5y.js';
4
4
 
5
5
  declare const balances: (options?: ({
6
6
  chains?: {
@@ -29,7 +29,7 @@ declare const balances: (options?: ({
29
29
  };
30
30
  } | undefined;
31
31
  } | undefined>;
32
- type BalanceRequest = ApiRequest<"getBalances">;
33
- type BalanceResponse = ApiResponse<"getBalances">;
32
+ type BalanceRequest = ApiRequest<"balances">;
33
+ type BalanceResponse = ApiResponse<"balances">;
34
34
 
35
35
  export { type BalanceRequest, type BalanceResponse, balances };
@@ -1,2 +1,2 @@
1
- export { balances } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { balances } from '../chunk-EAUM5JYS.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { ibcOriginAssets } from '../chunk-PRQ2NHRZ.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { ibcOriginAssets } from '../chunk-WWDCZAB5.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { I as BridgeType, f as AutopilotAction, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
3
- import { A as ApiRequest, a as ApiResponse } from '../generateApi-DqCp36fX.js';
2
+ import { J as BridgeType, f as AutopilotAction, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
3
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-BXIkShKU.js';
4
4
 
5
5
  declare const messages: (options?: ({
6
6
  sourceAssetDenom: string;
@@ -153,6 +153,44 @@ declare const messages: (options?: ({
153
153
  txIndex: number;
154
154
  amountIn: string;
155
155
  amountOut: string;
156
+ } | {
157
+ goFastTransfer?: {
158
+ fromChainId?: string | undefined;
159
+ toChainId?: string | undefined;
160
+ bridgeId?: BridgeType | undefined;
161
+ denomIn?: string | undefined;
162
+ denomOut?: string | undefined;
163
+ fee?: {
164
+ feeAsset: {
165
+ chainId: string;
166
+ coingeckoId?: string | undefined;
167
+ decimals?: number | undefined;
168
+ denom: string;
169
+ description?: string | undefined;
170
+ isCw20: boolean;
171
+ isEvm: boolean;
172
+ isSvm: boolean;
173
+ logoUri?: string | undefined;
174
+ name?: string | undefined;
175
+ originChainId: string;
176
+ originDenom: string;
177
+ recommendedSymbol?: string | undefined;
178
+ symbol?: string | undefined;
179
+ tokenContract?: string | undefined;
180
+ trace: string;
181
+ };
182
+ bpsFee?: string | undefined;
183
+ bpsFeeAmount?: string | undefined;
184
+ bpsFeeUsd?: string | undefined;
185
+ sourceChainFeeAmount?: string | undefined;
186
+ sourceChainFeeUsd?: string | undefined;
187
+ destinationChainFeeAmount?: string | undefined;
188
+ destinationChainFeeUsd?: string | undefined;
189
+ } | undefined;
190
+ } | undefined;
191
+ txIndex: number;
192
+ amountIn: string;
193
+ amountOut: string;
156
194
  } | {
157
195
  bankSend?: {
158
196
  chainId?: string | undefined;
@@ -335,7 +373,7 @@ declare const messages: (options?: ({
335
373
  amountIn: string;
336
374
  amountOut: string;
337
375
  } | {
338
- transfer?: {
376
+ opInitTransfer?: {
339
377
  fromChainId?: string | undefined;
340
378
  toChainId?: string | undefined;
341
379
  denomIn?: string | undefined;
@@ -375,7 +413,7 @@ declare const messages: (options?: ({
375
413
  amountIn: string;
376
414
  amountOut: string;
377
415
  } | {
378
- eurekaTransfer?: {
416
+ layerZeroTransfer?: {
379
417
  fromChainId: string;
380
418
  toChainId: string;
381
419
  denomIn: string;
@@ -522,7 +560,7 @@ declare const messages: (options?: ({
522
560
  operationIndex?: number | undefined;
523
561
  }[] | undefined;
524
562
  } | undefined>;
525
- type MessagesRequest = ApiRequest<"getMsgsV2">;
526
- type MessagesResponse = ApiResponse<"getMsgsV2">;
563
+ type MessagesRequest = ApiRequest<"msgs">;
564
+ type MessagesResponse = ApiResponse<"msgs">;
527
565
 
528
566
  export { type MessagesRequest, type MessagesResponse, messages };
@@ -1,2 +1,2 @@
1
- export { messages } from '../chunk-DW4U6YI6.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { messages } from '../chunk-7FSLD7Y4.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { f as AutopilotAction, I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const messagesDirect: (options?: ({
5
5
  sourceAssetDenom?: string | undefined;
@@ -264,6 +264,44 @@ declare const messagesDirect: (options?: ({
264
264
  txIndex: number;
265
265
  amountIn: string;
266
266
  amountOut: string;
267
+ } | {
268
+ goFastTransfer?: {
269
+ fromChainId?: string | undefined;
270
+ toChainId?: string | undefined;
271
+ bridgeId?: BridgeType | undefined;
272
+ denomIn?: string | undefined;
273
+ denomOut?: string | undefined;
274
+ fee?: {
275
+ feeAsset: {
276
+ chainId: string;
277
+ coingeckoId?: string | undefined;
278
+ decimals?: number | undefined;
279
+ denom: string;
280
+ description?: string | undefined;
281
+ isCw20: boolean;
282
+ isEvm: boolean;
283
+ isSvm: boolean;
284
+ logoUri?: string | undefined;
285
+ name?: string | undefined;
286
+ originChainId: string;
287
+ originDenom: string;
288
+ recommendedSymbol?: string | undefined;
289
+ symbol?: string | undefined;
290
+ tokenContract?: string | undefined;
291
+ trace: string;
292
+ };
293
+ bpsFee?: string | undefined;
294
+ bpsFeeAmount?: string | undefined;
295
+ bpsFeeUsd?: string | undefined;
296
+ sourceChainFeeAmount?: string | undefined;
297
+ sourceChainFeeUsd?: string | undefined;
298
+ destinationChainFeeAmount?: string | undefined;
299
+ destinationChainFeeUsd?: string | undefined;
300
+ } | undefined;
301
+ } | undefined;
302
+ txIndex: number;
303
+ amountIn: string;
304
+ amountOut: string;
267
305
  } | {
268
306
  bankSend?: {
269
307
  chainId?: string | undefined;
@@ -446,7 +484,7 @@ declare const messagesDirect: (options?: ({
446
484
  amountIn: string;
447
485
  amountOut: string;
448
486
  } | {
449
- transfer?: {
487
+ opInitTransfer?: {
450
488
  fromChainId?: string | undefined;
451
489
  toChainId?: string | undefined;
452
490
  denomIn?: string | undefined;
@@ -486,7 +524,7 @@ declare const messagesDirect: (options?: ({
486
524
  amountIn: string;
487
525
  amountOut: string;
488
526
  } | {
489
- eurekaTransfer?: {
527
+ layerZeroTransfer?: {
490
528
  fromChainId: string;
491
529
  toChainId: string;
492
530
  denomIn: string;
@@ -561,7 +599,7 @@ declare const messagesDirect: (options?: ({
561
599
  txIndex?: number | undefined;
562
600
  operationIndex?: number | undefined;
563
601
  }[] | undefined;
564
- estimatedRouteDurationSeconds?: number | undefined;
602
+ estimatedRouteDurationSeconds: number;
565
603
  } | undefined;
566
604
  } | undefined>;
567
605
 
@@ -1,2 +1,2 @@
1
- export { messagesDirect } from '../chunk-BQTQJQ5E.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { messagesDirect } from '../chunk-H6RXHDUX.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { an as Reason } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { ao as Reason } from '../swaggerTypes-A72fxJ5y.js';
3
3
 
4
4
  declare const recommendAssets: (options?: ({
5
5
  requests?: {
@@ -1,2 +1,2 @@
1
- export { recommendAssets } from '../chunk-4JJWOILI.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { recommendAssets } from '../chunk-PZM2IB6H.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,6 +1,6 @@
1
- import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
1
+ import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { A as ApiRequest } from '../generateApi-DqCp36fX.js';
3
+ import { A as ApiRequest } from '../generateApi-BXIkShKU.js';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -154,6 +154,44 @@ declare const route: (request: RouteRequest) => Promise<{
154
154
  txIndex: number;
155
155
  amountIn: string;
156
156
  amountOut: string;
157
+ } | {
158
+ goFastTransfer?: {
159
+ fromChainId?: string | undefined;
160
+ toChainId?: string | undefined;
161
+ bridgeId?: BridgeType | undefined;
162
+ denomIn?: string | undefined;
163
+ denomOut?: string | undefined;
164
+ fee?: {
165
+ feeAsset: {
166
+ chainId: string;
167
+ coingeckoId?: string | undefined;
168
+ decimals?: number | undefined;
169
+ denom: string;
170
+ description?: string | undefined;
171
+ isCw20: boolean;
172
+ isEvm: boolean;
173
+ isSvm: boolean;
174
+ logoUri?: string | undefined;
175
+ name?: string | undefined;
176
+ originChainId: string;
177
+ originDenom: string;
178
+ recommendedSymbol?: string | undefined;
179
+ symbol?: string | undefined;
180
+ tokenContract?: string | undefined;
181
+ trace: string;
182
+ };
183
+ bpsFee?: string | undefined;
184
+ bpsFeeAmount?: string | undefined;
185
+ bpsFeeUsd?: string | undefined;
186
+ sourceChainFeeAmount?: string | undefined;
187
+ sourceChainFeeUsd?: string | undefined;
188
+ destinationChainFeeAmount?: string | undefined;
189
+ destinationChainFeeUsd?: string | undefined;
190
+ } | undefined;
191
+ } | undefined;
192
+ txIndex: number;
193
+ amountIn: string;
194
+ amountOut: string;
157
195
  } | {
158
196
  bankSend?: {
159
197
  chainId?: string | undefined;
@@ -336,7 +374,7 @@ declare const route: (request: RouteRequest) => Promise<{
336
374
  amountIn: string;
337
375
  amountOut: string;
338
376
  } | {
339
- transfer?: {
377
+ opInitTransfer?: {
340
378
  fromChainId?: string | undefined;
341
379
  toChainId?: string | undefined;
342
380
  denomIn?: string | undefined;
@@ -376,7 +414,7 @@ declare const route: (request: RouteRequest) => Promise<{
376
414
  amountIn: string;
377
415
  amountOut: string;
378
416
  } | {
379
- eurekaTransfer?: {
417
+ layerZeroTransfer?: {
380
418
  fromChainId: string;
381
419
  toChainId: string;
382
420
  denomIn: string;
@@ -451,9 +489,9 @@ declare const route: (request: RouteRequest) => Promise<{
451
489
  txIndex?: number | undefined;
452
490
  operationIndex?: number | undefined;
453
491
  }[] | undefined;
454
- estimatedRouteDurationSeconds?: number | undefined;
492
+ estimatedRouteDurationSeconds: number;
455
493
  } | undefined>;
456
- type RouteRequest = ApiRequest<"getRouteV2"> & SkipApiOptions & {
494
+ type RouteRequest = ApiRequest<"route"> & SkipApiOptions & {
457
495
  abortDuplicateRequests?: boolean;
458
496
  };
459
497
 
@@ -1,2 +1,2 @@
1
- export { route } from '../chunk-GARVPN2H.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { route } from '../chunk-R2N4D2PY.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { submitTransaction } from '../chunk-RDRDFJQE.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { submitTransaction } from '../chunk-7P6AOFMX.js';
2
+ import '../chunk-SOGMQT4H.js';
@@ -1,2 +1,2 @@
1
- export { trackTransaction } from '../chunk-MGVXJ2U4.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ export { trackTransaction } from '../chunk-BCN2WD5Q.js';
2
+ import '../chunk-SOGMQT4H.js';