btc-wallet 0.5.14-beta → 0.5.15-beta

Sign up to get free protection for your applications and to get access to all the features.
package/esm/index.js CHANGED
@@ -3179,7 +3179,9 @@ function getWhitelist(url) {
3179
3179
 
3180
3180
  // src/core/btcUtils.ts
3181
3181
  import bitcoin from "bitcoinjs-lib";
3182
+ import * as ecc from "@bitcoinerlab/secp256k1";
3182
3183
  import coinselect from "coinselect";
3184
+ bitcoin.initEccLib(ecc);
3183
3185
  var NEAR_STORAGE_DEPOSIT_AMOUNT = "1250000000000000000000";
3184
3186
  var NBTC_STORAGE_DEPOSIT_AMOUNT = "3000";
3185
3187
  var GAS_LIMIT = "50000000000000";
@@ -4524,7 +4526,7 @@ function setupBTCWallet({
4524
4526
 
4525
4527
  // src/index.ts
4526
4528
  var getVersion = () => {
4527
- return "0.5.14-beta";
4529
+ return "0.5.15-beta";
4528
4530
  };
4529
4531
  if (typeof window !== "undefined") {
4530
4532
  window.__BTC_WALLET_VERSION = getVersion();