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/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.1.9";
2886
+ return "0.2.0";
2886
2887
  };
2887
2888
  if (typeof window !== "undefined") {
2888
2889
  window.__PARTICLE_BTC_CONNECT_VERSION = getVersion();