@skip-go/client 1.5.15 → 1.5.17
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/cjs/{chunk-FKKUU7XV.cjs → chunk-4ZIVDKQN.cjs} +3 -3
- package/dist/cjs/{chunk-S4TMZ43L.cjs → chunk-CIZTNJ3K.cjs} +2 -2
- package/dist/cjs/chunk-EAZQ2ECA.cjs +185 -0
- package/dist/cjs/{chunk-YE4P7752.cjs → chunk-LVK2SUFG.cjs} +8 -8
- package/dist/cjs/{chunk-TUDI6TWC.cjs → chunk-OVKHTOBP.cjs} +4 -4
- package/dist/cjs/{chunk-JSHFYGBG.cjs → chunk-Q7TR6RHE.cjs} +27 -27
- package/dist/cjs/{chunk-QAR64M46.cjs → chunk-USQLPDZG.cjs} +6 -6
- package/dist/cjs/{chunk-A3UNNRKD.cjs → chunk-X2ASEG4P.cjs} +5 -0
- package/dist/cjs/{chunk-ZE23PR7T.cjs → chunk-YX56UXDX.cjs} +2 -2
- package/dist/cjs/index.cjs +19 -19
- package/dist/cjs/public-functions/executeMultipleRoutes.cjs +7 -7
- package/dist/cjs/public-functions/executeRoute.cjs +7 -7
- package/dist/cjs/public-functions/getFeeInfoForChain.cjs +3 -3
- package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +4 -4
- package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +9 -9
- package/dist/cjs/public-functions/getSigningStargateClient.cjs +3 -3
- package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +5 -5
- package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +4 -4
- package/dist/esm/api/getAssets.d.ts +1 -1
- package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/esm/api/getBridges.d.ts +1 -1
- package/dist/esm/api/getChains.d.ts +1 -1
- package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
- package/dist/esm/api/postBalances.d.ts +2 -2
- package/dist/esm/api/postMessages.d.ts +2 -2
- package/dist/esm/api/postMessagesDirect.d.ts +1 -1
- package/dist/esm/api/postRecommendAssets.d.ts +1 -1
- package/dist/esm/api/postRoute.d.ts +2 -2
- package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
- package/dist/esm/api/postTrackTransaction.d.ts +2 -2
- package/dist/esm/api/postTransactionStatus.d.ts +40 -2
- package/dist/esm/{callbacks-CZNSHCBb.d.ts → callbacks-BfT9RHTS.d.ts} +4 -3
- package/dist/esm/{chunk-BAIZRQWN.js → chunk-5IGYTGG3.js} +4 -4
- package/dist/esm/{chunk-DFY3OEIN.js → chunk-5WYMRZIO.js} +1 -1
- package/dist/esm/{chunk-UBEGHOHH.js → chunk-CGJRRAFS.js} +1 -1
- package/dist/esm/{chunk-6DNHEP6L.js → chunk-DMJMN4J3.js} +1 -1
- package/dist/esm/{chunk-45BENU2D.js → chunk-E6IRM5VQ.js} +2 -2
- package/dist/esm/chunk-NUHMTWHP.js +180 -0
- package/dist/esm/{chunk-FWKA3PAJ.js → chunk-PZ2624FK.js} +1 -1
- package/dist/esm/{chunk-3DIX6KRJ.js → chunk-QCGHODGV.js} +5 -0
- package/dist/esm/{chunk-S4WHCME5.js → chunk-XUCVKXX3.js} +2 -2
- package/dist/esm/{client-types-BX_0924O.d.ts → client-types-CiP7kdse.d.ts} +1 -1
- package/dist/esm/{generateApi-Clc85Kxw.d.ts → generateApi-CcpInrQx.d.ts} +1 -1
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +9 -9
- package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
- package/dist/esm/public-functions/executeMultipleRoutes.js +6 -6
- package/dist/esm/public-functions/executeRoute.d.ts +4 -4
- package/dist/esm/public-functions/executeRoute.js +6 -6
- package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
- package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.js +2 -2
- package/dist/esm/public-functions/getRecommendedGasPrice.js +3 -3
- package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
- package/dist/esm/public-functions/getRouteWithGasOnReceive.js +9 -9
- package/dist/esm/public-functions/getSigningStargateClient.js +2 -2
- package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
- package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
- package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
- package/dist/esm/public-functions/subscribeToRouteStatus.js +1 -1
- package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
- package/dist/esm/public-functions/validateCosmosGasBalance.js +3 -3
- package/dist/esm/public-functions/waitForTransaction.d.ts +80 -4
- package/dist/esm/{setClientOptions-DD5Mzkw_.d.ts → setClientOptions-CMp1c0CF.d.ts} +3 -3
- package/dist/esm/{swaggerTypes-Dr4I6vW2.d.ts → swaggerTypes-CJ2Xl5ed.d.ts} +2 -0
- package/package.json +1 -1
- package/dist/cjs/chunk-5XVV6NQV.cjs +0 -185
- package/dist/esm/chunk-GGQPJDAC.js +0 -180
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYX56UXDX_cjs = require('../chunk-YX56UXDX.cjs');
|
|
4
4
|
require('../chunk-TEH6UMUR.cjs');
|
|
5
5
|
require('../chunk-NM4PISTQ.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-4ZIVDKQN.cjs');
|
|
7
7
|
require('../chunk-MUJBB64F.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-EAZQ2ECA.cjs');
|
|
9
9
|
require('../chunk-ATW6UNT5.cjs');
|
|
10
10
|
require('../chunk-2QPPD3BB.cjs');
|
|
11
11
|
require('../chunk-WOSAJSJB.cjs');
|
|
@@ -14,5 +14,5 @@ require('../chunk-WOSAJSJB.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "validateCosmosGasBalance", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYX56UXDX_cjs.validateCosmosGasBalance; }
|
|
18
18
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { bG as ContentType, B as BridgeType } from '../swaggerTypes-
|
|
2
|
+
import { bG as ContentType, B as BridgeType } from '../swaggerTypes-CJ2Xl5ed.js';
|
|
3
3
|
|
|
4
4
|
declare const bridges: (options?: ({
|
|
5
5
|
cache?: RequestCache | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { d as Reason, m as Asset } from '../swaggerTypes-
|
|
2
|
+
import { d as Reason, m as Asset } from '../swaggerTypes-CJ2Xl5ed.js';
|
|
3
3
|
|
|
4
4
|
declare const assetsFromSource: (options?: ({
|
|
5
5
|
sourceAssetDenom: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-CcpInrQx.js';
|
|
3
|
+
import '../swaggerTypes-CJ2Xl5ed.js';
|
|
4
4
|
|
|
5
5
|
declare const balances: (options?: ({
|
|
6
6
|
chains?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-
|
|
1
|
+
import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-CJ2Xl5ed.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
3
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-CcpInrQx.js';
|
|
4
4
|
|
|
5
5
|
declare const messages: (request: MessagesRequest) => Promise<{
|
|
6
6
|
msgs?: ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-
|
|
2
|
+
import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-CJ2Xl5ed.js';
|
|
3
3
|
|
|
4
4
|
declare const messagesDirect: (options?: ({
|
|
5
5
|
sourceAssetDenom?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-
|
|
1
|
+
import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-CJ2Xl5ed.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-CcpInrQx.js';
|
|
4
4
|
|
|
5
5
|
declare const route: (request: RouteRequest) => Promise<{
|
|
6
6
|
amountIn: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-CcpInrQx.js';
|
|
3
|
+
import '../swaggerTypes-CJ2Xl5ed.js';
|
|
4
4
|
|
|
5
5
|
declare const submitTransaction: (options?: ({
|
|
6
6
|
tx?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { A as ApiRequest, P as PollingProps } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, P as PollingProps } from '../generateApi-CcpInrQx.js';
|
|
3
|
+
import '../swaggerTypes-CJ2Xl5ed.js';
|
|
4
4
|
|
|
5
5
|
type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps & SkipApiOptions;
|
|
6
6
|
type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-
|
|
2
|
-
import { a as ApiResponse } from '../generateApi-
|
|
1
|
+
import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-CJ2Xl5ed.js';
|
|
2
|
+
import { a as ApiResponse } from '../generateApi-CcpInrQx.js';
|
|
3
3
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
4
4
|
|
|
5
5
|
declare const transactionStatus: (params?: ({
|
|
@@ -137,6 +137,25 @@ declare const transactionStatus: (params?: ({
|
|
|
137
137
|
} | undefined;
|
|
138
138
|
} | undefined;
|
|
139
139
|
} | undefined;
|
|
140
|
+
cctpTransferV2?: {
|
|
141
|
+
toChainId?: string | undefined;
|
|
142
|
+
fromChainId?: string | undefined;
|
|
143
|
+
state?: CCTPTransferState | undefined;
|
|
144
|
+
txs?: {
|
|
145
|
+
sendTx?: {
|
|
146
|
+
chainId?: string | undefined;
|
|
147
|
+
explorerLink: string;
|
|
148
|
+
txHash?: string | undefined;
|
|
149
|
+
onChainAt?: string | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
receiveTx?: {
|
|
152
|
+
chainId?: string | undefined;
|
|
153
|
+
explorerLink: string;
|
|
154
|
+
txHash?: string | undefined;
|
|
155
|
+
onChainAt?: string | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
} | undefined;
|
|
158
|
+
} | undefined;
|
|
140
159
|
hyperlaneTransfer?: {
|
|
141
160
|
fromChainId: string;
|
|
142
161
|
toChainId: string;
|
|
@@ -466,6 +485,25 @@ declare const transactionStatus: (params?: ({
|
|
|
466
485
|
} | undefined;
|
|
467
486
|
} | undefined;
|
|
468
487
|
} | undefined;
|
|
488
|
+
cctpTransferV2?: {
|
|
489
|
+
toChainId?: string | undefined;
|
|
490
|
+
fromChainId?: string | undefined;
|
|
491
|
+
state?: CCTPTransferState | undefined;
|
|
492
|
+
txs?: {
|
|
493
|
+
sendTx?: {
|
|
494
|
+
chainId?: string | undefined;
|
|
495
|
+
explorerLink: string;
|
|
496
|
+
txHash?: string | undefined;
|
|
497
|
+
onChainAt?: string | undefined;
|
|
498
|
+
} | undefined;
|
|
499
|
+
receiveTx?: {
|
|
500
|
+
chainId?: string | undefined;
|
|
501
|
+
explorerLink: string;
|
|
502
|
+
txHash?: string | undefined;
|
|
503
|
+
onChainAt?: string | undefined;
|
|
504
|
+
} | undefined;
|
|
505
|
+
} | undefined;
|
|
506
|
+
} | undefined;
|
|
469
507
|
hyperlaneTransfer?: {
|
|
470
508
|
fromChainId: string;
|
|
471
509
|
toChainId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TxStatusResponse } from './api/postTransactionStatus.js';
|
|
2
|
-
import { T as TransferState, h as AxelarTransferState, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, G as GoFastTransferState, f as StargateTransferState, L as LayerZeroTransferState, b as TransactionState, bq as RouteResponse, a6 as CosmosMsg, ax as PostHandler, ay as Route, aV as TransferAssetRelease, aW as TransferStatus, a3 as Erc20Approval } from './swaggerTypes-
|
|
3
|
-
import { A as ApiRequest } from './generateApi-
|
|
4
|
-
import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-
|
|
2
|
+
import { T as TransferState, h as AxelarTransferState, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, G as GoFastTransferState, f as StargateTransferState, L as LayerZeroTransferState, b as TransactionState, bq as RouteResponse, a6 as CosmosMsg, ax as PostHandler, ay as Route, aV as TransferAssetRelease, aW as TransferStatus, a3 as Erc20Approval } from './swaggerTypes-CJ2Xl5ed.js';
|
|
3
|
+
import { A as ApiRequest } from './generateApi-CcpInrQx.js';
|
|
4
|
+
import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-CiP7kdse.js';
|
|
5
5
|
|
|
6
6
|
type OverallStatus = "pending" | "success" | "failed";
|
|
7
7
|
declare function getTransferEventsFromTxStatusResponse(txStatusResponse?: TxStatusResponse[]): {
|
|
@@ -22,6 +22,7 @@ declare enum TransferType {
|
|
|
22
22
|
ibcTransfer = "ibcTransfer",
|
|
23
23
|
axelarTransfer = "axelarTransfer",
|
|
24
24
|
cctpTransfer = "cctpTransfer",
|
|
25
|
+
cctpTransferV2 = "cctpTransferV2",
|
|
25
26
|
hyperlaneTransfer = "hyperlaneTransfer",
|
|
26
27
|
opInitTransfer = "opInitTransfer",
|
|
27
28
|
goFastTransfer = "goFastTransfer",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { updateRouteDetails } from './chunk-
|
|
2
|
-
import { validateCosmosGasBalance } from './chunk-
|
|
1
|
+
import { updateRouteDetails } from './chunk-QCGHODGV.js';
|
|
2
|
+
import { validateCosmosGasBalance } from './chunk-PZ2624FK.js';
|
|
3
3
|
import { getEncodeObjectFromCosmosMessage } from './chunk-R2GHDOWX.js';
|
|
4
4
|
import { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
|
|
5
|
-
import { getRpcEndpointForChain, accountParser, getSigningStargateClient } from './chunk-
|
|
6
|
-
import { chains, findFirstWorkingEndpoint, getIsEthermint, getIsInitia } from './chunk-
|
|
5
|
+
import { getRpcEndpointForChain, accountParser, getSigningStargateClient } from './chunk-DMJMN4J3.js';
|
|
6
|
+
import { chains, findFirstWorkingEndpoint, getIsEthermint, getIsInitia } from './chunk-NUHMTWHP.js';
|
|
7
7
|
import { submitTransaction } from './chunk-ETBJVFQP.js';
|
|
8
8
|
import { venues } from './chunk-A5NZMSTI.js';
|
|
9
9
|
import { ClientState, balances } from './chunk-J24LYWJE.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseAccount as BaseAccount$1, base64FromBytes, bytesFromBase64, isSet } from './chunk-RTDD7HZ3.js';
|
|
2
|
-
import { chains, findFirstWorkingEndpoint } from './chunk-
|
|
2
|
+
import { chains, findFirstWorkingEndpoint } from './chunk-NUHMTWHP.js';
|
|
3
3
|
import { ClientState } from './chunk-J24LYWJE.js';
|
|
4
4
|
import { accountFromAny, SigningStargateClient } from '@cosmjs/stargate';
|
|
5
5
|
import { assertDefinedAndNotNull } from '@cosmjs/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createValidAddressList, executeTransactions } from './chunk-
|
|
2
|
-
import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-
|
|
1
|
+
import { createValidAddressList, executeTransactions } from './chunk-5IGYTGG3.js';
|
|
2
|
+
import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-QCGHODGV.js';
|
|
3
3
|
import { messages } from './chunk-P36PE4CR.js';
|
|
4
4
|
import { ApiState } from './chunk-F66EKL3W.js';
|
|
5
5
|
|