@txnlab/use-wallet 3.9.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
@@ -3287,7 +3287,8 @@ __export(src_exports, {
3287
3287
  WalletId: () => WalletId,
3288
3288
  WalletManager: () => WalletManager,
3289
3289
  defaultState: () => defaultState,
3290
- isAVMWebProviderSDKError: () => isAVMWebProviderSDKError
3290
+ isAVMWebProviderSDKError: () => isAVMWebProviderSDKError,
3291
+ webpackFallback: () => webpackFallback
3291
3292
  });
3292
3293
  module.exports = __toCommonJS(src_exports);
3293
3294
 
@@ -5011,7 +5012,7 @@ var KmdWallet = class extends BaseWallet {
5011
5012
  options;
5012
5013
  walletName;
5013
5014
  walletId = "";
5014
- password = "";
5015
+ password = null;
5015
5016
  store;
5016
5017
  constructor({
5017
5018
  id,
@@ -5184,7 +5185,7 @@ var KmdWallet = class extends BaseWallet {
5184
5185
  this.logger.debug("Token released successfully");
5185
5186
  }
5186
5187
  getPassword() {
5187
- if (this.password) {
5188
+ if (this.password !== null) {
5188
5189
  return this.password;
5189
5190
  }
5190
5191
  const password = prompt("KMD password") || "";
@@ -6568,6 +6569,20 @@ var WalletManager = class {
6568
6569
  return this.activeWallet.transactionSigner;
6569
6570
  }
6570
6571
  };
6572
+
6573
+ // src/webpack.ts
6574
+ var webpackFallback = {
6575
+ "@agoralabs-sh/avm-web-provider": false,
6576
+ "@algorandfoundation/liquid-auth-use-wallet-client": false,
6577
+ "@blockshake/defly-connect": false,
6578
+ "@magic-ext/algorand": false,
6579
+ "@perawallet/connect": false,
6580
+ "@perawallet/connect-beta": false,
6581
+ "@walletconnect/modal": false,
6582
+ "@walletconnect/sign-client": false,
6583
+ "lute-connect": false,
6584
+ "magic-sdk": false
6585
+ };
6571
6586
  // Annotate the CommonJS export names for ESM import in node:
6572
6587
  0 && (module.exports = {
6573
6588
  BaseWallet,
@@ -6592,6 +6607,7 @@ var WalletManager = class {
6592
6607
  WalletId,
6593
6608
  WalletManager,
6594
6609
  defaultState,
6595
- isAVMWebProviderSDKError
6610
+ isAVMWebProviderSDKError,
6611
+ webpackFallback
6596
6612
  });
6597
6613
  //# sourceMappingURL=index.cjs.map