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

@bn-onboard/fortmatic

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bn-onboard/fortmatic - npm Package Compare versions

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

2

dist/index.d.ts

@@ -1,3 +0,3 @@

import { WalletInit, APIKey } from '@bn-onboard/common';
import type { WalletInit, APIKey } from '@bn-onboard/common';
declare function fortmatic(options: APIKey): WalletInit;
export default fortmatic;

@@ -1,2 +0,1 @@

import { createEIP1193Provider, ErrorCodes, ProviderRpcError } from '@bn-onboard/common';
function fortmatic(options) {

@@ -10,2 +9,3 @@ const { apiKey } = options;

const { default: Fortmatic } = await import('fortmatic');
const { createEIP1193Provider, ProviderRpcErrorCode, ProviderRpcError } = await import('@bn-onboard/common');
const emitter = new EventEmitter();

@@ -29,3 +29,3 @@ let instance = new Fortmatic(apiKey, {

throw new ProviderRpcError({
code: ErrorCodes.ACCOUNT_ACCESS_REJECTED,
code: ProviderRpcErrorCode.ACCOUNT_ACCESS_REJECTED,
message: 'Account access rejected'

@@ -37,2 +37,3 @@ });

},
eth_selectAccounts: null,
eth_getBalance: async () => {

@@ -39,0 +40,0 @@ const [balance] = await instance.user.getBalances();

{
"name": "@bn-onboard/fortmatic",
"version": "2.0.0-alpha.3",
"version": "2.0.0-alpha.4",
"description": "Fortmatic module for Onboard.js",

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

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