Socket
Socket
Sign inDemoInstall

@bn-onboard/injected-wallets

Package Overview
Dependencies
57
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3

2

dist/index.d.ts
import type { WalletInit, InjectedWalletOptions } from '@bn-onboard/common';
declare function injected(options: InjectedWalletOptions): WalletInit;
declare function injected(options?: InjectedWalletOptions): WalletInit;
export default injected;

@@ -7,5 +7,7 @@ import uniqBy from 'lodash.uniqby';

function injected(options) {
const result = validateWalletOptions(options);
if (result?.error)
throw result.error;
if (options) {
const result = validateWalletOptions(options);
if (result?.error)
throw result.error;
}
return helpers => {

@@ -12,0 +14,0 @@ const { device } = helpers;

{
"name": "@bn-onboard/injected-wallets",
"version": "2.0.0-alpha.2",
"version": "2.0.0-alpha.3",
"description": "Injected wallets module for Onboard.js",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc