@skip-go/client 0.8.0 → 0.8.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.
- package/dist/{chunk-JQE2L2GO.js → chunk-MVYCWIUE.js} +8 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +185 -185
- package/dist/{shared-D1dMlI_1.d.ts → shared-CXij4l4y.d.ts} +4 -0
- package/dist/transactions.d.ts +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.js +161 -161
- package/package.json +1 -1
|
@@ -413,7 +413,8 @@ function swapExactCoinInFromJSON(swapExactCoinInJSON) {
|
|
|
413
413
|
swapOperationFromJSON
|
|
414
414
|
),
|
|
415
415
|
swapAmountIn: swapExactCoinInJSON.swap_amount_in,
|
|
416
|
-
priceImpactPercent: swapExactCoinInJSON.price_impact_percent
|
|
416
|
+
priceImpactPercent: swapExactCoinInJSON.price_impact_percent,
|
|
417
|
+
estimatedAmountOut: swapExactCoinInJSON.estimated_amount_out
|
|
417
418
|
};
|
|
418
419
|
}
|
|
419
420
|
function swapExactCoinInToJSON(swapExactCoinIn) {
|
|
@@ -421,19 +422,22 @@ function swapExactCoinInToJSON(swapExactCoinIn) {
|
|
|
421
422
|
swap_venue: swapVenueToJSON(swapExactCoinIn.swapVenue),
|
|
422
423
|
swap_operations: swapExactCoinIn.swapOperations.map(swapOperationToJSON),
|
|
423
424
|
swap_amount_in: swapExactCoinIn.swapAmountIn,
|
|
424
|
-
price_impact_percent: swapExactCoinIn.priceImpactPercent
|
|
425
|
+
price_impact_percent: swapExactCoinIn.priceImpactPercent,
|
|
426
|
+
estimated_amount_out: swapExactCoinIn.estimatedAmountOut
|
|
425
427
|
};
|
|
426
428
|
}
|
|
427
429
|
function smartSwapExactCoinInFromJSON(smartSwapExactCoinInJSON) {
|
|
428
430
|
return {
|
|
429
431
|
swapVenue: swapVenueFromJSON(smartSwapExactCoinInJSON.swap_venue),
|
|
430
|
-
swapRoutes: smartSwapExactCoinInJSON.swap_routes.map(swapRouteFromJSON)
|
|
432
|
+
swapRoutes: smartSwapExactCoinInJSON.swap_routes.map(swapRouteFromJSON),
|
|
433
|
+
estimatedAmountOut: smartSwapExactCoinInJSON.estimated_amount_out
|
|
431
434
|
};
|
|
432
435
|
}
|
|
433
436
|
function smartSwapExactCoinInToJSON(smartSwapExactCoinIn) {
|
|
434
437
|
return {
|
|
435
438
|
swap_venue: swapVenueToJSON(smartSwapExactCoinIn.swapVenue),
|
|
436
|
-
swap_routes: smartSwapExactCoinIn.swapRoutes.map(swapRouteToJSON)
|
|
439
|
+
swap_routes: smartSwapExactCoinIn.swapRoutes.map(swapRouteToJSON),
|
|
440
|
+
estimated_amount_out: smartSwapExactCoinIn.estimatedAmountOut
|
|
437
441
|
};
|
|
438
442
|
}
|
|
439
443
|
function swapExactCoinOutFromJSON(swapExactCoinOutJSON) {
|
package/dist/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import { AminoConverters, GasPrice, StdFee, SignerData, AminoTypes, SigningStarg
|
|
|
7
7
|
import { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
|
|
8
8
|
import { TxStatusResponse, Chain, SubmitTxResponse, TrackTxResponse, FeeAsset } from './types.js';
|
|
9
9
|
export { AcknowledgementError, AxelarTransferInfo, AxelarTransferInfoJSON, AxelarTransferState, AxelarTransferTransactions, AxelarTransferTransactionsJSON, AxelarTransferType, CCTPTransferInfo, CCTPTransferInfoJSON, CCTPTransferState, CCTPTransferTransactions, CCTPTransferTransactionsJSON, ChainJSON, ChainTransaction, ChainTransactionJSON, ContractCallWithTokenError, ContractCallWithTokenErrorType, ContractCallWithTokenTransactions, ContractCallWithTokenTransactionsJSON, FeeAssetJSON, GasPriceInfo, HyperlaneTransferInfo, HyperlaneTransferInfoJSON, HyperlaneTransferState, HyperlaneTransferTransactions, HyperlaneTransferTransactionsJSON, IbcCapabilities, IbcCapabilitiesJSON, ModuleSupport, ModuleVersionInfo, NextBlockingTransfer, NextBlockingTransferJSON, OPInitTransferInfo, OPInitTransferInfoJSON, OPInitTransferState, OPInitTransferTransactions, OPInitTransferTransactionsJSON, Packet, PacketError, PacketErrorJSON, PacketErrorType, PacketJSON, SendTokenError, SendTokenErrorType, SendTokenTransactions, SendTokenTransactionsJSON, StatusError, StatusErrorJSON, StatusErrorType, StatusRequest, StatusRequestJSON, StatusState, SubmitTxRequest, SubmitTxRequestJSON, SubmitTxResponseJSON, TrackTxRequest, TrackTxRequestJSON, TrackTxResponseJSON, TransactionExecutionError, TransferAssetRelease, TransferAssetReleaseJSON, TransferEvent, TransferEventJSON, TransferInfo, TransferInfoJSON, TransferState, TransferStatus, TransferStatusJSON, TxStatusResponseJSON, Venue, affiliateFromJSON, affiliateToJSON, assetBetweenChainsFromJSON, assetBetweenChainsToJSON, assetFromJSON, assetOrErrorFromJSON, assetOrErrorToJSON, assetRecommendationFromJSON, assetRecommendationRequestFromJSON, assetRecommendationRequestToJSON, assetRecommendationToJSON, assetToJSON, assetsBetweenChainsRequestFromJSON, assetsBetweenChainsRequestToJSON, assetsBetweenChainsResponseFromJSON, assetsFromSourceRequestFromJSON, assetsFromSourceRequestToJSON, assetsRequestFromJSON, assetsRequestToJSON, axelarTransferFromJSON, axelarTransferInfoFromJSON, axelarTransferInfoToJSON, axelarTransferToJSON, axelarTransferTransactionsFromJSON, axelarTransferTransactionsToJSON, bankSendFromJSON, bankSendToJSON, bridgeFromJSON, bridgeToJSON, bridgesResponseFromJSON, bridgesResponseToJSON, cctpTransferFromJSON, cctpTransferInfoFromJSON, cctpTransferInfoToJSON, cctpTransferToJSON, cctpTransferTransactionsFromJSON, cctpTransferTransactionsToJSON, chainAffiliatesFromJSON, chainAffiliatesToJSON, chainFromJSON, chainIDsToAffiliatesMapFromJSON, chainIDsToAffiliatesMapToJSON, chainToJSON, chainTransactionFromJSON, chainTransactionToJSON, contractCallWithTokenTransactionsFromJSON, contractCallWithTokenTransactionsToJSON, cosmWasmContractMsgFromJSON, cosmWasmContractMsgToJSON, cosmosMsgFromJSON, cosmosMsgToJSON, cosmosTxFromJSON, cosmosTxToJSON, denomWithChainIDFromJSON, denomWithChainIDToJSON, erc20ApprovalFromJSON, erc20ApprovalToJSON, estimatedFeeFromJSON, estimatedFeeToJSON, evmSwapFromJSON, evmSwapToJSON, evmTxFromJSON, evmTxToJSON, feeAssetFromJSON, feeAssetToJSON, hyperlaneTransferFromJSON, hyperlaneTransferInfoFromJSON, hyperlaneTransferInfoToJSON, hyperlaneTransferToJSON, hyperlaneTransferTransactionsFromJSON, hyperlaneTransferTransactionsToJSON, ibcAddressFromJSON, ibcAddressToJSON, ibcCapabilitiesFromJSON, ibcCapabilitiesToJSON, messageResponseFromJSON, msgFromJSON, msgToJSON, msgsDirectRequestFromJSON, msgsDirectRequestToJSON, msgsRequestFromJSON, msgsRequestToJSON, multiChainMsgFromJSON, multiChainMsgToJSON, nextBlockingTransferFromJSON, nextBlockingTransferToJSON, opInitTransferFromJSON, opInitTransferInfoFromJSON, opInitTransferInfoToJSON, opInitTransferToJSON, opInitTransferTransactionsFromJSON, opInitTransferTransactionsToJSON, operationFromJSON, operationToJSON, originAssetsRequestFromJSON, originAssetsRequestToJSON, originAssetsResponseFromJSON, originAssetsResponseToJSON, packetFromJSON, packetToJSON, postHandlerFromJSON, postHandlerToJSON, recommendAssetsRequestFromJSON, recommendAssetsRequestToJSON, recommendAssetsResponseFromJSON, recommendAssetsResponseToJSON, recommendationEntryFromJSON, recommendationEntryToJSON, routeRequestFromJSON, routeRequestToJSON, routeResponseFromJSON, routeResponseToJSON, sendTokenTransactionsFromJSON, sendTokenTransactionsToJSON, smartRelayFeeQuoteFromJSON, smartRelayFeeQuoteToJSON, smartSwapExactCoinInFromJSON, smartSwapExactCoinInToJSON, smartSwapOptionsFromJSON, smartSwapOptionsToJSON, submitTxRequestFromJSON, submitTxRequestToJSON, submitTxResponseFromJSON, submitTxResponseToJSON, svmTxFromJSON, svmTxToJSON, swapExactCoinInFromJSON, swapExactCoinInToJSON, swapExactCoinOutFromJSON, swapExactCoinOutToJSON, swapFromJSON, swapOperationFromJSON, swapOperationToJSON, swapRouteFromJSON, swapRouteToJSON, swapToJSON, swapVenueFromJSON, swapVenueRequestFromJSON, swapVenueRequestToJSON, swapVenueToJSON, trackTxRequestFromJSON, trackTxRequestToJSON, trackTxResponseFromJSON, trackTxResponseToJSON, transferAssetReleaseFromJSON, transferAssetReleaseToJSON, transferEventFromJSON, transferEventToJSON, transferFromJSON, transferInfoFromJSON, transferInfoToJSON, transferStatusFromJSON, transferStatusToJSON, transferToJSON, txFromJSON, txStatusRequestFromJSON, txStatusRequestToJSON, txStatusResponseFromJSON, txStatusResponseToJSON, txToJSON } from './types.js';
|
|
10
|
-
import { a as ChainAffiliates, R as RouteResponse, M as MultiChainMsg, C as CosmosMsg, A as AssetsRequest, b as Asset, c as AssetsFromSourceRequest, d as AssetsBetweenChainsRequest, e as AssetBetweenChains, B as Bridge, T as Tx, E as EvmTx, S as SvmTx, f as MsgsRequest, g as MsgsResponse, h as RouteRequest, i as MsgsDirectRequest, j as MsgsDirectResponse, k as AssetRecommendationRequest, l as RecommendationEntry, D as DenomWithChainID, m as AssetOrError, n as SwapVenue } from './shared-
|
|
11
|
-
export { a8 as Affiliate, a7 as AffiliateJSON, am as ApiError, b2 as AssetBetweenChainsJSON, p as AssetJSON, an as AssetOrErrorJSON, aw as AssetRecommendation, ax as AssetRecommendationJSON, ay as AssetRecommendationRequestJSON, b3 as AssetsBetweenChainsRequestJSON, b5 as AssetsBetweenChainsResponse, b4 as AssetsBetweenChainsResponseJSON, av as AssetsFromSourceRequestJSON, au as AssetsRequestJSON, ad as AutopilotAction, ae as AutopilotMsg, t as AxelarTransfer, s as AxelarTransferJSON, v as BankSend, u as BankSendJSON, b8 as BridgeJSON, b1 as BridgeType, b7 as BridgesResponse, b6 as BridgesResponseJSON, G as CCTPTransfer, F as CCTPTransferJSON, a9 as ChainAffiliatesJSON, ac as CosmWasmContractMsg, ab as CosmWasmContractMsgJSON, x as CosmosMsgJSON, z as CosmosTx, y as CosmosTxJSON, al as DenomWithChainIDJSON, ai as ERC20Approval, ah as ERC20ApprovalJSON, aS as EstimatedFee, aT as EstimatedFeeJSON, a6 as EvmSwap, a5 as EvmSwapJSON, ak as EvmTxJSON, aO as ExperimentalFeature, aR as FeeType, J as HyperlaneTransfer, H as HyperlaneTransferJSON, o as IBCAddress, I as IBCAddressJSON, a_ as Msg, aZ as MsgJSON, aY as MsgsDirectRequestJSON, aI as MsgsDirectResponseJSON, aX as MsgsRequestJSON, b0 as MsgsResponseJSON, aQ as MsgsWarning, aN as MsgsWarningType, w as MultiChainMsgJSON, K as OPInitTransfer, O as OPInitTransferJSON, aV as Operation, aU as OperationJSON, ap as OriginAssetsRequest, ao as OriginAssetsRequestJSON, ar as OriginAssetsResponse, aq as OriginAssetsResponseJSON, ag as PostHandler, af as PostHandlerJSON, aa as Reason, aA as RecommendAssetsRequest, az as RecommendAssetsRequestJSON, aC as RecommendAssetsResponse, aB as RecommendAssetsResponseJSON, aD as RecommendationEntryJSON, aJ as RouteRequestBase, aE as RouteRequestBaseJSON, aK as RouteRequestGivenIn, aF as RouteRequestGivenInJSON, aL as RouteRequestGivenOut, aG as RouteRequestGivenOutJSON, aH as RouteRequestJSON, aW as RouteResponseJSON, aP as RouteWarning, aM as RouteWarningType, N as SmartRelayFeeQuote, L as SmartRelayFeeQuoteJSON, a2 as SmartSwapExactCoinIn, a1 as SmartSwapExactCoinInJSON, at as SmartSwapOptions, as as SmartSwapOptionsJSON, aj as SvmTxJSON, a4 as Swap, _ as SwapExactCoinIn, Z as SwapExactCoinInJSON, Y as SwapExactCoinOut, X as SwapExactCoinOutJSON, a3 as SwapJSON, W as SwapOperation, V as SwapOperationJSON, a0 as SwapRoute, $ as SwapRouteJSON, P as SwapVenueJSON, U as SwapVenueRequest, Q as SwapVenueRequestJSON, r as Transfer, q as TransferJSON, a$ as TxJSON } from './shared-
|
|
10
|
+
import { a as ChainAffiliates, R as RouteResponse, M as MultiChainMsg, C as CosmosMsg, A as AssetsRequest, b as Asset, c as AssetsFromSourceRequest, d as AssetsBetweenChainsRequest, e as AssetBetweenChains, B as Bridge, T as Tx, E as EvmTx, S as SvmTx, f as MsgsRequest, g as MsgsResponse, h as RouteRequest, i as MsgsDirectRequest, j as MsgsDirectResponse, k as AssetRecommendationRequest, l as RecommendationEntry, D as DenomWithChainID, m as AssetOrError, n as SwapVenue } from './shared-CXij4l4y.js';
|
|
11
|
+
export { a8 as Affiliate, a7 as AffiliateJSON, am as ApiError, b2 as AssetBetweenChainsJSON, p as AssetJSON, an as AssetOrErrorJSON, aw as AssetRecommendation, ax as AssetRecommendationJSON, ay as AssetRecommendationRequestJSON, b3 as AssetsBetweenChainsRequestJSON, b5 as AssetsBetweenChainsResponse, b4 as AssetsBetweenChainsResponseJSON, av as AssetsFromSourceRequestJSON, au as AssetsRequestJSON, ad as AutopilotAction, ae as AutopilotMsg, t as AxelarTransfer, s as AxelarTransferJSON, v as BankSend, u as BankSendJSON, b8 as BridgeJSON, b1 as BridgeType, b7 as BridgesResponse, b6 as BridgesResponseJSON, G as CCTPTransfer, F as CCTPTransferJSON, a9 as ChainAffiliatesJSON, ac as CosmWasmContractMsg, ab as CosmWasmContractMsgJSON, x as CosmosMsgJSON, z as CosmosTx, y as CosmosTxJSON, al as DenomWithChainIDJSON, ai as ERC20Approval, ah as ERC20ApprovalJSON, aS as EstimatedFee, aT as EstimatedFeeJSON, a6 as EvmSwap, a5 as EvmSwapJSON, ak as EvmTxJSON, aO as ExperimentalFeature, aR as FeeType, J as HyperlaneTransfer, H as HyperlaneTransferJSON, o as IBCAddress, I as IBCAddressJSON, a_ as Msg, aZ as MsgJSON, aY as MsgsDirectRequestJSON, aI as MsgsDirectResponseJSON, aX as MsgsRequestJSON, b0 as MsgsResponseJSON, aQ as MsgsWarning, aN as MsgsWarningType, w as MultiChainMsgJSON, K as OPInitTransfer, O as OPInitTransferJSON, aV as Operation, aU as OperationJSON, ap as OriginAssetsRequest, ao as OriginAssetsRequestJSON, ar as OriginAssetsResponse, aq as OriginAssetsResponseJSON, ag as PostHandler, af as PostHandlerJSON, aa as Reason, aA as RecommendAssetsRequest, az as RecommendAssetsRequestJSON, aC as RecommendAssetsResponse, aB as RecommendAssetsResponseJSON, aD as RecommendationEntryJSON, aJ as RouteRequestBase, aE as RouteRequestBaseJSON, aK as RouteRequestGivenIn, aF as RouteRequestGivenInJSON, aL as RouteRequestGivenOut, aG as RouteRequestGivenOutJSON, aH as RouteRequestJSON, aW as RouteResponseJSON, aP as RouteWarning, aM as RouteWarningType, N as SmartRelayFeeQuote, L as SmartRelayFeeQuoteJSON, a2 as SmartSwapExactCoinIn, a1 as SmartSwapExactCoinInJSON, at as SmartSwapOptions, as as SmartSwapOptionsJSON, aj as SvmTxJSON, a4 as Swap, _ as SwapExactCoinIn, Z as SwapExactCoinInJSON, Y as SwapExactCoinOut, X as SwapExactCoinOutJSON, a3 as SwapJSON, W as SwapOperation, V as SwapOperationJSON, a0 as SwapRoute, $ as SwapRouteJSON, P as SwapVenueJSON, U as SwapVenueRequest, Q as SwapVenueRequestJSON, r as Transfer, q as TransferJSON, a$ as TxJSON } from './shared-CXij4l4y.js';
|
|
12
12
|
import { Adapter } from '@solana/wallet-adapter-base';
|
|
13
13
|
export { DEFAULT_GAS_MULTIPLIER, getCosmosGasAmountForMessage, getEncodeObjectFromCosmosMessage, getEncodeObjectFromCosmosMessageInjective } from './transactions.js';
|
|
14
14
|
import '@injectivelabs/sdk-ts/dist/cjs/core/modules/msgs';
|