btc-wallet 0.5.39-beta → 0.5.40-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.js CHANGED
@@ -3215,9 +3215,9 @@ function receiveDepositMsg(_0, _1) {
3215
3215
  function checkBridgeTransactionStatus(url, txHash) {
3216
3216
  return __async(this, null, function* () {
3217
3217
  const { result_code, result_message, result_data } = yield request(`${url}/v1/bridgeFromTx?fromTxHash=${txHash}&fromChainId=1`, {
3218
- timeout: 3e5,
3218
+ timeout: 3 * 60 * 60 * 1e3,
3219
3219
  pollingInterval: 5e3,
3220
- maxPollingAttempts: 60,
3220
+ maxPollingAttempts: 3e3,
3221
3221
  shouldStopPolling: (res) => {
3222
3222
  var _a;
3223
3223
  const status = ((_a = res.result_data) == null ? void 0 : _a.Status) || 0;
@@ -4849,7 +4849,7 @@ function getGroup(state) {
4849
4849
 
4850
4850
  // src/index.ts
4851
4851
  var getVersion = () => {
4852
- return "0.5.39-beta";
4852
+ return "0.5.40-beta";
4853
4853
  };
4854
4854
  if (typeof window !== "undefined") {
4855
4855
  window.__BTC_WALLET_VERSION = getVersion();