@solana/wallet-adapter-krystal
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@solana/wallet-adapter-krystal", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Solana Maintainers <maintainers@solana.foundation>", | ||
@@ -13,4 +13,5 @@ "repository": "https://github.com/solana-labs/wallet-adapter", | ||
"exports": { | ||
"require": "./lib/cjs/index.js", | ||
"import": "./lib/esm/index.mjs", | ||
"require": "./lib/cjs/index.js" | ||
"types": "./lib/types/index.d.ts" | ||
}, | ||
@@ -34,3 +35,3 @@ "files": [ | ||
"dependencies": { | ||
"@solana/wallet-adapter-base": "^0.9.10" | ||
"@solana/wallet-adapter-base": "^0.9.12" | ||
}, | ||
@@ -40,3 +41,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "29b57115d1fd7bf097f14ca82cbb1c96e65b8372" | ||
"gitHead": "723e197f5bda4661b7bede354858948ce5d889c8" | ||
} |
@@ -70,15 +70,15 @@ import type { WalletName } from '@solana/wallet-adapter-base'; | ||
get publicKey(): PublicKey | null { | ||
get publicKey() { | ||
return this._publicKey; | ||
} | ||
get connecting(): boolean { | ||
get connecting() { | ||
return this._connecting; | ||
} | ||
get connected(): boolean { | ||
get connected() { | ||
return !!this._wallet?.isConnected(); | ||
} | ||
get readyState(): WalletReadyState { | ||
get readyState() { | ||
return this._readyState; | ||
@@ -95,3 +95,3 @@ } | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
const wallet = window!.krystal!.solana!; | ||
const wallet = window.krystal!.solana!; | ||
@@ -98,0 +98,0 @@ let account: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
48195