@skip-go/client 1.1.7 → 1.1.9

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 (70) hide show
  1. package/dist/api/getAssets.d.ts +1 -1
  2. package/dist/api/getAssets.js +2 -2
  3. package/dist/api/getAssetsBetweenChains.d.ts +1 -1
  4. package/dist/api/getAssetsBetweenChains.js +2 -2
  5. package/dist/api/getBridges.d.ts +1 -1
  6. package/dist/api/getBridges.js +2 -2
  7. package/dist/api/getChains.d.ts +1 -1
  8. package/dist/api/getChains.js +2 -2
  9. package/dist/api/getVenues.d.ts +1 -1
  10. package/dist/api/getVenues.js +2 -2
  11. package/dist/api/postAssetsFromSource.d.ts +1 -1
  12. package/dist/api/postAssetsFromSource.js +3 -3
  13. package/dist/api/postBalances.d.ts +1 -1
  14. package/dist/api/postBalances.js +2 -2
  15. package/dist/api/postIbcOriginAssets.d.ts +1 -1
  16. package/dist/api/postIbcOriginAssets.js +2 -2
  17. package/dist/api/postMessages.d.ts +1 -1
  18. package/dist/api/postMessages.js +2 -2
  19. package/dist/api/postMessagesDirect.d.ts +1 -1
  20. package/dist/api/postMessagesDirect.js +2 -2
  21. package/dist/api/postRecommendAssets.d.ts +1 -1
  22. package/dist/api/postRecommendAssets.js +2 -2
  23. package/dist/api/postRoute.d.ts +1 -1
  24. package/dist/api/postRoute.js +2 -2
  25. package/dist/api/postSubmit.d.ts +1 -1
  26. package/dist/api/postSubmit.js +2 -2
  27. package/dist/api/postSubmitTransaction.d.ts +1 -1
  28. package/dist/api/postSubmitTransaction.js +2 -2
  29. package/dist/api/postTrackTransaction.d.ts +1 -1
  30. package/dist/api/postTrackTransaction.js +2 -2
  31. package/dist/api/postTransactionStatus.d.ts +1 -1
  32. package/dist/api/postTransactionStatus.js +2 -2
  33. package/dist/{apiState-CdzxTxYd.d.ts → apiState-DwZhwVul.d.ts} +1 -0
  34. package/dist/{chunk-RFZBKQ35.js → chunk-2YOWXBHH.js} +4 -3
  35. package/dist/{chunk-5WMPFEIQ.js → chunk-4CXSWHQ6.js} +2 -2
  36. package/dist/{chunk-SYQHTXE7.js → chunk-4XUWIG3Z.js} +4 -4
  37. package/dist/{chunk-T7GKUROO.js → chunk-563FE62N.js} +2 -2
  38. package/dist/{chunk-YMUVYT3O.js → chunk-6SQTOOYP.js} +1 -1
  39. package/dist/{chunk-GOYJWJEC.js → chunk-7G7IEOTQ.js} +1 -1
  40. package/dist/{chunk-2LKKFCUM.js → chunk-7MWYHGMD.js} +3 -3
  41. package/dist/{chunk-VDEYJJZI.js → chunk-A4M35XLF.js} +5 -4
  42. package/dist/{chunk-25FJ6EBA.js → chunk-A7FWC5OX.js} +2 -2
  43. package/dist/{chunk-CRTTBUO4.js → chunk-DF3WCTFB.js} +2 -2
  44. package/dist/{chunk-7QEN4XCJ.js → chunk-NCE6R2CP.js} +8 -8
  45. package/dist/{chunk-RYOVQFZO.js → chunk-NQZYCFAA.js} +2 -2
  46. package/dist/{chunk-VTK34ED6.js → chunk-O4IHON37.js} +1 -1
  47. package/dist/{chunk-X67P5URV.js → chunk-OFBEDG4X.js} +2 -2
  48. package/dist/{chunk-XXJUDZKJ.js → chunk-RE4YYQCE.js} +2 -2
  49. package/dist/{chunk-DU3RX43W.js → chunk-SGHGLGUJ.js} +3 -3
  50. package/dist/{chunk-JZBFAMHE.js → chunk-THUBVEVZ.js} +2 -2
  51. package/dist/{chunk-C4URP37X.js → chunk-U6NXCWXE.js} +2 -2
  52. package/dist/{chunk-U6XZFJW2.js → chunk-UCUUIQHV.js} +2 -2
  53. package/dist/{chunk-PPUUN7FI.js → chunk-XZV42PVV.js} +2 -2
  54. package/dist/{chunk-DV3I2S3T.js → chunk-YABXOO3H.js} +29 -12
  55. package/dist/{chunk-IWW34V4S.js → chunk-Z3Z7A3YS.js} +2 -2
  56. package/dist/index.d.ts +2 -2
  57. package/dist/index.js +22 -22
  58. package/dist/public-functions/executeRoute.js +11 -11
  59. package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
  60. package/dist/public-functions/getFeeInfoForChain.js +3 -3
  61. package/dist/public-functions/getRecommendedGasPrice.d.ts +1 -1
  62. package/dist/public-functions/getRecommendedGasPrice.js +4 -4
  63. package/dist/public-functions/getSigningStargateClient.js +3 -3
  64. package/dist/public-functions/setApiOptions.d.ts +1 -1
  65. package/dist/public-functions/setApiOptions.js +2 -2
  66. package/dist/public-functions/setClientOptions.d.ts +2 -2
  67. package/dist/public-functions/setClientOptions.js +3 -3
  68. package/dist/public-functions/waitForTransaction.js +4 -4
  69. package/dist/{setClientOptions-CI_7IPLT.d.ts → setClientOptions-D8SDeegt.d.ts} +1 -1
  70. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { c as Asset } from '../swaggerTypes-CAERZYPb.js';
3
3
 
4
4
  declare const assets: (options?: ({
@@ -1,3 +1,3 @@
1
- export { assets, transformAssetsMap } from '../chunk-SYQHTXE7.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { assets, transformAssetsMap } from '../chunk-4XUWIG3Z.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { J as BridgeType } from '../swaggerTypes-CAERZYPb.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
 
4
4
  declare const assetsBetweenChains: (options?: ({
5
5
  sourceChainId?: string | undefined;
@@ -1,3 +1,3 @@
1
- export { assetsBetweenChains } from '../chunk-IWW34V4S.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { assetsBetweenChains } from '../chunk-Z3Z7A3YS.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { bt as ContentType, J as BridgeType } from '../swaggerTypes-CAERZYPb.js';
3
3
 
4
4
  declare const bridges: (options?: ({
@@ -1,3 +1,3 @@
1
- export { bridges } from '../chunk-U6XZFJW2.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { bridges } from '../chunk-UCUUIQHV.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { L as ChainType } from '../swaggerTypes-CAERZYPb.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
 
4
4
  declare const chains: (options?: ({
5
5
  chainIds?: string[] | undefined;
@@ -1,3 +1,3 @@
1
- export { chains } from '../chunk-SYQHTXE7.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { chains } from '../chunk-4XUWIG3Z.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
 
3
3
  declare const venues: (options?: ({
4
4
  onlyTestnets?: boolean | undefined;
@@ -1,3 +1,3 @@
1
- export { venues } from '../chunk-XXJUDZKJ.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { venues } from '../chunk-RE4YYQCE.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { c as Asset } from '../swaggerTypes-CAERZYPb.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
 
4
4
  declare const assetsFromSource: (options?: ({
5
5
  sourceAssetDenom: string;
@@ -1,4 +1,4 @@
1
- export { assetsFromSource } from '../chunk-2LKKFCUM.js';
2
- import '../chunk-SYQHTXE7.js';
3
- import '../chunk-DV3I2S3T.js';
1
+ export { assetsFromSource } from '../chunk-7MWYHGMD.js';
2
+ import '../chunk-4XUWIG3Z.js';
3
+ import '../chunk-YABXOO3H.js';
4
4
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { A as ApiRequest, a as ApiResponse } from '../generateApi-8YPJU-Al.js';
3
3
  import '../swaggerTypes-CAERZYPb.js';
4
4
 
@@ -1,3 +1,3 @@
1
- export { balances } from '../chunk-SYQHTXE7.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { balances } from '../chunk-4XUWIG3Z.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
 
3
3
  declare const ibcOriginAssets: (options?: ({
4
4
  assets?: {
@@ -1,3 +1,3 @@
1
- export { ibcOriginAssets } from '../chunk-RYOVQFZO.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { ibcOriginAssets } from '../chunk-NQZYCFAA.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { b3 as FeeType, J as BridgeType } from '../swaggerTypes-CAERZYPb.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
  import { A as ApiRequest, a as ApiResponse } from '../generateApi-8YPJU-Al.js';
4
4
 
5
5
  declare const messages: (request: MessagesRequest) => Promise<{
@@ -1,3 +1,3 @@
1
- export { messages } from '../chunk-25FJ6EBA.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { messages } from '../chunk-A7FWC5OX.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-CAERZYPb.js';
3
3
 
4
4
  declare const messagesDirect: (options?: ({
@@ -1,3 +1,3 @@
1
- export { messagesDirect } from '../chunk-5WMPFEIQ.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { messagesDirect } from '../chunk-4CXSWHQ6.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { ao as Reason } from '../swaggerTypes-CAERZYPb.js';
3
3
 
4
4
  declare const recommendAssets: (options?: ({
@@ -1,3 +1,3 @@
1
- export { recommendAssets } from '../chunk-JZBFAMHE.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { recommendAssets } from '../chunk-THUBVEVZ.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-CAERZYPb.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
  import { A as ApiRequest } from '../generateApi-8YPJU-Al.js';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
@@ -1,3 +1,3 @@
1
- export { route } from '../chunk-C4URP37X.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { route } from '../chunk-U6NXCWXE.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { A as ApiRequest, a as ApiResponse } from '../generateApi-8YPJU-Al.js';
3
3
  import '../swaggerTypes-CAERZYPb.js';
4
4
 
@@ -1,3 +1,3 @@
1
- export { submit } from '../chunk-X67P5URV.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { submit } from '../chunk-OFBEDG4X.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
 
3
3
  declare const submitTransaction: (options?: ({
4
4
  tx?: string | undefined;
@@ -1,3 +1,3 @@
1
- export { submitTransaction } from '../chunk-CRTTBUO4.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { submitTransaction } from '../chunk-DF3WCTFB.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
 
3
3
  declare const trackTransaction: (params?: ({
4
4
  txHash: string;
@@ -1,3 +1,3 @@
1
- export { trackTransaction } from '../chunk-T7GKUROO.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { trackTransaction } from '../chunk-563FE62N.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
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 { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
  import { a as ApiResponse } from '../generateApi-8YPJU-Al.js';
4
4
 
5
5
  declare const transactionStatus: (params?: ({
@@ -1,3 +1,3 @@
1
- export { transactionStatus } from '../chunk-PPUUN7FI.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { transactionStatus } from '../chunk-XZV42PVV.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,6 +1,7 @@
1
1
  type SkipApiOptions = {
2
2
  apiUrl?: string;
3
3
  apiKey?: string;
4
+ apiHeaders?: HeadersInit;
4
5
  };
5
6
 
6
7
  export type { SkipApiOptions as S };
@@ -1,10 +1,11 @@
1
- import { ApiState, createRequestClient } from './chunk-DV3I2S3T.js';
1
+ import { ApiState, createRequestClient } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/public-functions/setApiOptions.ts
4
4
  var setApiOptions = (options = {}) => {
5
5
  ApiState.client = createRequestClient({
6
- baseUrl: options.apiUrl || "https://api.skip.build",
7
- apiKey: options.apiKey
6
+ apiUrl: options.apiUrl || "https://api.skip.build",
7
+ apiKey: options.apiKey,
8
+ apiHeaders: options.apiHeaders
8
9
  });
9
10
  ApiState.setClientInitialized();
10
11
  if (options.chainIdsToAffiliates) {
@@ -1,10 +1,10 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postMessagesDirect.ts
4
4
  var messagesDirect = api({
5
5
  methodName: "msgsDirect",
6
6
  method: "post",
7
- path: "/v2/fungible/msgs_direct"
7
+ path: "v2/fungible/msgs_direct"
8
8
  });
9
9
 
10
10
  export { messagesDirect };
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/private-functions/getMainnetAndTestnetChains.ts
4
4
  var getMainnetAndTestnetChains = async (apiOptions) => {
@@ -23,7 +23,7 @@ var getMainnetAndTestnetChains = async (apiOptions) => {
23
23
  // src/api/getAssets.ts
24
24
  var assets = api({
25
25
  methodName: "assets",
26
- path: "/v2/fungible/assets",
26
+ path: "v2/fungible/assets",
27
27
  transformResponse: (response) => {
28
28
  return transformAssetsMap(response.chainToAssetsMap);
29
29
  },
@@ -71,7 +71,7 @@ var getMainnetAndTestnetAssets = async ({
71
71
  var balances = api({
72
72
  methodName: "balances",
73
73
  method: "post",
74
- path: "/v2/info/balances",
74
+ path: "v2/info/balances",
75
75
  onSuccess: (response, options) => {
76
76
  if (!options) {
77
77
  ClientState.skipBalances = response;
@@ -118,7 +118,7 @@ var ClientState = class {
118
118
  // src/api/getChains.ts
119
119
  var chains = api({
120
120
  methodName: "chains",
121
- path: "/v2/info/chains",
121
+ path: "v2/info/chains",
122
122
  transformResponse: (response) => response.chains,
123
123
  onSuccess: (response, options) => {
124
124
  if (options?.includeEvm && options?.includeSvm) {
@@ -1,9 +1,9 @@
1
- import { pollingApi } from './chunk-DV3I2S3T.js';
1
+ import { pollingApi } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postTrackTransaction.ts
4
4
  var trackTransaction = pollingApi({
5
5
  methodName: "track",
6
- path: "/v2/tx/track",
6
+ path: "v2/tx/track",
7
7
  method: "post",
8
8
  backoffMultiplier: 2.5
9
9
  });
@@ -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-SYQHTXE7.js';
3
+ import { ClientState } from './chunk-4XUWIG3Z.js';
4
4
 
5
5
  // src/private-functions/getDefaultGasTokenForChain.ts
6
6
  var getDefaultGasTokenForChain = async (chainId) => {
@@ -1,5 +1,5 @@
1
1
  import { chains, findFirstWorkingEndpoint } from './chunk-36MCR5DZ.js';
2
- import { ClientState } from './chunk-SYQHTXE7.js';
2
+ import { ClientState } from './chunk-4XUWIG3Z.js';
3
3
  import { accountFromAny, SigningStargateClient } from '@cosmjs/stargate';
4
4
  import { assertDefinedAndNotNull } from '@cosmjs/utils';
5
5
  import { BinaryWriter, BinaryReader } from 'cosmjs-types/binary.js';
@@ -1,11 +1,11 @@
1
- import { transformAssetsMap } from './chunk-SYQHTXE7.js';
2
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { transformAssetsMap } from './chunk-4XUWIG3Z.js';
2
+ import { api } from './chunk-YABXOO3H.js';
3
3
 
4
4
  // src/api/postAssetsFromSource.ts
5
5
  var assetsFromSource = api({
6
6
  methodName: "assetsFromSource",
7
7
  method: "post",
8
- path: "/v2/fungible/assets_from_source",
8
+ path: "v2/fungible/assets_from_source",
9
9
  transformResponse(response) {
10
10
  return transformAssetsMap(response.destAssets);
11
11
  }
@@ -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-SYQHTXE7.js';
3
- import { ApiState, createRequestClient } from './chunk-DV3I2S3T.js';
2
+ import { ClientState } from './chunk-4XUWIG3Z.js';
3
+ import { ApiState, createRequestClient } from './chunk-YABXOO3H.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';
@@ -2201,8 +2201,9 @@ var evmosAminoConverters = {
2201
2201
  var evmosProtoRegistry = [...registry2, ...registry3, ...registry4, ...registry5];
2202
2202
  var setClientOptions = (options = {}) => {
2203
2203
  ApiState.client = createRequestClient({
2204
- baseUrl: options.apiUrl || "https://api.skip.build",
2205
- apiKey: options.apiKey
2204
+ apiUrl: options.apiUrl || "https://api.skip.build",
2205
+ apiKey: options.apiKey,
2206
+ apiHeaders: options.apiHeaders
2206
2207
  });
2207
2208
  ClientState.endpointOptions = options.endpointOptions ?? {};
2208
2209
  ClientState.aminoTypes = new AminoTypes({
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/utils/filterMessagesRequest.ts
4
4
  var filterMessagesRequest = (request) => {
@@ -29,7 +29,7 @@ var messages = async (request) => {
29
29
  return api({
30
30
  methodName: "msgs",
31
31
  method: "post",
32
- path: "/v2/fungible/msgs"
32
+ path: "v2/fungible/msgs"
33
33
  })(filterMessagesRequest(request));
34
34
  };
35
35
 
@@ -1,10 +1,10 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postSubmitTransaction.ts
4
4
  var submitTransaction = api({
5
5
  methodName: "submit",
6
6
  method: "post",
7
- path: "/v2/tx/submit"
7
+ path: "v2/tx/submit"
8
8
  });
9
9
 
10
10
  export { submitTransaction };
@@ -1,16 +1,16 @@
1
- import { waitForTransaction } from './chunk-DU3RX43W.js';
1
+ import { waitForTransaction } from './chunk-SGHGLGUJ.js';
2
2
  import { getEncodeObjectFromCosmosMessage, getCosmosGasAmountForMessage, getEncodeObjectFromCosmosMessageInjective } from './chunk-TV2XPAIF.js';
3
3
  import { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
4
4
  import { BigNumber } from './chunk-VQ5SIQWU.js';
5
5
  import { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
6
- import { getSigningStargateClient, getRpcEndpointForChain, accountParser } from './chunk-GOYJWJEC.js';
6
+ import { getSigningStargateClient, getRpcEndpointForChain, accountParser } from './chunk-7G7IEOTQ.js';
7
7
  import { chains, findFirstWorkingEndpoint, getIsEthermint, getIsInitia } from './chunk-36MCR5DZ.js';
8
- import { messages } from './chunk-25FJ6EBA.js';
9
- import { submit } from './chunk-X67P5URV.js';
10
- import { submitTransaction } from './chunk-CRTTBUO4.js';
11
- import { venues } from './chunk-XXJUDZKJ.js';
12
- import { ClientState, balances } from './chunk-SYQHTXE7.js';
13
- import { ApiState, wait, createRequestClient, toCamel } from './chunk-DV3I2S3T.js';
8
+ import { messages } from './chunk-A7FWC5OX.js';
9
+ import { submit } from './chunk-OFBEDG4X.js';
10
+ import { submitTransaction } from './chunk-DF3WCTFB.js';
11
+ import { venues } from './chunk-RE4YYQCE.js';
12
+ import { ClientState, balances } from './chunk-4XUWIG3Z.js';
13
+ import { ApiState, wait, createRequestClient, toCamel } from './chunk-YABXOO3H.js';
14
14
  import { PublicKey, Transaction, Connection, LAMPORTS_PER_SOL } from '@solana/web3.js';
15
15
  import { bech32m, bech32 } from 'bech32';
16
16
  import { StargateClient, GasPrice, calculateFee } from '@cosmjs/stargate';
@@ -1,10 +1,10 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postIbcOriginAssets.ts
4
4
  var ibcOriginAssets = api({
5
5
  methodName: "ibcOriginAssets",
6
6
  method: "post",
7
- path: "/v2/fungible/ibc_origin_assets",
7
+ path: "v2/fungible/ibc_origin_assets",
8
8
  transformResponse: (response) => response.originAssets
9
9
  });
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from './chunk-VQ5SIQWU.js';
2
- import { getFeeInfoForChain } from './chunk-YMUVYT3O.js';
2
+ import { getFeeInfoForChain } from './chunk-6SQTOOYP.js';
3
3
  import { Decimal } from '@cosmjs/math';
4
4
  import { GasPrice } from '@cosmjs/stargate';
5
5
 
@@ -1,10 +1,10 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postSubmit.ts
4
4
  var submit = api({
5
5
  methodName: "submit",
6
6
  method: "post",
7
- path: "/v2/tx/submit"
7
+ path: "v2/tx/submit"
8
8
  });
9
9
 
10
10
  export { submit };
@@ -1,9 +1,9 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/getVenues.ts
4
4
  var venues = api({
5
5
  methodName: "venues",
6
- path: "/v2/fungible/venues",
6
+ path: "v2/fungible/venues",
7
7
  transformResponse: (response) => response.venues
8
8
  });
9
9
 
@@ -1,6 +1,6 @@
1
- import { transactionStatus } from './chunk-PPUUN7FI.js';
2
- import { trackTransaction } from './chunk-T7GKUROO.js';
3
- import { wait } from './chunk-DV3I2S3T.js';
1
+ import { transactionStatus } from './chunk-XZV42PVV.js';
2
+ import { trackTransaction } from './chunk-563FE62N.js';
3
+ import { wait } from './chunk-YABXOO3H.js';
4
4
 
5
5
  // src/public-functions/waitForTransaction.ts
6
6
  var waitForTransaction = async ({
@@ -1,10 +1,10 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postRecommendAssets.ts
4
4
  var recommendAssets = api({
5
5
  methodName: "assetRecommendations",
6
6
  method: "post",
7
- path: "/v2/fungible/recommend_assets",
7
+ path: "v2/fungible/recommend_assets",
8
8
  transformResponse(response) {
9
9
  return response.recommendationEntries;
10
10
  }
@@ -1,4 +1,4 @@
1
- import { ApiState, api } from './chunk-DV3I2S3T.js';
1
+ import { ApiState, api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postRoute.ts
4
4
  var route = async (request) => {
@@ -9,7 +9,7 @@ var route = async (request) => {
9
9
  return api({
10
10
  methodName: "route",
11
11
  method: "post",
12
- path: "/v2/fungible/route"
12
+ path: "v2/fungible/route"
13
13
  })(requestWithAffiliateFeeBps);
14
14
  };
15
15
 
@@ -1,9 +1,9 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/getBridges.ts
4
4
  var bridges = api({
5
5
  methodName: "bridges",
6
- path: "/v2/info/bridges",
6
+ path: "v2/info/bridges",
7
7
  transformResponse: (response) => response.bridges
8
8
  });
9
9
 
@@ -1,9 +1,9 @@
1
- import { pollingApi } from './chunk-DV3I2S3T.js';
1
+ import { pollingApi } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/postTransactionStatus.ts
4
4
  var transactionStatus = pollingApi({
5
5
  methodName: "status",
6
- path: "/v2/tx/status",
6
+ path: "v2/tx/status",
7
7
  method: "get"
8
8
  });
9
9
 
@@ -24,11 +24,21 @@ function convertKeys(obj, convertKey) {
24
24
  }
25
25
 
26
26
  // src/utils/generateApi.ts
27
- var createRequestClient = ({ baseUrl, apiKey }) => {
28
- const defaultHeaders = {
29
- "content-type": "application/json",
30
- ...apiKey ? { authorization: apiKey } : {}
31
- };
27
+ var createRequestClient = ({ apiUrl, apiKey, apiHeaders }) => {
28
+ if (!apiUrl?.endsWith("/")) {
29
+ apiUrl += "/";
30
+ }
31
+ const headers = new Headers({
32
+ "content-type": "application/json"
33
+ });
34
+ if (apiKey) {
35
+ headers.set("authorization", apiKey);
36
+ }
37
+ if (apiHeaders) {
38
+ new Headers(apiHeaders).forEach((value, key) => {
39
+ headers.set(key, value);
40
+ });
41
+ }
32
42
  const handleResponse = async (response) => {
33
43
  const contentType = response.headers.get("content-type");
34
44
  const isJson = contentType?.includes("application/json");
@@ -40,7 +50,10 @@ var createRequestClient = ({ baseUrl, apiKey }) => {
40
50
  return body;
41
51
  };
42
52
  const get = async (path, params, signal) => {
43
- const url = new URL(baseUrl + (path ?? ""));
53
+ if (path?.startsWith("/")) {
54
+ console.warn("paths that start with / are treated as absolute paths, please remove the leading / if this path is intended to be a relative path");
55
+ }
56
+ const url = new URL(path ?? "", apiUrl);
44
57
  if (params && typeof params === "object") {
45
58
  Object.entries(params).forEach(([key, value]) => {
46
59
  if (value !== void 0 && value !== null) {
@@ -50,15 +63,18 @@ var createRequestClient = ({ baseUrl, apiKey }) => {
50
63
  }
51
64
  const response = await fetch(url.toString(), {
52
65
  method: "GET",
53
- headers: defaultHeaders,
66
+ headers,
54
67
  signal
55
68
  });
56
69
  return handleResponse(response);
57
70
  };
58
71
  const post = async (path, data = {}, signal) => {
59
- const response = await fetch(new URL(baseUrl + path).toString(), {
72
+ if (path?.startsWith("/")) {
73
+ console.warn("paths that start with / are treated as absolute paths, please remove the leading / if this path is intended to be a relative path");
74
+ }
75
+ const response = await fetch(new URL(path, apiUrl).toString(), {
60
76
  method: "POST",
61
- headers: defaultHeaders,
77
+ headers,
62
78
  body: JSON.stringify(data),
63
79
  signal
64
80
  });
@@ -74,12 +90,13 @@ function createRequest({
74
90
  }) {
75
91
  let controller = null;
76
92
  const request = async (options) => {
77
- const { apiKey, apiUrl, abortDuplicateRequests, ...requestParams } = options ?? {};
93
+ const { apiKey, apiUrl, apiHeaders, abortDuplicateRequests, ...requestParams } = options ?? {};
78
94
  let fetchClient = ApiState.client;
79
95
  if (apiUrl || apiKey) {
80
96
  fetchClient = createRequestClient({
81
- baseUrl: apiUrl || "https://api.skip.build",
82
- apiKey
97
+ apiUrl: apiUrl || "https://api.skip.build",
98
+ apiKey,
99
+ apiHeaders
83
100
  });
84
101
  } else {
85
102
  await ApiState.clientInitialized;
@@ -1,9 +1,9 @@
1
- import { api } from './chunk-DV3I2S3T.js';
1
+ import { api } from './chunk-YABXOO3H.js';
2
2
 
3
3
  // src/api/getAssetsBetweenChains.ts
4
4
  var assetsBetweenChains = api({
5
5
  methodName: "fungibleAssetsBetweenChainsCreate",
6
- path: "/v2/fungible/assets_between_chains"
6
+ path: "v2/fungible/assets_between_chains"
7
7
  });
8
8
 
9
9
  export { assetsBetweenChains };
package/dist/index.d.ts CHANGED
@@ -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-CI_7IPLT.js';
21
+ export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-D8SDeegt.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';
@@ -31,7 +31,7 @@ import '@cosmjs/proto-signing';
31
31
  import '@cosmjs/stargate';
32
32
  import 'viem';
33
33
  import '@solana/wallet-adapter-base';
34
- import './apiState-CdzxTxYd.js';
34
+ import './apiState-DwZhwVul.js';
35
35
  import './generateApi-8YPJU-Al.js';
36
36
 
37
37
  interface AcknowledgementErrorDetailsJson {
package/dist/index.js CHANGED
@@ -1,31 +1,31 @@
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';
1
+ export { setClientOptions } from './chunk-A4M35XLF.js';
2
+ export { executeRoute } from './chunk-NCE6R2CP.js';
3
+ export { waitForTransaction } from './chunk-SGHGLGUJ.js';
4
+ export { transactionStatus } from './chunk-XZV42PVV.js';
5
5
  export { getCosmosGasAmountForMessage } from './chunk-TV2XPAIF.js';
6
6
  import './chunk-TD63P2AG.js';
7
7
  export { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
8
- export { getRecommendedGasPrice } from './chunk-VTK34ED6.js';
8
+ export { getRecommendedGasPrice } from './chunk-O4IHON37.js';
9
9
  import './chunk-VQ5SIQWU.js';
10
- export { getFeeInfoForChain } from './chunk-YMUVYT3O.js';
10
+ export { getFeeInfoForChain } from './chunk-6SQTOOYP.js';
11
11
  export { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
12
- export { getSigningStargateClient } from './chunk-GOYJWJEC.js';
12
+ export { getSigningStargateClient } from './chunk-7G7IEOTQ.js';
13
13
  import './chunk-36MCR5DZ.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';
14
+ export { setApiOptions } from './chunk-2YOWXBHH.js';
15
+ export { ibcOriginAssets } from './chunk-NQZYCFAA.js';
16
+ export { messages } from './chunk-A7FWC5OX.js';
17
+ export { messagesDirect } from './chunk-4CXSWHQ6.js';
18
+ export { recommendAssets } from './chunk-THUBVEVZ.js';
19
+ export { route } from './chunk-U6NXCWXE.js';
20
+ export { submit } from './chunk-OFBEDG4X.js';
21
+ export { submitTransaction } from './chunk-DF3WCTFB.js';
22
+ export { trackTransaction } from './chunk-563FE62N.js';
23
+ export { assetsBetweenChains } from './chunk-Z3Z7A3YS.js';
24
+ export { bridges } from './chunk-UCUUIQHV.js';
25
+ export { venues } from './chunk-RE4YYQCE.js';
26
+ export { assetsFromSource } from './chunk-7MWYHGMD.js';
27
+ export { assets, balances, chains } from './chunk-4XUWIG3Z.js';
28
+ import './chunk-YABXOO3H.js';
29
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';
30
30
 
31
31
  // src/types/swaggerTypesJson.ts
@@ -1,18 +1,18 @@
1
- export { executeRoute } from '../chunk-7QEN4XCJ.js';
2
- import '../chunk-DU3RX43W.js';
3
- import '../chunk-PPUUN7FI.js';
1
+ export { executeRoute } from '../chunk-NCE6R2CP.js';
2
+ import '../chunk-SGHGLGUJ.js';
3
+ import '../chunk-XZV42PVV.js';
4
4
  import '../chunk-TV2XPAIF.js';
5
5
  import '../chunk-TD63P2AG.js';
6
6
  import '../chunk-GV2QOWB4.js';
7
7
  import '../chunk-VQ5SIQWU.js';
8
8
  import '../chunk-SWYON2RG.js';
9
- import '../chunk-GOYJWJEC.js';
9
+ import '../chunk-7G7IEOTQ.js';
10
10
  import '../chunk-36MCR5DZ.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';
11
+ import '../chunk-A7FWC5OX.js';
12
+ import '../chunk-OFBEDG4X.js';
13
+ import '../chunk-DF3WCTFB.js';
14
+ import '../chunk-563FE62N.js';
15
+ import '../chunk-RE4YYQCE.js';
16
+ import '../chunk-4XUWIG3Z.js';
17
+ import '../chunk-YABXOO3H.js';
18
18
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { a3 as FeeAsset } from '../swaggerTypes-CAERZYPb.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
 
4
4
  type GetFeeInfoForChainProps = {
5
5
  chainId: string;
@@ -1,6 +1,6 @@
1
- export { getFeeInfoForChain } from '../chunk-YMUVYT3O.js';
1
+ export { getFeeInfoForChain } from '../chunk-6SQTOOYP.js';
2
2
  import '../chunk-SWYON2RG.js';
3
3
  import '../chunk-36MCR5DZ.js';
4
- import '../chunk-SYQHTXE7.js';
5
- import '../chunk-DV3I2S3T.js';
4
+ import '../chunk-4XUWIG3Z.js';
5
+ import '../chunk-YABXOO3H.js';
6
6
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
1
  import { GasPrice } from '@cosmjs/stargate';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
3
3
 
4
4
  type getRecommendedGasPriceProps = {
5
5
  chainId: string;
@@ -1,8 +1,8 @@
1
- export { getRecommendedGasPrice } from '../chunk-VTK34ED6.js';
1
+ export { getRecommendedGasPrice } from '../chunk-O4IHON37.js';
2
2
  import '../chunk-VQ5SIQWU.js';
3
- import '../chunk-YMUVYT3O.js';
3
+ import '../chunk-6SQTOOYP.js';
4
4
  import '../chunk-SWYON2RG.js';
5
5
  import '../chunk-36MCR5DZ.js';
6
- import '../chunk-SYQHTXE7.js';
7
- import '../chunk-DV3I2S3T.js';
6
+ import '../chunk-4XUWIG3Z.js';
7
+ import '../chunk-YABXOO3H.js';
8
8
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
- export { getSigningStargateClient } from '../chunk-GOYJWJEC.js';
1
+ export { getSigningStargateClient } from '../chunk-7G7IEOTQ.js';
2
2
  import '../chunk-36MCR5DZ.js';
3
- import '../chunk-SYQHTXE7.js';
4
- import '../chunk-DV3I2S3T.js';
3
+ import '../chunk-4XUWIG3Z.js';
4
+ import '../chunk-YABXOO3H.js';
5
5
  import '../chunk-UXUJNZOA.js';
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
2
2
  import { M as ChainAffiliates } from '../swaggerTypes-CAERZYPb.js';
3
3
 
4
4
  type SetApiOptionsProps = {
@@ -1,3 +1,3 @@
1
- export { setApiOptions } from '../chunk-RFZBKQ35.js';
2
- import '../chunk-DV3I2S3T.js';
1
+ export { setApiOptions } from '../chunk-2YOWXBHH.js';
2
+ import '../chunk-YABXOO3H.js';
3
3
  import '../chunk-UXUJNZOA.js';
@@ -1,7 +1,7 @@
1
- export { s as setClientOptions } from '../setClientOptions-CI_7IPLT.js';
1
+ export { s as setClientOptions } from '../setClientOptions-D8SDeegt.js';
2
2
  import '@cosmjs/proto-signing';
3
3
  import '@cosmjs/stargate';
4
- import '../apiState-CdzxTxYd.js';
4
+ import '../apiState-DwZhwVul.js';
5
5
  import '../client-types-BkeR6R_z.js';
6
6
  import '@cosmjs/amino';
7
7
  import 'viem';
@@ -1,5 +1,5 @@
1
- export { setClientOptions } from '../chunk-VDEYJJZI.js';
1
+ export { setClientOptions } from '../chunk-A4M35XLF.js';
2
2
  import '../chunk-TD63P2AG.js';
3
- import '../chunk-SYQHTXE7.js';
4
- import '../chunk-DV3I2S3T.js';
3
+ import '../chunk-4XUWIG3Z.js';
4
+ import '../chunk-YABXOO3H.js';
5
5
  import '../chunk-UXUJNZOA.js';
@@ -1,5 +1,5 @@
1
- export { waitForTransaction } from '../chunk-DU3RX43W.js';
2
- import '../chunk-PPUUN7FI.js';
3
- import '../chunk-T7GKUROO.js';
4
- import '../chunk-DV3I2S3T.js';
1
+ export { waitForTransaction } from '../chunk-SGHGLGUJ.js';
2
+ import '../chunk-XZV42PVV.js';
3
+ import '../chunk-563FE62N.js';
4
+ import '../chunk-YABXOO3H.js';
5
5
  import '../chunk-UXUJNZOA.js';
@@ -1,6 +1,6 @@
1
1
  import { GeneratedType } from '@cosmjs/proto-signing';
2
2
  import { AminoConverters } from '@cosmjs/stargate';
3
- import { S as SkipApiOptions } from './apiState-CdzxTxYd.js';
3
+ import { S as SkipApiOptions } from './apiState-DwZhwVul.js';
4
4
  import { E as EndpointOptions } from './client-types-BkeR6R_z.js';
5
5
 
6
6
  type SkipClientOptions = SkipApiOptions & {
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.7",
4
+ "version": "1.1.9",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",