@txnlab/use-wallet 3.10.0 → 3.10.1

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.cjs CHANGED
@@ -5012,7 +5012,7 @@ var KmdWallet = class extends BaseWallet {
5012
5012
  options;
5013
5013
  walletName;
5014
5014
  walletId = "";
5015
- password = "";
5015
+ password = null;
5016
5016
  store;
5017
5017
  constructor({
5018
5018
  id,
@@ -5185,7 +5185,7 @@ var KmdWallet = class extends BaseWallet {
5185
5185
  this.logger.debug("Token released successfully");
5186
5186
  }
5187
5187
  getPassword() {
5188
- if (this.password) {
5188
+ if (this.password !== null) {
5189
5189
  return this.password;
5190
5190
  }
5191
5191
  const password = prompt("KMD password") || "";