@joai/warps-adapter-fastset 1.0.0-beta.58 → 1.0.0-beta.59
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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2689,6 +2689,7 @@ var WarpFastsetWallet = class {
|
|
|
2689
2689
|
const wallet = this.config.user?.wallets?.[this.chain.name];
|
|
2690
2690
|
if (!wallet) return null;
|
|
2691
2691
|
if (typeof wallet === "string") return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
2692
|
+
if (!wallet.provider) return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
2692
2693
|
return this.createProviderForOperation(wallet.provider);
|
|
2693
2694
|
}
|
|
2694
2695
|
initializeCache() {
|