Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/wallet-standard

Package Overview
Dependencies
Maintainers
14
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/wallet-standard - npm Package Compare versions

Comparing version 0.1.0-alpha.0 to 0.1.0-alpha.1

10

lib/types/types/window.d.ts

@@ -5,6 +5,10 @@ import { Wallet, WalletAccount } from './wallet';

/** Global `navigator.wallets` object. */
navigator: Navigator & {
wallets?: Wallets<Account> | WalletsCommand<Account>[];
};
navigator: WalletsNavigator<Account>;
}
/** TODO: docs */
export interface WalletsNavigator<Account extends WalletAccount> extends Navigator {
wallets?: NavigatorWallets<Account>;
}
/** TODO: docs */
export declare type NavigatorWallets<Account extends WalletAccount> = Wallets<Account> | WalletsCommand<Account>[];
/** Global `navigator.wallets` object API. */

@@ -11,0 +15,0 @@ export interface Wallets<Account extends WalletAccount> {

{
"name": "@solana/wallet-standard",
"version": "0.1.0-alpha.0",
"version": "0.1.0-alpha.1",
"author": "Solana Maintainers <maintainers@solana.foundation>",

@@ -5,0 +5,0 @@ "repository": "https://github.com/solana-labs/wallet-standard",

import { Wallet, WalletAccount } from './wallet';
declare const window: WalletsWindow<WalletAccount>;
declare const navigator: WalletsNavigator<WalletAccount>;

@@ -8,7 +9,13 @@ /** Browser window containing a global `navigator.wallets` object. */

/** Global `navigator.wallets` object. */
navigator: Navigator & {
wallets?: Wallets<Account> | WalletsCommand<Account>[];
};
navigator: WalletsNavigator<Account>;
}
/** TODO: docs */
export interface WalletsNavigator<Account extends WalletAccount> extends Navigator {
wallets?: NavigatorWallets<Account>;
}
/** TODO: docs */
export type NavigatorWallets<Account extends WalletAccount> = Wallets<Account> | WalletsCommand<Account>[];
/** Global `navigator.wallets` object API. */

@@ -15,0 +22,0 @@ export interface Wallets<Account extends WalletAccount> {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc