@skip-go/client 1.5.4 → 1.5.6

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 (36) hide show
  1. package/dist/cjs/{chunk-EGFH6FEG.cjs → chunk-7L4FYNDR.cjs} +2 -2
  2. package/dist/cjs/{chunk-ZHV4J6EM.cjs → chunk-A3UNNRKD.cjs} +1 -0
  3. package/dist/cjs/{chunk-WRTBZRHG.cjs → chunk-AVWWCQ5P.cjs} +2 -6
  4. package/dist/cjs/{chunk-5JS6DMVZ.cjs → chunk-BB5QJRM4.cjs} +8 -8
  5. package/dist/cjs/{chunk-67WZP4PA.cjs → chunk-JBGCVGJP.cjs} +40 -23
  6. package/dist/cjs/{chunk-5KWNKICM.cjs → chunk-NWHKDAJY.cjs} +6 -2
  7. package/dist/cjs/{chunk-7HDLYDAS.cjs → chunk-PHFHOXMV.cjs} +6 -6
  8. package/dist/cjs/index.cjs +42 -47
  9. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +4 -5
  10. package/dist/cjs/public-functions/executeRoute.cjs +4 -5
  11. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +2 -3
  12. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +3 -4
  13. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +9 -10
  14. package/dist/cjs/public-functions/setClientOptions.cjs +3 -2
  15. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +5 -5
  16. package/dist/esm/{chunk-WRPS6WK2.js → chunk-3DIX6KRJ.js} +1 -0
  17. package/dist/esm/{chunk-7OHBD7I6.js → chunk-6ERJCOUK.js} +2 -2
  18. package/dist/esm/{chunk-G63PICMU.js → chunk-ACRGYWFW.js} +1 -1
  19. package/dist/esm/{chunk-22LYQHMA.js → chunk-DRWCXWGY.js} +2 -2
  20. package/dist/esm/{chunk-BJKCMEMJ.js → chunk-ERN6U7FJ.js} +5 -1
  21. package/dist/esm/{chunk-TON3V7SK.js → chunk-GZJLX2CP.js} +3 -7
  22. package/dist/esm/{chunk-LAGER3PR.js → chunk-PBGKHTV4.js} +29 -12
  23. package/dist/esm/index.d.ts +1 -3
  24. package/dist/esm/index.js +8 -9
  25. package/dist/esm/public-functions/executeMultipleRoutes.js +3 -4
  26. package/dist/esm/public-functions/executeRoute.js +3 -4
  27. package/dist/esm/public-functions/getFeeInfoForChain.js +1 -2
  28. package/dist/esm/public-functions/getRecommendedGasPrice.js +2 -3
  29. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +8 -9
  30. package/dist/esm/public-functions/setClientOptions.js +2 -1
  31. package/dist/esm/public-functions/subscribeToRouteStatus.js +1 -1
  32. package/package.json +1 -1
  33. package/dist/cjs/chunk-KZOSEIWH.cjs +0 -10
  34. package/dist/esm/chunk-SWYON2RG.js +0 -7
  35. /package/dist/cjs/{chunk-VEEDEDME.cjs → chunk-4KPBBDLF.cjs} +0 -0
  36. /package/dist/esm/{chunk-763YPOJQ.js → chunk-32JIBODG.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk6W2OIU3O_cjs = require('./chunk-6W2OIU3O.cjs');
4
- var chunk5KWNKICM_cjs = require('./chunk-5KWNKICM.cjs');
4
+ var chunkNWHKDAJY_cjs = require('./chunk-NWHKDAJY.cjs');
5
5
  var math = require('@cosmjs/math');
6
6
  var stargate = require('@cosmjs/stargate');
7
7
 
8
8
  var getRecommendedGasPrice = async (props) => {
9
- const feeInfo = await chunk5KWNKICM_cjs.getFeeInfoForChain(props);
9
+ const feeInfo = await chunkNWHKDAJY_cjs.getFeeInfoForChain(props);
10
10
  if (!feeInfo || !feeInfo.gasPrice) {
11
11
  return void 0;
12
12
  }
@@ -196,6 +196,7 @@ function getSimpleStatus(state) {
196
196
  case "GO_FAST_TRANSFER_SENT":
197
197
  case "STARGATE_TRANSFER_SENT":
198
198
  case "LAYER_ZERO_TRANSFER_SENT":
199
+ case "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE":
199
200
  return "pending";
200
201
  case "TRANSFER_SUCCESS":
201
202
  case "AXELAR_TRANSFER_SUCCESS":
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var chunkCK6CQWQU_cjs = require('./chunk-CK6CQWQU.cjs');
3
4
  var chunkNM4PISTQ_cjs = require('./chunk-NM4PISTQ.cjs');
4
5
  var chunkMUJBB64F_cjs = require('./chunk-MUJBB64F.cjs');
5
6
  var chunkATW6UNT5_cjs = require('./chunk-ATW6UNT5.cjs');
@@ -2235,11 +2236,6 @@ var opinitAminoConverters = {
2235
2236
  ...AminoConverter7
2236
2237
  };
2237
2238
  var setClientOptions = (options = {}) => {
2238
- chunk2QPPD3BB_cjs.ApiState.client = chunk2QPPD3BB_cjs.createRequestClient({
2239
- apiUrl: options.apiUrl || "https://api.skip.build",
2240
- apiKey: options.apiKey,
2241
- apiHeaders: options.apiHeaders
2242
- });
2243
2239
  chunkATW6UNT5_cjs.ClientState.endpointOptions = options.endpointOptions ?? {};
2244
2240
  chunkATW6UNT5_cjs.ClientState.aminoTypes = new stargate.AminoTypes({
2245
2241
  ...stargate.createDefaultAminoConverters(),
@@ -2262,7 +2258,7 @@ var setClientOptions = (options = {}) => {
2262
2258
  if (!options.allowOptionsUpdateAfterApiCall && chunk2QPPD3BB_cjs.ApiState.apiCalled && !chunk2QPPD3BB_cjs.ApiState.initialized) {
2263
2259
  throw new Error("setClientOptions must be called before an api request is made");
2264
2260
  }
2265
- chunk2QPPD3BB_cjs.ApiState.initialized = true;
2261
+ chunkCK6CQWQU_cjs.setApiOptions(options);
2266
2262
  };
2267
2263
 
2268
2264
  exports.setClientOptions = setClientOptions;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk67WZP4PA_cjs = require('./chunk-67WZP4PA.cjs');
4
- var chunkZHV4J6EM_cjs = require('./chunk-ZHV4J6EM.cjs');
3
+ var chunkJBGCVGJP_cjs = require('./chunk-JBGCVGJP.cjs');
4
+ var chunkA3UNNRKD_cjs = require('./chunk-A3UNNRKD.cjs');
5
5
  var chunkNCFH5MGF_cjs = require('./chunk-NCFH5MGF.cjs');
6
6
  var chunkAUTOIM57_cjs = require('./chunk-AUTOIM57.cjs');
7
7
  var chunk2QPPD3BB_cjs = require('./chunk-2QPPD3BB.cjs');
@@ -24,7 +24,7 @@ var executeMultipleRoutes = async (options) => {
24
24
  `executeMultipleRoutes error: no user addresses found for route: ${routeKey}`
25
25
  );
26
26
  }
27
- const routeAddressList = await chunk67WZP4PA_cjs.createValidAddressList({
27
+ const routeAddressList = await chunkJBGCVGJP_cjs.createValidAddressList({
28
28
  userAddresses: _userAddresses,
29
29
  route: routeValue
30
30
  });
@@ -119,7 +119,7 @@ var executeMultipleRoutes = async (options) => {
119
119
  const executeTransactionList = {};
120
120
  const mergedMainAndSecondaryRoutes = Object.entries(msgsRecord).length !== Object.entries(route).length;
121
121
  for (const [routeKey, msgsResponse] of Object.entries(msgsRecord)) {
122
- const { id: routeId } = chunkZHV4J6EM_cjs.updateRouteDetails({
122
+ const { id: routeId } = chunkA3UNNRKD_cjs.updateRouteDetails({
123
123
  status: "unconfirmed",
124
124
  options: {
125
125
  route: route[routeKey],
@@ -132,7 +132,7 @@ var executeMultipleRoutes = async (options) => {
132
132
  if (routeKey === "mainRoute") {
133
133
  mainRouteId = routeId;
134
134
  }
135
- const { transactionDetails, executeTransaction: _executeTransaction } = await chunk67WZP4PA_cjs.executeTransactions({
135
+ const { transactionDetails, executeTransaction: _executeTransaction } = await chunkJBGCVGJP_cjs.executeTransactions({
136
136
  ...restOptions,
137
137
  routeId,
138
138
  txs: msgsResponse?.txs,
@@ -144,7 +144,7 @@ var executeMultipleRoutes = async (options) => {
144
144
  const txResult = await _executeTransaction(index2);
145
145
  if (routeKey !== "mainRoute" || mergedMainAndSecondaryRoutes) {
146
146
  const relatedRoutes = Object.entries(route).filter(([key]) => key !== "mainRoute").map(([key, route2]) => ({ route: route2, routeKey: key, status: "pending" }));
147
- chunkZHV4J6EM_cjs.updateRouteDetails({
147
+ chunkA3UNNRKD_cjs.updateRouteDetails({
148
148
  options: {
149
149
  route: route[routeKey],
150
150
  ...restOptions
@@ -182,7 +182,7 @@ var executeMultipleRoutes = async (options) => {
182
182
  }
183
183
  await Promise.all(
184
184
  Object.entries(msgsRecord).map(([routeKey, msgsResponse], index2) => {
185
- return chunkZHV4J6EM_cjs.executeAndSubscribeToRouteStatus({
185
+ return chunkA3UNNRKD_cjs.executeAndSubscribeToRouteStatus({
186
186
  transactionDetails: transactionDetailsList[index2],
187
187
  executeTransaction: executeTransactionList[index2],
188
188
  routeId: msgsRecordIndexToRouteId[index2],
@@ -193,7 +193,7 @@ var executeMultipleRoutes = async (options) => {
193
193
  onRouteStatusUpdated: (routeStatus) => {
194
194
  const relatedRoutes = Object.entries(route).filter(([key]) => key !== "mainRoute").map(([key, route2]) => ({ route: route2, routeKey: key, status: routeStatus.status }));
195
195
  if (routeKey !== "mainRoute") {
196
- chunkZHV4J6EM_cjs.updateRouteDetails({
196
+ chunkA3UNNRKD_cjs.updateRouteDetails({
197
197
  options: {
198
198
  route: route[routeKey],
199
199
  ...restOptions
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkZHV4J6EM_cjs = require('./chunk-ZHV4J6EM.cjs');
3
+ var chunkA3UNNRKD_cjs = require('./chunk-A3UNNRKD.cjs');
4
4
  var chunk3RPOC3AX_cjs = require('./chunk-3RPOC3AX.cjs');
5
5
  var chunk4TBONPD6_cjs = require('./chunk-4TBONPD6.cjs');
6
6
  var chunkF3EB2AQG_cjs = require('./chunk-F3EB2AQG.cjs');
7
7
  var chunk6W2OIU3O_cjs = require('./chunk-6W2OIU3O.cjs');
8
- var chunkKZOSEIWH_cjs = require('./chunk-KZOSEIWH.cjs');
9
8
  var chunk7CFJPJJ2_cjs = require('./chunk-7CFJPJJ2.cjs');
10
9
  var chunkUMBMSRZZ_cjs = require('./chunk-UMBMSRZZ.cjs');
11
10
  var chunkJRXPJ45U_cjs = require('./chunk-JRXPJ45U.cjs');
@@ -328,7 +327,7 @@ var signCosmosTransaction = async ({
328
327
  txIndex: index,
329
328
  signerAddress: currentUserAddress
330
329
  });
331
- chunkZHV4J6EM_cjs.updateRouteDetails({
330
+ chunkA3UNNRKD_cjs.updateRouteDetails({
332
331
  status: "signing",
333
332
  routeId,
334
333
  options
@@ -344,7 +343,7 @@ var signCosmosTransaction = async ({
344
343
  options?.onTransactionSigned?.({
345
344
  chainId
346
345
  });
347
- chunkZHV4J6EM_cjs.updateRouteDetails({
346
+ chunkA3UNNRKD_cjs.updateRouteDetails({
348
347
  status: "pending",
349
348
  routeId,
350
349
  options
@@ -630,7 +629,7 @@ var executeEvmTransaction = async (message, options, index, routeId) => {
630
629
  status: "pending",
631
630
  allowance: requiredApproval
632
631
  });
633
- chunkZHV4J6EM_cjs.updateRouteDetails({
632
+ chunkA3UNNRKD_cjs.updateRouteDetails({
634
633
  status: "allowance",
635
634
  routeId,
636
635
  options
@@ -664,7 +663,7 @@ var executeEvmTransaction = async (message, options, index, routeId) => {
664
663
  signerAddress: evmSigner.account.address,
665
664
  txIndex: index
666
665
  });
667
- chunkZHV4J6EM_cjs.updateRouteDetails({
666
+ chunkA3UNNRKD_cjs.updateRouteDetails({
668
667
  status: "signing",
669
668
  routeId,
670
669
  options
@@ -676,7 +675,7 @@ var executeEvmTransaction = async (message, options, index, routeId) => {
676
675
  chain: evmSigner.chain,
677
676
  value: evmTx.value === "" ? void 0 : BigInt(evmTx.value)
678
677
  });
679
- chunkZHV4J6EM_cjs.updateRouteDetails({
678
+ chunkA3UNNRKD_cjs.updateRouteDetails({
680
679
  status: "pending",
681
680
  routeId,
682
681
  options
@@ -732,14 +731,14 @@ var signSvmTransaction = async ({
732
731
  signerAddress: signer.publicKey?.toBase58(),
733
732
  txIndex: index
734
733
  });
735
- chunkZHV4J6EM_cjs.updateRouteDetails({
734
+ chunkA3UNNRKD_cjs.updateRouteDetails({
736
735
  status: "signing",
737
736
  routeId,
738
737
  options
739
738
  });
740
739
  const signedTx = await signer.signTransaction(transaction);
741
740
  options?.onTransactionSigned?.({ chainId: svmTx.chainId });
742
- chunkZHV4J6EM_cjs.updateRouteDetails({
741
+ chunkA3UNNRKD_cjs.updateRouteDetails({
743
742
  status: "pending",
744
743
  routeId,
745
744
  options
@@ -810,7 +809,8 @@ var validateEvmTokenApproval = async ({
810
809
  chain,
811
810
  gasBalance,
812
811
  tx,
813
- useUnlimitedApproval
812
+ routeId,
813
+ options
814
814
  }) => {
815
815
  if (!signer.account?.address) {
816
816
  throw new Error("validateEvmGasBalance: Signer address not found");
@@ -864,6 +864,16 @@ var validateEvmTokenApproval = async ({
864
864
  fee: null
865
865
  };
866
866
  }
867
+ const { onApproveAllowance, useUnlimitedApproval } = options;
868
+ onApproveAllowance?.({
869
+ status: "pending",
870
+ allowance: requiredApproval
871
+ });
872
+ chunkA3UNNRKD_cjs.updateRouteDetails({
873
+ status: "allowance",
874
+ routeId,
875
+ options
876
+ });
867
877
  const txHash = await extendedSigner.writeContract({
868
878
  account: signer.account,
869
879
  address: requiredApproval.tokenContract,
@@ -883,6 +893,14 @@ var validateEvmTokenApproval = async ({
883
893
  `executeEVMTransaction error: evm tx reverted for hash ${receipt.transactionHash}`
884
894
  );
885
895
  }
896
+ onApproveAllowance?.({
897
+ status: "completed"
898
+ });
899
+ chunkA3UNNRKD_cjs.updateRouteDetails({
900
+ status: "signing",
901
+ routeId,
902
+ options
903
+ });
886
904
  }
887
905
  };
888
906
 
@@ -891,8 +909,8 @@ var validateEvmGasBalance = async ({
891
909
  signer,
892
910
  tx,
893
911
  getFallbackGasAmount,
894
- useUnlimitedApproval,
895
- bypassApprovalCheck
912
+ options,
913
+ routeId
896
914
  }) => {
897
915
  const chainId = tx?.chainId ?? "";
898
916
  const skipAssets = (await chunkATW6UNT5_cjs.ClientState.getSkipAssets({ chainId }))?.[chainId];
@@ -917,6 +935,7 @@ var validateEvmGasBalance = async ({
917
935
  )?.[1];
918
936
  const gasBalance = nativeGasBalance || zeroAddressGasBalance;
919
937
  const { requiredErc20Approvals } = tx;
938
+ const { bypassApprovalCheck } = options;
920
939
  if (!bypassApprovalCheck && requiredErc20Approvals) {
921
940
  try {
922
941
  await validateEvmTokenApproval({
@@ -925,7 +944,8 @@ var validateEvmGasBalance = async ({
925
944
  chain,
926
945
  gasBalance,
927
946
  tx,
928
- useUnlimitedApproval
947
+ routeId,
948
+ options
929
949
  });
930
950
  } catch (error) {
931
951
  const err = error;
@@ -1068,7 +1088,7 @@ var validateGasBalances = async ({
1068
1088
  onValidateGasBalance?.({
1069
1089
  status: "pending"
1070
1090
  });
1071
- chunkZHV4J6EM_cjs.updateRouteDetails({
1091
+ chunkA3UNNRKD_cjs.updateRouteDetails({
1072
1092
  status: "validating",
1073
1093
  routeId,
1074
1094
  options
@@ -1102,7 +1122,7 @@ var validateGasBalances = async ({
1102
1122
  onValidateGasBalance?.({
1103
1123
  status: "pending"
1104
1124
  });
1105
- chunkZHV4J6EM_cjs.updateRouteDetails({
1125
+ chunkA3UNNRKD_cjs.updateRouteDetails({
1106
1126
  status: "validating",
1107
1127
  routeId,
1108
1128
  options
@@ -1118,8 +1138,8 @@ var validateGasBalances = async ({
1118
1138
  tx: tx.evmTx,
1119
1139
  signer,
1120
1140
  getFallbackGasAmount,
1121
- useUnlimitedApproval: options?.useUnlimitedApproval,
1122
- bypassApprovalCheck: options?.bypassApprovalCheck
1141
+ routeId,
1142
+ options
1123
1143
  });
1124
1144
  return res;
1125
1145
  } catch (e) {
@@ -1135,7 +1155,7 @@ var validateGasBalances = async ({
1135
1155
  onValidateGasBalance?.({
1136
1156
  status: "pending"
1137
1157
  });
1138
- chunkZHV4J6EM_cjs.updateRouteDetails({
1158
+ chunkA3UNNRKD_cjs.updateRouteDetails({
1139
1159
  status: "validating",
1140
1160
  routeId,
1141
1161
  options
@@ -1231,16 +1251,13 @@ var executeTransactions = async (options) => {
1231
1251
  throw new Error("executeRoute error: invalid message type");
1232
1252
  }
1233
1253
  });
1234
- chunkZHV4J6EM_cjs.updateRouteDetails({
1254
+ chunkA3UNNRKD_cjs.updateRouteDetails({
1235
1255
  transactionDetails,
1236
1256
  routeId,
1237
1257
  options
1238
1258
  });
1239
- const isGasStationSourceEVM = chainIds.find((item, i, array) => {
1240
- return chunkKZOSEIWH_cjs.GAS_STATION_CHAIN_IDS.includes(item?.chainId ?? "") && array[i - 1]?.chainType === "evm" /* Evm */;
1241
- });
1242
1259
  chunkATW6UNT5_cjs.ClientState.validateGasResults = void 0;
1243
- const validateChainIds = !batchSimulate ? chainIds.map((x) => x?.chainId ?? "") : isGasStationSourceEVM ? chunkKZOSEIWH_cjs.GAS_STATION_CHAIN_IDS : [];
1260
+ const validateChainIds = !batchSimulate ? chainIds.map((x) => x?.chainId ?? "") : [];
1244
1261
  await validateGasBalances({
1245
1262
  txs,
1246
1263
  getFallbackGasAmount,
@@ -1,12 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkKZOSEIWH_cjs = require('./chunk-KZOSEIWH.cjs');
4
3
  var chunkUMBMSRZZ_cjs = require('./chunk-UMBMSRZZ.cjs');
5
4
  var chunkATW6UNT5_cjs = require('./chunk-ATW6UNT5.cjs');
6
5
 
6
+ // src/constants/constants.ts
7
+ var DEFAULT_GAS_DENOM_OVERRIDES = {
8
+ "noble-1": "uusdc"
9
+ };
10
+
7
11
  // src/private-functions/getDefaultGasTokenForChain.ts
8
12
  var getDefaultGasTokenForChain = async (chainId) => {
9
- const gasDenom = chunkKZOSEIWH_cjs.DEFAULT_GAS_DENOM_OVERRIDES[chainId];
13
+ const gasDenom = DEFAULT_GAS_DENOM_OVERRIDES[chainId];
10
14
  if (gasDenom) {
11
15
  return gasDenom;
12
16
  }
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunk67WZP4PA_cjs = require('./chunk-67WZP4PA.cjs');
4
- var chunkZHV4J6EM_cjs = require('./chunk-ZHV4J6EM.cjs');
3
+ var chunkJBGCVGJP_cjs = require('./chunk-JBGCVGJP.cjs');
4
+ var chunkA3UNNRKD_cjs = require('./chunk-A3UNNRKD.cjs');
5
5
  var chunkNCFH5MGF_cjs = require('./chunk-NCFH5MGF.cjs');
6
6
  var chunk2QPPD3BB_cjs = require('./chunk-2QPPD3BB.cjs');
7
7
 
8
8
  // src/public-functions/executeRoute.ts
9
9
  var executeRoute = async (options) => {
10
10
  const { route, userAddresses, appendCosmosMsgs, timeoutSeconds } = options;
11
- const { id: routeId } = chunkZHV4J6EM_cjs.updateRouteDetails({
11
+ const { id: routeId } = chunkA3UNNRKD_cjs.updateRouteDetails({
12
12
  status: "unconfirmed",
13
13
  options
14
14
  });
15
- const addressList = await chunk67WZP4PA_cjs.createValidAddressList({
15
+ const addressList = await chunkJBGCVGJP_cjs.createValidAddressList({
16
16
  userAddresses,
17
17
  route
18
18
  });
@@ -43,8 +43,8 @@ var executeRoute = async (options) => {
43
43
  }
44
44
  });
45
45
  }
46
- const { transactionDetails, executeTransaction } = await chunk67WZP4PA_cjs.executeTransactions({ ...options, routeId, txs: response?.txs });
47
- await chunkZHV4J6EM_cjs.executeAndSubscribeToRouteStatus({
46
+ const { transactionDetails, executeTransaction } = await chunkJBGCVGJP_cjs.executeTransactions({ ...options, routeId, txs: response?.txs });
47
+ await chunkA3UNNRKD_cjs.executeAndSubscribeToRouteStatus({
48
48
  transactionDetails,
49
49
  executeTransaction,
50
50
  routeId,
@@ -1,21 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkVEEDEDME_cjs = require('./chunk-VEEDEDME.cjs');
3
+ var chunk4KPBBDLF_cjs = require('./chunk-4KPBBDLF.cjs');
4
+ var chunkAVWWCQ5P_cjs = require('./chunk-AVWWCQ5P.cjs');
4
5
  var chunkCK6CQWQU_cjs = require('./chunk-CK6CQWQU.cjs');
5
- var chunkWRTBZRHG_cjs = require('./chunk-WRTBZRHG.cjs');
6
6
  var chunk4BWE7SOV_cjs = require('./chunk-4BWE7SOV.cjs');
7
- var chunk5JS6DMVZ_cjs = require('./chunk-5JS6DMVZ.cjs');
8
- var chunk7HDLYDAS_cjs = require('./chunk-7HDLYDAS.cjs');
9
- require('./chunk-67WZP4PA.cjs');
10
- var chunkZHV4J6EM_cjs = require('./chunk-ZHV4J6EM.cjs');
7
+ var chunkBB5QJRM4_cjs = require('./chunk-BB5QJRM4.cjs');
8
+ var chunkPHFHOXMV_cjs = require('./chunk-PHFHOXMV.cjs');
9
+ require('./chunk-JBGCVGJP.cjs');
10
+ var chunkA3UNNRKD_cjs = require('./chunk-A3UNNRKD.cjs');
11
11
  var chunk3RPOC3AX_cjs = require('./chunk-3RPOC3AX.cjs');
12
12
  var chunk4TBONPD6_cjs = require('./chunk-4TBONPD6.cjs');
13
13
  require('./chunk-NM4PISTQ.cjs');
14
14
  var chunkF3EB2AQG_cjs = require('./chunk-F3EB2AQG.cjs');
15
- var chunkEGFH6FEG_cjs = require('./chunk-EGFH6FEG.cjs');
15
+ var chunk7L4FYNDR_cjs = require('./chunk-7L4FYNDR.cjs');
16
16
  require('./chunk-6W2OIU3O.cjs');
17
- var chunk5KWNKICM_cjs = require('./chunk-5KWNKICM.cjs');
18
- var chunkKZOSEIWH_cjs = require('./chunk-KZOSEIWH.cjs');
17
+ var chunkNWHKDAJY_cjs = require('./chunk-NWHKDAJY.cjs');
19
18
  var chunk7CFJPJJ2_cjs = require('./chunk-7CFJPJJ2.cjs');
20
19
  require('./chunk-MUJBB64F.cjs');
21
20
  require('./chunk-UMBMSRZZ.cjs');
@@ -39,99 +38,99 @@ var chunkWOSAJSJB_cjs = require('./chunk-WOSAJSJB.cjs');
39
38
 
40
39
  Object.defineProperty(exports, "AutopilotActionJson", {
41
40
  enumerable: true,
42
- get: function () { return chunkVEEDEDME_cjs.AutopilotActionJson; }
41
+ get: function () { return chunk4KPBBDLF_cjs.AutopilotActionJson; }
43
42
  });
44
43
  Object.defineProperty(exports, "AxelarTransferStateJson", {
45
44
  enumerable: true,
46
- get: function () { return chunkVEEDEDME_cjs.AxelarTransferStateJson; }
45
+ get: function () { return chunk4KPBBDLF_cjs.AxelarTransferStateJson; }
47
46
  });
48
47
  Object.defineProperty(exports, "AxelarTransferTypeJson", {
49
48
  enumerable: true,
50
- get: function () { return chunkVEEDEDME_cjs.AxelarTransferTypeJson; }
49
+ get: function () { return chunk4KPBBDLF_cjs.AxelarTransferTypeJson; }
51
50
  });
52
51
  Object.defineProperty(exports, "BridgeTypeJson", {
53
52
  enumerable: true,
54
- get: function () { return chunkVEEDEDME_cjs.BridgeTypeJson; }
53
+ get: function () { return chunk4KPBBDLF_cjs.BridgeTypeJson; }
55
54
  });
56
55
  Object.defineProperty(exports, "CCTPTransferStateJson", {
57
56
  enumerable: true,
58
- get: function () { return chunkVEEDEDME_cjs.CCTPTransferStateJson; }
57
+ get: function () { return chunk4KPBBDLF_cjs.CCTPTransferStateJson; }
59
58
  });
60
59
  Object.defineProperty(exports, "ChainTypeJson", {
61
60
  enumerable: true,
62
- get: function () { return chunkVEEDEDME_cjs.ChainTypeJson; }
61
+ get: function () { return chunk4KPBBDLF_cjs.ChainTypeJson; }
63
62
  });
64
63
  Object.defineProperty(exports, "ContractCallWithTokenErrorTypeJson", {
65
64
  enumerable: true,
66
- get: function () { return chunkVEEDEDME_cjs.ContractCallWithTokenErrorTypeJson; }
65
+ get: function () { return chunk4KPBBDLF_cjs.ContractCallWithTokenErrorTypeJson; }
67
66
  });
68
67
  Object.defineProperty(exports, "FeeBehaviorJson", {
69
68
  enumerable: true,
70
- get: function () { return chunkVEEDEDME_cjs.FeeBehaviorJson; }
69
+ get: function () { return chunk4KPBBDLF_cjs.FeeBehaviorJson; }
71
70
  });
72
71
  Object.defineProperty(exports, "FeeTypeJson", {
73
72
  enumerable: true,
74
- get: function () { return chunkVEEDEDME_cjs.FeeTypeJson; }
73
+ get: function () { return chunk4KPBBDLF_cjs.FeeTypeJson; }
75
74
  });
76
75
  Object.defineProperty(exports, "GoFastTransferStateJson", {
77
76
  enumerable: true,
78
- get: function () { return chunkVEEDEDME_cjs.GoFastTransferStateJson; }
77
+ get: function () { return chunk4KPBBDLF_cjs.GoFastTransferStateJson; }
79
78
  });
80
79
  Object.defineProperty(exports, "HyperlaneTransferStateJson", {
81
80
  enumerable: true,
82
- get: function () { return chunkVEEDEDME_cjs.HyperlaneTransferStateJson; }
81
+ get: function () { return chunk4KPBBDLF_cjs.HyperlaneTransferStateJson; }
83
82
  });
84
83
  Object.defineProperty(exports, "LayerZeroTransferStateJson", {
85
84
  enumerable: true,
86
- get: function () { return chunkVEEDEDME_cjs.LayerZeroTransferStateJson; }
85
+ get: function () { return chunk4KPBBDLF_cjs.LayerZeroTransferStateJson; }
87
86
  });
88
87
  Object.defineProperty(exports, "OPInitTransferStateJson", {
89
88
  enumerable: true,
90
- get: function () { return chunkVEEDEDME_cjs.OPInitTransferStateJson; }
89
+ get: function () { return chunk4KPBBDLF_cjs.OPInitTransferStateJson; }
91
90
  });
92
91
  Object.defineProperty(exports, "PacketErrorTypeJson", {
93
92
  enumerable: true,
94
- get: function () { return chunkVEEDEDME_cjs.PacketErrorTypeJson; }
93
+ get: function () { return chunk4KPBBDLF_cjs.PacketErrorTypeJson; }
95
94
  });
96
95
  Object.defineProperty(exports, "ReasonJson", {
97
96
  enumerable: true,
98
- get: function () { return chunkVEEDEDME_cjs.ReasonJson; }
97
+ get: function () { return chunk4KPBBDLF_cjs.ReasonJson; }
99
98
  });
100
99
  Object.defineProperty(exports, "RoutePriceWarningTypeJson", {
101
100
  enumerable: true,
102
- get: function () { return chunkVEEDEDME_cjs.RoutePriceWarningTypeJson; }
101
+ get: function () { return chunk4KPBBDLF_cjs.RoutePriceWarningTypeJson; }
103
102
  });
104
103
  Object.defineProperty(exports, "SendTokenErrorTypeJson", {
105
104
  enumerable: true,
106
- get: function () { return chunkVEEDEDME_cjs.SendTokenErrorTypeJson; }
105
+ get: function () { return chunk4KPBBDLF_cjs.SendTokenErrorTypeJson; }
107
106
  });
108
107
  Object.defineProperty(exports, "StargateTransferStateJson", {
109
108
  enumerable: true,
110
- get: function () { return chunkVEEDEDME_cjs.StargateTransferStateJson; }
109
+ get: function () { return chunk4KPBBDLF_cjs.StargateTransferStateJson; }
111
110
  });
112
111
  Object.defineProperty(exports, "StatusErrorTypeJson", {
113
112
  enumerable: true,
114
- get: function () { return chunkVEEDEDME_cjs.StatusErrorTypeJson; }
113
+ get: function () { return chunk4KPBBDLF_cjs.StatusErrorTypeJson; }
115
114
  });
116
115
  Object.defineProperty(exports, "TransactionStateJson", {
117
116
  enumerable: true,
118
- get: function () { return chunkVEEDEDME_cjs.TransactionStateJson; }
117
+ get: function () { return chunk4KPBBDLF_cjs.TransactionStateJson; }
119
118
  });
120
119
  Object.defineProperty(exports, "TransferStateJson", {
121
120
  enumerable: true,
122
- get: function () { return chunkVEEDEDME_cjs.TransferStateJson; }
121
+ get: function () { return chunk4KPBBDLF_cjs.TransferStateJson; }
123
122
  });
124
123
  Object.defineProperty(exports, "getRouteWithGasOnReceive", {
125
124
  enumerable: true,
126
- get: function () { return chunkVEEDEDME_cjs.getRouteWithGasOnReceive; }
125
+ get: function () { return chunk4KPBBDLF_cjs.getRouteWithGasOnReceive; }
127
126
  });
128
- Object.defineProperty(exports, "setApiOptions", {
127
+ Object.defineProperty(exports, "setClientOptions", {
129
128
  enumerable: true,
130
- get: function () { return chunkCK6CQWQU_cjs.setApiOptions; }
129
+ get: function () { return chunkAVWWCQ5P_cjs.setClientOptions; }
131
130
  });
132
- Object.defineProperty(exports, "setClientOptions", {
131
+ Object.defineProperty(exports, "setApiOptions", {
133
132
  enumerable: true,
134
- get: function () { return chunkWRTBZRHG_cjs.setClientOptions; }
133
+ get: function () { return chunkCK6CQWQU_cjs.setApiOptions; }
135
134
  });
136
135
  Object.defineProperty(exports, "waitForTransaction", {
137
136
  enumerable: true,
@@ -143,27 +142,27 @@ Object.defineProperty(exports, "waitForTransactionWithCancel", {
143
142
  });
144
143
  Object.defineProperty(exports, "executeMultipleRoutes", {
145
144
  enumerable: true,
146
- get: function () { return chunk5JS6DMVZ_cjs.executeMultipleRoutes; }
145
+ get: function () { return chunkBB5QJRM4_cjs.executeMultipleRoutes; }
147
146
  });
148
147
  Object.defineProperty(exports, "executeRoute", {
149
148
  enumerable: true,
150
- get: function () { return chunk7HDLYDAS_cjs.executeRoute; }
149
+ get: function () { return chunkPHFHOXMV_cjs.executeRoute; }
151
150
  });
152
151
  Object.defineProperty(exports, "TransferType", {
153
152
  enumerable: true,
154
- get: function () { return chunkZHV4J6EM_cjs.TransferType; }
153
+ get: function () { return chunkA3UNNRKD_cjs.TransferType; }
155
154
  });
156
155
  Object.defineProperty(exports, "getSimpleOverallStatus", {
157
156
  enumerable: true,
158
- get: function () { return chunkZHV4J6EM_cjs.getSimpleOverallStatus; }
157
+ get: function () { return chunkA3UNNRKD_cjs.getSimpleOverallStatus; }
159
158
  });
160
159
  Object.defineProperty(exports, "getTransferEventsFromTxStatusResponse", {
161
160
  enumerable: true,
162
- get: function () { return chunkZHV4J6EM_cjs.getTransferEventsFromTxStatusResponse; }
161
+ get: function () { return chunkA3UNNRKD_cjs.getTransferEventsFromTxStatusResponse; }
163
162
  });
164
163
  Object.defineProperty(exports, "subscribeToRouteStatus", {
165
164
  enumerable: true,
166
- get: function () { return chunkZHV4J6EM_cjs.subscribeToRouteStatus; }
165
+ get: function () { return chunkA3UNNRKD_cjs.subscribeToRouteStatus; }
167
166
  });
168
167
  Object.defineProperty(exports, "validateCosmosGasBalance", {
169
168
  enumerable: true,
@@ -179,15 +178,11 @@ Object.defineProperty(exports, "getEVMGasAmountForMessage", {
179
178
  });
180
179
  Object.defineProperty(exports, "getRecommendedGasPrice", {
181
180
  enumerable: true,
182
- get: function () { return chunkEGFH6FEG_cjs.getRecommendedGasPrice; }
181
+ get: function () { return chunk7L4FYNDR_cjs.getRecommendedGasPrice; }
183
182
  });
184
183
  Object.defineProperty(exports, "getFeeInfoForChain", {
185
184
  enumerable: true,
186
- get: function () { return chunk5KWNKICM_cjs.getFeeInfoForChain; }
187
- });
188
- Object.defineProperty(exports, "GAS_STATION_CHAIN_IDS", {
189
- enumerable: true,
190
- get: function () { return chunkKZOSEIWH_cjs.GAS_STATION_CHAIN_IDS; }
185
+ get: function () { return chunkNWHKDAJY_cjs.getFeeInfoForChain; }
191
186
  });
192
187
  Object.defineProperty(exports, "getSigningStargateClient", {
193
188
  enumerable: true,
@@ -1,14 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunk5JS6DMVZ_cjs = require('../chunk-5JS6DMVZ.cjs');
4
- require('../chunk-67WZP4PA.cjs');
5
- require('../chunk-ZHV4J6EM.cjs');
3
+ var chunkBB5QJRM4_cjs = require('../chunk-BB5QJRM4.cjs');
4
+ require('../chunk-JBGCVGJP.cjs');
5
+ require('../chunk-A3UNNRKD.cjs');
6
6
  require('../chunk-3RPOC3AX.cjs');
7
7
  require('../chunk-4TBONPD6.cjs');
8
8
  require('../chunk-NM4PISTQ.cjs');
9
9
  require('../chunk-F3EB2AQG.cjs');
10
10
  require('../chunk-6W2OIU3O.cjs');
11
- require('../chunk-KZOSEIWH.cjs');
12
11
  require('../chunk-7CFJPJJ2.cjs');
13
12
  require('../chunk-MUJBB64F.cjs');
14
13
  require('../chunk-UMBMSRZZ.cjs');
@@ -25,5 +24,5 @@ require('../chunk-WOSAJSJB.cjs');
25
24
 
26
25
  Object.defineProperty(exports, "executeMultipleRoutes", {
27
26
  enumerable: true,
28
- get: function () { return chunk5JS6DMVZ_cjs.executeMultipleRoutes; }
27
+ get: function () { return chunkBB5QJRM4_cjs.executeMultipleRoutes; }
29
28
  });
@@ -1,14 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunk7HDLYDAS_cjs = require('../chunk-7HDLYDAS.cjs');
4
- require('../chunk-67WZP4PA.cjs');
5
- require('../chunk-ZHV4J6EM.cjs');
3
+ var chunkPHFHOXMV_cjs = require('../chunk-PHFHOXMV.cjs');
4
+ require('../chunk-JBGCVGJP.cjs');
5
+ require('../chunk-A3UNNRKD.cjs');
6
6
  require('../chunk-3RPOC3AX.cjs');
7
7
  require('../chunk-4TBONPD6.cjs');
8
8
  require('../chunk-NM4PISTQ.cjs');
9
9
  require('../chunk-F3EB2AQG.cjs');
10
10
  require('../chunk-6W2OIU3O.cjs');
11
- require('../chunk-KZOSEIWH.cjs');
12
11
  require('../chunk-7CFJPJJ2.cjs');
13
12
  require('../chunk-MUJBB64F.cjs');
14
13
  require('../chunk-UMBMSRZZ.cjs');
@@ -25,5 +24,5 @@ require('../chunk-WOSAJSJB.cjs');
25
24
 
26
25
  Object.defineProperty(exports, "executeRoute", {
27
26
  enumerable: true,
28
- get: function () { return chunk7HDLYDAS_cjs.executeRoute; }
27
+ get: function () { return chunkPHFHOXMV_cjs.executeRoute; }
29
28
  });
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk5KWNKICM_cjs = require('../chunk-5KWNKICM.cjs');
4
- require('../chunk-KZOSEIWH.cjs');
3
+ var chunkNWHKDAJY_cjs = require('../chunk-NWHKDAJY.cjs');
5
4
  require('../chunk-UMBMSRZZ.cjs');
6
5
  require('../chunk-ATW6UNT5.cjs');
7
6
  require('../chunk-2QPPD3BB.cjs');
@@ -11,5 +10,5 @@ require('../chunk-WOSAJSJB.cjs');
11
10
 
12
11
  Object.defineProperty(exports, "getFeeInfoForChain", {
13
12
  enumerable: true,
14
- get: function () { return chunk5KWNKICM_cjs.getFeeInfoForChain; }
13
+ get: function () { return chunkNWHKDAJY_cjs.getFeeInfoForChain; }
15
14
  });
@@ -1,9 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkEGFH6FEG_cjs = require('../chunk-EGFH6FEG.cjs');
3
+ var chunk7L4FYNDR_cjs = require('../chunk-7L4FYNDR.cjs');
4
4
  require('../chunk-6W2OIU3O.cjs');
5
- require('../chunk-5KWNKICM.cjs');
6
- require('../chunk-KZOSEIWH.cjs');
5
+ require('../chunk-NWHKDAJY.cjs');
7
6
  require('../chunk-UMBMSRZZ.cjs');
8
7
  require('../chunk-ATW6UNT5.cjs');
9
8
  require('../chunk-2QPPD3BB.cjs');
@@ -13,5 +12,5 @@ require('../chunk-WOSAJSJB.cjs');
13
12
 
14
13
  Object.defineProperty(exports, "getRecommendedGasPrice", {
15
14
  enumerable: true,
16
- get: function () { return chunkEGFH6FEG_cjs.getRecommendedGasPrice; }
15
+ get: function () { return chunk7L4FYNDR_cjs.getRecommendedGasPrice; }
17
16
  });
@@ -1,21 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkVEEDEDME_cjs = require('../chunk-VEEDEDME.cjs');
3
+ var chunk4KPBBDLF_cjs = require('../chunk-4KPBBDLF.cjs');
4
+ require('../chunk-AVWWCQ5P.cjs');
4
5
  require('../chunk-CK6CQWQU.cjs');
5
- require('../chunk-WRTBZRHG.cjs');
6
6
  require('../chunk-4BWE7SOV.cjs');
7
- require('../chunk-5JS6DMVZ.cjs');
8
- require('../chunk-7HDLYDAS.cjs');
9
- require('../chunk-67WZP4PA.cjs');
10
- require('../chunk-ZHV4J6EM.cjs');
7
+ require('../chunk-BB5QJRM4.cjs');
8
+ require('../chunk-PHFHOXMV.cjs');
9
+ require('../chunk-JBGCVGJP.cjs');
10
+ require('../chunk-A3UNNRKD.cjs');
11
11
  require('../chunk-3RPOC3AX.cjs');
12
12
  require('../chunk-4TBONPD6.cjs');
13
13
  require('../chunk-NM4PISTQ.cjs');
14
14
  require('../chunk-F3EB2AQG.cjs');
15
- require('../chunk-EGFH6FEG.cjs');
15
+ require('../chunk-7L4FYNDR.cjs');
16
16
  require('../chunk-6W2OIU3O.cjs');
17
- require('../chunk-5KWNKICM.cjs');
18
- require('../chunk-KZOSEIWH.cjs');
17
+ require('../chunk-NWHKDAJY.cjs');
19
18
  require('../chunk-7CFJPJJ2.cjs');
20
19
  require('../chunk-MUJBB64F.cjs');
21
20
  require('../chunk-UMBMSRZZ.cjs');
@@ -39,5 +38,5 @@ require('../chunk-WOSAJSJB.cjs');
39
38
 
40
39
  Object.defineProperty(exports, "getRouteWithGasOnReceive", {
41
40
  enumerable: true,
42
- get: function () { return chunkVEEDEDME_cjs.getRouteWithGasOnReceive; }
41
+ get: function () { return chunk4KPBBDLF_cjs.getRouteWithGasOnReceive; }
43
42
  });
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkWRTBZRHG_cjs = require('../chunk-WRTBZRHG.cjs');
3
+ var chunkAVWWCQ5P_cjs = require('../chunk-AVWWCQ5P.cjs');
4
+ require('../chunk-CK6CQWQU.cjs');
4
5
  require('../chunk-NM4PISTQ.cjs');
5
6
  require('../chunk-MUJBB64F.cjs');
6
7
  require('../chunk-ATW6UNT5.cjs');
@@ -11,5 +12,5 @@ require('../chunk-WOSAJSJB.cjs');
11
12
 
12
13
  Object.defineProperty(exports, "setClientOptions", {
13
14
  enumerable: true,
14
- get: function () { return chunkWRTBZRHG_cjs.setClientOptions; }
15
+ get: function () { return chunkAVWWCQ5P_cjs.setClientOptions; }
15
16
  });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkZHV4J6EM_cjs = require('../chunk-ZHV4J6EM.cjs');
3
+ var chunkA3UNNRKD_cjs = require('../chunk-A3UNNRKD.cjs');
4
4
  require('../chunk-AUTOIM57.cjs');
5
5
  require('../chunk-PDNKS5R2.cjs');
6
6
  require('../chunk-2QPPD3BB.cjs');
@@ -10,17 +10,17 @@ require('../chunk-WOSAJSJB.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "executeAndSubscribeToRouteStatus", {
12
12
  enumerable: true,
13
- get: function () { return chunkZHV4J6EM_cjs.executeAndSubscribeToRouteStatus; }
13
+ get: function () { return chunkA3UNNRKD_cjs.executeAndSubscribeToRouteStatus; }
14
14
  });
15
15
  Object.defineProperty(exports, "getTransactionStatus", {
16
16
  enumerable: true,
17
- get: function () { return chunkZHV4J6EM_cjs.getTransactionStatus; }
17
+ get: function () { return chunkA3UNNRKD_cjs.getTransactionStatus; }
18
18
  });
19
19
  Object.defineProperty(exports, "subscribeToRouteStatus", {
20
20
  enumerable: true,
21
- get: function () { return chunkZHV4J6EM_cjs.subscribeToRouteStatus; }
21
+ get: function () { return chunkA3UNNRKD_cjs.subscribeToRouteStatus; }
22
22
  });
23
23
  Object.defineProperty(exports, "updateRouteDetails", {
24
24
  enumerable: true,
25
- get: function () { return chunkZHV4J6EM_cjs.updateRouteDetails; }
25
+ get: function () { return chunkA3UNNRKD_cjs.updateRouteDetails; }
26
26
  });
@@ -194,6 +194,7 @@ function getSimpleStatus(state) {
194
194
  case "GO_FAST_TRANSFER_SENT":
195
195
  case "STARGATE_TRANSFER_SENT":
196
196
  case "LAYER_ZERO_TRANSFER_SENT":
197
+ case "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE":
197
198
  return "pending";
198
199
  case "TRANSFER_SUCCESS":
199
200
  case "AXELAR_TRANSFER_SUCCESS":
@@ -1,5 +1,5 @@
1
- import { createValidAddressList, executeTransactions } from './chunk-LAGER3PR.js';
2
- import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-WRPS6WK2.js';
1
+ import { createValidAddressList, executeTransactions } from './chunk-PBGKHTV4.js';
2
+ import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-3DIX6KRJ.js';
3
3
  import { messages } from './chunk-P36PE4CR.js';
4
4
  import { trackTransaction } from './chunk-SXBG57J3.js';
5
5
  import { ApiState } from './chunk-F66EKL3W.js';
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from './chunk-KS764SOZ.js';
2
- import { getFeeInfoForChain } from './chunk-BJKCMEMJ.js';
2
+ import { getFeeInfoForChain } from './chunk-ERN6U7FJ.js';
3
3
  import { Decimal } from '@cosmjs/math';
4
4
  import { GasPrice } from '@cosmjs/stargate';
5
5
 
@@ -1,5 +1,5 @@
1
- import { createValidAddressList, executeTransactions } from './chunk-LAGER3PR.js';
2
- import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-WRPS6WK2.js';
1
+ import { createValidAddressList, executeTransactions } from './chunk-PBGKHTV4.js';
2
+ import { updateRouteDetails, executeAndSubscribeToRouteStatus } from './chunk-3DIX6KRJ.js';
3
3
  import { messages } from './chunk-P36PE4CR.js';
4
4
  import { ApiState } from './chunk-F66EKL3W.js';
5
5
 
@@ -1,7 +1,11 @@
1
- import { DEFAULT_GAS_DENOM_OVERRIDES } from './chunk-SWYON2RG.js';
2
1
  import { chains } from './chunk-O4J7DHZA.js';
3
2
  import { ClientState } from './chunk-J24LYWJE.js';
4
3
 
4
+ // src/constants/constants.ts
5
+ var DEFAULT_GAS_DENOM_OVERRIDES = {
6
+ "noble-1": "uusdc"
7
+ };
8
+
5
9
  // src/private-functions/getDefaultGasTokenForChain.ts
6
10
  var getDefaultGasTokenForChain = async (chainId) => {
7
11
  const gasDenom = DEFAULT_GAS_DENOM_OVERRIDES[chainId];
@@ -1,7 +1,8 @@
1
+ import { setApiOptions } from './chunk-QYXGDTUU.js';
1
2
  import { MsgUpdateSignatureThreshold, MsgSetMaxBurnAmountPerMessage, MsgUpdateMaxMessageBodySize, MsgUpdatePauser, MsgUpdateTokenController, MsgUpdateAttesterManager, MsgUpdateOwner, MsgUnpauseSendingAndReceivingMessages, MsgUnpauseBurningAndMinting, MsgUnlinkTokenPair, MsgSendMessageWithCaller, MsgSendMessage, MsgReplaceMessage, MsgReplaceDepositForBurn, MsgRemoveRemoteTokenMessenger, MsgReceiveMessage, MsgPauseSendingAndReceivingMessages, MsgPauseBurningAndMinting, MsgLinkTokenPair, MsgEnableAttester, MsgDisableAttester, MsgDepositForBurnWithCaller, MsgDepositForBurn, MsgAddRemoteTokenMessenger, MsgAcceptOwner, MsgExecute, MsgInitiateTokenDeposit, Coin, Timestamp, Period } from './chunk-F2LQB2DP.js';
2
3
  import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp } from './chunk-RTDD7HZ3.js';
3
4
  import { ClientState } from './chunk-J24LYWJE.js';
4
- import { createRequestClient, ApiState } from './chunk-F66EKL3W.js';
5
+ import { ApiState } from './chunk-F66EKL3W.js';
5
6
  import { AminoTypes, createDefaultAminoConverters, defaultRegistryTypes } from '@cosmjs/stargate';
6
7
  import { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate';
7
8
  import { Registry } from '@cosmjs/proto-signing';
@@ -2229,11 +2230,6 @@ var opinitAminoConverters = {
2229
2230
  ...AminoConverter7
2230
2231
  };
2231
2232
  var setClientOptions = (options = {}) => {
2232
- ApiState.client = createRequestClient({
2233
- apiUrl: options.apiUrl || "https://api.skip.build",
2234
- apiKey: options.apiKey,
2235
- apiHeaders: options.apiHeaders
2236
- });
2237
2233
  ClientState.endpointOptions = options.endpointOptions ?? {};
2238
2234
  ClientState.aminoTypes = new AminoTypes({
2239
2235
  ...createDefaultAminoConverters(),
@@ -2256,7 +2252,7 @@ var setClientOptions = (options = {}) => {
2256
2252
  if (!options.allowOptionsUpdateAfterApiCall && ApiState.apiCalled && !ApiState.initialized) {
2257
2253
  throw new Error("setClientOptions must be called before an api request is made");
2258
2254
  }
2259
- ApiState.initialized = true;
2255
+ setApiOptions(options);
2260
2256
  };
2261
2257
 
2262
2258
  export { setClientOptions };
@@ -1,9 +1,8 @@
1
- import { updateRouteDetails } from './chunk-WRPS6WK2.js';
1
+ import { updateRouteDetails } from './chunk-3DIX6KRJ.js';
2
2
  import { validateCosmosGasBalance } from './chunk-KXS5UH7E.js';
3
3
  import { getEncodeObjectFromCosmosMessage } from './chunk-GLH7IRLX.js';
4
4
  import { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
5
5
  import { BigNumber } from './chunk-KS764SOZ.js';
6
- import { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
7
6
  import { getRpcEndpointForChain, accountParser, getSigningStargateClient } from './chunk-VMEHGKH7.js';
8
7
  import { chains, findFirstWorkingEndpoint, getIsEthermint, getIsInitia } from './chunk-O4J7DHZA.js';
9
8
  import { submitTransaction } from './chunk-ETBJVFQP.js';
@@ -808,7 +807,8 @@ var validateEvmTokenApproval = async ({
808
807
  chain,
809
808
  gasBalance,
810
809
  tx,
811
- useUnlimitedApproval
810
+ routeId,
811
+ options
812
812
  }) => {
813
813
  if (!signer.account?.address) {
814
814
  throw new Error("validateEvmGasBalance: Signer address not found");
@@ -862,6 +862,16 @@ var validateEvmTokenApproval = async ({
862
862
  fee: null
863
863
  };
864
864
  }
865
+ const { onApproveAllowance, useUnlimitedApproval } = options;
866
+ onApproveAllowance?.({
867
+ status: "pending",
868
+ allowance: requiredApproval
869
+ });
870
+ updateRouteDetails({
871
+ status: "allowance",
872
+ routeId,
873
+ options
874
+ });
865
875
  const txHash = await extendedSigner.writeContract({
866
876
  account: signer.account,
867
877
  address: requiredApproval.tokenContract,
@@ -881,6 +891,14 @@ var validateEvmTokenApproval = async ({
881
891
  `executeEVMTransaction error: evm tx reverted for hash ${receipt.transactionHash}`
882
892
  );
883
893
  }
894
+ onApproveAllowance?.({
895
+ status: "completed"
896
+ });
897
+ updateRouteDetails({
898
+ status: "signing",
899
+ routeId,
900
+ options
901
+ });
884
902
  }
885
903
  };
886
904
 
@@ -889,8 +907,8 @@ var validateEvmGasBalance = async ({
889
907
  signer,
890
908
  tx,
891
909
  getFallbackGasAmount,
892
- useUnlimitedApproval,
893
- bypassApprovalCheck
910
+ options,
911
+ routeId
894
912
  }) => {
895
913
  const chainId = tx?.chainId ?? "";
896
914
  const skipAssets = (await ClientState.getSkipAssets({ chainId }))?.[chainId];
@@ -915,6 +933,7 @@ var validateEvmGasBalance = async ({
915
933
  )?.[1];
916
934
  const gasBalance = nativeGasBalance || zeroAddressGasBalance;
917
935
  const { requiredErc20Approvals } = tx;
936
+ const { bypassApprovalCheck } = options;
918
937
  if (!bypassApprovalCheck && requiredErc20Approvals) {
919
938
  try {
920
939
  await validateEvmTokenApproval({
@@ -923,7 +942,8 @@ var validateEvmGasBalance = async ({
923
942
  chain,
924
943
  gasBalance,
925
944
  tx,
926
- useUnlimitedApproval
945
+ routeId,
946
+ options
927
947
  });
928
948
  } catch (error) {
929
949
  const err = error;
@@ -1116,8 +1136,8 @@ var validateGasBalances = async ({
1116
1136
  tx: tx.evmTx,
1117
1137
  signer,
1118
1138
  getFallbackGasAmount,
1119
- useUnlimitedApproval: options?.useUnlimitedApproval,
1120
- bypassApprovalCheck: options?.bypassApprovalCheck
1139
+ routeId,
1140
+ options
1121
1141
  });
1122
1142
  return res;
1123
1143
  } catch (e) {
@@ -1234,11 +1254,8 @@ var executeTransactions = async (options) => {
1234
1254
  routeId,
1235
1255
  options
1236
1256
  });
1237
- const isGasStationSourceEVM = chainIds.find((item, i, array) => {
1238
- return GAS_STATION_CHAIN_IDS.includes(item?.chainId ?? "") && array[i - 1]?.chainType === "evm" /* Evm */;
1239
- });
1240
1257
  ClientState.validateGasResults = void 0;
1241
- const validateChainIds = !batchSimulate ? chainIds.map((x) => x?.chainId ?? "") : isGasStationSourceEVM ? GAS_STATION_CHAIN_IDS : [];
1258
+ const validateChainIds = !batchSimulate ? chainIds.map((x) => x?.chainId ?? "") : [];
1242
1259
  await validateGasBalances({
1243
1260
  txs,
1244
1261
  getFallbackGasAmount,
@@ -1853,6 +1853,4 @@ interface FungibleAssetsBetweenChainsCreateResponseJson {
1853
1853
  assets_between_chains?: AssetBetweenChainsJson[];
1854
1854
  }
1855
1855
 
1856
- declare const GAS_STATION_CHAIN_IDS: string[];
1857
-
1858
- export { type AcknowledgementErrorDetailsJson, type AffiliateJson, type ApiErrorJson, type AssetBetweenChainsJson, type AssetJson, type AssetRecommendationJson, type AssetRecommendationsRequestJson, type AssetRecommendationsResponseJson, type AssetsBetweenChainsRequestJson, type AssetsFromSourceRequestJson, type AssetsFromSourceResponseJson, type AssetsRequestJson, type AssetsResponseJson, AutopilotActionJson, type AutopilotMsgJson, type AutopilotMsgWrapperJson, type AxelarTransferInfoJson, type AxelarTransferJson, AxelarTransferStateJson, AxelarTransferTypeJson, type AxelarTransferWrapperJson, type BalanceRequestChainEntryJson, type BalanceResponseChainEntryJson, type BalanceResponseDenomEntryJson, type BalancesRequestJson, type BalancesResponseJson, type BankSendJson, type BankSendWrapperJson, type BridgeJson, BridgeTypeJson, type BridgesResponseJson, type CCTPTransferInfoJson, type CCTPTransferJson, CCTPTransferStateJson, type CCTPTransferTxsJson, type CCTPTransferWrapperJson, type ChainAffiliatesJson, type ChainJson, type ChainTransactionJson, ChainTypeJson, type ChainsRequestJson, type ChainsResponseJson, type ContractCallWithTokenErrorJson, ContractCallWithTokenErrorTypeJson, type ContractCallWithTokenTxsJson, type CosmWasmContractMsgJson, type CosmWasmContractMsgWrapperJson, type CosmosModuleSupportJson, type CosmosMsgJson, type CosmosTxJson, type CosmosTxWrapperJson, type Erc20ApprovalJson, type ErrorDetailJson, type ErrorJson, type EurekaTransferInfoJson, type EurekaTransferJson, type EurekaTransferWrapperJson, type EvmSwapJson, type EvmSwapWrapperJson, type EvmTxJson, type EvmTxWrapperJson, type FeeAssetJson, FeeBehaviorJson, type FeeJson, FeeTypeJson, type FungibleAssetsBetweenChainsCreateResponseJson, GAS_STATION_CHAIN_IDS, type GRPCStatusCodeJson, type GoFastFeeJson, type GoFastTransferInfoJson, type GoFastTransferJson, GoFastTransferStateJson, type GoFastTransferTxsJson, type GoFastTransferWrapperJson, type HyperlaneTransferInfoJson, type HyperlaneTransferJson, HyperlaneTransferStateJson, type HyperlaneTransferTransactionsJson, type HyperlaneTransferWrapperJson, type IBCTransferInfoJson, type IbcCapabilitiesJson, type IbcOriginAssetsRequestJson, type IbcOriginAssetsResponseJson, type LayerZeroTransferInfoJson, type LayerZeroTransferJson, LayerZeroTransferStateJson, type LayerZeroTransferTransactionsJson, type LayerZeroTransferWrapperJson, type MsgJson, type MsgsDirectRequestJson, type MsgsDirectResponseJson, type MsgsRequestJson, type MsgsResponseJson, type MultiChainMsgJson, type MultiChainMsgWrapperJson, type OPInitTransferInfoJson, type OPInitTransferJson, OPInitTransferStateJson, type OPInitTransferTxsJson, type OPInitTransferWrapperJson, type OperationJson, type OptionalAssetJson, type PacketErrorJson, PacketErrorTypeJson, type PacketJson, type PostHandlerJson, ReasonJson, type RecommendationRequestJson, type RouteJson, RoutePriceWarningTypeJson, type RouteRequestJson, type RouteResponseJson, type SendTokenErrorJson, SendTokenErrorTypeJson, type SendTokenTxsJson, type SmartRelayFeeQuoteJson, type SmartSwapExactCoinInJson, type SmartSwapInWrapperJson, type SmartSwapOptionsJson, type StargateTransferInfoJson, type StargateTransferJson, StargateTransferStateJson, type StargateTransferTxsJson, type StargateTransferWrapperJson, type StatusErrorJson, StatusErrorTypeJson, type StatusRequestJson, type StatusResponseJson, type StatusTxResponseJson, type SubmitResponseJson, type SubmitTxRequestJson, type SvmTxJson, type SvmTxWrapperJson, type SwapExactCoinInJson, type SwapExactCoinOutJson, type SwapInWrapperJson, type SwapJson, type SwapOperationJson, type SwapOutWrapperJson, type SwapRouteJson, type SwapVenueJson, type SwapWrapperJson, type TrackResponseJson, type TrackTxRequestJson, type TrackTxResponseJson, type TransactionExecutionErrorDetailsJson, TransactionStateJson, type TransferAssetReleaseJson, type TransferEventJson, type TransferJson, TransferStateJson, type TransferStatusJson, type TransferWrapperJson, type TxJson, type VenuesRequestJson, type VenuesResponseJson };
1856
+ export { type AcknowledgementErrorDetailsJson, type AffiliateJson, type ApiErrorJson, type AssetBetweenChainsJson, type AssetJson, type AssetRecommendationJson, type AssetRecommendationsRequestJson, type AssetRecommendationsResponseJson, type AssetsBetweenChainsRequestJson, type AssetsFromSourceRequestJson, type AssetsFromSourceResponseJson, type AssetsRequestJson, type AssetsResponseJson, AutopilotActionJson, type AutopilotMsgJson, type AutopilotMsgWrapperJson, type AxelarTransferInfoJson, type AxelarTransferJson, AxelarTransferStateJson, AxelarTransferTypeJson, type AxelarTransferWrapperJson, type BalanceRequestChainEntryJson, type BalanceResponseChainEntryJson, type BalanceResponseDenomEntryJson, type BalancesRequestJson, type BalancesResponseJson, type BankSendJson, type BankSendWrapperJson, type BridgeJson, BridgeTypeJson, type BridgesResponseJson, type CCTPTransferInfoJson, type CCTPTransferJson, CCTPTransferStateJson, type CCTPTransferTxsJson, type CCTPTransferWrapperJson, type ChainAffiliatesJson, type ChainJson, type ChainTransactionJson, ChainTypeJson, type ChainsRequestJson, type ChainsResponseJson, type ContractCallWithTokenErrorJson, ContractCallWithTokenErrorTypeJson, type ContractCallWithTokenTxsJson, type CosmWasmContractMsgJson, type CosmWasmContractMsgWrapperJson, type CosmosModuleSupportJson, type CosmosMsgJson, type CosmosTxJson, type CosmosTxWrapperJson, type Erc20ApprovalJson, type ErrorDetailJson, type ErrorJson, type EurekaTransferInfoJson, type EurekaTransferJson, type EurekaTransferWrapperJson, type EvmSwapJson, type EvmSwapWrapperJson, type EvmTxJson, type EvmTxWrapperJson, type FeeAssetJson, FeeBehaviorJson, type FeeJson, FeeTypeJson, type FungibleAssetsBetweenChainsCreateResponseJson, type GRPCStatusCodeJson, type GoFastFeeJson, type GoFastTransferInfoJson, type GoFastTransferJson, GoFastTransferStateJson, type GoFastTransferTxsJson, type GoFastTransferWrapperJson, type HyperlaneTransferInfoJson, type HyperlaneTransferJson, HyperlaneTransferStateJson, type HyperlaneTransferTransactionsJson, type HyperlaneTransferWrapperJson, type IBCTransferInfoJson, type IbcCapabilitiesJson, type IbcOriginAssetsRequestJson, type IbcOriginAssetsResponseJson, type LayerZeroTransferInfoJson, type LayerZeroTransferJson, LayerZeroTransferStateJson, type LayerZeroTransferTransactionsJson, type LayerZeroTransferWrapperJson, type MsgJson, type MsgsDirectRequestJson, type MsgsDirectResponseJson, type MsgsRequestJson, type MsgsResponseJson, type MultiChainMsgJson, type MultiChainMsgWrapperJson, type OPInitTransferInfoJson, type OPInitTransferJson, OPInitTransferStateJson, type OPInitTransferTxsJson, type OPInitTransferWrapperJson, type OperationJson, type OptionalAssetJson, type PacketErrorJson, PacketErrorTypeJson, type PacketJson, type PostHandlerJson, ReasonJson, type RecommendationRequestJson, type RouteJson, RoutePriceWarningTypeJson, type RouteRequestJson, type RouteResponseJson, type SendTokenErrorJson, SendTokenErrorTypeJson, type SendTokenTxsJson, type SmartRelayFeeQuoteJson, type SmartSwapExactCoinInJson, type SmartSwapInWrapperJson, type SmartSwapOptionsJson, type StargateTransferInfoJson, type StargateTransferJson, StargateTransferStateJson, type StargateTransferTxsJson, type StargateTransferWrapperJson, type StatusErrorJson, StatusErrorTypeJson, type StatusRequestJson, type StatusResponseJson, type StatusTxResponseJson, type SubmitResponseJson, type SubmitTxRequestJson, type SvmTxJson, type SvmTxWrapperJson, type SwapExactCoinInJson, type SwapExactCoinOutJson, type SwapInWrapperJson, type SwapJson, type SwapOperationJson, type SwapOutWrapperJson, type SwapRouteJson, type SwapVenueJson, type SwapWrapperJson, type TrackResponseJson, type TrackTxRequestJson, type TrackTxResponseJson, type TransactionExecutionErrorDetailsJson, TransactionStateJson, type TransferAssetReleaseJson, type TransferEventJson, type TransferJson, TransferStateJson, type TransferStatusJson, type TransferWrapperJson, type TxJson, type VenuesRequestJson, type VenuesResponseJson };
package/dist/esm/index.js CHANGED
@@ -1,19 +1,18 @@
1
- export { AutopilotActionJson, AxelarTransferStateJson, AxelarTransferTypeJson, BridgeTypeJson, CCTPTransferStateJson, ChainTypeJson, ContractCallWithTokenErrorTypeJson, FeeBehaviorJson, FeeTypeJson, GoFastTransferStateJson, HyperlaneTransferStateJson, LayerZeroTransferStateJson, OPInitTransferStateJson, PacketErrorTypeJson, ReasonJson, RoutePriceWarningTypeJson, SendTokenErrorTypeJson, StargateTransferStateJson, StatusErrorTypeJson, TransactionStateJson, TransferStateJson, getRouteWithGasOnReceive } from './chunk-763YPOJQ.js';
1
+ export { AutopilotActionJson, AxelarTransferStateJson, AxelarTransferTypeJson, BridgeTypeJson, CCTPTransferStateJson, ChainTypeJson, ContractCallWithTokenErrorTypeJson, FeeBehaviorJson, FeeTypeJson, GoFastTransferStateJson, HyperlaneTransferStateJson, LayerZeroTransferStateJson, OPInitTransferStateJson, PacketErrorTypeJson, ReasonJson, RoutePriceWarningTypeJson, SendTokenErrorTypeJson, StargateTransferStateJson, StatusErrorTypeJson, TransactionStateJson, TransferStateJson, getRouteWithGasOnReceive } from './chunk-32JIBODG.js';
2
+ export { setClientOptions } from './chunk-GZJLX2CP.js';
2
3
  export { setApiOptions } from './chunk-QYXGDTUU.js';
3
- export { setClientOptions } from './chunk-TON3V7SK.js';
4
4
  export { waitForTransaction, waitForTransactionWithCancel } from './chunk-E4NRDAVO.js';
5
- export { executeMultipleRoutes } from './chunk-7OHBD7I6.js';
6
- export { executeRoute } from './chunk-22LYQHMA.js';
7
- import './chunk-LAGER3PR.js';
8
- export { TransferType, getSimpleOverallStatus, getTransferEventsFromTxStatusResponse, subscribeToRouteStatus } from './chunk-WRPS6WK2.js';
5
+ export { executeMultipleRoutes } from './chunk-6ERJCOUK.js';
6
+ export { executeRoute } from './chunk-DRWCXWGY.js';
7
+ import './chunk-PBGKHTV4.js';
8
+ export { TransferType, getSimpleOverallStatus, getTransferEventsFromTxStatusResponse, subscribeToRouteStatus } from './chunk-3DIX6KRJ.js';
9
9
  export { validateCosmosGasBalance } from './chunk-KXS5UH7E.js';
10
10
  export { getCosmosGasAmountForMessage } from './chunk-GLH7IRLX.js';
11
11
  import './chunk-F2LQB2DP.js';
12
12
  export { getEVMGasAmountForMessage } from './chunk-GV2QOWB4.js';
13
- export { getRecommendedGasPrice } from './chunk-G63PICMU.js';
13
+ export { getRecommendedGasPrice } from './chunk-ACRGYWFW.js';
14
14
  import './chunk-KS764SOZ.js';
15
- export { getFeeInfoForChain } from './chunk-BJKCMEMJ.js';
16
- export { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
15
+ export { getFeeInfoForChain } from './chunk-ERN6U7FJ.js';
17
16
  export { getSigningStargateClient } from './chunk-VMEHGKH7.js';
18
17
  import './chunk-RTDD7HZ3.js';
19
18
  import './chunk-O4J7DHZA.js';
@@ -1,12 +1,11 @@
1
- export { executeMultipleRoutes } from '../chunk-7OHBD7I6.js';
2
- import '../chunk-LAGER3PR.js';
3
- import '../chunk-WRPS6WK2.js';
1
+ export { executeMultipleRoutes } from '../chunk-6ERJCOUK.js';
2
+ import '../chunk-PBGKHTV4.js';
3
+ import '../chunk-3DIX6KRJ.js';
4
4
  import '../chunk-KXS5UH7E.js';
5
5
  import '../chunk-GLH7IRLX.js';
6
6
  import '../chunk-F2LQB2DP.js';
7
7
  import '../chunk-GV2QOWB4.js';
8
8
  import '../chunk-KS764SOZ.js';
9
- import '../chunk-SWYON2RG.js';
10
9
  import '../chunk-VMEHGKH7.js';
11
10
  import '../chunk-RTDD7HZ3.js';
12
11
  import '../chunk-O4J7DHZA.js';
@@ -1,12 +1,11 @@
1
- export { executeRoute } from '../chunk-22LYQHMA.js';
2
- import '../chunk-LAGER3PR.js';
3
- import '../chunk-WRPS6WK2.js';
1
+ export { executeRoute } from '../chunk-DRWCXWGY.js';
2
+ import '../chunk-PBGKHTV4.js';
3
+ import '../chunk-3DIX6KRJ.js';
4
4
  import '../chunk-KXS5UH7E.js';
5
5
  import '../chunk-GLH7IRLX.js';
6
6
  import '../chunk-F2LQB2DP.js';
7
7
  import '../chunk-GV2QOWB4.js';
8
8
  import '../chunk-KS764SOZ.js';
9
- import '../chunk-SWYON2RG.js';
10
9
  import '../chunk-VMEHGKH7.js';
11
10
  import '../chunk-RTDD7HZ3.js';
12
11
  import '../chunk-O4J7DHZA.js';
@@ -1,5 +1,4 @@
1
- export { getFeeInfoForChain } from '../chunk-BJKCMEMJ.js';
2
- import '../chunk-SWYON2RG.js';
1
+ export { getFeeInfoForChain } from '../chunk-ERN6U7FJ.js';
3
2
  import '../chunk-O4J7DHZA.js';
4
3
  import '../chunk-J24LYWJE.js';
5
4
  import '../chunk-F66EKL3W.js';
@@ -1,7 +1,6 @@
1
- export { getRecommendedGasPrice } from '../chunk-G63PICMU.js';
1
+ export { getRecommendedGasPrice } from '../chunk-ACRGYWFW.js';
2
2
  import '../chunk-KS764SOZ.js';
3
- import '../chunk-BJKCMEMJ.js';
4
- import '../chunk-SWYON2RG.js';
3
+ import '../chunk-ERN6U7FJ.js';
5
4
  import '../chunk-O4J7DHZA.js';
6
5
  import '../chunk-J24LYWJE.js';
7
6
  import '../chunk-F66EKL3W.js';
@@ -1,19 +1,18 @@
1
- export { getRouteWithGasOnReceive } from '../chunk-763YPOJQ.js';
1
+ export { getRouteWithGasOnReceive } from '../chunk-32JIBODG.js';
2
+ import '../chunk-GZJLX2CP.js';
2
3
  import '../chunk-QYXGDTUU.js';
3
- import '../chunk-TON3V7SK.js';
4
4
  import '../chunk-E4NRDAVO.js';
5
- import '../chunk-7OHBD7I6.js';
6
- import '../chunk-22LYQHMA.js';
7
- import '../chunk-LAGER3PR.js';
8
- import '../chunk-WRPS6WK2.js';
5
+ import '../chunk-6ERJCOUK.js';
6
+ import '../chunk-DRWCXWGY.js';
7
+ import '../chunk-PBGKHTV4.js';
8
+ import '../chunk-3DIX6KRJ.js';
9
9
  import '../chunk-KXS5UH7E.js';
10
10
  import '../chunk-GLH7IRLX.js';
11
11
  import '../chunk-F2LQB2DP.js';
12
12
  import '../chunk-GV2QOWB4.js';
13
- import '../chunk-G63PICMU.js';
13
+ import '../chunk-ACRGYWFW.js';
14
14
  import '../chunk-KS764SOZ.js';
15
- import '../chunk-BJKCMEMJ.js';
16
- import '../chunk-SWYON2RG.js';
15
+ import '../chunk-ERN6U7FJ.js';
17
16
  import '../chunk-VMEHGKH7.js';
18
17
  import '../chunk-RTDD7HZ3.js';
19
18
  import '../chunk-O4J7DHZA.js';
@@ -1,4 +1,5 @@
1
- export { setClientOptions } from '../chunk-TON3V7SK.js';
1
+ export { setClientOptions } from '../chunk-GZJLX2CP.js';
2
+ import '../chunk-QYXGDTUU.js';
2
3
  import '../chunk-F2LQB2DP.js';
3
4
  import '../chunk-RTDD7HZ3.js';
4
5
  import '../chunk-J24LYWJE.js';
@@ -1,4 +1,4 @@
1
- export { executeAndSubscribeToRouteStatus, getTransactionStatus, subscribeToRouteStatus, updateRouteDetails } from '../chunk-WRPS6WK2.js';
1
+ export { executeAndSubscribeToRouteStatus, getTransactionStatus, subscribeToRouteStatus, updateRouteDetails } from '../chunk-3DIX6KRJ.js';
2
2
  import '../chunk-SXBG57J3.js';
3
3
  import '../chunk-N4PTRCNT.js';
4
4
  import '../chunk-F66EKL3W.js';
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.5.4",
4
+ "version": "1.5.6",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
7
  "main": "./dist/cjs/index.cjs",
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- // src/constants/constants.ts
4
- var DEFAULT_GAS_DENOM_OVERRIDES = {
5
- "noble-1": "uusdc"
6
- };
7
- var GAS_STATION_CHAIN_IDS = ["bbn-test-5", "bbn-1"];
8
-
9
- exports.DEFAULT_GAS_DENOM_OVERRIDES = DEFAULT_GAS_DENOM_OVERRIDES;
10
- exports.GAS_STATION_CHAIN_IDS = GAS_STATION_CHAIN_IDS;
@@ -1,7 +0,0 @@
1
- // src/constants/constants.ts
2
- var DEFAULT_GAS_DENOM_OVERRIDES = {
3
- "noble-1": "uusdc"
4
- };
5
- var GAS_STATION_CHAIN_IDS = ["bbn-test-5", "bbn-1"];
6
-
7
- export { DEFAULT_GAS_DENOM_OVERRIDES, GAS_STATION_CHAIN_IDS };