@joai/warps-adapter-solana 1.0.0-beta.25 → 1.0.0-beta.26
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 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1708,12 +1708,12 @@ var WarpSolanaExplorer = class {
|
|
|
1708
1708
|
};
|
|
1709
1709
|
|
|
1710
1710
|
// src/WarpSolanaWallet.ts
|
|
1711
|
-
import { createKeyPairSignerFromBytes } from "@solana/kit";
|
|
1712
|
-
import { Connection as Connection4, Transaction as Transaction3, VersionedTransaction as VersionedTransaction4 } from "@solana/web3.js";
|
|
1713
1711
|
import {
|
|
1714
1712
|
getProviderConfig as getProviderConfig4,
|
|
1715
1713
|
initializeWalletCache
|
|
1716
1714
|
} from "@joai/warps";
|
|
1715
|
+
import { createKeyPairSignerFromBytes } from "@solana/kit";
|
|
1716
|
+
import { Connection as Connection4, Transaction as Transaction3, VersionedTransaction as VersionedTransaction4 } from "@solana/web3.js";
|
|
1717
1717
|
import { registerExactSvmScheme } from "@x402/svm/exact/client";
|
|
1718
1718
|
|
|
1719
1719
|
// src/providers/MnemonicWalletProvider.ts
|
|
@@ -2125,6 +2125,7 @@ var WarpSolanaWallet = class {
|
|
|
2125
2125
|
const wallet = this.config.user?.wallets?.[this.chain.name];
|
|
2126
2126
|
if (!wallet) return null;
|
|
2127
2127
|
if (typeof wallet === "string") return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
2128
|
+
if (!wallet.provider) return new ReadOnlyWalletProvider(this.config, this.chain);
|
|
2128
2129
|
return this.createProviderForOperation(wallet.provider);
|
|
2129
2130
|
}
|
|
2130
2131
|
initializeCache() {
|