@joai/warps-adapter-evm 1.0.0-beta.74 → 1.0.0-beta.75
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
|
@@ -1897,6 +1897,7 @@ var WarpEvmWallet = class {
|
|
|
1897
1897
|
const wallet = this.config.user?.wallets?.[this.chain.name];
|
|
1898
1898
|
if (!wallet) return null;
|
|
1899
1899
|
if (typeof wallet === "string") return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
1900
|
+
if (!wallet.provider) return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
1900
1901
|
return this.createProviderForOperation(wallet.provider);
|
|
1901
1902
|
}
|
|
1902
1903
|
async getAddressAsync() {
|