@skip-go/client 1.0.1-alpha-0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/api/getAssets.js +15 -2
  2. package/dist/api/getAssetsBetweenChains.js +11 -2
  3. package/dist/api/getBridges.js +11 -2
  4. package/dist/api/getChains.js +11 -2
  5. package/dist/api/getVenues.js +11 -2
  6. package/dist/api/postAssetsFromSource.js +12 -3
  7. package/dist/api/postBalances.js +11 -2
  8. package/dist/api/postIbcOriginAssets.js +11 -2
  9. package/dist/api/postMessages.js +11 -2
  10. package/dist/api/postMessagesDirect.js +11 -2
  11. package/dist/api/postRecommendAssets.js +11 -2
  12. package/dist/api/postRoute.js +11 -2
  13. package/dist/api/postSubmitTransaction.js +11 -2
  14. package/dist/api/postTrackTransaction.js +11 -2
  15. package/dist/api/postTransactionStatus.js +11 -2
  16. package/dist/{chunk-DAMZSSOH.cjs → chunk-2WHYWV4Y.js} +2 -2
  17. package/dist/{chunk-J4LI33TK.cjs → chunk-4XWIXR2P.js} +24 -18
  18. package/dist/chunk-5KVRQLI5.js +17 -0
  19. package/dist/{chunk-VI7UMBQ7.cjs → chunk-5ZJBR5AQ.js} +2 -2
  20. package/dist/{chunk-ISHM4QWP.cjs → chunk-6BTWKTNM.js} +4 -4
  21. package/dist/chunk-6GJEXV5J.js +130 -0
  22. package/dist/chunk-ASPVKNJ7.js +242 -0
  23. package/dist/{chunk-7SK3IFXJ.cjs → chunk-CG5CQQBW.js} +36 -32
  24. package/dist/chunk-EQLA2SEZ.js +2361 -0
  25. package/dist/{chunk-32MRDO7V.cjs → chunk-FVSSCQ6C.js} +2 -2
  26. package/dist/{chunk-5IAEEEOQ.cjs → chunk-GFRPLEJR.js} +227 -217
  27. package/dist/{chunk-L5V5PASH.cjs → chunk-KYFTM3PI.js} +2 -2
  28. package/dist/chunk-L2Q5RP6O.js +25 -0
  29. package/dist/{chunk-URLFWBSC.cjs → chunk-LRIPQQ4M.js} +2 -2
  30. package/dist/{chunk-ZNXE6PUV.cjs → chunk-PKPZTO4H.js} +10 -9
  31. package/dist/{chunk-RDOSNDAQ.cjs → chunk-RE2QZJWE.js} +2 -2
  32. package/dist/{chunk-7OIZPQJB.cjs → chunk-RT5TZAMU.js} +138 -101
  33. package/dist/chunk-SWYON2RG.js +4 -1
  34. package/dist/chunk-VQ5SIQWU.js +3 -1
  35. package/dist/{chunk-LXYLWTNZ.cjs → chunk-X2E2TKVR.js} +2 -2
  36. package/dist/{chunk-SW3SEQMJ.cjs → chunk-X2YPYBVN.js} +30 -25
  37. package/dist/{chunk-KDN7RCGP.cjs → chunk-YYNIFO2A.js} +2 -2
  38. package/dist/{chunk-77ITCT75.cjs → chunk-Z4ZKOUGH.js} +2 -2
  39. package/dist/{chunk-PNWIJSMA.cjs → chunk-ZG23Z3WY.js} +2 -2
  40. package/dist/index.d.ts +2 -0
  41. package/dist/index.js +209 -24
  42. package/dist/public-functions/executeRoute.js +21 -12
  43. package/dist/public-functions/getFeeInfoForChain.js +14 -5
  44. package/dist/public-functions/getRecommendedGasPrice.d.ts +1 -1
  45. package/dist/public-functions/getRecommendedGasPrice.js +16 -7
  46. package/dist/public-functions/getSigningStargateClient.d.ts +1 -1
  47. package/dist/public-functions/getSigningStargateClient.js +13 -4
  48. package/dist/public-functions/setApiOptions.js +11 -2
  49. package/dist/public-functions/setClientOptions.js +13 -4
  50. package/package.json +1 -10
  51. package/dist/api/getAssets.cjs +0 -15
  52. package/dist/api/getAssets.d.cts +0 -19
  53. package/dist/api/getAssetsBetweenChains.cjs +0 -11
  54. package/dist/api/getAssetsBetweenChains.d.cts +0 -56
  55. package/dist/api/getBridges.cjs +0 -11
  56. package/dist/api/getBridges.d.cts +0 -54
  57. package/dist/api/getChains.cjs +0 -11
  58. package/dist/api/getChains.d.cts +0 -41
  59. package/dist/api/getVenues.cjs +0 -11
  60. package/dist/api/getVenues.d.cts +0 -13
  61. package/dist/api/postAssetsFromSource.cjs +0 -12
  62. package/dist/api/postAssetsFromSource.d.cts +0 -13
  63. package/dist/api/postBalances.cjs +0 -11
  64. package/dist/api/postBalances.d.cts +0 -35
  65. package/dist/api/postIbcOriginAssets.cjs +0 -11
  66. package/dist/api/postIbcOriginAssets.d.cts +0 -32
  67. package/dist/api/postMessages.cjs +0 -11
  68. package/dist/api/postMessages.d.cts +0 -528
  69. package/dist/api/postMessagesDirect.cjs +0 -11
  70. package/dist/api/postMessagesDirect.d.cts +0 -568
  71. package/dist/api/postRecommendAssets.cjs +0 -11
  72. package/dist/api/postRecommendAssets.d.cts +0 -40
  73. package/dist/api/postRoute.cjs +0 -11
  74. package/dist/api/postRoute.d.cts +0 -460
  75. package/dist/api/postSubmitTransaction.cjs +0 -11
  76. package/dist/api/postSubmitTransaction.d.cts +0 -13
  77. package/dist/api/postTrackTransaction.cjs +0 -11
  78. package/dist/api/postTrackTransaction.d.cts +0 -13
  79. package/dist/api/postTransactionStatus.cjs +0 -11
  80. package/dist/api/postTransactionStatus.d.cts +0 -559
  81. package/dist/apiState-CdzxTxYd.d.cts +0 -6
  82. package/dist/chunk-33K6EESX.js +0 -10
  83. package/dist/chunk-3N7XVGLX.js +0 -269
  84. package/dist/chunk-3OZQ35X3.js +0 -3597
  85. package/dist/chunk-44PBLFB5.cjs +0 -24
  86. package/dist/chunk-4JJWOILI.js +0 -13
  87. package/dist/chunk-4R6OCWRR.cjs +0 -1346
  88. package/dist/chunk-BQTQJQ5E.js +0 -10
  89. package/dist/chunk-BRJDNGYH.js +0 -22
  90. package/dist/chunk-BRMONS6A.js +0 -130
  91. package/dist/chunk-C2EDPY6J.js +0 -10
  92. package/dist/chunk-DW4U6YI6.js +0 -10
  93. package/dist/chunk-ED2OY55G.cjs +0 -136
  94. package/dist/chunk-GARVPN2H.js +0 -16
  95. package/dist/chunk-HAR3IXDE.cjs +0 -705
  96. package/dist/chunk-JTIHU43D.js +0 -183
  97. package/dist/chunk-KNV72XRZ.js +0 -10
  98. package/dist/chunk-KZOSEIWH.cjs +0 -10
  99. package/dist/chunk-MGVXJ2U4.js +0 -11
  100. package/dist/chunk-MTMPHY3Y.js +0 -9
  101. package/dist/chunk-PRQ2NHRZ.js +0 -11
  102. package/dist/chunk-RDRDFJQE.js +0 -10
  103. package/dist/chunk-RMP3HM5N.js +0 -14
  104. package/dist/chunk-SFMBRLUS.cjs +0 -18
  105. package/dist/chunk-SQGWZAUC.js +0 -2229
  106. package/dist/chunk-TW77BXMT.js +0 -44
  107. package/dist/chunk-VMPFHQ7U.js +0 -93
  108. package/dist/chunk-W2U2UOFA.js +0 -1790
  109. package/dist/chunk-W6TBGBV3.js +0 -675
  110. package/dist/chunk-WWNTHZ6I.cjs +0 -1812
  111. package/dist/client-types-qvyKvyFh.d.cts +0 -60
  112. package/dist/executeRoute-BKRpODCc.d.cts +0 -69
  113. package/dist/generateApi-C0amiydg.d.cts +0 -22
  114. package/dist/index.cjs +0 -209
  115. package/dist/index.d.cts +0 -35
  116. package/dist/public-functions/executeRoute.cjs +0 -21
  117. package/dist/public-functions/executeRoute.d.cts +0 -9
  118. package/dist/public-functions/getFeeInfoForChain.cjs +0 -14
  119. package/dist/public-functions/getFeeInfoForChain.d.cts +0 -9
  120. package/dist/public-functions/getRecommendedGasPrice.cjs +0 -16
  121. package/dist/public-functions/getRecommendedGasPrice.d.cts +0 -9
  122. package/dist/public-functions/getSigningStargateClient.cjs +0 -13
  123. package/dist/public-functions/getSigningStargateClient.d.cts +0 -13
  124. package/dist/public-functions/setApiOptions.cjs +0 -11
  125. package/dist/public-functions/setApiOptions.d.cts +0 -9
  126. package/dist/public-functions/setClientOptions.cjs +0 -13
  127. package/dist/public-functions/setClientOptions.d.cts +0 -9
  128. package/dist/setClientOptions-CT6CHI9I.d.cts +0 -19
  129. package/dist/swaggerTypes-O9-gvCT1.d.cts +0 -1890
@@ -1,7 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunk7SK3IFXJ_cjs = require('./chunk-7SK3IFXJ.cjs');
4
- var chunkED2OY55G_cjs = require('./chunk-ED2OY55G.cjs');
3
+ var chunkCG5CQQBW_js = require('./chunk-CG5CQQBW.js');
4
+ var chunk6GJEXV5J_js = require('./chunk-6GJEXV5J.js');
5
+ var chunkASPVKNJ7_js = require('./chunk-ASPVKNJ7.js');
6
+ var signingstargateclient = require('@cosmjs/stargate/build/signingstargateclient');
5
7
  var stargate = require('@cosmjs/stargate');
6
8
  var utils = require('@cosmjs/utils');
7
9
  var binary = require('cosmjs-types/binary');
@@ -171,9 +173,10 @@ var StridePeriodicVestingAccount = {
171
173
  }
172
174
  };
173
175
  var accountParser = (acc) => {
176
+ var _a;
174
177
  switch (acc.typeUrl) {
175
178
  case "/stride.vesting.StridePeriodicVestingAccount": {
176
- const baseAccount = StridePeriodicVestingAccount.decode(acc.value).baseVestingAccount?.baseAccount;
179
+ const baseAccount = (_a = StridePeriodicVestingAccount.decode(acc.value).baseVestingAccount) == null ? void 0 : _a.baseAccount;
177
180
  utils.assertDefinedAndNotNull(baseAccount);
178
181
  return {
179
182
  address: baseAccount.address,
@@ -194,7 +197,7 @@ var accountParser = (acc) => {
194
197
  const { address, pubKey, accountNumber, sequence } = auth.BaseAccount.decode(
195
198
  acc.value
196
199
  );
197
- if (pubKey?.typeUrl === "/initia.crypto.v1beta1.ethsecp256k1.PubKey") {
200
+ if ((pubKey == null ? void 0 : pubKey.typeUrl) === "/initia.crypto.v1beta1.ethsecp256k1.PubKey") {
198
201
  const { key } = keys.PubKey.decode(pubKey.value);
199
202
  const pk = amino.encodeSecp256k1Pubkey(key);
200
203
  return {
@@ -211,62 +214,64 @@ var accountParser = (acc) => {
211
214
  };
212
215
 
213
216
  // src/private-functions/getRpcEndpointForChain.ts
214
- var getRpcEndpointForChain = async (chainId) => {
215
- if (chunkED2OY55G_cjs.ClientState.endpointOptions.getRpcEndpointForChain) {
216
- return chunkED2OY55G_cjs.ClientState.endpointOptions.getRpcEndpointForChain(chainId);
217
+ var getRpcEndpointForChain = (chainId) => chunkASPVKNJ7_js.__async(void 0, null, function* () {
218
+ var _a, _b, _c, _d, _e;
219
+ if (chunk6GJEXV5J_js.ClientState.endpointOptions.getRpcEndpointForChain) {
220
+ return chunk6GJEXV5J_js.ClientState.endpointOptions.getRpcEndpointForChain(chainId);
217
221
  }
218
- if (chunkED2OY55G_cjs.ClientState.endpointOptions.endpoints && chunkED2OY55G_cjs.ClientState.endpointOptions.endpoints[chainId]) {
219
- const endpointOptions = chunkED2OY55G_cjs.ClientState.endpointOptions.endpoints[chainId];
220
- if (endpointOptions?.rpc) {
222
+ if (chunk6GJEXV5J_js.ClientState.endpointOptions.endpoints && chunk6GJEXV5J_js.ClientState.endpointOptions.endpoints[chainId]) {
223
+ const endpointOptions = chunk6GJEXV5J_js.ClientState.endpointOptions.endpoints[chainId];
224
+ if (endpointOptions == null ? void 0 : endpointOptions.rpc) {
221
225
  return endpointOptions.rpc;
222
226
  }
223
227
  }
224
228
  console.warn(
225
229
  "Warning: You are using unreliable public endpoints. We strongly recommend overriding them via endpointOptions for use beyond development settings."
226
230
  );
227
- const chain = chunk7SK3IFXJ_cjs.chains().find((chain2) => chain2.chain_id === chainId);
231
+ const chain = chunkCG5CQQBW_js.chains().find((chain2) => chain2.chain_id === chainId);
228
232
  if (!chain) {
229
233
  throw new Error(`getRpcEndpointForChain: failed to find chain id '${chainId}' in registry`);
230
234
  }
231
- if (chain.apis?.rpc?.length === 0 || !chain.apis?.rpc) {
235
+ if (((_b = (_a = chain.apis) == null ? void 0 : _a.rpc) == null ? void 0 : _b.length) === 0 || !((_c = chain.apis) == null ? void 0 : _c.rpc)) {
232
236
  throw new Error(
233
237
  `getRpcEndpointForChain error: failed to find RPC endpoint for chain '${chainId}'`
234
238
  );
235
239
  }
236
- const endpoints = chain.apis?.rpc?.map((api) => api.address);
237
- const endpoint = await chunk7SK3IFXJ_cjs.findFirstWorkingEndpoint(endpoints, "rpc");
240
+ const endpoints = (_e = (_d = chain.apis) == null ? void 0 : _d.rpc) == null ? void 0 : _e.map((api) => api.address);
241
+ const endpoint = yield chunkCG5CQQBW_js.findFirstWorkingEndpoint(endpoints, "rpc");
238
242
  if (!endpoint) {
239
243
  throw new Error(
240
244
  `getRpcEndpointForChain error: failed to find RPC endpoint for chain '${chainId}'`
241
245
  );
242
246
  }
243
247
  return endpoint;
244
- };
248
+ });
245
249
 
246
250
  // src/public-functions/getSigningStargateClient.ts
247
- var getSigningStargateClient = async ({
251
+ var getSigningStargateClient = (_0) => chunkASPVKNJ7_js.__async(void 0, [_0], function* ({
248
252
  chainId,
249
253
  getOfflineSigner
250
- }) => {
254
+ }) {
255
+ var _a;
251
256
  if (!getOfflineSigner) {
252
257
  throw new Error("'getCosmosSigner' is not provided or configured in skip router");
253
258
  }
254
- if (!chunkED2OY55G_cjs.ClientState.signingStargateClientByChainId?.[chainId]) {
255
- const [signer, endpoint] = await Promise.all([
259
+ if (!((_a = chunk6GJEXV5J_js.ClientState.signingStargateClientByChainId) == null ? void 0 : _a[chainId])) {
260
+ const [signer, endpoint] = yield Promise.all([
256
261
  getOfflineSigner(chainId),
257
262
  getRpcEndpointForChain(chainId)
258
263
  ]);
259
- chunkED2OY55G_cjs.ClientState.signingStargateClientByChainId[chainId] = await stargate.SigningStargateClient.connectWithSigner(endpoint, signer, {
260
- aminoTypes: chunkED2OY55G_cjs.ClientState.aminoTypes,
261
- registry: chunkED2OY55G_cjs.ClientState.registry,
264
+ chunk6GJEXV5J_js.ClientState.signingStargateClientByChainId[chainId] = yield signingstargateclient.SigningStargateClient.connectWithSigner(endpoint, signer, {
265
+ aminoTypes: chunk6GJEXV5J_js.ClientState.aminoTypes,
266
+ registry: chunk6GJEXV5J_js.ClientState.registry,
262
267
  accountParser
263
268
  });
264
269
  }
265
270
  return {
266
- stargateClient: chunkED2OY55G_cjs.ClientState.signingStargateClientByChainId[chainId],
267
- signer: await getOfflineSigner(chainId)
271
+ stargateClient: chunk6GJEXV5J_js.ClientState.signingStargateClientByChainId[chainId],
272
+ signer: yield getOfflineSigner(chainId)
268
273
  };
269
- };
274
+ });
270
275
 
271
276
  exports.accountParser = accountParser;
272
277
  exports.getRpcEndpointForChain = getRpcEndpointForChain;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
3
+ var chunkASPVKNJ7_js = require('./chunk-ASPVKNJ7.js');
4
4
 
5
5
  // src/api/postTrackTransaction.ts
6
- var trackTransaction = chunkHAR3IXDE_cjs.pollingApi({
6
+ var trackTransaction = chunkASPVKNJ7_js.pollingApi({
7
7
  methodName: "trackTransactionV2",
8
8
  path: "/v2/tx/track",
9
9
  method: "post",
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
3
+ var chunkASPVKNJ7_js = require('./chunk-ASPVKNJ7.js');
4
4
 
5
5
  // src/api/postRecommendAssets.ts
6
- var recommendAssets = chunkHAR3IXDE_cjs.api({
6
+ var recommendAssets = chunkASPVKNJ7_js.api({
7
7
  methodName: "getAssetRecommendations",
8
8
  method: "post",
9
9
  path: "/v2/fungible/recommend_assets",
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
3
+ var chunkASPVKNJ7_js = require('./chunk-ASPVKNJ7.js');
4
4
 
5
5
  // src/api/getVenues.ts
6
- var venues = chunkHAR3IXDE_cjs.api({
6
+ var venues = chunkASPVKNJ7_js.api({
7
7
  methodName: "getVenues",
8
8
  path: "/v2/fungible/venues",
9
9
  transformResponse: (response) => response.venues
package/dist/index.d.ts CHANGED
@@ -29,6 +29,8 @@ import 'viem';
29
29
  import '@solana/wallet-adapter-base';
30
30
  import './apiState-CdzxTxYd.js';
31
31
  import '@cosmjs/proto-signing/build/signer';
32
+ import '@cosmjs/stargate/build/signingstargateclient';
33
+ import '@cosmjs/stargate/build/fee';
32
34
 
33
35
  declare const GAS_STATION_CHAIN_IDS: string[];
34
36
 
package/dist/index.js CHANGED
@@ -1,24 +1,209 @@
1
- export { executeRoute } from './chunk-W2U2UOFA.js';
2
- export { getRecommendedGasPrice } from './chunk-BRJDNGYH.js';
3
- import './chunk-VQ5SIQWU.js';
4
- export { getFeeInfoForChain } from './chunk-VMPFHQ7U.js';
5
- export { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
6
- export { getSigningStargateClient } from './chunk-3N7XVGLX.js';
7
- import './chunk-JTIHU43D.js';
8
- export { setApiOptions } from './chunk-TW77BXMT.js';
9
- export { setClientOptions } from './chunk-SQGWZAUC.js';
10
- import './chunk-3OZQ35X3.js';
11
- export { ibcOriginAssets } from './chunk-PRQ2NHRZ.js';
12
- export { messages } from './chunk-DW4U6YI6.js';
13
- export { messagesDirect } from './chunk-BQTQJQ5E.js';
14
- export { recommendAssets } from './chunk-4JJWOILI.js';
15
- export { route } from './chunk-GARVPN2H.js';
16
- export { submitTransaction } from './chunk-RDRDFJQE.js';
17
- export { trackTransaction } from './chunk-MGVXJ2U4.js';
18
- export { transactionStatus } from './chunk-33K6EESX.js';
19
- export { assetsBetweenChains } from './chunk-MTMPHY3Y.js';
20
- export { bridges } from './chunk-KNV72XRZ.js';
21
- export { venues } from './chunk-C2EDPY6J.js';
22
- export { assetsFromSource } from './chunk-RMP3HM5N.js';
23
- export { assets, balances, chains } from './chunk-BRMONS6A.js';
24
- 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-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkEQLA2SEZ_js = require('./chunk-EQLA2SEZ.js');
4
+ var chunkL2Q5RP6O_js = require('./chunk-L2Q5RP6O.js');
5
+ require('./chunk-VQ5SIQWU.js');
6
+ var chunk4XWIXR2P_js = require('./chunk-4XWIXR2P.js');
7
+ var chunkSWYON2RG_js = require('./chunk-SWYON2RG.js');
8
+ var chunkX2YPYBVN_js = require('./chunk-X2YPYBVN.js');
9
+ require('./chunk-CG5CQQBW.js');
10
+ var chunkPKPZTO4H_js = require('./chunk-PKPZTO4H.js');
11
+ var chunkGFRPLEJR_js = require('./chunk-GFRPLEJR.js');
12
+ require('./chunk-RT5TZAMU.js');
13
+ var chunkRE2QZJWE_js = require('./chunk-RE2QZJWE.js');
14
+ var chunkFVSSCQ6C_js = require('./chunk-FVSSCQ6C.js');
15
+ var chunkX2E2TKVR_js = require('./chunk-X2E2TKVR.js');
16
+ var chunkZ4ZKOUGH_js = require('./chunk-Z4ZKOUGH.js');
17
+ var chunk5KVRQLI5_js = require('./chunk-5KVRQLI5.js');
18
+ var chunkKYFTM3PI_js = require('./chunk-KYFTM3PI.js');
19
+ var chunkYYNIFO2A_js = require('./chunk-YYNIFO2A.js');
20
+ var chunk2WHYWV4Y_js = require('./chunk-2WHYWV4Y.js');
21
+ var chunkLRIPQQ4M_js = require('./chunk-LRIPQQ4M.js');
22
+ var chunk5ZJBR5AQ_js = require('./chunk-5ZJBR5AQ.js');
23
+ var chunkZG23Z3WY_js = require('./chunk-ZG23Z3WY.js');
24
+ var chunk6BTWKTNM_js = require('./chunk-6BTWKTNM.js');
25
+ var chunk6GJEXV5J_js = require('./chunk-6GJEXV5J.js');
26
+ require('./chunk-ASPVKNJ7.js');
27
+
28
+
29
+
30
+ Object.defineProperty(exports, "Api", {
31
+ enumerable: true,
32
+ get: function () { return chunkEQLA2SEZ_js.Api; }
33
+ });
34
+ Object.defineProperty(exports, "AutopilotAction", {
35
+ enumerable: true,
36
+ get: function () { return chunkEQLA2SEZ_js.AutopilotAction; }
37
+ });
38
+ Object.defineProperty(exports, "AxelarTransferState", {
39
+ enumerable: true,
40
+ get: function () { return chunkEQLA2SEZ_js.AxelarTransferState; }
41
+ });
42
+ Object.defineProperty(exports, "AxelarTransferType", {
43
+ enumerable: true,
44
+ get: function () { return chunkEQLA2SEZ_js.AxelarTransferType; }
45
+ });
46
+ Object.defineProperty(exports, "BridgeType", {
47
+ enumerable: true,
48
+ get: function () { return chunkEQLA2SEZ_js.BridgeType; }
49
+ });
50
+ Object.defineProperty(exports, "CCTPTransferState", {
51
+ enumerable: true,
52
+ get: function () { return chunkEQLA2SEZ_js.CCTPTransferState; }
53
+ });
54
+ Object.defineProperty(exports, "ChainType", {
55
+ enumerable: true,
56
+ get: function () { return chunkEQLA2SEZ_js.ChainType; }
57
+ });
58
+ Object.defineProperty(exports, "ContentType", {
59
+ enumerable: true,
60
+ get: function () { return chunkEQLA2SEZ_js.ContentType; }
61
+ });
62
+ Object.defineProperty(exports, "ContractCallWithTokenErrorType", {
63
+ enumerable: true,
64
+ get: function () { return chunkEQLA2SEZ_js.ContractCallWithTokenErrorType; }
65
+ });
66
+ Object.defineProperty(exports, "FeeType", {
67
+ enumerable: true,
68
+ get: function () { return chunkEQLA2SEZ_js.FeeType; }
69
+ });
70
+ Object.defineProperty(exports, "GoFastTransferState", {
71
+ enumerable: true,
72
+ get: function () { return chunkEQLA2SEZ_js.GoFastTransferState; }
73
+ });
74
+ Object.defineProperty(exports, "HttpClient", {
75
+ enumerable: true,
76
+ get: function () { return chunkEQLA2SEZ_js.HttpClient; }
77
+ });
78
+ Object.defineProperty(exports, "HyperlaneTransferState", {
79
+ enumerable: true,
80
+ get: function () { return chunkEQLA2SEZ_js.HyperlaneTransferState; }
81
+ });
82
+ Object.defineProperty(exports, "LayerZeroTransferState", {
83
+ enumerable: true,
84
+ get: function () { return chunkEQLA2SEZ_js.LayerZeroTransferState; }
85
+ });
86
+ Object.defineProperty(exports, "OPInitTransferState", {
87
+ enumerable: true,
88
+ get: function () { return chunkEQLA2SEZ_js.OPInitTransferState; }
89
+ });
90
+ Object.defineProperty(exports, "PacketErrorType", {
91
+ enumerable: true,
92
+ get: function () { return chunkEQLA2SEZ_js.PacketErrorType; }
93
+ });
94
+ Object.defineProperty(exports, "Reason", {
95
+ enumerable: true,
96
+ get: function () { return chunkEQLA2SEZ_js.Reason; }
97
+ });
98
+ Object.defineProperty(exports, "RoutePriceWarningType", {
99
+ enumerable: true,
100
+ get: function () { return chunkEQLA2SEZ_js.RoutePriceWarningType; }
101
+ });
102
+ Object.defineProperty(exports, "SendTokenErrorType", {
103
+ enumerable: true,
104
+ get: function () { return chunkEQLA2SEZ_js.SendTokenErrorType; }
105
+ });
106
+ Object.defineProperty(exports, "StargateTransferState", {
107
+ enumerable: true,
108
+ get: function () { return chunkEQLA2SEZ_js.StargateTransferState; }
109
+ });
110
+ Object.defineProperty(exports, "StatusErrorType", {
111
+ enumerable: true,
112
+ get: function () { return chunkEQLA2SEZ_js.StatusErrorType; }
113
+ });
114
+ Object.defineProperty(exports, "TransactionState", {
115
+ enumerable: true,
116
+ get: function () { return chunkEQLA2SEZ_js.TransactionState; }
117
+ });
118
+ Object.defineProperty(exports, "TransferState", {
119
+ enumerable: true,
120
+ get: function () { return chunkEQLA2SEZ_js.TransferState; }
121
+ });
122
+ Object.defineProperty(exports, "executeRoute", {
123
+ enumerable: true,
124
+ get: function () { return chunkEQLA2SEZ_js.executeRoute; }
125
+ });
126
+ Object.defineProperty(exports, "getRecommendedGasPrice", {
127
+ enumerable: true,
128
+ get: function () { return chunkL2Q5RP6O_js.getRecommendedGasPrice; }
129
+ });
130
+ Object.defineProperty(exports, "getFeeInfoForChain", {
131
+ enumerable: true,
132
+ get: function () { return chunk4XWIXR2P_js.getFeeInfoForChain; }
133
+ });
134
+ Object.defineProperty(exports, "GAS_STATION_CHAIN_IDS", {
135
+ enumerable: true,
136
+ get: function () { return chunkSWYON2RG_js.GAS_STATION_CHAIN_IDS; }
137
+ });
138
+ Object.defineProperty(exports, "getSigningStargateClient", {
139
+ enumerable: true,
140
+ get: function () { return chunkX2YPYBVN_js.getSigningStargateClient; }
141
+ });
142
+ Object.defineProperty(exports, "setApiOptions", {
143
+ enumerable: true,
144
+ get: function () { return chunkPKPZTO4H_js.setApiOptions; }
145
+ });
146
+ Object.defineProperty(exports, "setClientOptions", {
147
+ enumerable: true,
148
+ get: function () { return chunkGFRPLEJR_js.setClientOptions; }
149
+ });
150
+ Object.defineProperty(exports, "ibcOriginAssets", {
151
+ enumerable: true,
152
+ get: function () { return chunkRE2QZJWE_js.ibcOriginAssets; }
153
+ });
154
+ Object.defineProperty(exports, "messages", {
155
+ enumerable: true,
156
+ get: function () { return chunkFVSSCQ6C_js.messages; }
157
+ });
158
+ Object.defineProperty(exports, "messagesDirect", {
159
+ enumerable: true,
160
+ get: function () { return chunkX2E2TKVR_js.messagesDirect; }
161
+ });
162
+ Object.defineProperty(exports, "recommendAssets", {
163
+ enumerable: true,
164
+ get: function () { return chunkZ4ZKOUGH_js.recommendAssets; }
165
+ });
166
+ Object.defineProperty(exports, "route", {
167
+ enumerable: true,
168
+ get: function () { return chunk5KVRQLI5_js.route; }
169
+ });
170
+ Object.defineProperty(exports, "submitTransaction", {
171
+ enumerable: true,
172
+ get: function () { return chunkKYFTM3PI_js.submitTransaction; }
173
+ });
174
+ Object.defineProperty(exports, "trackTransaction", {
175
+ enumerable: true,
176
+ get: function () { return chunkYYNIFO2A_js.trackTransaction; }
177
+ });
178
+ Object.defineProperty(exports, "transactionStatus", {
179
+ enumerable: true,
180
+ get: function () { return chunk2WHYWV4Y_js.transactionStatus; }
181
+ });
182
+ Object.defineProperty(exports, "assetsBetweenChains", {
183
+ enumerable: true,
184
+ get: function () { return chunkLRIPQQ4M_js.assetsBetweenChains; }
185
+ });
186
+ Object.defineProperty(exports, "bridges", {
187
+ enumerable: true,
188
+ get: function () { return chunk5ZJBR5AQ_js.bridges; }
189
+ });
190
+ Object.defineProperty(exports, "venues", {
191
+ enumerable: true,
192
+ get: function () { return chunkZG23Z3WY_js.venues; }
193
+ });
194
+ Object.defineProperty(exports, "assetsFromSource", {
195
+ enumerable: true,
196
+ get: function () { return chunk6BTWKTNM_js.assetsFromSource; }
197
+ });
198
+ Object.defineProperty(exports, "assets", {
199
+ enumerable: true,
200
+ get: function () { return chunk6GJEXV5J_js.assets; }
201
+ });
202
+ Object.defineProperty(exports, "balances", {
203
+ enumerable: true,
204
+ get: function () { return chunk6GJEXV5J_js.balances; }
205
+ });
206
+ Object.defineProperty(exports, "chains", {
207
+ enumerable: true,
208
+ get: function () { return chunk6GJEXV5J_js.chains; }
209
+ });
@@ -1,12 +1,21 @@
1
- export { executeRoute } from '../chunk-W2U2UOFA.js';
2
- import '../chunk-VQ5SIQWU.js';
3
- import '../chunk-SWYON2RG.js';
4
- import '../chunk-3N7XVGLX.js';
5
- import '../chunk-JTIHU43D.js';
6
- import '../chunk-3OZQ35X3.js';
7
- import '../chunk-DW4U6YI6.js';
8
- import '../chunk-RDRDFJQE.js';
9
- import '../chunk-MGVXJ2U4.js';
10
- import '../chunk-33K6EESX.js';
11
- import '../chunk-BRMONS6A.js';
12
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkEQLA2SEZ_js = require('../chunk-EQLA2SEZ.js');
4
+ require('../chunk-VQ5SIQWU.js');
5
+ require('../chunk-SWYON2RG.js');
6
+ require('../chunk-X2YPYBVN.js');
7
+ require('../chunk-CG5CQQBW.js');
8
+ require('../chunk-RT5TZAMU.js');
9
+ require('../chunk-FVSSCQ6C.js');
10
+ require('../chunk-KYFTM3PI.js');
11
+ require('../chunk-YYNIFO2A.js');
12
+ require('../chunk-2WHYWV4Y.js');
13
+ require('../chunk-6GJEXV5J.js');
14
+ require('../chunk-ASPVKNJ7.js');
15
+
16
+
17
+
18
+ Object.defineProperty(exports, "executeRoute", {
19
+ enumerable: true,
20
+ get: function () { return chunkEQLA2SEZ_js.executeRoute; }
21
+ });
@@ -1,5 +1,14 @@
1
- export { getFeeInfoForChain } from '../chunk-VMPFHQ7U.js';
2
- import '../chunk-SWYON2RG.js';
3
- import '../chunk-JTIHU43D.js';
4
- import '../chunk-BRMONS6A.js';
5
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunk4XWIXR2P_js = require('../chunk-4XWIXR2P.js');
4
+ require('../chunk-SWYON2RG.js');
5
+ require('../chunk-CG5CQQBW.js');
6
+ require('../chunk-6GJEXV5J.js');
7
+ require('../chunk-ASPVKNJ7.js');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "getFeeInfoForChain", {
12
+ enumerable: true,
13
+ get: function () { return chunk4XWIXR2P_js.getFeeInfoForChain; }
14
+ });
@@ -1,4 +1,4 @@
1
- import { GasPrice } from '@cosmjs/stargate';
1
+ import { GasPrice } from '@cosmjs/stargate/build/fee';
2
2
  import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
3
 
4
4
  type getRecommendedGasPriceProps = {
@@ -1,7 +1,16 @@
1
- export { getRecommendedGasPrice } from '../chunk-BRJDNGYH.js';
2
- import '../chunk-VQ5SIQWU.js';
3
- import '../chunk-VMPFHQ7U.js';
4
- import '../chunk-SWYON2RG.js';
5
- import '../chunk-JTIHU43D.js';
6
- import '../chunk-BRMONS6A.js';
7
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkL2Q5RP6O_js = require('../chunk-L2Q5RP6O.js');
4
+ require('../chunk-VQ5SIQWU.js');
5
+ require('../chunk-4XWIXR2P.js');
6
+ require('../chunk-SWYON2RG.js');
7
+ require('../chunk-CG5CQQBW.js');
8
+ require('../chunk-6GJEXV5J.js');
9
+ require('../chunk-ASPVKNJ7.js');
10
+
11
+
12
+
13
+ Object.defineProperty(exports, "getRecommendedGasPrice", {
14
+ enumerable: true,
15
+ get: function () { return chunkL2Q5RP6O_js.getRecommendedGasPrice; }
16
+ });
@@ -1,5 +1,5 @@
1
1
  import { OfflineSigner } from '@cosmjs/proto-signing/build/signer';
2
- import { SigningStargateClient } from '@cosmjs/stargate';
2
+ import { SigningStargateClient } from '@cosmjs/stargate/build/signingstargateclient';
3
3
 
4
4
  type getSigningStargateClientProps = {
5
5
  chainId: string;
@@ -1,4 +1,13 @@
1
- export { getSigningStargateClient } from '../chunk-3N7XVGLX.js';
2
- import '../chunk-JTIHU43D.js';
3
- import '../chunk-BRMONS6A.js';
4
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkX2YPYBVN_js = require('../chunk-X2YPYBVN.js');
4
+ require('../chunk-CG5CQQBW.js');
5
+ require('../chunk-6GJEXV5J.js');
6
+ require('../chunk-ASPVKNJ7.js');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "getSigningStargateClient", {
11
+ enumerable: true,
12
+ get: function () { return chunkX2YPYBVN_js.getSigningStargateClient; }
13
+ });
@@ -1,2 +1,11 @@
1
- export { setApiOptions } from '../chunk-TW77BXMT.js';
2
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkPKPZTO4H_js = require('../chunk-PKPZTO4H.js');
4
+ require('../chunk-ASPVKNJ7.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "setApiOptions", {
9
+ enumerable: true,
10
+ get: function () { return chunkPKPZTO4H_js.setApiOptions; }
11
+ });
@@ -1,4 +1,13 @@
1
- export { setClientOptions } from '../chunk-SQGWZAUC.js';
2
- import '../chunk-3OZQ35X3.js';
3
- import '../chunk-BRMONS6A.js';
4
- import '../chunk-W6TBGBV3.js';
1
+ 'use strict';
2
+
3
+ var chunkGFRPLEJR_js = require('../chunk-GFRPLEJR.js');
4
+ require('../chunk-RT5TZAMU.js');
5
+ require('../chunk-6GJEXV5J.js');
6
+ require('../chunk-ASPVKNJ7.js');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "setClientOptions", {
11
+ enumerable: true,
12
+ get: function () { return chunkGFRPLEJR_js.setClientOptions; }
13
+ });
package/package.json CHANGED
@@ -1,19 +1,10 @@
1
1
  {
2
2
  "name": "@skip-go/client",
3
3
  "description": "JavaScript SDK for Skip Go API",
4
- "version": "1.0.1-alpha-0",
4
+ "version": "1.0.1",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
- "type": "module",
7
6
  "main": "dist/index.js",
8
- "module": "dist/index.js",
9
7
  "types": "dist/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "import": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- },
15
- "./package.json": "./package.json"
16
- },
17
8
  "files": [
18
9
  "dist/*",
19
10
  "*.js",
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkED2OY55G_cjs = require('../chunk-ED2OY55G.cjs');
4
- require('../chunk-HAR3IXDE.cjs');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "assets", {
9
- enumerable: true,
10
- get: function () { return chunkED2OY55G_cjs.assets; }
11
- });
12
- Object.defineProperty(exports, "transformAssetsMap", {
13
- enumerable: true,
14
- get: function () { return chunkED2OY55G_cjs.transformAssetsMap; }
15
- });
@@ -1,19 +0,0 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
2
- import { c as Asset } from '../swaggerTypes-O9-gvCT1.cjs';
3
-
4
- declare const assets: (options?: ({
5
- chainIds?: string[] | undefined;
6
- nativeOnly?: boolean | undefined;
7
- includeNoMetadataAssets?: boolean | undefined;
8
- includeCw20Assets?: boolean | undefined;
9
- includeEvmAssets?: boolean | undefined;
10
- includeSvmAssets?: boolean | undefined;
11
- onlyTestnets?: boolean | undefined;
12
- } & SkipApiOptions & {
13
- abortDuplicateRequests?: boolean | undefined;
14
- }) | undefined) => Promise<Record<string, Asset[]> | undefined>;
15
- declare const transformAssetsMap: (input?: Record<string, {
16
- assets?: Asset[];
17
- }>) => Record<string, Asset[]>;
18
-
19
- export { assets, transformAssetsMap };
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkURLFWBSC_cjs = require('../chunk-URLFWBSC.cjs');
4
- require('../chunk-HAR3IXDE.cjs');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "assetsBetweenChains", {
9
- enumerable: true,
10
- get: function () { return chunkURLFWBSC_cjs.assetsBetweenChains; }
11
- });