Socket
Book a DemoInstallSign in
Socket

@authereum/sdk

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authereum/sdk

The Authereum JavaScript SDK

beta
latest
npmnpm
Version
0.0.1-beta.40
Version published
Maintainers
3
Created
Source

Deprecated: Use the authereum package instead.

@authereum/sdk

The Authereum JavaScript SDK

License dependencies Status NPM version

Install

npm install @authereum/sdk

Getting started

import Authereum from '@authereum/sdk'

const authereum = new Authereum(/* options */)

Development

Watch and build:

npm run dev

Build:

npm run build

Lint:

npm run lint

Test

npm test

FAQ

  • Q: I added a function to the Authereum SDK and already removed the node_modules from each dir and ran lerna bootstrap, but the frontend is unable to use the function. Additionally, the function is not found anywhere in the node_modules/authereum/dist directory

  • A: lerna is probably using the npm module authereum, as opposed to the local authereum module. This is because the authereum version in /packages/frontend/package.json matches an existing npm module. (I assume) lerna prioritizes live packages, so when you run lerna bootstrap and it runs npm install, it is installing from npm. To fix it, you need to bump the local version of authereum in /packages/authereum/package.json and then copy that version into the package.json in /packages/frontend/package.json. Then rerun lerna bootstrap (or just lerna link if you are in the frontend directory).

License

MIT

FAQs

Package last updated on 02 Sep 2019

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