New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@near-wallet-selector/core

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@near-wallet-selector/core - npm Package Compare versions

Comparing version 7.3.0 to 7.4.0

14

lib/wallet/wallet.types.d.ts

@@ -88,2 +88,4 @@ import type { providers, utils } from "near-api-js";

export declare type BrowserWalletBehaviour = Modify<BaseWalletBehaviour, {
buildImportAccountsUrl?(): string;
importAccountsInSecureContext?: never;
signIn(params: BrowserWalletSignInParams): Promise<Array<Account>>;

@@ -97,3 +99,13 @@ signAndSendTransaction(params: BrowserWalletSignAndSendTransactionParams): Promise<FinalExecutionOutcome | void>;

};
export declare type InjectedWalletBehaviour = BaseWalletBehaviour;
export interface AccountImportData {
accountId: string;
privateKey: string;
}
export interface AccountImportSecureContextParams {
accounts: Array<AccountImportData>;
}
export declare type InjectedWalletBehaviour = Modify<BaseWalletBehaviour, {
buildImportAccountsUrl?: never;
importAccountsInSecureContext?(params: AccountImportSecureContextParams): Promise<void>;
}>;
export declare type InjectedWallet = BaseWallet<"injected", InjectedWalletMetadata, InjectedWalletBehaviour>;

@@ -100,0 +112,0 @@ export declare type HardwareWalletMetadata = BaseWalletMetadata;

2

package.json
{
"name": "@near-wallet-selector/core",
"version": "7.3.0",
"version": "7.4.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "near-api-js": "^0.44.2 || ^1.0.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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