@joai/warps-adapter-solana 1.0.0-beta.25 → 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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1737,9 +1737,9 @@ var WarpSolanaExplorer = class {
|
|
|
1737
1737
|
};
|
|
1738
1738
|
|
|
1739
1739
|
// src/WarpSolanaWallet.ts
|
|
1740
|
+
var import_warps12 = require("@joai/warps");
|
|
1740
1741
|
var import_kit = require("@solana/kit");
|
|
1741
1742
|
var import_web37 = require("@solana/web3.js");
|
|
1742
|
-
var import_warps12 = require("@joai/warps");
|
|
1743
1743
|
var import_client = require("@x402/svm/exact/client");
|
|
1744
1744
|
|
|
1745
1745
|
// src/providers/MnemonicWalletProvider.ts
|
|
@@ -2138,6 +2138,7 @@ var WarpSolanaWallet = class {
|
|
|
2138
2138
|
const wallet = this.config.user?.wallets?.[this.chain.name];
|
|
2139
2139
|
if (!wallet) return null;
|
|
2140
2140
|
if (typeof wallet === "string") return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
2141
|
+
if (!wallet.provider) return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
2141
2142
|
return this.createProviderForOperation(wallet.provider);
|
|
2142
2143
|
}
|
|
2143
2144
|
initializeCache() {
|