@skip-go/client 0.4.3 → 0.5.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-6AMBIQDN.js → chunk-IEAKY5XG.js} +8 -4
- package/dist/{chunk-PV2ELBDQ.js → chunk-TUX4SN3U.js} +749 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2375 -255
- package/dist/{shared-UW-rSz3r.d.ts → shared-CvoSvr3u.d.ts} +4 -0
- package/dist/transactions.d.ts +1 -1
- package/dist/transactions.js +5 -5
- package/dist/types.d.ts +2 -2
- package/dist/types.js +159 -159
- package/package.json +1 -1
|
@@ -310,6 +310,7 @@ type MsgsRequestJSON = {
|
|
|
310
310
|
affiliates?: AffiliateJSON[];
|
|
311
311
|
chain_ids_to_affiliates?: Record<string, ChainAffiliatesJSON>;
|
|
312
312
|
post_route_handler?: PostHandlerJSON;
|
|
313
|
+
enable_gas_warnings?: boolean;
|
|
313
314
|
};
|
|
314
315
|
type MsgsRequest = {
|
|
315
316
|
sourceAssetDenom: string;
|
|
@@ -328,6 +329,7 @@ type MsgsRequest = {
|
|
|
328
329
|
affiliates?: Affiliate[];
|
|
329
330
|
chainIDsToAffiliates?: Record<string, ChainAffiliates>;
|
|
330
331
|
postRouteHandler?: PostHandler;
|
|
332
|
+
enableGasWarnings?: boolean;
|
|
331
333
|
};
|
|
332
334
|
type MsgsDirectRequestJSON = {
|
|
333
335
|
source_asset_denom: string;
|
|
@@ -353,6 +355,7 @@ type MsgsDirectRequestJSON = {
|
|
|
353
355
|
smart_relay?: boolean;
|
|
354
356
|
smart_swap_options?: SmartSwapOptionsJSON;
|
|
355
357
|
allow_swaps?: boolean;
|
|
358
|
+
enable_gas_warnings?: boolean;
|
|
356
359
|
};
|
|
357
360
|
type MsgsDirectRequest = {
|
|
358
361
|
sourceAssetDenom: string;
|
|
@@ -378,6 +381,7 @@ type MsgsDirectRequest = {
|
|
|
378
381
|
smartRelay?: boolean;
|
|
379
382
|
smartSwapOptions?: SmartSwapOptions;
|
|
380
383
|
allowSwaps?: boolean;
|
|
384
|
+
enableGasWarnings?: boolean;
|
|
381
385
|
};
|
|
382
386
|
type MsgJSON = {
|
|
383
387
|
multi_chain_msg: MultiChainMsgJSON;
|
package/dist/transactions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
2
2
|
import { Msgs } from '@injectivelabs/sdk-ts/dist/cjs/core/modules/msgs';
|
|
3
|
-
import { C as CosmosMsg } from './shared-
|
|
3
|
+
import { C as CosmosMsg } from './shared-CvoSvr3u.js';
|
|
4
4
|
import { SigningStargateClient } from '@cosmjs/stargate';
|
|
5
5
|
|
|
6
6
|
declare const DEFAULT_GAS_MULTIPLIER = 1.5;
|
package/dist/transactions.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTUX4SN3U_js = require('./chunk-TUX4SN3U.js');
|
|
4
4
|
require('./chunk-6FNC3XMI.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "DEFAULT_GAS_MULTIPLIER", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkTUX4SN3U_js.DEFAULT_GAS_MULTIPLIER; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "getCosmosGasAmountForMessage", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTUX4SN3U_js.getCosmosGasAmountForMessage; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "getEncodeObjectFromCosmosMessage", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTUX4SN3U_js.getEncodeObjectFromCosmosMessage; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getEncodeObjectFromCosmosMessageInjective", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkTUX4SN3U_js.getEncodeObjectFromCosmosMessageInjective; }
|
|
23
23
|
});
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a4 as AffiliateJSON, a5 as Affiliate, o as AssetJSON, a as Asset, av as AssetRecommendationJSON, au as AssetRecommendation, at as AssetsFromSourceRequestJSON, b as AssetsFromSourceRequest, as as AssetsRequestJSON, A as AssetsRequest, ax as RecommendAssetsRequestJSON, ay as RecommendAssetsRequest, az as RecommendAssetsResponseJSON, aA as RecommendAssetsResponse, aB as RecommendationEntryJSON, k as RecommendationEntry, aR as EstimatedFeeJSON, aQ as EstimatedFee, K as SwapVenueJSON, m as SwapVenue, L as SwapVenueRequestJSON, N as SwapVenueRequest, aF as RouteRequestJSON, g as RouteRequest, p as TransferJSON, q as Transfer, P as SwapOperationJSON, Q as SwapOperation, Y as SwapRouteJSON, Z as SwapRoute, W as SwapExactCoinInJSON, X as SwapExactCoinIn, _ as SmartSwapExactCoinInJSON, $ as SmartSwapExactCoinIn, U as SwapExactCoinOutJSON, V as SwapExactCoinOut, a0 as SwapJSON, a1 as Swap, a2 as EvmSwapJSON, a3 as EvmSwap, aS as OperationJSON, aT as Operation, aU as RouteResponseJSON, R as RouteResponse, a9 as CosmWasmContractMsgJSON, aa as CosmWasmContractMsg, ad as PostHandlerJSON, ae as PostHandler, aV as MsgsRequestJSON, e as MsgsRequest, v as MultiChainMsgJSON, M as MultiChainMsg, w as CosmosMsgJSON, C as CosmosMsg, I as IBCAddressJSON, n as IBCAddress, r as AxelarTransferJSON, s as AxelarTransfer, t as BankSendJSON, u as BankSend, z as CCTPTransferJSON, F as CCTPTransfer, H as HyperlaneTransferJSON, G as HyperlaneTransfer, O as OPInitTransferJSON, J as OPInitTransfer, af as ERC20ApprovalJSON, ag as ERC20Approval, ah as SvmTxJSON, S as SvmTx, ai as EvmTxJSON, E as EvmTx, x as CosmosTxJSON, y as CosmosTx, aZ as TxJSON, T as Tx, aX as MsgJSON, aY as Msg, a_ as MsgsResponseJSON, f as MsgsResponse, aj as DenomWithChainIDJSON, D as DenomWithChainID, al as AssetOrErrorJSON, l as AssetOrError, am as OriginAssetsRequestJSON, an as OriginAssetsRequest, ao as OriginAssetsResponseJSON, ap as OriginAssetsResponse, b0 as AssetBetweenChainsJSON, d as AssetBetweenChains, b1 as AssetsBetweenChainsRequestJSON, c as AssetsBetweenChainsRequest, b2 as AssetsBetweenChainsResponseJSON, b3 as AssetsBetweenChainsResponse, aw as AssetRecommendationRequestJSON, j as AssetRecommendationRequest, b4 as BridgesResponseJSON, b5 as BridgesResponse, b6 as BridgeJSON, B as Bridge, aW as MsgsDirectRequestJSON, h as MsgsDirectRequest, aq as SmartSwapOptionsJSON, ar as SmartSwapOptions, a6 as ChainAffiliatesJSON, a7 as ChainAffiliates } from './shared-
|
|
2
|
-
export { ak as ApiError, ab as AutopilotAction, ac as AutopilotMsg, a$ as BridgeType, aM as ExperimentalFeature, aP as FeeType, i as MsgsDirectResponse, aG as MsgsDirectResponseJSON, aO as MsgsWarning, aL as MsgsWarningType, a8 as Reason, aH as RouteRequestBase, aC as RouteRequestBaseJSON, aI as RouteRequestGivenIn, aD as RouteRequestGivenInJSON, aJ as RouteRequestGivenOut, aE as RouteRequestGivenOutJSON, aN as RouteWarning, aK as RouteWarningType } from './shared-
|
|
1
|
+
import { a4 as AffiliateJSON, a5 as Affiliate, o as AssetJSON, a as Asset, av as AssetRecommendationJSON, au as AssetRecommendation, at as AssetsFromSourceRequestJSON, b as AssetsFromSourceRequest, as as AssetsRequestJSON, A as AssetsRequest, ax as RecommendAssetsRequestJSON, ay as RecommendAssetsRequest, az as RecommendAssetsResponseJSON, aA as RecommendAssetsResponse, aB as RecommendationEntryJSON, k as RecommendationEntry, aR as EstimatedFeeJSON, aQ as EstimatedFee, K as SwapVenueJSON, m as SwapVenue, L as SwapVenueRequestJSON, N as SwapVenueRequest, aF as RouteRequestJSON, g as RouteRequest, p as TransferJSON, q as Transfer, P as SwapOperationJSON, Q as SwapOperation, Y as SwapRouteJSON, Z as SwapRoute, W as SwapExactCoinInJSON, X as SwapExactCoinIn, _ as SmartSwapExactCoinInJSON, $ as SmartSwapExactCoinIn, U as SwapExactCoinOutJSON, V as SwapExactCoinOut, a0 as SwapJSON, a1 as Swap, a2 as EvmSwapJSON, a3 as EvmSwap, aS as OperationJSON, aT as Operation, aU as RouteResponseJSON, R as RouteResponse, a9 as CosmWasmContractMsgJSON, aa as CosmWasmContractMsg, ad as PostHandlerJSON, ae as PostHandler, aV as MsgsRequestJSON, e as MsgsRequest, v as MultiChainMsgJSON, M as MultiChainMsg, w as CosmosMsgJSON, C as CosmosMsg, I as IBCAddressJSON, n as IBCAddress, r as AxelarTransferJSON, s as AxelarTransfer, t as BankSendJSON, u as BankSend, z as CCTPTransferJSON, F as CCTPTransfer, H as HyperlaneTransferJSON, G as HyperlaneTransfer, O as OPInitTransferJSON, J as OPInitTransfer, af as ERC20ApprovalJSON, ag as ERC20Approval, ah as SvmTxJSON, S as SvmTx, ai as EvmTxJSON, E as EvmTx, x as CosmosTxJSON, y as CosmosTx, aZ as TxJSON, T as Tx, aX as MsgJSON, aY as Msg, a_ as MsgsResponseJSON, f as MsgsResponse, aj as DenomWithChainIDJSON, D as DenomWithChainID, al as AssetOrErrorJSON, l as AssetOrError, am as OriginAssetsRequestJSON, an as OriginAssetsRequest, ao as OriginAssetsResponseJSON, ap as OriginAssetsResponse, b0 as AssetBetweenChainsJSON, d as AssetBetweenChains, b1 as AssetsBetweenChainsRequestJSON, c as AssetsBetweenChainsRequest, b2 as AssetsBetweenChainsResponseJSON, b3 as AssetsBetweenChainsResponse, aw as AssetRecommendationRequestJSON, j as AssetRecommendationRequest, b4 as BridgesResponseJSON, b5 as BridgesResponse, b6 as BridgeJSON, B as Bridge, aW as MsgsDirectRequestJSON, h as MsgsDirectRequest, aq as SmartSwapOptionsJSON, ar as SmartSwapOptions, a6 as ChainAffiliatesJSON, a7 as ChainAffiliates } from './shared-CvoSvr3u.js';
|
|
2
|
+
export { ak as ApiError, ab as AutopilotAction, ac as AutopilotMsg, a$ as BridgeType, aM as ExperimentalFeature, aP as FeeType, i as MsgsDirectResponse, aG as MsgsDirectResponseJSON, aO as MsgsWarning, aL as MsgsWarningType, a8 as Reason, aH as RouteRequestBase, aC as RouteRequestBaseJSON, aI as RouteRequestGivenIn, aD as RouteRequestGivenInJSON, aJ as RouteRequestGivenOut, aE as RouteRequestGivenOutJSON, aN as RouteWarning, aK as RouteWarningType } from './shared-CvoSvr3u.js';
|
|
3
3
|
|
|
4
4
|
type SubmitTxRequestJSON = {
|
|
5
5
|
tx: string;
|