btc-wallet 0.1.9 → 0.2.0
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 +2 -1
- package/dist/index.js.map +2 -2
- package/esm/index.js +2 -1
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2568,6 +2568,7 @@ var BTCWallet = (_0) => __async(void 0, [_0], function* ({
|
|
|
2568
2568
|
const context = btcContext.getContext();
|
|
2569
2569
|
context.on("updatePublicKey", (btcPublicKey) => __async(void 0, null, function* () {
|
|
2570
2570
|
const { nearTempAddress } = yield getNearAccountByBtcPublicKey(btcPublicKey);
|
|
2571
|
+
removeWalletButton();
|
|
2571
2572
|
initWalletButton(options.network.networkId, wallet);
|
|
2572
2573
|
emitter.emit("accountsChanged", {
|
|
2573
2574
|
accounts: [
|
|
@@ -2882,7 +2883,7 @@ function pollTransactionStatuses(network, hashes) {
|
|
|
2882
2883
|
|
|
2883
2884
|
// src/index.ts
|
|
2884
2885
|
var getVersion = () => {
|
|
2885
|
-
return "0.
|
|
2886
|
+
return "0.2.0";
|
|
2886
2887
|
};
|
|
2887
2888
|
if (typeof window !== "undefined") {
|
|
2888
2889
|
window.__PARTICLE_BTC_CONNECT_VERSION = getVersion();
|