@joai/warps-adapter-evm 1.0.0-beta.74 → 1.0.0
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 +2 -2
package/dist/index.js
CHANGED
|
@@ -1924,6 +1924,7 @@ var WarpEvmWallet = class {
|
|
|
1924
1924
|
const wallet = this.config.user?.wallets?.[this.chain.name];
|
|
1925
1925
|
if (!wallet) return null;
|
|
1926
1926
|
if (typeof wallet === "string") return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
1927
|
+
if (!wallet.provider) return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
1927
1928
|
return this.createProviderForOperation(wallet.provider);
|
|
1928
1929
|
}
|
|
1929
1930
|
async getAddressAsync() {
|