@skip-go/client 1.3.1 → 1.3.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.
- package/dist/cjs/api/getAssets.cjs +1 -1
- package/dist/cjs/api/getAssetsBetweenChains.cjs +1 -1
- package/dist/cjs/api/getBridges.cjs +1 -1
- package/dist/cjs/api/getChains.cjs +1 -1
- package/dist/cjs/api/getVenues.cjs +1 -1
- package/dist/cjs/api/postAssetsFromSource.cjs +1 -1
- package/dist/cjs/api/postBalances.cjs +1 -1
- package/dist/cjs/api/postIbcOriginAssets.cjs +1 -1
- package/dist/cjs/api/postMessages.cjs +1 -1
- package/dist/cjs/api/postMessagesDirect.cjs +1 -1
- package/dist/cjs/api/postRecommendAssets.cjs +1 -1
- package/dist/cjs/api/postRoute.cjs +1 -1
- package/dist/cjs/api/postSubmit.cjs +1 -1
- package/dist/cjs/api/postSubmitTransaction.cjs +1 -1
- package/dist/cjs/api/postTrackTransaction.cjs +1 -1
- package/dist/cjs/api/postTransactionStatus.cjs +1 -1
- package/dist/cjs/{chunk-CPTNOPWI.cjs → chunk-IDDRJJO5.cjs} +1 -0
- package/dist/cjs/index.cjs +26 -25
- package/dist/cjs/public-functions/executeRoute.cjs +1 -1
- package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +1 -1
- package/dist/cjs/public-functions/getFeeInfoForChain.cjs +1 -1
- package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +1 -1
- package/dist/cjs/public-functions/getSigningStargateClient.cjs +1 -1
- package/dist/cjs/public-functions/setApiOptions.cjs +1 -1
- package/dist/cjs/public-functions/setClientOptions.cjs +1 -1
- package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +1 -1
- package/dist/cjs/public-functions/waitForTransaction.cjs +1 -1
- package/dist/esm/api/getAssets.d.ts +1 -1
- package/dist/esm/api/getAssets.js +1 -1
- package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/esm/api/getAssetsBetweenChains.js +1 -1
- package/dist/esm/api/getBridges.d.ts +1 -1
- package/dist/esm/api/getBridges.js +1 -1
- package/dist/esm/api/getChains.d.ts +1 -1
- package/dist/esm/api/getChains.js +1 -1
- package/dist/esm/api/getVenues.js +1 -1
- package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
- package/dist/esm/api/postAssetsFromSource.js +1 -1
- package/dist/esm/api/postBalances.d.ts +2 -2
- package/dist/esm/api/postBalances.js +1 -1
- package/dist/esm/api/postIbcOriginAssets.js +1 -1
- package/dist/esm/api/postMessages.d.ts +2 -2
- package/dist/esm/api/postMessages.js +1 -1
- package/dist/esm/api/postMessagesDirect.d.ts +195 -195
- package/dist/esm/api/postMessagesDirect.js +1 -1
- package/dist/esm/api/postRecommendAssets.d.ts +1 -1
- package/dist/esm/api/postRecommendAssets.js +1 -1
- package/dist/esm/api/postRoute.d.ts +191 -191
- package/dist/esm/api/postRoute.js +1 -1
- package/dist/esm/api/postSubmit.d.ts +2 -2
- package/dist/esm/api/postSubmit.js +1 -1
- package/dist/esm/api/postSubmitTransaction.js +1 -1
- package/dist/esm/api/postTrackTransaction.d.ts +2 -2
- package/dist/esm/api/postTrackTransaction.js +1 -1
- package/dist/esm/api/postTransactionStatus.d.ts +2 -2
- package/dist/esm/api/postTransactionStatus.js +1 -1
- package/dist/esm/{callbacks-C2lXb0AH.d.ts → callbacks-DGLv2hr0.d.ts} +1 -1
- package/dist/esm/{chunk-KYLULQOS.js → chunk-OQDBWVET.js} +1 -0
- package/dist/esm/{client-types-DuWWc2_J.d.ts → client-types-CSzTHcG9.d.ts} +1 -1
- package/dist/esm/{generateApi-DvFEIUee.d.ts → generateApi-Bfli9ipj.d.ts} +1 -1
- package/dist/esm/index.d.ts +19 -6
- package/dist/esm/index.js +2 -1
- package/dist/esm/public-functions/executeRoute.d.ts +4 -4
- package/dist/esm/public-functions/executeRoute.js +1 -1
- package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +2 -2
- package/dist/esm/public-functions/getEvmGasAmountForMessage.js +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.js +1 -1
- package/dist/esm/public-functions/getRecommendedGasPrice.js +1 -1
- package/dist/esm/public-functions/getSigningStargateClient.js +1 -1
- package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
- package/dist/esm/public-functions/setApiOptions.js +1 -1
- package/dist/esm/public-functions/setClientOptions.d.ts +3 -3
- package/dist/esm/public-functions/setClientOptions.js +1 -1
- package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
- package/dist/esm/public-functions/validateCosmosGasBalance.js +1 -1
- package/dist/esm/public-functions/waitForTransaction.d.ts +3 -3
- package/dist/esm/public-functions/waitForTransaction.js +1 -1
- package/dist/esm/{setClientOptions-B27lt_6h.d.ts → setClientOptions-RMgGQ1KD.d.ts} +1 -1
- package/dist/esm/{swaggerTypes-BrC-ZYnx.d.ts → swaggerTypes-BIYUp1AO.d.ts} +14 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AcknowledgementErrorDetails, a as Affiliate, bw as Api, bs as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, bi as AssetRecommendationsResponse, be as AssetsFromSourceResponse, bc as AssetsRequest, bd as AssetsResponse, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, E as BalanceResponseChainEntry, D as BalanceResponseDenomEntry, b8 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b9 as BridgesResponse, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, K as Chain, M as ChainAffiliates, am as ChainTransaction, L as ChainType, b6 as ChainsRequest, b7 as ChainsResponse, bu as ContentType, N as ContractCallWithTokenError, O as ContractCallWithTokenErrorType, P as ContractCallWithTokenTxs, Q as CosmWasmContractMsg, R as CosmWasmContractMsgWrapper, b1 as CosmosModuleSupport, W as CosmosMsg, X as CosmosTx, Y as CosmosTxWrapper, T as Erc20Approval, V as Error, U as ErrorDetail, aW as EurekaTransfer, aX as EurekaTransferInfo, aY as EurekaTransferWrapper, Z as EvmSwap, _ as EvmSwapWrapper, $ as EvmTx, a0 as EvmTxWrapper, b5 as Fee, a3 as FeeAsset, b4 as FeeBehavior, b3 as FeeType, bq as FullRequestParams, bn as FungibleAssetsBetweenChainsCreateResponse, a5 as GRPCStatusCode, a4 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, z as GoFastTransferWrapper, bv as HttpClient, bt as HttpResponse, a6 as HyperlaneTransfer, a7 as HyperlaneTransferInfo, a8 as HyperlaneTransferState, a9 as HyperlaneTransferTransactions, aa as HyperlaneTransferWrapper, ab as IBCTransferInfo, b2 as IbcCapabilities, bm as IbcOriginAssetsResponse, aZ as LayerZeroTransfer, a_ as LayerZeroTransferInfo, aP as LayerZeroTransferState, ai as LayerZeroTransferTransactions, a$ as LayerZeroTransferWrapper, ac as Msg, bh as MsgsDirectResponse, bg as MsgsResponse, ae as MultiChainMsg, af as MultiChainMsgWrapper, aK as OPInitTransfer, aM as OPInitTransferInfo, aO as OPInitTransferState, aN as OPInitTransferTxs, aL as OPInitTransferWrapper, ag as Operation, ah as OptionalAsset, aj as Packet, ak as PacketError, al as PacketErrorType, an as PostHandler, bo as QueryParamsType, ao as Reason, b0 as RecommendationRequest, br as RequestParams, bp as ResponseFormat, aq as Route, ap as RoutePriceWarningType, bf as RouteResponse, ar as SendTokenError, as as SendTokenErrorType, at as SendTokenTxs, S as SmartRelayFeeQuote, aD as SmartSwapExactCoinIn, aF as SmartSwapInWrapper, aE as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, au as StatusError, av as StatusErrorType, bk as StatusRequest, bl as StatusResponse, a1 as SvmTx, a2 as SvmTxWrapper, aw as Swap, ax as SwapExactCoinIn, ay as SwapExactCoinOut, az as SwapInWrapper, aA as SwapOperation, aB as SwapOutWrapper, aC as SwapRoute, aG as SwapVenue, aH as SwapWrapper, bj as TrackResponse, aI as TransactionExecutionErrorDetails, aJ as TransactionState, aQ as Transfer, aT as TransferAssetRelease, aR as TransferEvent, aS as TransferState, aU as TransferStatus, aV as TransferWrapper, ad as Tx, ba as VenuesRequest, bb as VenuesResponse } from './swaggerTypes-
|
|
2
|
-
export { T as TransactionCallbacks } from './callbacks-
|
|
3
|
-
export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-
|
|
1
|
+
export { A as AcknowledgementErrorDetails, a as Affiliate, bw as Api, bs as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, bi as AssetRecommendationsResponse, be as AssetsFromSourceResponse, bc as AssetsRequest, bd as AssetsResponse, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, E as BalanceResponseChainEntry, D as BalanceResponseDenomEntry, b8 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b9 as BridgesResponse, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, K as Chain, M as ChainAffiliates, am as ChainTransaction, L as ChainType, b6 as ChainsRequest, b7 as ChainsResponse, bu as ContentType, N as ContractCallWithTokenError, O as ContractCallWithTokenErrorType, P as ContractCallWithTokenTxs, Q as CosmWasmContractMsg, R as CosmWasmContractMsgWrapper, b1 as CosmosModuleSupport, W as CosmosMsg, X as CosmosTx, Y as CosmosTxWrapper, T as Erc20Approval, V as Error, U as ErrorDetail, aW as EurekaTransfer, aX as EurekaTransferInfo, aY as EurekaTransferWrapper, Z as EvmSwap, _ as EvmSwapWrapper, $ as EvmTx, a0 as EvmTxWrapper, b5 as Fee, a3 as FeeAsset, b4 as FeeBehavior, b3 as FeeType, bq as FullRequestParams, bn as FungibleAssetsBetweenChainsCreateResponse, a5 as GRPCStatusCode, a4 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, z as GoFastTransferWrapper, bv as HttpClient, bt as HttpResponse, a6 as HyperlaneTransfer, a7 as HyperlaneTransferInfo, a8 as HyperlaneTransferState, a9 as HyperlaneTransferTransactions, aa as HyperlaneTransferWrapper, ab as IBCTransferInfo, b2 as IbcCapabilities, bm as IbcOriginAssetsResponse, aZ as LayerZeroTransfer, a_ as LayerZeroTransferInfo, aP as LayerZeroTransferState, ai as LayerZeroTransferTransactions, a$ as LayerZeroTransferWrapper, ac as Msg, bh as MsgsDirectResponse, bg as MsgsResponse, ae as MultiChainMsg, af as MultiChainMsgWrapper, aK as OPInitTransfer, aM as OPInitTransferInfo, aO as OPInitTransferState, aN as OPInitTransferTxs, aL as OPInitTransferWrapper, ag as Operation, ah as OptionalAsset, aj as Packet, ak as PacketError, al as PacketErrorType, an as PostHandler, bo as QueryParamsType, ao as Reason, b0 as RecommendationRequest, br as RequestParams, bp as ResponseFormat, aq as Route, ap as RoutePriceWarningType, bf as RouteResponse, ar as SendTokenError, as as SendTokenErrorType, at as SendTokenTxs, S as SmartRelayFeeQuote, aD as SmartSwapExactCoinIn, aF as SmartSwapInWrapper, aE as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, au as StatusError, av as StatusErrorType, bk as StatusRequest, bl as StatusResponse, a1 as SvmTx, a2 as SvmTxWrapper, aw as Swap, ax as SwapExactCoinIn, ay as SwapExactCoinOut, az as SwapInWrapper, aA as SwapOperation, aB as SwapOutWrapper, aC as SwapRoute, aG as SwapVenue, aH as SwapWrapper, bj as TrackResponse, aI as TransactionExecutionErrorDetails, aJ as TransactionState, aQ as Transfer, aT as TransferAssetRelease, aR as TransferEvent, aS as TransferState, aU as TransferStatus, aV as TransferWrapper, ad as Tx, ba as VenuesRequest, bb as VenuesResponse } from './swaggerTypes-BIYUp1AO.js';
|
|
2
|
+
export { T as TransactionCallbacks } from './callbacks-DGLv2hr0.js';
|
|
3
|
+
export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-CSzTHcG9.js';
|
|
4
4
|
export { assets } from './api/getAssets.js';
|
|
5
5
|
export { assetsBetweenChains } from './api/getAssetsBetweenChains.js';
|
|
6
6
|
export { bridges } from './api/getBridges.js';
|
|
@@ -18,7 +18,7 @@ export { trackTransaction } from './api/postTrackTransaction.js';
|
|
|
18
18
|
export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
|
|
19
19
|
export { ExecuteRouteOptions, executeRoute } from './public-functions/executeRoute.js';
|
|
20
20
|
export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
|
|
21
|
-
export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-
|
|
21
|
+
export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-RMgGQ1KD.js';
|
|
22
22
|
export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
|
|
23
23
|
export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
|
|
24
24
|
export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
|
|
@@ -33,7 +33,7 @@ import '@cosmjs/stargate';
|
|
|
33
33
|
import 'viem';
|
|
34
34
|
import '@solana/wallet-adapter-base';
|
|
35
35
|
import './apiState-DwZhwVul.js';
|
|
36
|
-
import './generateApi-
|
|
36
|
+
import './generateApi-Bfli9ipj.js';
|
|
37
37
|
|
|
38
38
|
interface AcknowledgementErrorDetailsJson {
|
|
39
39
|
/** Error code */
|
|
@@ -147,6 +147,7 @@ interface AxelarTransferJson {
|
|
|
147
147
|
* * `OPINIT` - Opinit Bridge
|
|
148
148
|
* * `GO_FAST` - Go Fast Bridge
|
|
149
149
|
* * `STARGATE` - Stargate Bridge
|
|
150
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
150
151
|
* * `EUREKA` - IBC Eureka Bridge
|
|
151
152
|
*/
|
|
152
153
|
bridge_id?: BridgeTypeJson;
|
|
@@ -239,6 +240,7 @@ interface CCTPTransferJson {
|
|
|
239
240
|
* * `OPINIT` - Opinit Bridge
|
|
240
241
|
* * `GO_FAST` - Go Fast Bridge
|
|
241
242
|
* * `STARGATE` - Stargate Bridge
|
|
243
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
242
244
|
* * `EUREKA` - IBC Eureka Bridge
|
|
243
245
|
*/
|
|
244
246
|
bridge_id?: BridgeTypeJson;
|
|
@@ -304,6 +306,7 @@ interface StargateTransferJson {
|
|
|
304
306
|
* * `OPINIT` - Opinit Bridge
|
|
305
307
|
* * `GO_FAST` - Go Fast Bridge
|
|
306
308
|
* * `STARGATE` - Stargate Bridge
|
|
309
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
307
310
|
* * `EUREKA` - IBC Eureka Bridge
|
|
308
311
|
*/
|
|
309
312
|
bridge_id?: BridgeTypeJson;
|
|
@@ -374,6 +377,7 @@ interface GoFastTransferJson {
|
|
|
374
377
|
* * `OPINIT` - Opinit Bridge
|
|
375
378
|
* * `GO_FAST` - Go Fast Bridge
|
|
376
379
|
* * `STARGATE` - Stargate Bridge
|
|
380
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
377
381
|
* * `EUREKA` - IBC Eureka Bridge
|
|
378
382
|
*/
|
|
379
383
|
bridge_id?: BridgeTypeJson;
|
|
@@ -467,6 +471,7 @@ interface BridgeJson {
|
|
|
467
471
|
* * `OPINIT` - Opinit Bridge
|
|
468
472
|
* * `GO_FAST` - Go Fast Bridge
|
|
469
473
|
* * `STARGATE` - Stargate Bridge
|
|
474
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
470
475
|
* * `EUREKA` - IBC Eureka Bridge
|
|
471
476
|
*/
|
|
472
477
|
id?: BridgeTypeJson;
|
|
@@ -484,6 +489,7 @@ interface BridgeJson {
|
|
|
484
489
|
* * `OPINIT` - Opinit Bridge
|
|
485
490
|
* * `GO_FAST` - Go Fast Bridge
|
|
486
491
|
* * `STARGATE` - Stargate Bridge
|
|
492
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
487
493
|
* * `EUREKA` - IBC Eureka Bridge
|
|
488
494
|
*/
|
|
489
495
|
declare enum BridgeTypeJson {
|
|
@@ -494,6 +500,7 @@ declare enum BridgeTypeJson {
|
|
|
494
500
|
OPINIT = "OPINIT",
|
|
495
501
|
GO_FAST = "GO_FAST",
|
|
496
502
|
STARGATE = "STARGATE",
|
|
503
|
+
LAYER_ZERO = "LAYER_ZERO",
|
|
497
504
|
EUREKA = "EUREKA"
|
|
498
505
|
}
|
|
499
506
|
interface ChainJson {
|
|
@@ -719,6 +726,7 @@ interface HyperlaneTransferJson {
|
|
|
719
726
|
* * `OPINIT` - Opinit Bridge
|
|
720
727
|
* * `GO_FAST` - Go Fast Bridge
|
|
721
728
|
* * `STARGATE` - Stargate Bridge
|
|
729
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
722
730
|
* * `EUREKA` - IBC Eureka Bridge
|
|
723
731
|
*/
|
|
724
732
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1113,6 +1121,7 @@ interface OPInitTransferJson {
|
|
|
1113
1121
|
* * `OPINIT` - Opinit Bridge
|
|
1114
1122
|
* * `GO_FAST` - Go Fast Bridge
|
|
1115
1123
|
* * `STARGATE` - Stargate Bridge
|
|
1124
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1116
1125
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1117
1126
|
*/
|
|
1118
1127
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1205,6 +1214,7 @@ interface TransferJson {
|
|
|
1205
1214
|
* * `OPINIT` - Opinit Bridge
|
|
1206
1215
|
* * `GO_FAST` - Go Fast Bridge
|
|
1207
1216
|
* * `STARGATE` - Stargate Bridge
|
|
1217
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1208
1218
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1209
1219
|
*/
|
|
1210
1220
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1306,6 +1316,7 @@ interface EurekaTransferJson {
|
|
|
1306
1316
|
* * `OPINIT` - Opinit Bridge
|
|
1307
1317
|
* * `GO_FAST` - Go Fast Bridge
|
|
1308
1318
|
* * `STARGATE` - Stargate Bridge
|
|
1319
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1309
1320
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1310
1321
|
*/
|
|
1311
1322
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1347,7 +1358,7 @@ interface LayerZeroTransferJson {
|
|
|
1347
1358
|
denom_in: string;
|
|
1348
1359
|
/** Denom of the output asset of the transfer */
|
|
1349
1360
|
denom_out: string;
|
|
1350
|
-
|
|
1361
|
+
source_oft_contract_address: string;
|
|
1351
1362
|
destination_endpoint_id: number;
|
|
1352
1363
|
messaging_fee_asset: AssetJson;
|
|
1353
1364
|
messaging_fee_amount: string;
|
|
@@ -1361,6 +1372,7 @@ interface LayerZeroTransferJson {
|
|
|
1361
1372
|
* * `OPINIT` - Opinit Bridge
|
|
1362
1373
|
* * `GO_FAST` - Go Fast Bridge
|
|
1363
1374
|
* * `STARGATE` - Stargate Bridge
|
|
1375
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1364
1376
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1365
1377
|
*/
|
|
1366
1378
|
bridge_id: BridgeTypeJson;
|
|
@@ -1442,6 +1454,7 @@ interface FeeJson {
|
|
|
1442
1454
|
* * `OPINIT` - Opinit Bridge
|
|
1443
1455
|
* * `GO_FAST` - Go Fast Bridge
|
|
1444
1456
|
* * `STARGATE` - Stargate Bridge
|
|
1457
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1445
1458
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1446
1459
|
*/
|
|
1447
1460
|
bridge_id?: BridgeTypeJson;
|
package/dist/esm/index.js
CHANGED
|
@@ -27,7 +27,7 @@ export { venues } from './chunk-YYXOIRHZ.js';
|
|
|
27
27
|
export { assetsFromSource } from './chunk-YLMQS52U.js';
|
|
28
28
|
export { assets, balances, chains } from './chunk-6ULKULTX.js';
|
|
29
29
|
import './chunk-SS5LQKBL.js';
|
|
30
|
-
export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeBehavior, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-
|
|
30
|
+
export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeBehavior, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-OQDBWVET.js';
|
|
31
31
|
|
|
32
32
|
// src/types/swaggerTypesJson.ts
|
|
33
33
|
var AutopilotActionJson = /* @__PURE__ */ ((AutopilotActionJson2) => {
|
|
@@ -82,6 +82,7 @@ var BridgeTypeJson = /* @__PURE__ */ ((BridgeTypeJson2) => {
|
|
|
82
82
|
BridgeTypeJson2["OPINIT"] = "OPINIT";
|
|
83
83
|
BridgeTypeJson2["GO_FAST"] = "GO_FAST";
|
|
84
84
|
BridgeTypeJson2["STARGATE"] = "STARGATE";
|
|
85
|
+
BridgeTypeJson2["LAYER_ZERO"] = "LAYER_ZERO";
|
|
85
86
|
BridgeTypeJson2["EUREKA"] = "EUREKA";
|
|
86
87
|
return BridgeTypeJson2;
|
|
87
88
|
})(BridgeTypeJson || {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TransactionCallbacks } from '../callbacks-
|
|
2
|
-
import { bf as RouteResponse, W as CosmosMsg, an as PostHandler } from '../swaggerTypes-
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
4
|
-
import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-
|
|
1
|
+
import { T as TransactionCallbacks } from '../callbacks-DGLv2hr0.js';
|
|
2
|
+
import { bf as RouteResponse, W as CosmosMsg, an as PostHandler } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-Bfli9ipj.js';
|
|
4
|
+
import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-CSzTHcG9.js';
|
|
5
5
|
import { TrackTxPollingProps } from '../api/postTrackTransaction.js';
|
|
6
6
|
import '@cosmjs/amino';
|
|
7
7
|
import '@cosmjs/proto-signing';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
2
2
|
import { SigningStargateClient } from '@cosmjs/stargate';
|
|
3
|
-
import { W as CosmosMsg } from '../swaggerTypes-
|
|
3
|
+
import { W as CosmosMsg } from '../swaggerTypes-BIYUp1AO.js';
|
|
4
4
|
|
|
5
5
|
declare const DEFAULT_GAS_MULTIPLIER = 1.5;
|
|
6
6
|
declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainId: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GetFallbackGasAmount } from '../client-types-
|
|
2
|
-
import { $ as EvmTx } from '../swaggerTypes-
|
|
1
|
+
import { G as GetFallbackGasAmount } from '../client-types-CSzTHcG9.js';
|
|
2
|
+
import { $ as EvmTx } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
import { WalletClient } from 'viem';
|
|
4
4
|
import '@cosmjs/amino';
|
|
5
5
|
import '@cosmjs/proto-signing';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { getEVMGasAmountForMessage } from '../chunk-GV2QOWB4.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-OQDBWVET.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { M as ChainAffiliates } from '../swaggerTypes-
|
|
2
|
+
import { M as ChainAffiliates } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
|
|
4
4
|
type SetApiOptionsProps = {
|
|
5
5
|
chainIdsToAffiliates?: Record<string, ChainAffiliates>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as setClientOptions } from '../setClientOptions-
|
|
1
|
+
export { s as setClientOptions } from '../setClientOptions-RMgGQ1KD.js';
|
|
2
2
|
import '@cosmjs/proto-signing';
|
|
3
3
|
import '@cosmjs/stargate';
|
|
4
4
|
import '../apiState-DwZhwVul.js';
|
|
5
|
-
import '../client-types-
|
|
5
|
+
import '../client-types-CSzTHcG9.js';
|
|
6
6
|
import '@cosmjs/amino';
|
|
7
7
|
import 'viem';
|
|
8
8
|
import '@solana/wallet-adapter-base';
|
|
9
|
-
import '../swaggerTypes-
|
|
9
|
+
import '../swaggerTypes-BIYUp1AO.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _cosmjs_stargate from '@cosmjs/stargate';
|
|
2
|
-
import { W as CosmosMsg, a3 as FeeAsset } from '../swaggerTypes-
|
|
2
|
+
import { W as CosmosMsg, a3 as FeeAsset } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
import { OfflineSigner } from '@cosmjs/proto-signing';
|
|
4
4
|
import { ExecuteRouteOptions } from './executeRoute.js';
|
|
5
|
-
import { G as GetFallbackGasAmount } from '../client-types-
|
|
6
|
-
import '../callbacks-
|
|
7
|
-
import '../generateApi-
|
|
5
|
+
import { G as GetFallbackGasAmount } from '../client-types-CSzTHcG9.js';
|
|
6
|
+
import '../callbacks-DGLv2hr0.js';
|
|
7
|
+
import '../generateApi-Bfli9ipj.js';
|
|
8
8
|
import '../api/postTrackTransaction.js';
|
|
9
9
|
import '@cosmjs/amino';
|
|
10
10
|
import 'viem';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
2
|
-
import { T as TransactionCallbacks } from '../callbacks-
|
|
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-BIYUp1AO.js';
|
|
2
|
+
import { T as TransactionCallbacks } from '../callbacks-DGLv2hr0.js';
|
|
3
3
|
import { TrackTxRequest } from '../api/postTrackTransaction.js';
|
|
4
|
-
import '../generateApi-
|
|
4
|
+
import '../generateApi-Bfli9ipj.js';
|
|
5
5
|
|
|
6
6
|
type WaitForTransactionProps = TrackTxRequest & {
|
|
7
7
|
onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeneratedType } from '@cosmjs/proto-signing';
|
|
2
2
|
import { AminoConverters } from '@cosmjs/stargate';
|
|
3
3
|
import { S as SkipApiOptions } from './apiState-DwZhwVul.js';
|
|
4
|
-
import { E as EndpointOptions } from './client-types-
|
|
4
|
+
import { E as EndpointOptions } from './client-types-CSzTHcG9.js';
|
|
5
5
|
|
|
6
6
|
type SkipClientOptions = SkipApiOptions & {
|
|
7
7
|
endpointOptions?: {
|
|
@@ -110,6 +110,7 @@ interface AxelarTransfer {
|
|
|
110
110
|
* * `OPINIT` - Opinit Bridge
|
|
111
111
|
* * `GO_FAST` - Go Fast Bridge
|
|
112
112
|
* * `STARGATE` - Stargate Bridge
|
|
113
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
113
114
|
* * `EUREKA` - IBC Eureka Bridge
|
|
114
115
|
*/
|
|
115
116
|
bridgeId?: BridgeType;
|
|
@@ -202,6 +203,7 @@ interface CCTPTransfer {
|
|
|
202
203
|
* * `OPINIT` - Opinit Bridge
|
|
203
204
|
* * `GO_FAST` - Go Fast Bridge
|
|
204
205
|
* * `STARGATE` - Stargate Bridge
|
|
206
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
205
207
|
* * `EUREKA` - IBC Eureka Bridge
|
|
206
208
|
*/
|
|
207
209
|
bridgeId?: BridgeType;
|
|
@@ -267,6 +269,7 @@ interface StargateTransfer {
|
|
|
267
269
|
* * `OPINIT` - Opinit Bridge
|
|
268
270
|
* * `GO_FAST` - Go Fast Bridge
|
|
269
271
|
* * `STARGATE` - Stargate Bridge
|
|
272
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
270
273
|
* * `EUREKA` - IBC Eureka Bridge
|
|
271
274
|
*/
|
|
272
275
|
bridgeId?: BridgeType;
|
|
@@ -337,6 +340,7 @@ interface GoFastTransfer {
|
|
|
337
340
|
* * `OPINIT` - Opinit Bridge
|
|
338
341
|
* * `GO_FAST` - Go Fast Bridge
|
|
339
342
|
* * `STARGATE` - Stargate Bridge
|
|
343
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
340
344
|
* * `EUREKA` - IBC Eureka Bridge
|
|
341
345
|
*/
|
|
342
346
|
bridgeId?: BridgeType;
|
|
@@ -430,6 +434,7 @@ interface Bridge {
|
|
|
430
434
|
* * `OPINIT` - Opinit Bridge
|
|
431
435
|
* * `GO_FAST` - Go Fast Bridge
|
|
432
436
|
* * `STARGATE` - Stargate Bridge
|
|
437
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
433
438
|
* * `EUREKA` - IBC Eureka Bridge
|
|
434
439
|
*/
|
|
435
440
|
id?: BridgeType;
|
|
@@ -447,6 +452,7 @@ interface Bridge {
|
|
|
447
452
|
* * `OPINIT` - Opinit Bridge
|
|
448
453
|
* * `GO_FAST` - Go Fast Bridge
|
|
449
454
|
* * `STARGATE` - Stargate Bridge
|
|
455
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
450
456
|
* * `EUREKA` - IBC Eureka Bridge
|
|
451
457
|
*/
|
|
452
458
|
declare enum BridgeType {
|
|
@@ -457,6 +463,7 @@ declare enum BridgeType {
|
|
|
457
463
|
OPINIT = "OPINIT",
|
|
458
464
|
GO_FAST = "GO_FAST",
|
|
459
465
|
STARGATE = "STARGATE",
|
|
466
|
+
LAYER_ZERO = "LAYER_ZERO",
|
|
460
467
|
EUREKA = "EUREKA"
|
|
461
468
|
}
|
|
462
469
|
interface Chain {
|
|
@@ -682,6 +689,7 @@ interface HyperlaneTransfer {
|
|
|
682
689
|
* * `OPINIT` - Opinit Bridge
|
|
683
690
|
* * `GO_FAST` - Go Fast Bridge
|
|
684
691
|
* * `STARGATE` - Stargate Bridge
|
|
692
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
685
693
|
* * `EUREKA` - IBC Eureka Bridge
|
|
686
694
|
*/
|
|
687
695
|
bridgeId?: BridgeType;
|
|
@@ -1076,6 +1084,7 @@ interface OPInitTransfer {
|
|
|
1076
1084
|
* * `OPINIT` - Opinit Bridge
|
|
1077
1085
|
* * `GO_FAST` - Go Fast Bridge
|
|
1078
1086
|
* * `STARGATE` - Stargate Bridge
|
|
1087
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1079
1088
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1080
1089
|
*/
|
|
1081
1090
|
bridgeId?: BridgeType;
|
|
@@ -1168,6 +1177,7 @@ interface Transfer {
|
|
|
1168
1177
|
* * `OPINIT` - Opinit Bridge
|
|
1169
1178
|
* * `GO_FAST` - Go Fast Bridge
|
|
1170
1179
|
* * `STARGATE` - Stargate Bridge
|
|
1180
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1171
1181
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1172
1182
|
*/
|
|
1173
1183
|
bridgeId?: BridgeType;
|
|
@@ -1269,6 +1279,7 @@ interface EurekaTransfer {
|
|
|
1269
1279
|
* * `OPINIT` - Opinit Bridge
|
|
1270
1280
|
* * `GO_FAST` - Go Fast Bridge
|
|
1271
1281
|
* * `STARGATE` - Stargate Bridge
|
|
1282
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1272
1283
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1273
1284
|
*/
|
|
1274
1285
|
bridgeId?: BridgeType;
|
|
@@ -1310,7 +1321,7 @@ interface LayerZeroTransfer {
|
|
|
1310
1321
|
denomIn: string;
|
|
1311
1322
|
/** Denom of the output asset of the transfer */
|
|
1312
1323
|
denomOut: string;
|
|
1313
|
-
|
|
1324
|
+
sourceOftContractAddress: string;
|
|
1314
1325
|
destinationEndpointId: number;
|
|
1315
1326
|
messagingFeeAsset: Asset;
|
|
1316
1327
|
messagingFeeAmount: string;
|
|
@@ -1324,6 +1335,7 @@ interface LayerZeroTransfer {
|
|
|
1324
1335
|
* * `OPINIT` - Opinit Bridge
|
|
1325
1336
|
* * `GO_FAST` - Go Fast Bridge
|
|
1326
1337
|
* * `STARGATE` - Stargate Bridge
|
|
1338
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1327
1339
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1328
1340
|
*/
|
|
1329
1341
|
bridgeId: BridgeType;
|
|
@@ -1405,6 +1417,7 @@ interface Fee {
|
|
|
1405
1417
|
* * `OPINIT` - Opinit Bridge
|
|
1406
1418
|
* * `GO_FAST` - Go Fast Bridge
|
|
1407
1419
|
* * `STARGATE` - Stargate Bridge
|
|
1420
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1408
1421
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1409
1422
|
*/
|
|
1410
1423
|
bridgeId?: BridgeType;
|