btc-wallet 0.5.14-beta → 0.5.15-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/dist/index.js +3 -1
- package/dist/index.js.map +3 -3
- package/esm/index.js +3 -1
- package/esm/index.js.map +2 -2
- package/package.json +2 -1
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.
|
4529
|
+
return "0.5.15-beta";
|
4528
4530
|
};
|
4529
4531
|
if (typeof window !== "undefined") {
|
4530
4532
|
window.__BTC_WALLET_VERSION = getVersion();
|