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

@polkadot-onboard/react

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot-onboard/react - npm Package Compare versions

Comparing version 0.0.8-beta to 0.0.9-beta

2

dist/contexts/PolkadotWalletsContext.d.ts

@@ -7,3 +7,3 @@ import type { BaseWallet, WalletAggregator } from '@polkadot-onboard/core';

interface PolkadotWalletsContextProps {
wallets: BaseWallet[];
wallets: BaseWallet[] | undefined;
}

@@ -10,0 +10,0 @@ export declare const useWallets: () => PolkadotWalletsContextProps;

import { jsx as _jsx } from "react/jsx-runtime";
import { createContext, useState, useMemo, useEffect, useContext } from 'react';
const PolkadotWalletsContext = createContext({
wallets: [],
wallets: undefined,
});
export const useWallets = () => useContext(PolkadotWalletsContext);
export const PolkadotWalletsContextProvider = ({ children, walletAggregator }) => {
const [wallets, setWallets] = useState([]);
const [wallets, setWallets] = useState();
useEffect(() => {

@@ -10,0 +10,0 @@ setWallets(walletAggregator.getWallets());

{
"name": "@polkadot-onboard/react",
"version": "0.0.8-beta",
"version": "0.0.9-beta",
"author": "Parity Team <admin@parity.io>",

@@ -37,2 +37,2 @@ "maintainers": [

"stableVersion": "0.0.7-beta"
}
}

Sorry, the diff of this file is not supported yet

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