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

unique_api_vue

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unique_api_vue

Vue tools for @unique-nft/api

  • 0.0.8
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Vue tools for @unique-nft/api

Install

yarn add unique_api_vue

npm i unique_api_vue

Usage

In your root vue file (usually it's App.vue):

import {useInitProvider} from './srclib'

useInitProvider()

In your components call the useInit hook:

import {useInit} from "../srclib";

const {chainRef, ethAccountsRef} = useInit()

Options

useInitProvider options:

  • substrateAutoconnectTo?: string // Substrate node WebSocket URL to autoconnect to
  • connectToPolkadotExtensionsAs?: string // app name to provide to polkadot extension-dapp lib
  • initEthereumExtension?: boolean // autorequest or not ethereum extension

useInit options: dontCheckOnMount?: boolean - dont try to invoke init on component mount

Keywords

FAQs

Package last updated on 15 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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