@skip-go/client 1.2.2 → 1.3.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.
- package/dist/api/getAssets.d.ts +1 -1
- package/dist/api/getAssets.js +3 -3
- package/dist/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/api/getAssetsBetweenChains.js +3 -3
- package/dist/api/getBridges.d.ts +3 -2
- package/dist/api/getBridges.js +3 -3
- package/dist/api/getChains.d.ts +1 -1
- package/dist/api/getChains.js +3 -3
- package/dist/api/getVenues.js +3 -3
- package/dist/api/postAssetsFromSource.d.ts +1 -1
- package/dist/api/postAssetsFromSource.js +4 -4
- package/dist/api/postBalances.d.ts +2 -2
- package/dist/api/postBalances.js +3 -3
- package/dist/api/postIbcOriginAssets.js +3 -3
- package/dist/api/postMessages.d.ts +3 -2
- package/dist/api/postMessages.js +3 -3
- package/dist/api/postMessagesDirect.d.ts +3 -1
- package/dist/api/postMessagesDirect.js +3 -3
- package/dist/api/postRecommendAssets.d.ts +1 -1
- package/dist/api/postRecommendAssets.js +3 -3
- package/dist/api/postRoute.d.ts +3 -2
- package/dist/api/postRoute.js +3 -3
- package/dist/api/postSubmit.d.ts +2 -2
- package/dist/api/postSubmit.js +3 -3
- package/dist/api/postSubmitTransaction.js +3 -3
- package/dist/api/postTrackTransaction.d.ts +2 -2
- package/dist/api/postTrackTransaction.js +3 -3
- package/dist/api/postTransactionStatus.d.ts +14 -2
- package/dist/api/postTransactionStatus.js +3 -3
- package/dist/{callbacks-CPh0dr86.d.ts → callbacks-DK2GxU0a.d.ts} +1 -1
- package/dist/{chunk-4CXSWHQ6.js → chunk-2R5COFPS.js} +1 -1
- package/dist/chunk-43P4WRGN.js +183 -0
- package/dist/{chunk-UCUUIQHV.js → chunk-4DI7G6TH.js} +1 -1
- package/dist/{chunk-4XUWIG3Z.js → chunk-6ULKULTX.js} +1 -1
- package/dist/{chunk-OFBEDG4X.js → chunk-6UMMVC2P.js} +1 -1
- package/dist/{chunk-35T3HXEL.js → chunk-7ZG7HNNC.js} +2 -2
- package/dist/{chunk-A4M35XLF.js → chunk-C6NHVJ3R.js} +2 -2
- package/dist/{chunk-O4IHON37.js → chunk-CGZ5DA2T.js} +1 -1
- package/dist/{chunk-COJAW7OW.js → chunk-ERPZHRBM.js} +3 -3
- package/dist/{chunk-72PK3PKI.js → chunk-F65QOYUA.js} +2 -2
- package/dist/{chunk-6SQTOOYP.js → chunk-GOD6ESBZ.js} +14 -14
- package/dist/{chunk-PFJUQWAV.js → chunk-HIJ6YOTK.js} +10 -10
- package/dist/{chunk-2YOWXBHH.js → chunk-HS2D6FKN.js} +1 -1
- package/dist/{chunk-XZV42PVV.js → chunk-I4AMZAHH.js} +3 -2
- package/dist/{chunk-UXUJNZOA.js → chunk-KYLULQOS.js} +7 -1
- package/dist/{chunk-CXFOPLGZ.js → chunk-MAOMQHG5.js} +1 -1
- package/dist/{chunk-A7FWC5OX.js → chunk-NZVZH6OA.js} +1 -1
- package/dist/{chunk-DF3WCTFB.js → chunk-PIQZD2VE.js} +1 -1
- package/dist/{chunk-NQZYCFAA.js → chunk-QPJEHGY7.js} +1 -1
- package/dist/{chunk-YABXOO3H.js → chunk-SS5LQKBL.js} +5 -1
- package/dist/{chunk-U6NXCWXE.js → chunk-UZKIIX6A.js} +1 -1
- package/dist/{chunk-Z3Z7A3YS.js → chunk-VUOOTNLG.js} +1 -1
- package/dist/{chunk-7MWYHGMD.js → chunk-YLMQS52U.js} +2 -2
- package/dist/{chunk-RE4YYQCE.js → chunk-YYXOIRHZ.js} +1 -1
- package/dist/{chunk-THUBVEVZ.js → chunk-ZTDLGX7X.js} +1 -1
- package/dist/{client-types-DRmsTfeT.d.ts → client-types-DuWWc2_J.d.ts} +1 -1
- package/dist/{generateApi-D7KXciAd.d.ts → generateApi-DvFEIUee.d.ts} +2 -1
- package/dist/index.d.ts +21 -6
- package/dist/index.js +32 -26
- package/dist/public-functions/executeRoute.d.ts +4 -4
- package/dist/public-functions/executeRoute.js +14 -14
- package/dist/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/public-functions/getEvmGasAmountForMessage.d.ts +2 -2
- package/dist/public-functions/getEvmGasAmountForMessage.js +1 -1
- package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/public-functions/getFeeInfoForChain.js +5 -5
- package/dist/public-functions/getRecommendedGasPrice.js +6 -6
- package/dist/public-functions/getSigningStargateClient.js +5 -5
- package/dist/public-functions/setApiOptions.d.ts +1 -1
- package/dist/public-functions/setApiOptions.js +3 -3
- package/dist/public-functions/setClientOptions.d.ts +3 -3
- package/dist/public-functions/setClientOptions.js +4 -4
- package/dist/public-functions/validateCosmosGasBalance.d.ts +4 -4
- package/dist/public-functions/validateCosmosGasBalance.js +6 -6
- package/dist/public-functions/waitForTransaction.d.ts +15 -3
- package/dist/public-functions/waitForTransaction.js +5 -5
- package/dist/{setClientOptions-CwcM5Ps9.d.ts → setClientOptions-B27lt_6h.d.ts} +1 -1
- package/dist/{swaggerTypes-BpJPRbC3.d.ts → swaggerTypes-BrC-ZYnx.d.ts} +20 -1
- package/package.json +1 -1
- package/dist/chunk-36MCR5DZ.js +0 -183
package/dist/api/getAssets.d.ts
CHANGED
package/dist/api/getAssets.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assets, transformAssetsMap } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { assets, transformAssetsMap } from '../chunk-6ULKULTX.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assetsBetweenChains } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { assetsBetweenChains } from '../chunk-VUOOTNLG.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
package/dist/api/getBridges.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import {
|
|
2
|
+
import { bu as ContentType, J as BridgeType } from '../swaggerTypes-BrC-ZYnx.js';
|
|
3
3
|
|
|
4
4
|
declare const bridges: (options?: ({
|
|
5
5
|
cache?: RequestCache | undefined;
|
|
@@ -34,9 +34,10 @@ declare const bridges: (options?: ({
|
|
|
34
34
|
dispatchEvent: {};
|
|
35
35
|
} | null | undefined;
|
|
36
36
|
window?: null | undefined;
|
|
37
|
+
priority?: RequestPriority | undefined;
|
|
37
38
|
secure?: boolean | undefined;
|
|
38
39
|
type?: ContentType | undefined;
|
|
39
|
-
format?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | undefined;
|
|
40
|
+
format?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "bytes" | undefined;
|
|
40
41
|
baseUrl?: string | undefined;
|
|
41
42
|
cancelToken?: string | number | {
|
|
42
43
|
toString: {};
|
package/dist/api/getBridges.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { bridges } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { bridges } from '../chunk-4DI7G6TH.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
package/dist/api/getChains.d.ts
CHANGED
package/dist/api/getChains.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { chains } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { chains } from '../chunk-6ULKULTX.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
package/dist/api/getVenues.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { venues } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { venues } from '../chunk-YYXOIRHZ.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { assetsFromSource } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { assetsFromSource } from '../chunk-YLMQS52U.js';
|
|
2
|
+
import '../chunk-6ULKULTX.js';
|
|
3
|
+
import '../chunk-SS5LQKBL.js';
|
|
4
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-DvFEIUee.js';
|
|
3
|
+
import '../swaggerTypes-BrC-ZYnx.js';
|
|
4
4
|
|
|
5
5
|
declare const balances: (options?: ({
|
|
6
6
|
chains?: {
|
package/dist/api/postBalances.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { balances } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { balances } from '../chunk-6ULKULTX.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ibcOriginAssets } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ibcOriginAssets } from '../chunk-QPJEHGY7.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b3 as FeeType, J as BridgeType } from '../swaggerTypes-
|
|
1
|
+
import { b3 as FeeType, J as BridgeType, b4 as FeeBehavior } from '../swaggerTypes-BrC-ZYnx.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
3
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-DvFEIUee.js';
|
|
4
4
|
|
|
5
5
|
declare const messages: (request: MessagesRequest) => Promise<{
|
|
6
6
|
msgs?: ({
|
|
@@ -90,6 +90,7 @@ declare const messages: (request: MessagesRequest) => Promise<{
|
|
|
90
90
|
chainId?: string | undefined;
|
|
91
91
|
txIndex?: number | undefined;
|
|
92
92
|
operationIndex?: number | undefined;
|
|
93
|
+
feeBehavior?: FeeBehavior | undefined;
|
|
93
94
|
}[] | undefined;
|
|
94
95
|
} | undefined>;
|
|
95
96
|
type MessagesRequest = ApiRequest<"msgs"> & SkipApiOptions & {
|
package/dist/api/postMessages.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { messages } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { messages } from '../chunk-NZVZH6OA.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-
|
|
2
|
+
import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-BrC-ZYnx.js';
|
|
3
3
|
|
|
4
4
|
declare const messagesDirect: (options?: ({
|
|
5
5
|
sourceAssetDenom?: string | undefined;
|
|
@@ -49,6 +49,7 @@ declare const messagesDirect: (options?: ({
|
|
|
49
49
|
allowSwaps?: boolean | undefined;
|
|
50
50
|
goFast?: boolean | undefined;
|
|
51
51
|
enableGasWarnings?: boolean | undefined;
|
|
52
|
+
feePayerAddress?: string | undefined;
|
|
52
53
|
} & SkipApiOptions & {
|
|
53
54
|
abortDuplicateRequests?: boolean | undefined;
|
|
54
55
|
}) | undefined) => Promise<{
|
|
@@ -603,6 +604,7 @@ declare const messagesDirect: (options?: ({
|
|
|
603
604
|
chainId?: string | undefined;
|
|
604
605
|
txIndex?: number | undefined;
|
|
605
606
|
operationIndex?: number | undefined;
|
|
607
|
+
feeBehavior?: FeeBehavior | undefined;
|
|
606
608
|
}[] | undefined;
|
|
607
609
|
estimatedRouteDurationSeconds: number;
|
|
608
610
|
} | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { messagesDirect } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { messagesDirect } from '../chunk-2R5COFPS.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { recommendAssets } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { recommendAssets } from '../chunk-ZTDLGX7X.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
package/dist/api/postRoute.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-
|
|
1
|
+
import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-BrC-ZYnx.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-DvFEIUee.js';
|
|
4
4
|
|
|
5
5
|
declare const route: (request: RouteRequest) => Promise<{
|
|
6
6
|
amountIn: string;
|
|
@@ -492,6 +492,7 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
492
492
|
chainId?: string | undefined;
|
|
493
493
|
txIndex?: number | undefined;
|
|
494
494
|
operationIndex?: number | undefined;
|
|
495
|
+
feeBehavior?: FeeBehavior | undefined;
|
|
495
496
|
}[] | undefined;
|
|
496
497
|
estimatedRouteDurationSeconds: number;
|
|
497
498
|
} | undefined>;
|
package/dist/api/postRoute.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { route } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { route } from '../chunk-UZKIIX6A.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
package/dist/api/postSubmit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-DvFEIUee.js';
|
|
3
|
+
import '../swaggerTypes-BrC-ZYnx.js';
|
|
4
4
|
|
|
5
5
|
declare const submit: (options?: ({
|
|
6
6
|
tx?: string | undefined;
|
package/dist/api/postSubmit.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { submit } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { submit } from '../chunk-6UMMVC2P.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { submitTransaction } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { submitTransaction } from '../chunk-PIQZD2VE.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiRequest, P as PollingProps } from '../generateApi-
|
|
2
|
-
import '../swaggerTypes-
|
|
1
|
+
import { A as ApiRequest, P as PollingProps } from '../generateApi-DvFEIUee.js';
|
|
2
|
+
import '../swaggerTypes-BrC-ZYnx.js';
|
|
3
3
|
|
|
4
4
|
type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps;
|
|
5
5
|
type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { trackTransaction } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { trackTransaction } from '../chunk-MAOMQHG5.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-BrC-ZYnx.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
3
|
-
import { a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { a as ApiResponse } from '../generateApi-DvFEIUee.js';
|
|
4
4
|
|
|
5
5
|
declare const transactionStatus: (params?: ({
|
|
6
6
|
txHash: string;
|
|
@@ -303,6 +303,12 @@ declare const transactionStatus: (params?: ({
|
|
|
303
303
|
txHash?: string | undefined;
|
|
304
304
|
onChainAt?: string | undefined;
|
|
305
305
|
} | undefined;
|
|
306
|
+
composeTx?: {
|
|
307
|
+
chainId?: string | undefined;
|
|
308
|
+
explorerLink: string;
|
|
309
|
+
txHash?: string | undefined;
|
|
310
|
+
onChainAt?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
306
312
|
errorTx?: {
|
|
307
313
|
chainId?: string | undefined;
|
|
308
314
|
explorerLink: string;
|
|
@@ -590,6 +596,12 @@ declare const transactionStatus: (params?: ({
|
|
|
590
596
|
txHash?: string | undefined;
|
|
591
597
|
onChainAt?: string | undefined;
|
|
592
598
|
} | undefined;
|
|
599
|
+
composeTx?: {
|
|
600
|
+
chainId?: string | undefined;
|
|
601
|
+
explorerLink: string;
|
|
602
|
+
txHash?: string | undefined;
|
|
603
|
+
onChainAt?: string | undefined;
|
|
604
|
+
} | undefined;
|
|
593
605
|
errorTx?: {
|
|
594
606
|
chainId?: string | undefined;
|
|
595
607
|
explorerLink: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { transactionStatus } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { transactionStatus } from '../chunk-I4AMZAHH.js';
|
|
2
|
+
import '../chunk-SS5LQKBL.js';
|
|
3
|
+
import '../chunk-KYLULQOS.js';
|