@solana/wallet-adapter-base
Advanced tools
Comparing version 0.9.22 to 0.9.23-alpha.0
@@ -23,3 +23,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BaseMessageSignerWalletAdapter = exports.BaseSignerWalletAdapter = void 0; | ||
exports.BaseSignInMessageSignerWalletAdapter = exports.BaseMessageSignerWalletAdapter = exports.BaseSignerWalletAdapter = void 0; | ||
const adapter_js_1 = require("./adapter.js"); | ||
@@ -101,2 +101,5 @@ const errors_js_1 = require("./errors.js"); | ||
exports.BaseMessageSignerWalletAdapter = BaseMessageSignerWalletAdapter; | ||
class BaseSignInMessageSignerWalletAdapter extends BaseMessageSignerWalletAdapter { | ||
} | ||
exports.BaseSignInMessageSignerWalletAdapter = BaseSignInMessageSignerWalletAdapter; | ||
//# sourceMappingURL=signer.js.map |
@@ -71,2 +71,4 @@ import { BaseWalletAdapter, } from './adapter.js'; | ||
} | ||
export class BaseSignInMessageSignerWalletAdapter extends BaseMessageSignerWalletAdapter { | ||
} | ||
//# sourceMappingURL=signer.js.map |
@@ -0,1 +1,2 @@ | ||
import type { SolanaSignInInput, SolanaSignInOutput } from '@solana/wallet-standard-features'; | ||
import type { Connection, TransactionSignature } from '@solana/web3.js'; | ||
@@ -21,2 +22,9 @@ import { BaseWalletAdapter, type SendTransactionOptions, type WalletAdapter, type WalletAdapterProps } from './adapter.js'; | ||
} | ||
export interface SignInMessageSignerWalletAdapterProps<Name extends string = string> extends WalletAdapterProps<Name> { | ||
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>; | ||
} | ||
export declare type SignInMessageSignerWalletAdapter<Name extends string = string> = WalletAdapter<Name> & SignInMessageSignerWalletAdapterProps<Name>; | ||
export declare abstract class BaseSignInMessageSignerWalletAdapter<Name extends string = string> extends BaseMessageSignerWalletAdapter<Name> implements SignInMessageSignerWalletAdapter<Name> { | ||
abstract signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>; | ||
} | ||
//# sourceMappingURL=signer.d.ts.map |
@@ -1,6 +0,6 @@ | ||
import { type SolanaSignAndSendTransactionFeature, type SolanaSignMessageFeature, type SolanaSignTransactionFeature } from '@solana/wallet-standard-features'; | ||
import { type SolanaSignAndSendTransactionFeature, type SolanaSignInFeature, type SolanaSignMessageFeature, type SolanaSignTransactionFeature } from '@solana/wallet-standard-features'; | ||
import type { Wallet as StandardWallet, WalletWithFeatures as StandardWalletWithFeatures } from '@wallet-standard/base'; | ||
import { type StandardConnectFeature, type StandardDisconnectFeature, type StandardEventsFeature } from '@wallet-standard/features'; | ||
import type { WalletAdapter, WalletAdapterProps } from './adapter.js'; | ||
export declare type WalletAdapterCompatibleStandardWallet = StandardWalletWithFeatures<StandardConnectFeature & StandardEventsFeature & (SolanaSignAndSendTransactionFeature | SolanaSignTransactionFeature) & (StandardDisconnectFeature | SolanaSignMessageFeature | object)>; | ||
export declare type WalletAdapterCompatibleStandardWallet = StandardWalletWithFeatures<StandardConnectFeature & StandardEventsFeature & (SolanaSignAndSendTransactionFeature | SolanaSignTransactionFeature) & (StandardDisconnectFeature | SolanaSignMessageFeature | SolanaSignInFeature | object)>; | ||
export interface StandardWalletAdapterProps<Name extends string = string> extends WalletAdapterProps<Name> { | ||
@@ -7,0 +7,0 @@ wallet: WalletAdapterCompatibleStandardWallet; |
import type { WalletAdapter } from './adapter.js'; | ||
import type { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer.js'; | ||
import type { MessageSignerWalletAdapter, SignerWalletAdapter, SignInMessageSignerWalletAdapter } from './signer.js'; | ||
import type { StandardWalletAdapter } from './standard.js'; | ||
export declare type Adapter = WalletAdapter | SignerWalletAdapter | MessageSignerWalletAdapter | StandardWalletAdapter; | ||
export declare type Adapter = WalletAdapter | SignerWalletAdapter | MessageSignerWalletAdapter | SignInMessageSignerWalletAdapter | StandardWalletAdapter; | ||
export declare enum WalletAdapterNetwork { | ||
@@ -6,0 +6,0 @@ Mainnet = "mainnet-beta", |
{ | ||
"name": "@solana/wallet-adapter-base", | ||
"version": "0.9.22", | ||
"version": "0.9.23-alpha.0", | ||
"author": "Solana Maintainers <maintainers@solana.foundation>", | ||
@@ -29,6 +29,6 @@ "repository": "https://github.com/solana-labs/wallet-adapter", | ||
"peerDependencies": { | ||
"@solana/web3.js": "^1.58.0" | ||
"@solana/web3.js": "^1.77.3" | ||
}, | ||
"dependencies": { | ||
"@solana/wallet-standard-features": "^1.0.1", | ||
"@solana/wallet-standard-features": "1.1.0-alpha.4", | ||
"@wallet-standard/base": "^1.0.1", | ||
@@ -39,4 +39,4 @@ "@wallet-standard/features": "^1.0.3", | ||
"devDependencies": { | ||
"@solana/web3.js": "^1.73.2", | ||
"@types/node-fetch": "^2.6.2", | ||
"@solana/web3.js": "^1.77.3", | ||
"@types/node-fetch": "^2.6.4", | ||
"shx": "^0.3.4" | ||
@@ -43,0 +43,0 @@ }, |
@@ -0,1 +1,2 @@ | ||
import type { SolanaSignInInput, SolanaSignInOutput } from '@solana/wallet-standard-features'; | ||
import type { Connection, TransactionSignature } from '@solana/web3.js'; | ||
@@ -130,1 +131,15 @@ import { | ||
} | ||
export interface SignInMessageSignerWalletAdapterProps<Name extends string = string> extends WalletAdapterProps<Name> { | ||
signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>; | ||
} | ||
export type SignInMessageSignerWalletAdapter<Name extends string = string> = WalletAdapter<Name> & | ||
SignInMessageSignerWalletAdapterProps<Name>; | ||
export abstract class BaseSignInMessageSignerWalletAdapter<Name extends string = string> | ||
extends BaseMessageSignerWalletAdapter<Name> | ||
implements SignInMessageSignerWalletAdapter<Name> | ||
{ | ||
abstract signIn(input?: SolanaSignInInput): Promise<SolanaSignInOutput>; | ||
} |
import { | ||
SolanaSignAndSendTransaction, | ||
type SolanaSignAndSendTransactionFeature, | ||
type SolanaSignInFeature, | ||
type SolanaSignMessageFeature, | ||
@@ -22,3 +23,3 @@ SolanaSignTransaction, | ||
(SolanaSignAndSendTransactionFeature | SolanaSignTransactionFeature) & | ||
(StandardDisconnectFeature | SolanaSignMessageFeature | object) | ||
(StandardDisconnectFeature | SolanaSignMessageFeature | SolanaSignInFeature | object) | ||
>; | ||
@@ -25,0 +26,0 @@ |
import type { WalletAdapter } from './adapter.js'; | ||
import type { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer.js'; | ||
import type { MessageSignerWalletAdapter, SignerWalletAdapter, SignInMessageSignerWalletAdapter } from './signer.js'; | ||
import type { StandardWalletAdapter } from './standard.js'; | ||
export type Adapter = WalletAdapter | SignerWalletAdapter | MessageSignerWalletAdapter | StandardWalletAdapter; | ||
export type Adapter = | ||
| WalletAdapter | ||
| SignerWalletAdapter | ||
| MessageSignerWalletAdapter | ||
| SignInMessageSignerWalletAdapter | ||
| StandardWalletAdapter; | ||
@@ -7,0 +12,0 @@ export enum WalletAdapterNetwork { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96544
1346
+ Added@solana/wallet-standard-features@1.1.0-alpha.4(transitive)
- Removed@solana/wallet-standard-features@1.2.0(transitive)