btc-wallet 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/esm/index.js CHANGED
@@ -2527,6 +2527,7 @@ var BTCWallet = (_0) => __async(void 0, [_0], function* ({
2527
2527
  const context = btcContext.getContext();
2528
2528
  context.on("updatePublicKey", (btcPublicKey) => __async(void 0, null, function* () {
2529
2529
  const { nearTempAddress } = yield getNearAccountByBtcPublicKey(btcPublicKey);
2530
+ removeWalletButton();
2530
2531
  initWalletButton(options.network.networkId, wallet);
2531
2532
  emitter.emit("accountsChanged", {
2532
2533
  accounts: [
@@ -2841,7 +2842,7 @@ function pollTransactionStatuses(network, hashes) {
2841
2842
 
2842
2843
  // src/index.ts
2843
2844
  var getVersion = () => {
2844
- return "0.1.9";
2845
+ return "0.2.0";
2845
2846
  };
2846
2847
  if (typeof window !== "undefined") {
2847
2848
  window.__PARTICLE_BTC_CONNECT_VERSION = getVersion();