@skip-go/client 1.0.1-alpha-1 → 1.0.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 (87) hide show
  1. package/dist/api/getAssets.d.ts +19 -0
  2. package/dist/api/getAssets.js +15 -2
  3. package/dist/api/getAssetsBetweenChains.d.ts +56 -0
  4. package/dist/api/getAssetsBetweenChains.js +11 -2
  5. package/dist/api/getBridges.d.ts +54 -0
  6. package/dist/api/getBridges.js +11 -2
  7. package/dist/api/getChains.d.ts +41 -0
  8. package/dist/api/getChains.js +11 -2
  9. package/dist/api/getVenues.d.ts +13 -0
  10. package/dist/api/getVenues.js +11 -2
  11. package/dist/api/postAssetsFromSource.d.ts +13 -0
  12. package/dist/api/postAssetsFromSource.js +12 -3
  13. package/dist/api/postBalances.d.ts +35 -0
  14. package/dist/api/postBalances.js +11 -2
  15. package/dist/api/postIbcOriginAssets.d.ts +32 -0
  16. package/dist/api/postIbcOriginAssets.js +11 -2
  17. package/dist/api/postMessages.d.ts +528 -0
  18. package/dist/api/postMessages.js +11 -2
  19. package/dist/api/postMessagesDirect.d.ts +568 -0
  20. package/dist/api/postMessagesDirect.js +11 -2
  21. package/dist/api/postRecommendAssets.d.ts +40 -0
  22. package/dist/api/postRecommendAssets.js +11 -2
  23. package/dist/api/postRoute.d.ts +460 -0
  24. package/dist/api/postRoute.js +11 -2
  25. package/dist/api/postSubmitTransaction.d.ts +13 -0
  26. package/dist/api/postSubmitTransaction.js +11 -2
  27. package/dist/api/postTrackTransaction.d.ts +13 -0
  28. package/dist/api/postTrackTransaction.js +11 -2
  29. package/dist/api/postTransactionStatus.d.ts +559 -0
  30. package/dist/api/postTransactionStatus.js +11 -2
  31. package/dist/apiState-CdzxTxYd.d.ts +6 -0
  32. package/dist/chunk-2WHYWV4Y.js +12 -0
  33. package/dist/{chunk-VMPFHQ7U.js → chunk-4XWIXR2P.js} +27 -19
  34. package/dist/chunk-5KVRQLI5.js +17 -0
  35. package/dist/{chunk-KNV72XRZ.js → chunk-5ZJBR5AQ.js} +5 -3
  36. package/dist/chunk-6BTWKTNM.js +16 -0
  37. package/dist/chunk-6GJEXV5J.js +130 -0
  38. package/dist/chunk-ASPVKNJ7.js +242 -0
  39. package/dist/{chunk-JTIHU43D.js → chunk-CG5CQQBW.js} +42 -33
  40. package/dist/chunk-EQLA2SEZ.js +2361 -0
  41. package/dist/chunk-FVSSCQ6C.js +12 -0
  42. package/dist/{chunk-SQGWZAUC.js → chunk-GFRPLEJR.js} +311 -279
  43. package/dist/chunk-KYFTM3PI.js +12 -0
  44. package/dist/chunk-L2Q5RP6O.js +25 -0
  45. package/dist/chunk-LRIPQQ4M.js +11 -0
  46. package/dist/{chunk-TW77BXMT.js → chunk-PKPZTO4H.js} +13 -10
  47. package/dist/{chunk-PRQ2NHRZ.js → chunk-RE2QZJWE.js} +5 -3
  48. package/dist/{chunk-3OZQ35X3.js → chunk-RT5TZAMU.js} +312 -212
  49. package/dist/chunk-SWYON2RG.js +4 -1
  50. package/dist/chunk-VQ5SIQWU.js +3 -1
  51. package/dist/chunk-X2E2TKVR.js +12 -0
  52. package/dist/{chunk-3N7XVGLX.js → chunk-X2YPYBVN.js} +68 -59
  53. package/dist/chunk-YYNIFO2A.js +13 -0
  54. package/dist/{chunk-4JJWOILI.js → chunk-Z4ZKOUGH.js} +5 -3
  55. package/dist/{chunk-C2EDPY6J.js → chunk-ZG23Z3WY.js} +5 -3
  56. package/dist/client-types-CxjtffyG.d.ts +60 -0
  57. package/dist/executeRoute-BKvMVd1I.d.ts +69 -0
  58. package/dist/generateApi-DqCp36fX.d.ts +22 -0
  59. package/dist/index.d.ts +37 -0
  60. package/dist/index.js +209 -24
  61. package/dist/public-functions/executeRoute.d.ts +9 -0
  62. package/dist/public-functions/executeRoute.js +21 -12
  63. package/dist/public-functions/getFeeInfoForChain.d.ts +9 -0
  64. package/dist/public-functions/getFeeInfoForChain.js +14 -5
  65. package/dist/public-functions/getRecommendedGasPrice.d.ts +9 -0
  66. package/dist/public-functions/getRecommendedGasPrice.js +16 -7
  67. package/dist/public-functions/getSigningStargateClient.d.ts +13 -0
  68. package/dist/public-functions/getSigningStargateClient.js +13 -4
  69. package/dist/public-functions/setApiOptions.d.ts +9 -0
  70. package/dist/public-functions/setApiOptions.js +11 -2
  71. package/dist/public-functions/setClientOptions.d.ts +9 -0
  72. package/dist/public-functions/setClientOptions.js +13 -4
  73. package/dist/setClientOptions-DbanEIwL.d.ts +19 -0
  74. package/dist/swaggerTypes-O9-gvCT1.d.ts +1890 -0
  75. package/package.json +1 -10
  76. package/dist/chunk-33K6EESX.js +0 -10
  77. package/dist/chunk-BQTQJQ5E.js +0 -10
  78. package/dist/chunk-BRJDNGYH.js +0 -22
  79. package/dist/chunk-BRMONS6A.js +0 -130
  80. package/dist/chunk-DW4U6YI6.js +0 -10
  81. package/dist/chunk-GARVPN2H.js +0 -16
  82. package/dist/chunk-MGVXJ2U4.js +0 -11
  83. package/dist/chunk-MTMPHY3Y.js +0 -9
  84. package/dist/chunk-RDRDFJQE.js +0 -10
  85. package/dist/chunk-RMP3HM5N.js +0 -14
  86. package/dist/chunk-W6TBGBV3.js +0 -675
  87. package/dist/chunk-Y5EY3Q6D.js +0 -1790
@@ -0,0 +1,19 @@
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { c as Asset } from '../swaggerTypes-O9-gvCT1.js';
3
+
4
+ declare const assets: (options?: ({
5
+ chainIds?: string[] | undefined;
6
+ nativeOnly?: boolean | undefined;
7
+ includeNoMetadataAssets?: boolean | undefined;
8
+ includeCw20Assets?: boolean | undefined;
9
+ includeEvmAssets?: boolean | undefined;
10
+ includeSvmAssets?: boolean | undefined;
11
+ onlyTestnets?: boolean | undefined;
12
+ } & SkipApiOptions & {
13
+ abortDuplicateRequests?: boolean | undefined;
14
+ }) | undefined) => Promise<Record<string, Asset[]> | undefined>;
15
+ declare const transformAssetsMap: (input?: Record<string, {
16
+ assets?: Asset[];
17
+ }>) => Record<string, Asset[]>;
18
+
19
+ export { assets, transformAssetsMap };
@@ -1,2 +1,15 @@
1
- export { assets, transformAssetsMap } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunk6GJEXV5J_js = require('../chunk-6GJEXV5J.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "assets", {
9
+ enumerable: true,
10
+ get: function () { return chunk6GJEXV5J_js.assets; }
11
+ });
12
+ Object.defineProperty(exports, "transformAssetsMap", {
13
+ enumerable: true,
14
+ get: function () { return chunk6GJEXV5J_js.transformAssetsMap; }
15
+ });
@@ -0,0 +1,56 @@
1
+ import { I as BridgeType } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
+
4
+ declare const assetsBetweenChains: (options?: ({
5
+ sourceChainId?: string | undefined;
6
+ destChainId?: string | undefined;
7
+ includeNoMetadataAssets?: boolean | undefined;
8
+ includeCw20Assets?: boolean | undefined;
9
+ includeEvmAssets?: boolean | undefined;
10
+ allowMultiTx?: boolean | undefined;
11
+ } & SkipApiOptions & {
12
+ abortDuplicateRequests?: boolean | undefined;
13
+ }) | undefined) => Promise<{
14
+ assetsBetweenChains?: {
15
+ assetOnSource?: {
16
+ chainId: string;
17
+ coingeckoId?: string | undefined;
18
+ decimals?: number | undefined;
19
+ denom: string;
20
+ description?: string | undefined;
21
+ isCw20: boolean;
22
+ isEvm: boolean;
23
+ isSvm: boolean;
24
+ logoUri?: string | undefined;
25
+ name?: string | undefined;
26
+ originChainId: string;
27
+ originDenom: string;
28
+ recommendedSymbol?: string | undefined;
29
+ symbol?: string | undefined;
30
+ tokenContract?: string | undefined;
31
+ trace: string;
32
+ } | undefined;
33
+ assetOnDest?: {
34
+ chainId: string;
35
+ coingeckoId?: string | undefined;
36
+ decimals?: number | undefined;
37
+ denom: string;
38
+ description?: string | undefined;
39
+ isCw20: boolean;
40
+ isEvm: boolean;
41
+ isSvm: boolean;
42
+ logoUri?: string | undefined;
43
+ name?: string | undefined;
44
+ originChainId: string;
45
+ originDenom: string;
46
+ recommendedSymbol?: string | undefined;
47
+ symbol?: string | undefined;
48
+ tokenContract?: string | undefined;
49
+ trace: string;
50
+ } | undefined;
51
+ txsRequired: number;
52
+ bridges?: BridgeType[] | undefined;
53
+ }[] | undefined;
54
+ } | undefined>;
55
+
56
+ export { assetsBetweenChains };
@@ -1,2 +1,11 @@
1
- export { assetsBetweenChains } from '../chunk-MTMPHY3Y.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkLRIPQQ4M_js = require('../chunk-LRIPQQ4M.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "assetsBetweenChains", {
9
+ enumerable: true,
10
+ get: function () { return chunkLRIPQQ4M_js.assetsBetweenChains; }
11
+ });
@@ -0,0 +1,54 @@
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { ba as ContentType, I as BridgeType } from '../swaggerTypes-O9-gvCT1.js';
3
+
4
+ declare const bridges: (options?: ({
5
+ cache?: RequestCache | undefined;
6
+ credentials?: RequestCredentials | undefined;
7
+ headers?: string[][] | {
8
+ [x: string]: string;
9
+ } | {
10
+ append: {};
11
+ delete: {};
12
+ get: {};
13
+ getSetCookie: {};
14
+ has: {};
15
+ set: {};
16
+ forEach: {};
17
+ entries: {};
18
+ keys: {};
19
+ values: {};
20
+ } | undefined;
21
+ integrity?: string | undefined;
22
+ keepalive?: boolean | undefined;
23
+ mode?: RequestMode | undefined;
24
+ redirect?: RequestRedirect | undefined;
25
+ referrer?: string | undefined;
26
+ referrerPolicy?: ReferrerPolicy | undefined;
27
+ signal?: {
28
+ readonly aborted: boolean;
29
+ onabort: {} | null;
30
+ readonly reason: any;
31
+ throwIfAborted: {};
32
+ addEventListener: {};
33
+ removeEventListener: {};
34
+ dispatchEvent: {};
35
+ } | null | undefined;
36
+ window?: null | undefined;
37
+ secure?: boolean | undefined;
38
+ type?: ContentType | undefined;
39
+ format?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | undefined;
40
+ baseUrl?: string | undefined;
41
+ cancelToken?: string | number | {
42
+ toString: {};
43
+ valueOf: {};
44
+ readonly description: string | undefined;
45
+ } | undefined;
46
+ } & SkipApiOptions & {
47
+ abortDuplicateRequests?: boolean | undefined;
48
+ }) | undefined) => Promise<{
49
+ id?: BridgeType | undefined;
50
+ name?: string | undefined;
51
+ logoUri?: string | undefined;
52
+ }[] | undefined>;
53
+
54
+ export { bridges };
@@ -1,2 +1,11 @@
1
- export { bridges } from '../chunk-KNV72XRZ.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunk5ZJBR5AQ_js = require('../chunk-5ZJBR5AQ.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "bridges", {
9
+ enumerable: true,
10
+ get: function () { return chunk5ZJBR5AQ_js.bridges; }
11
+ });
@@ -0,0 +1,41 @@
1
+ import { K as ChainType } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
+
4
+ declare const chains: (options?: ({
5
+ chainIds?: string[] | undefined;
6
+ includeEvm?: boolean | undefined;
7
+ includeSvm?: boolean | undefined;
8
+ onlyTestnets?: boolean | undefined;
9
+ } & SkipApiOptions & {
10
+ abortDuplicateRequests?: boolean | undefined;
11
+ }) | undefined) => Promise<{
12
+ chainName: string;
13
+ chainId: string;
14
+ pfmEnabled: boolean;
15
+ cosmosModuleSupport: {
16
+ authz?: boolean | undefined;
17
+ feegrant?: boolean | undefined;
18
+ };
19
+ supportsMemo: boolean;
20
+ logoUri?: string | undefined;
21
+ bech32Prefix: string;
22
+ feeAssets: {
23
+ denom: string;
24
+ gasPrice?: {
25
+ average?: string | undefined;
26
+ high?: string | undefined;
27
+ low?: string | undefined;
28
+ } | undefined;
29
+ }[];
30
+ chainType: ChainType;
31
+ ibcCapabilities: {
32
+ cosmosPfm?: boolean | undefined;
33
+ cosmosIbcHooks?: boolean | undefined;
34
+ cosmosMemo?: boolean | undefined;
35
+ cosmosAutopilot?: boolean | undefined;
36
+ };
37
+ isTestnet: boolean;
38
+ prettyName: string;
39
+ }[] | undefined>;
40
+
41
+ export { chains };
@@ -1,2 +1,11 @@
1
- export { chains } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunk6GJEXV5J_js = require('../chunk-6GJEXV5J.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "chains", {
9
+ enumerable: true,
10
+ get: function () { return chunk6GJEXV5J_js.chains; }
11
+ });
@@ -0,0 +1,13 @@
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+
3
+ declare const venues: (options?: ({
4
+ onlyTestnets?: boolean | undefined;
5
+ } & SkipApiOptions & {
6
+ abortDuplicateRequests?: boolean | undefined;
7
+ }) | undefined) => Promise<{
8
+ chainId?: string | undefined;
9
+ name?: string | undefined;
10
+ logoUri?: string | undefined;
11
+ }[] | undefined>;
12
+
13
+ export { venues };
@@ -1,2 +1,11 @@
1
- export { venues } from '../chunk-C2EDPY6J.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkZG23Z3WY_js = require('../chunk-ZG23Z3WY.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "venues", {
9
+ enumerable: true,
10
+ get: function () { return chunkZG23Z3WY_js.venues; }
11
+ });
@@ -0,0 +1,13 @@
1
+ import { c as Asset } from '../swaggerTypes-O9-gvCT1.js';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
+
4
+ declare const assetsFromSource: (options?: ({
5
+ sourceAssetDenom: string;
6
+ sourceAssetChainId: string;
7
+ allowMultiTx?: boolean | undefined;
8
+ includeCw20Assets?: boolean | undefined;
9
+ } & SkipApiOptions & {
10
+ abortDuplicateRequests?: boolean | undefined;
11
+ }) | undefined) => Promise<Record<string, Asset[]> | undefined>;
12
+
13
+ export { assetsFromSource };
@@ -1,3 +1,12 @@
1
- export { assetsFromSource } from '../chunk-RMP3HM5N.js';
2
- import '../chunk-BRMONS6A.js';
3
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunk6BTWKTNM_js = require('../chunk-6BTWKTNM.js');
4
+ require('../chunk-6GJEXV5J.js');
5
+ require('../chunk-ASPVKNJ7.js');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "assetsFromSource", {
10
+ enumerable: true,
11
+ get: function () { return chunk6BTWKTNM_js.assetsFromSource; }
12
+ });
@@ -0,0 +1,35 @@
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';
4
+
5
+ declare const balances: (options?: ({
6
+ chains?: {
7
+ [x: string]: {
8
+ address?: string | undefined;
9
+ denoms?: string[] | undefined;
10
+ };
11
+ } | undefined;
12
+ } & SkipApiOptions & {
13
+ abortDuplicateRequests?: boolean | undefined;
14
+ }) | undefined) => Promise<{
15
+ chains?: {
16
+ [x: string]: {
17
+ denoms?: {
18
+ [x: string]: {
19
+ amount: string;
20
+ decimals?: number | undefined;
21
+ formattedAmount: string;
22
+ price?: string | undefined;
23
+ valueUsd?: string | undefined;
24
+ error?: {
25
+ message?: string | undefined;
26
+ } | undefined;
27
+ };
28
+ } | undefined;
29
+ };
30
+ } | undefined;
31
+ } | undefined>;
32
+ type BalanceRequest = ApiRequest<"getBalances">;
33
+ type BalanceResponse = ApiResponse<"getBalances">;
34
+
35
+ export { type BalanceRequest, type BalanceResponse, balances };
@@ -1,2 +1,11 @@
1
- export { balances } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunk6GJEXV5J_js = require('../chunk-6GJEXV5J.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "balances", {
9
+ enumerable: true,
10
+ get: function () { return chunk6GJEXV5J_js.balances; }
11
+ });
@@ -0,0 +1,32 @@
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+
3
+ declare const ibcOriginAssets: (options?: ({
4
+ assets?: {
5
+ denom?: string | undefined;
6
+ chainId?: string | undefined;
7
+ }[] | undefined;
8
+ } & SkipApiOptions & {
9
+ abortDuplicateRequests?: boolean | undefined;
10
+ }) | undefined) => Promise<{
11
+ asset?: {
12
+ chainId: string;
13
+ coingeckoId?: string | undefined;
14
+ decimals?: number | undefined;
15
+ denom: string;
16
+ description?: string | undefined;
17
+ isCw20: boolean;
18
+ isEvm: boolean;
19
+ isSvm: boolean;
20
+ logoUri?: string | undefined;
21
+ name?: string | undefined;
22
+ originChainId: string;
23
+ originDenom: string;
24
+ recommendedSymbol?: string | undefined;
25
+ symbol?: string | undefined;
26
+ tokenContract?: string | undefined;
27
+ trace: string;
28
+ } | undefined;
29
+ assetFound?: boolean | undefined;
30
+ }[] | undefined>;
31
+
32
+ export { ibcOriginAssets };
@@ -1,2 +1,11 @@
1
- export { ibcOriginAssets } from '../chunk-PRQ2NHRZ.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkRE2QZJWE_js = require('../chunk-RE2QZJWE.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ibcOriginAssets", {
9
+ enumerable: true,
10
+ get: function () { return chunkRE2QZJWE_js.ibcOriginAssets; }
11
+ });