@skip-go/client 1.0.1-alpha-1 → 1.0.2

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 (32) hide show
  1. package/dist/api/getAssets.d.ts +19 -0
  2. package/dist/api/getAssetsBetweenChains.d.ts +56 -0
  3. package/dist/api/getBridges.d.ts +54 -0
  4. package/dist/api/getChains.d.ts +41 -0
  5. package/dist/api/getVenues.d.ts +13 -0
  6. package/dist/api/postAssetsFromSource.d.ts +13 -0
  7. package/dist/api/postBalances.d.ts +35 -0
  8. package/dist/api/postIbcOriginAssets.d.ts +32 -0
  9. package/dist/api/postMessages.d.ts +528 -0
  10. package/dist/api/postMessagesDirect.d.ts +568 -0
  11. package/dist/api/postRecommendAssets.d.ts +40 -0
  12. package/dist/api/postRoute.d.ts +460 -0
  13. package/dist/api/postSubmitTransaction.d.ts +13 -0
  14. package/dist/api/postTrackTransaction.d.ts +13 -0
  15. package/dist/api/postTransactionStatus.d.ts +559 -0
  16. package/dist/apiState-CdzxTxYd.d.ts +6 -0
  17. package/dist/{chunk-Y5EY3Q6D.js → chunk-735L35R6.js} +1 -1
  18. package/dist/client-types-CxjtffyG.d.ts +60 -0
  19. package/dist/executeRoute-BKvMVd1I.d.ts +69 -0
  20. package/dist/generateApi-DqCp36fX.d.ts +22 -0
  21. package/dist/index.d.ts +35 -0
  22. package/dist/index.js +1 -1
  23. package/dist/public-functions/executeRoute.d.ts +9 -0
  24. package/dist/public-functions/executeRoute.js +1 -1
  25. package/dist/public-functions/getFeeInfoForChain.d.ts +9 -0
  26. package/dist/public-functions/getRecommendedGasPrice.d.ts +9 -0
  27. package/dist/public-functions/getSigningStargateClient.d.ts +13 -0
  28. package/dist/public-functions/setApiOptions.d.ts +9 -0
  29. package/dist/public-functions/setClientOptions.d.ts +9 -0
  30. package/dist/setClientOptions-DbanEIwL.d.ts +19 -0
  31. package/dist/swaggerTypes-O9-gvCT1.d.ts +1890 -0
  32. package/package.json +4 -4
@@ -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 };
@@ -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 };
@@ -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 };
@@ -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 };
@@ -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 };
@@ -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 };
@@ -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 };
@@ -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 };