@skip-go/client 1.1.5 → 1.1.7

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.
Files changed (78) hide show
  1. package/dist/api/getAssets.d.ts +1 -1
  2. package/dist/api/getAssets.js +3 -2
  3. package/dist/api/getAssetsBetweenChains.d.ts +1 -1
  4. package/dist/api/getAssetsBetweenChains.js +3 -2
  5. package/dist/api/getBridges.d.ts +1 -1
  6. package/dist/api/getBridges.js +3 -2
  7. package/dist/api/getChains.d.ts +1 -1
  8. package/dist/api/getChains.js +3 -2
  9. package/dist/api/getVenues.js +3 -2
  10. package/dist/api/postAssetsFromSource.d.ts +1 -1
  11. package/dist/api/postAssetsFromSource.js +4 -3
  12. package/dist/api/postBalances.d.ts +2 -2
  13. package/dist/api/postBalances.js +3 -2
  14. package/dist/api/postIbcOriginAssets.js +3 -2
  15. package/dist/api/postMessages.d.ts +6 -473
  16. package/dist/api/postMessages.js +3 -2
  17. package/dist/api/postMessagesDirect.d.ts +5 -1
  18. package/dist/api/postMessagesDirect.js +3 -2
  19. package/dist/api/postRecommendAssets.d.ts +1 -1
  20. package/dist/api/postRecommendAssets.js +3 -2
  21. package/dist/api/postRoute.d.ts +6 -2
  22. package/dist/api/postRoute.js +3 -2
  23. package/dist/api/postSubmit.d.ts +17 -0
  24. package/dist/api/postSubmit.js +3 -0
  25. package/dist/api/postSubmitTransaction.js +3 -2
  26. package/dist/api/postTrackTransaction.js +3 -2
  27. package/dist/api/postTransactionStatus.d.ts +2 -2
  28. package/dist/api/postTransactionStatus.js +3 -2
  29. package/dist/{callbacks-BinMFSvp.d.ts → callbacks-BGRu2Ule.d.ts} +1 -1
  30. package/dist/chunk-25FJ6EBA.js +36 -0
  31. package/dist/{chunk-5KEBJTG2.js → chunk-2LKKFCUM.js} +2 -2
  32. package/dist/{chunk-P7QXKAUS.js → chunk-5WMPFEIQ.js} +1 -1
  33. package/dist/{chunk-FB32UNL7.js → chunk-7QEN4XCJ.js} +18 -321
  34. package/dist/{chunk-3G66QUIR.js → chunk-C4URP37X.js} +1 -1
  35. package/dist/{chunk-VYZE3SLF.js → chunk-CRTTBUO4.js} +1 -1
  36. package/dist/{chunk-WYKGBXPO.js → chunk-DU3RX43W.js} +3 -3
  37. package/dist/chunk-DV3I2S3T.js +181 -0
  38. package/dist/{chunk-KTCDTZCU.js → chunk-GOYJWJEC.js} +1 -1
  39. package/dist/chunk-GV2QOWB4.js +26 -0
  40. package/dist/{chunk-REIPMX4F.js → chunk-IWW34V4S.js} +1 -1
  41. package/dist/{chunk-DQJUP5YB.js → chunk-JZBFAMHE.js} +1 -1
  42. package/dist/{chunk-5G6WVH73.js → chunk-PPUUN7FI.js} +1 -1
  43. package/dist/{chunk-G3DPNB66.js → chunk-RFZBKQ35.js} +1 -1
  44. package/dist/{chunk-LJ5Y4YS2.js → chunk-RYOVQFZO.js} +1 -1
  45. package/dist/{chunk-I5V6BIOW.js → chunk-SYQHTXE7.js} +2 -2
  46. package/dist/{chunk-BYK77RST.js → chunk-T7GKUROO.js} +1 -1
  47. package/dist/chunk-TV2XPAIF.js +295 -0
  48. package/dist/{chunk-KEXKVEVT.js → chunk-U6XZFJW2.js} +1 -1
  49. package/dist/{chunk-SN5GGN5K.js → chunk-UXUJNZOA.js} +1 -181
  50. package/dist/{chunk-GHK24RZZ.js → chunk-VDEYJJZI.js} +2 -2
  51. package/dist/{chunk-ECFSAIIO.js → chunk-VTK34ED6.js} +1 -1
  52. package/dist/chunk-X67P5URV.js +10 -0
  53. package/dist/{chunk-C6EHVJEC.js → chunk-XXJUDZKJ.js} +1 -1
  54. package/dist/{chunk-YKWVCWO4.js → chunk-YMUVYT3O.js} +1 -1
  55. package/dist/{client-types-B_ihV5t6.d.ts → client-types-BkeR6R_z.d.ts} +1 -1
  56. package/dist/{generateApi-CpUxWvEf.d.ts → generateApi-8YPJU-Al.d.ts} +1 -1
  57. package/dist/index.d.ts +11 -5
  58. package/dist/index.js +26 -22
  59. package/dist/public-functions/executeRoute.d.ts +4 -4
  60. package/dist/public-functions/executeRoute.js +15 -11
  61. package/dist/public-functions/getCosmosGasAmountForMessage.d.ts +8 -0
  62. package/dist/public-functions/getCosmosGasAmountForMessage.js +2 -0
  63. package/dist/public-functions/getEvmGasAmountForMessage.d.ts +11 -0
  64. package/dist/public-functions/getEvmGasAmountForMessage.js +2 -0
  65. package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
  66. package/dist/public-functions/getFeeInfoForChain.js +4 -3
  67. package/dist/public-functions/getRecommendedGasPrice.js +5 -4
  68. package/dist/public-functions/getSigningStargateClient.js +4 -3
  69. package/dist/public-functions/setApiOptions.d.ts +1 -1
  70. package/dist/public-functions/setApiOptions.js +3 -2
  71. package/dist/public-functions/setClientOptions.d.ts +3 -3
  72. package/dist/public-functions/setClientOptions.js +4 -3
  73. package/dist/public-functions/waitForTransaction.d.ts +2 -2
  74. package/dist/public-functions/waitForTransaction.js +5 -4
  75. package/dist/{setClientOptions-C4rwBrB4.d.ts → setClientOptions-CI_7IPLT.d.ts} +1 -1
  76. package/dist/{swaggerTypes-sZ9ALP9m.d.ts → swaggerTypes-CAERZYPb.d.ts} +4 -1
  77. package/package.json +1 -1
  78. package/dist/chunk-27P5BVWA.js +0 -10
@@ -532,184 +532,4 @@ var Api = class extends HttpClient {
532
532
  });
533
533
  };
534
534
 
535
- // src/utils/timer.ts
536
- var wait = (ms) => {
537
- return new Promise((resolve) => setTimeout(resolve, ms));
538
- };
539
-
540
- // src/utils/convert.ts
541
- function toSnake(obj) {
542
- return convertKeys(obj, (key) => key.replace(/([A-Z])/g, "_$1").toLowerCase());
543
- }
544
- function toCamel(obj) {
545
- return convertKeys(obj, (key) => key.replace(/_([a-z])/g, (_, letter) => letter.toUpperCase()));
546
- }
547
- function convertKeys(obj, convertKey) {
548
- if (Array.isArray(obj)) {
549
- return obj.map((item) => convertKeys(item, convertKey));
550
- } else if (obj !== null && typeof obj === "object") {
551
- return Object.keys(obj).reduce((acc, key) => {
552
- acc[convertKey(key)] = convertKeys(obj[key], convertKey);
553
- return acc;
554
- }, {});
555
- } else {
556
- return obj;
557
- }
558
- }
559
-
560
- // src/utils/generateApi.ts
561
- var createRequestClient = ({ baseUrl, apiKey }) => {
562
- const defaultHeaders = {
563
- "content-type": "application/json",
564
- ...apiKey ? { authorization: apiKey } : {}
565
- };
566
- const handleResponse = async (response) => {
567
- const contentType = response.headers.get("content-type");
568
- const isJson = contentType?.includes("application/json");
569
- const body = isJson ? await response.json() : await response.text();
570
- if (!response.ok) {
571
- const message = typeof body === "object" && body?.message ? body.message : response.statusText;
572
- throw new Error(message);
573
- }
574
- return body;
575
- };
576
- const get = async (path, params, signal) => {
577
- const url = new URL(baseUrl + (path ?? ""));
578
- if (params && typeof params === "object") {
579
- Object.entries(params).forEach(([key, value]) => {
580
- if (value !== void 0 && value !== null) {
581
- url.searchParams.append(key, String(value));
582
- }
583
- });
584
- }
585
- const response = await fetch(url.toString(), {
586
- method: "GET",
587
- headers: defaultHeaders,
588
- signal
589
- });
590
- return handleResponse(response);
591
- };
592
- const post = async (path, data = {}, signal) => {
593
- const response = await fetch(new URL(baseUrl + path).toString(), {
594
- method: "POST",
595
- headers: defaultHeaders,
596
- body: JSON.stringify(data),
597
- signal
598
- });
599
- return handleResponse(response);
600
- };
601
- return { get, post };
602
- };
603
- function createRequest({
604
- path,
605
- method = "get",
606
- onSuccess,
607
- transformResponse
608
- }) {
609
- let controller = null;
610
- const request = async (options) => {
611
- const { apiKey, apiUrl, abortDuplicateRequests, ...requestParams } = options ?? {};
612
- let fetchClient = ApiState.client;
613
- if (apiUrl || apiKey) {
614
- fetchClient = createRequestClient({
615
- baseUrl: apiUrl || "https://api.skip.build",
616
- apiKey
617
- });
618
- } else {
619
- await ApiState.clientInitialized;
620
- }
621
- if (abortDuplicateRequests && controller && !controller?.signal?.aborted) {
622
- controller?.abort();
623
- }
624
- controller = new AbortController();
625
- try {
626
- const response = await fetchClient[method](
627
- path,
628
- requestParams ? toSnake(requestParams) : void 0,
629
- controller.signal
630
- );
631
- const camelCased = toCamel(response ?? {});
632
- const finalResponse = transformResponse ? transformResponse(camelCased) : camelCased;
633
- onSuccess?.(finalResponse, requestParams);
634
- return finalResponse;
635
- } catch (error) {
636
- if (error.name === "AbortError") {
637
- console.log("Request was cancelled");
638
- } else {
639
- console.error("Error:", error);
640
- throw error;
641
- }
642
- }
643
- };
644
- return request;
645
- }
646
- function api({
647
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
648
- methodName,
649
- path,
650
- onSuccess,
651
- method = "get",
652
- transformResponse
653
- }) {
654
- return createRequest({
655
- path,
656
- method,
657
- onSuccess,
658
- transformResponse
659
- });
660
- }
661
- function pollingApi({
662
- methodName,
663
- path,
664
- method = "get",
665
- onSuccess,
666
- onError,
667
- isSuccess = () => true,
668
- maxRetries = 5,
669
- retryInterval = 1e3,
670
- backoffMultiplier = 2
671
- }) {
672
- const request = async (requestParams) => {
673
- let attempt = 0;
674
- let lastError;
675
- while (attempt < maxRetries) {
676
- try {
677
- const result = await api({ methodName, path, method })(requestParams);
678
- if (result && isSuccess(result)) {
679
- onSuccess?.(result, attempt);
680
- return result;
681
- }
682
- } catch (err) {
683
- lastError = err;
684
- onError?.(err, attempt);
685
- }
686
- const delay = retryInterval * Math.pow(backoffMultiplier, attempt);
687
- await wait(delay);
688
- attempt++;
689
- }
690
- throw lastError ?? new Error("pollingApi: max retries exceeded");
691
- };
692
- return (params) => request(params);
693
- }
694
-
695
- // src/state/apiState.ts
696
- var ApiState = class _ApiState {
697
- static client;
698
- static chainIdsToAffiliates;
699
- static cumulativeAffiliateFeeBPS = "0";
700
- static isInitialized = false;
701
- static resolveInitialization;
702
- static clientInitialized = new Promise((resolve) => {
703
- _ApiState.resolveInitialization = () => {
704
- if (!_ApiState.isInitialized) {
705
- _ApiState.isInitialized = true;
706
- resolve();
707
- }
708
- };
709
- });
710
- static setClientInitialized() {
711
- _ApiState.resolveInitialization();
712
- }
713
- };
714
-
715
- export { Api, ApiState, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState, api, createRequestClient, pollingApi, toCamel, wait };
535
+ export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState };
@@ -1,6 +1,6 @@
1
1
  import { MsgAcceptOwner, MsgAddRemoteTokenMessenger, MsgDepositForBurn, MsgDepositForBurnWithCaller, MsgDisableAttester, MsgEnableAttester, MsgLinkTokenPair, MsgPauseBurningAndMinting, MsgPauseSendingAndReceivingMessages, MsgReceiveMessage, MsgRemoveRemoteTokenMessenger, MsgReplaceDepositForBurn, MsgReplaceMessage, MsgSendMessage, MsgSendMessageWithCaller, MsgUnlinkTokenPair, MsgUnpauseBurningAndMinting, MsgUnpauseSendingAndReceivingMessages, MsgUpdateOwner, MsgUpdateAttesterManager, MsgUpdateTokenController, MsgUpdatePauser, MsgUpdateMaxMessageBodySize, MsgSetMaxBurnAmountPerMessage, MsgUpdateSignatureThreshold, MsgExecute, MsgInitiateTokenDeposit, Coin, isSet, Long, Timestamp, toTimestamp, Period, fromTimestamp, fromJsonTimestamp, padDecimal } from './chunk-TD63P2AG.js';
2
- import { ClientState } from './chunk-I5V6BIOW.js';
3
- import { ApiState, createRequestClient } from './chunk-SN5GGN5K.js';
2
+ import { ClientState } from './chunk-SYQHTXE7.js';
3
+ import { ApiState, createRequestClient } from './chunk-DV3I2S3T.js';
4
4
  import { AminoTypes, createDefaultAminoConverters, defaultRegistryTypes } from '@cosmjs/stargate';
5
5
  import { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate';
6
6
  import { Registry } from '@cosmjs/proto-signing';
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from './chunk-VQ5SIQWU.js';
2
- import { getFeeInfoForChain } from './chunk-YKWVCWO4.js';
2
+ import { getFeeInfoForChain } from './chunk-YMUVYT3O.js';
3
3
  import { Decimal } from '@cosmjs/math';
4
4
  import { GasPrice } from '@cosmjs/stargate';
5
5
 
@@ -0,0 +1,10 @@
1
+ import { api } from './chunk-DV3I2S3T.js';
2
+
3
+ // src/api/postSubmit.ts
4
+ var submit = api({
5
+ methodName: "submit",
6
+ method: "post",
7
+ path: "/v2/tx/submit"
8
+ });
9
+
10
+ export { submit };
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-SN5GGN5K.js';
1
+ import { api } from './chunk-DV3I2S3T.js';
2
2
 
3
3
  // src/api/getVenues.ts
4
4
  var venues = api({
@@ -1,6 +1,6 @@
1
1
  import { DEFAULT_GAS_DENOM_OVERRIDES } from './chunk-SWYON2RG.js';
2
2
  import { chains } from './chunk-36MCR5DZ.js';
3
- import { ClientState } from './chunk-I5V6BIOW.js';
3
+ import { ClientState } from './chunk-SYQHTXE7.js';
4
4
 
5
5
  // src/private-functions/getDefaultGasTokenForChain.ts
6
6
  var getDefaultGasTokenForChain = async (chainId) => {
@@ -3,7 +3,7 @@ import { OfflineDirectSigner } from '@cosmjs/proto-signing';
3
3
  import { StdFee, GasPrice, SignerData } from '@cosmjs/stargate';
4
4
  import { WalletClient } from 'viem';
5
5
  import { Adapter } from '@solana/wallet-adapter-base';
6
- import { a3 as FeeAsset, L as ChainType, W as CosmosMsg } from './swaggerTypes-sZ9ALP9m.js';
6
+ import { a3 as FeeAsset, L as ChainType, W as CosmosMsg } from './swaggerTypes-CAERZYPb.js';
7
7
 
8
8
  /** Common Types */
9
9
  type UserAddress = {
@@ -1,4 +1,4 @@
1
- import { bw as Api } from './swaggerTypes-sZ9ALP9m.js';
1
+ import { bv as Api } from './swaggerTypes-CAERZYPb.js';
2
2
 
3
3
  type CamelKey<S extends string> = S extends `${infer T}_${infer U}` ? `${T}${Capitalize<CamelKey<U>>}` : S;
4
4
  type Camel<T> = T extends (infer U)[] ? Camel<U>[] : T extends object ? {
package/dist/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, bh as AssetRecommendationsResponse, bd as AssetsFromSourceResponse, bb as AssetsRequest, bc 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, b7 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b8 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, b5 as ChainsRequest, b6 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, b4 as Fee, a3 as FeeAsset, 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, bg as MsgsDirectResponse, bf 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, be 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, bi as SubmitResponse, 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, b9 as VenuesRequest, ba as VenuesResponse } from './swaggerTypes-sZ9ALP9m.js';
2
- export { T as TransactionCallbacks } from './callbacks-BinMFSvp.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-B_ihV5t6.js';
1
+ export { A as AcknowledgementErrorDetails, a as Affiliate, bv as Api, br as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, bh as AssetRecommendationsResponse, bd as AssetsFromSourceResponse, bb as AssetsRequest, bc 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, b7 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b8 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, b5 as ChainsRequest, b6 as ChainsResponse, bt 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, b4 as Fee, a3 as FeeAsset, b3 as FeeType, bp as FullRequestParams, bm as FungibleAssetsBetweenChainsCreateResponse, a5 as GRPCStatusCode, a4 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, z as GoFastTransferWrapper, bu as HttpClient, bs as HttpResponse, a6 as HyperlaneTransfer, a7 as HyperlaneTransferInfo, a8 as HyperlaneTransferState, a9 as HyperlaneTransferTransactions, aa as HyperlaneTransferWrapper, ab as IBCTransferInfo, b2 as IbcCapabilities, bl as IbcOriginAssetsResponse, aZ as LayerZeroTransfer, a_ as LayerZeroTransferInfo, aP as LayerZeroTransferState, ai as LayerZeroTransferTransactions, a$ as LayerZeroTransferWrapper, ac as Msg, bg as MsgsDirectResponse, bf 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, bn as QueryParamsType, ao as Reason, b0 as RecommendationRequest, bq as RequestParams, bo as ResponseFormat, aq as Route, ap as RoutePriceWarningType, be 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, bj as StatusRequest, bk 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, bi 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, b9 as VenuesRequest, ba as VenuesResponse } from './swaggerTypes-CAERZYPb.js';
2
+ export { T as TransactionCallbacks } from './callbacks-BGRu2Ule.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-BkeR6R_z.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,18 +18,21 @@ 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-C4rwBrB4.js';
21
+ export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-CI_7IPLT.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';
25
25
  export { waitForTransaction } from './public-functions/waitForTransaction.js';
26
+ export { getCosmosGasAmountForMessage } from './public-functions/getCosmosGasAmountForMessage.js';
27
+ export { getEVMGasAmountForMessage } from './public-functions/getEvmGasAmountForMessage.js';
28
+ export { SubmitRequest, SubmitResponse, submit } from './api/postSubmit.js';
26
29
  import '@cosmjs/amino';
27
30
  import '@cosmjs/proto-signing';
28
31
  import '@cosmjs/stargate';
29
32
  import 'viem';
30
33
  import '@solana/wallet-adapter-base';
31
34
  import './apiState-CdzxTxYd.js';
32
- import './generateApi-CpUxWvEf.js';
35
+ import './generateApi-8YPJU-Al.js';
33
36
 
34
37
  interface AcknowledgementErrorDetailsJson {
35
38
  /** Error code */
@@ -1182,6 +1185,9 @@ interface TransferJson {
1182
1185
  denom_out?: string;
1183
1186
  /** Amount of the fee asset to be paid as the transfer fee if applicable. */
1184
1187
  fee_amount?: string | null;
1188
+ /** Address of the entry contract on the destination chain */
1189
+ to_chain_entry_contract_address?: string | null;
1190
+ to_chain_callback_contract_address?: string | null;
1185
1191
  /** Amount of the fee asset to be paid as the transfer fee if applicable, converted to USD value */
1186
1192
  usd_fee_amount?: string | null;
1187
1193
  /** Asset to be paid as the transfer fee if applicable. */
package/dist/index.js CHANGED
@@ -1,28 +1,32 @@
1
- export { executeRoute } from './chunk-FB32UNL7.js';
2
- export { getRecommendedGasPrice } from './chunk-ECFSAIIO.js';
1
+ export { setClientOptions } from './chunk-VDEYJJZI.js';
2
+ export { executeRoute } from './chunk-7QEN4XCJ.js';
3
+ export { waitForTransaction } from './chunk-DU3RX43W.js';
4
+ export { transactionStatus } from './chunk-PPUUN7FI.js';
5
+ export { getCosmosGasAmountForMessage } from './chunk-TV2XPAIF.js';
6
+ import './chunk-TD63P2AG.js';
7
+ export { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
8
+ export { getRecommendedGasPrice } from './chunk-VTK34ED6.js';
3
9
  import './chunk-VQ5SIQWU.js';
4
- export { getFeeInfoForChain } from './chunk-YKWVCWO4.js';
10
+ export { getFeeInfoForChain } from './chunk-YMUVYT3O.js';
5
11
  export { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
6
- export { getSigningStargateClient } from './chunk-KTCDTZCU.js';
12
+ export { getSigningStargateClient } from './chunk-GOYJWJEC.js';
7
13
  import './chunk-36MCR5DZ.js';
8
- export { setApiOptions } from './chunk-G3DPNB66.js';
9
- export { setClientOptions } from './chunk-GHK24RZZ.js';
10
- import './chunk-TD63P2AG.js';
11
- export { waitForTransaction } from './chunk-WYKGBXPO.js';
12
- export { ibcOriginAssets } from './chunk-LJ5Y4YS2.js';
13
- export { messages } from './chunk-27P5BVWA.js';
14
- export { messagesDirect } from './chunk-P7QXKAUS.js';
15
- export { recommendAssets } from './chunk-DQJUP5YB.js';
16
- export { route } from './chunk-3G66QUIR.js';
17
- export { submitTransaction } from './chunk-VYZE3SLF.js';
18
- export { trackTransaction } from './chunk-BYK77RST.js';
19
- export { transactionStatus } from './chunk-5G6WVH73.js';
20
- export { assetsBetweenChains } from './chunk-REIPMX4F.js';
21
- export { bridges } from './chunk-KEXKVEVT.js';
22
- export { venues } from './chunk-C6EHVJEC.js';
23
- export { assetsFromSource } from './chunk-5KEBJTG2.js';
24
- export { assets, balances, chains } from './chunk-I5V6BIOW.js';
25
- export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-SN5GGN5K.js';
14
+ export { setApiOptions } from './chunk-RFZBKQ35.js';
15
+ export { ibcOriginAssets } from './chunk-RYOVQFZO.js';
16
+ export { messages } from './chunk-25FJ6EBA.js';
17
+ export { messagesDirect } from './chunk-5WMPFEIQ.js';
18
+ export { recommendAssets } from './chunk-JZBFAMHE.js';
19
+ export { route } from './chunk-C4URP37X.js';
20
+ export { submit } from './chunk-X67P5URV.js';
21
+ export { submitTransaction } from './chunk-CRTTBUO4.js';
22
+ export { trackTransaction } from './chunk-T7GKUROO.js';
23
+ export { assetsBetweenChains } from './chunk-IWW34V4S.js';
24
+ export { bridges } from './chunk-U6XZFJW2.js';
25
+ export { venues } from './chunk-XXJUDZKJ.js';
26
+ export { assetsFromSource } from './chunk-2LKKFCUM.js';
27
+ export { assets, balances, chains } from './chunk-SYQHTXE7.js';
28
+ import './chunk-DV3I2S3T.js';
29
+ export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-UXUJNZOA.js';
26
30
 
27
31
  // src/types/swaggerTypesJson.ts
28
32
  var AutopilotActionJson = /* @__PURE__ */ ((AutopilotActionJson2) => {
@@ -1,7 +1,7 @@
1
- import { T as TransactionCallbacks } from '../callbacks-BinMFSvp.js';
2
- import { be as RouteResponse, W as CosmosMsg } from '../swaggerTypes-sZ9ALP9m.js';
3
- import { A as ApiRequest } from '../generateApi-CpUxWvEf.js';
4
- import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-B_ihV5t6.js';
1
+ import { T as TransactionCallbacks } from '../callbacks-BGRu2Ule.js';
2
+ import { be as RouteResponse, W as CosmosMsg } from '../swaggerTypes-CAERZYPb.js';
3
+ import { A as ApiRequest } from '../generateApi-8YPJU-Al.js';
4
+ import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-BkeR6R_z.js';
5
5
  import '@cosmjs/amino';
6
6
  import '@cosmjs/proto-signing';
7
7
  import '@cosmjs/stargate';
@@ -1,14 +1,18 @@
1
- export { executeRoute } from '../chunk-FB32UNL7.js';
1
+ export { executeRoute } from '../chunk-7QEN4XCJ.js';
2
+ import '../chunk-DU3RX43W.js';
3
+ import '../chunk-PPUUN7FI.js';
4
+ import '../chunk-TV2XPAIF.js';
5
+ import '../chunk-TD63P2AG.js';
6
+ import '../chunk-GV2QOWB4.js';
2
7
  import '../chunk-VQ5SIQWU.js';
3
8
  import '../chunk-SWYON2RG.js';
4
- import '../chunk-KTCDTZCU.js';
9
+ import '../chunk-GOYJWJEC.js';
5
10
  import '../chunk-36MCR5DZ.js';
6
- import '../chunk-TD63P2AG.js';
7
- import '../chunk-WYKGBXPO.js';
8
- import '../chunk-27P5BVWA.js';
9
- import '../chunk-VYZE3SLF.js';
10
- import '../chunk-BYK77RST.js';
11
- import '../chunk-5G6WVH73.js';
12
- import '../chunk-C6EHVJEC.js';
13
- import '../chunk-I5V6BIOW.js';
14
- import '../chunk-SN5GGN5K.js';
11
+ import '../chunk-25FJ6EBA.js';
12
+ import '../chunk-X67P5URV.js';
13
+ import '../chunk-CRTTBUO4.js';
14
+ import '../chunk-T7GKUROO.js';
15
+ import '../chunk-XXJUDZKJ.js';
16
+ import '../chunk-SYQHTXE7.js';
17
+ import '../chunk-DV3I2S3T.js';
18
+ import '../chunk-UXUJNZOA.js';
@@ -0,0 +1,8 @@
1
+ import { EncodeObject } from '@cosmjs/proto-signing';
2
+ import { SigningStargateClient } from '@cosmjs/stargate';
3
+ import { W as CosmosMsg } from '../swaggerTypes-CAERZYPb.js';
4
+
5
+ declare const DEFAULT_GAS_MULTIPLIER = 1.5;
6
+ declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainId: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
7
+
8
+ export { DEFAULT_GAS_MULTIPLIER, getCosmosGasAmountForMessage };
@@ -0,0 +1,2 @@
1
+ export { DEFAULT_GAS_MULTIPLIER, getCosmosGasAmountForMessage } from '../chunk-TV2XPAIF.js';
2
+ import '../chunk-TD63P2AG.js';
@@ -0,0 +1,11 @@
1
+ import { G as GetFallbackGasAmount } from '../client-types-BkeR6R_z.js';
2
+ import { $ as EvmTx } from '../swaggerTypes-CAERZYPb.js';
3
+ import { WalletClient } from 'viem';
4
+ import '@cosmjs/amino';
5
+ import '@cosmjs/proto-signing';
6
+ import '@cosmjs/stargate';
7
+ import '@solana/wallet-adapter-base';
8
+
9
+ declare function getEVMGasAmountForMessage(signer: WalletClient, tx: EvmTx, getFallbackGasAmount?: GetFallbackGasAmount): Promise<bigint>;
10
+
11
+ export { getEVMGasAmountForMessage };
@@ -0,0 +1,2 @@
1
+ export { getEVMGasAmountForMessage } from '../chunk-GV2QOWB4.js';
2
+ import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { a3 as FeeAsset } from '../swaggerTypes-sZ9ALP9m.js';
1
+ import { a3 as FeeAsset } from '../swaggerTypes-CAERZYPb.js';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  type GetFeeInfoForChainProps = {
@@ -1,5 +1,6 @@
1
- export { getFeeInfoForChain } from '../chunk-YKWVCWO4.js';
1
+ export { getFeeInfoForChain } from '../chunk-YMUVYT3O.js';
2
2
  import '../chunk-SWYON2RG.js';
3
3
  import '../chunk-36MCR5DZ.js';
4
- import '../chunk-I5V6BIOW.js';
5
- import '../chunk-SN5GGN5K.js';
4
+ import '../chunk-SYQHTXE7.js';
5
+ import '../chunk-DV3I2S3T.js';
6
+ import '../chunk-UXUJNZOA.js';
@@ -1,7 +1,8 @@
1
- export { getRecommendedGasPrice } from '../chunk-ECFSAIIO.js';
1
+ export { getRecommendedGasPrice } from '../chunk-VTK34ED6.js';
2
2
  import '../chunk-VQ5SIQWU.js';
3
- import '../chunk-YKWVCWO4.js';
3
+ import '../chunk-YMUVYT3O.js';
4
4
  import '../chunk-SWYON2RG.js';
5
5
  import '../chunk-36MCR5DZ.js';
6
- import '../chunk-I5V6BIOW.js';
7
- import '../chunk-SN5GGN5K.js';
6
+ import '../chunk-SYQHTXE7.js';
7
+ import '../chunk-DV3I2S3T.js';
8
+ import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,5 @@
1
- export { getSigningStargateClient } from '../chunk-KTCDTZCU.js';
1
+ export { getSigningStargateClient } from '../chunk-GOYJWJEC.js';
2
2
  import '../chunk-36MCR5DZ.js';
3
- import '../chunk-I5V6BIOW.js';
4
- import '../chunk-SN5GGN5K.js';
3
+ import '../chunk-SYQHTXE7.js';
4
+ import '../chunk-DV3I2S3T.js';
5
+ import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { M as ChainAffiliates } from '../swaggerTypes-sZ9ALP9m.js';
2
+ import { M as ChainAffiliates } from '../swaggerTypes-CAERZYPb.js';
3
3
 
4
4
  type SetApiOptionsProps = {
5
5
  chainIdsToAffiliates?: Record<string, ChainAffiliates>;
@@ -1,2 +1,3 @@
1
- export { setApiOptions } from '../chunk-G3DPNB66.js';
2
- import '../chunk-SN5GGN5K.js';
1
+ export { setApiOptions } from '../chunk-RFZBKQ35.js';
2
+ import '../chunk-DV3I2S3T.js';
3
+ import '../chunk-UXUJNZOA.js';
@@ -1,9 +1,9 @@
1
- export { s as setClientOptions } from '../setClientOptions-C4rwBrB4.js';
1
+ export { s as setClientOptions } from '../setClientOptions-CI_7IPLT.js';
2
2
  import '@cosmjs/proto-signing';
3
3
  import '@cosmjs/stargate';
4
4
  import '../apiState-CdzxTxYd.js';
5
- import '../client-types-B_ihV5t6.js';
5
+ import '../client-types-BkeR6R_z.js';
6
6
  import '@cosmjs/amino';
7
7
  import 'viem';
8
8
  import '@solana/wallet-adapter-base';
9
- import '../swaggerTypes-sZ9ALP9m.js';
9
+ import '../swaggerTypes-CAERZYPb.js';
@@ -1,4 +1,5 @@
1
- export { setClientOptions } from '../chunk-GHK24RZZ.js';
1
+ export { setClientOptions } from '../chunk-VDEYJJZI.js';
2
2
  import '../chunk-TD63P2AG.js';
3
- import '../chunk-I5V6BIOW.js';
4
- import '../chunk-SN5GGN5K.js';
3
+ import '../chunk-SYQHTXE7.js';
4
+ import '../chunk-DV3I2S3T.js';
5
+ import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
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-sZ9ALP9m.js';
2
- import { T as TransactionCallbacks } from '../callbacks-BinMFSvp.js';
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-CAERZYPb.js';
2
+ import { T as TransactionCallbacks } from '../callbacks-BGRu2Ule.js';
3
3
 
4
4
  type WaitForTransactionProps = {
5
5
  chainId: string;
@@ -1,4 +1,5 @@
1
- export { waitForTransaction } from '../chunk-WYKGBXPO.js';
2
- import '../chunk-BYK77RST.js';
3
- import '../chunk-5G6WVH73.js';
4
- import '../chunk-SN5GGN5K.js';
1
+ export { waitForTransaction } from '../chunk-DU3RX43W.js';
2
+ import '../chunk-PPUUN7FI.js';
3
+ import '../chunk-T7GKUROO.js';
4
+ import '../chunk-DV3I2S3T.js';
5
+ import '../chunk-UXUJNZOA.js';
@@ -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-CdzxTxYd.js';
4
- import { E as EndpointOptions } from './client-types-B_ihV5t6.js';
4
+ import { E as EndpointOptions } from './client-types-BkeR6R_z.js';
5
5
 
6
6
  type SkipClientOptions = SkipApiOptions & {
7
7
  endpointOptions?: {
@@ -1149,6 +1149,9 @@ interface Transfer {
1149
1149
  denomOut?: string;
1150
1150
  /** Amount of the fee asset to be paid as the transfer fee if applicable. */
1151
1151
  feeAmount?: string;
1152
+ /** Address of the entry contract on the destination chain */
1153
+ toChainEntryContractAddress?: string;
1154
+ toChainCallbackContractAddress?: string;
1152
1155
  /** Amount of the fee asset to be paid as the transfer fee if applicable, converted to USD value */
1153
1156
  usdFeeAmount?: string;
1154
1157
  /** Asset to be paid as the transfer fee if applicable. */
@@ -1955,4 +1958,4 @@ declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityD
1955
1958
  }, params?: RequestParams) => Promise<HttpResponse<FungibleAssetsBetweenChainsCreateResponse, Error>>;
1956
1959
  }
1957
1960
 
1958
- export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, type Fee as b4, type ChainsRequest as b5, type ChainsResponse as b6, type BalancesResponse as b7, type BridgesResponse as b8, type VenuesRequest as b9, type VenuesResponse as ba, type AssetsRequest as bb, type AssetsResponse as bc, type AssetsFromSourceResponse as bd, type RouteResponse as be, type MsgsResponse as bf, type MsgsDirectResponse as bg, type AssetRecommendationsResponse as bh, type SubmitResponse as bi, type TrackResponse as bj, type StatusRequest as bk, type StatusResponse as bl, type IbcOriginAssetsResponse as bm, type FungibleAssetsBetweenChainsCreateResponse as bn, type QueryParamsType as bo, type ResponseFormat as bp, type FullRequestParams as bq, type RequestParams as br, type ApiConfig as bs, type HttpResponse as bt, ContentType as bu, HttpClient as bv, Api as bw, type Asset as c, type AssetBetweenChains as d, type AssetRecommendation as e, AutopilotAction as f, type AutopilotMsg as g, type AutopilotMsgWrapper as h, type AxelarTransfer as i, type AxelarTransferInfo as j, AxelarTransferState as k, AxelarTransferType as l, type AxelarTransferWrapper as m, type CCTPTransferInfo as n, type CCTPTransferTxs as o, CCTPTransferState as p, type CCTPTransferWrapper as q, type StargateTransfer as r, StargateTransferState as s, type StargateTransferTxs as t, type StargateTransferInfo as u, type StargateTransferWrapper as v, GoFastTransferState as w, type GoFastTransferTxs as x, type GoFastTransferInfo as y, type GoFastTransferWrapper as z };
1961
+ export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, type Fee as b4, type ChainsRequest as b5, type ChainsResponse as b6, type BalancesResponse as b7, type BridgesResponse as b8, type VenuesRequest as b9, type VenuesResponse as ba, type AssetsRequest as bb, type AssetsResponse as bc, type AssetsFromSourceResponse as bd, type RouteResponse as be, type MsgsResponse as bf, type MsgsDirectResponse as bg, type AssetRecommendationsResponse as bh, type TrackResponse as bi, type StatusRequest as bj, type StatusResponse as bk, type IbcOriginAssetsResponse as bl, type FungibleAssetsBetweenChainsCreateResponse as bm, type QueryParamsType as bn, type ResponseFormat as bo, type FullRequestParams as bp, type RequestParams as bq, type ApiConfig as br, type HttpResponse as bs, ContentType as bt, HttpClient as bu, Api as bv, type Asset as c, type AssetBetweenChains as d, type AssetRecommendation as e, AutopilotAction as f, type AutopilotMsg as g, type AutopilotMsgWrapper as h, type AxelarTransfer as i, type AxelarTransferInfo as j, AxelarTransferState as k, AxelarTransferType as l, type AxelarTransferWrapper as m, type CCTPTransferInfo as n, type CCTPTransferTxs as o, CCTPTransferState as p, type CCTPTransferWrapper as q, type StargateTransfer as r, StargateTransferState as s, type StargateTransferTxs as t, type StargateTransferInfo as u, type StargateTransferWrapper as v, GoFastTransferState as w, type GoFastTransferTxs as x, type GoFastTransferInfo as y, type GoFastTransferWrapper as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/client",
3
3
  "description": "JavaScript SDK for Skip Go API",
4
- "version": "1.1.5",
4
+ "version": "1.1.7",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -1,10 +0,0 @@
1
- import { api } from './chunk-SN5GGN5K.js';
2
-
3
- // src/api/postMessages.ts
4
- var messages = api({
5
- methodName: "msgs",
6
- method: "post",
7
- path: "/v2/fungible/msgs"
8
- });
9
-
10
- export { messages };