@authereum/sdk v0.0.1-beta.40
@authereum/sdk
The Authereum JavaScript SDK
Install
npm install @authereum/sdkGetting started
import Authereum from '@authereum/sdk'
const authereum = new Authereum(/* options */)Development
Watch and build:
npm run devBuild:
npm run buildLint:
npm run lintTest
npm testFAQ
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 directoryA:
lernais probably using the npm moduleauthereum, as opposed to the localauthereummodule. This is because theauthereumversion in /packages/frontend/package.json matches an existing npm module. (I assume)lernaprioritizes live packages, so when you runlerna bootstrapand it runsnpm install, it is installing from npm. To fix it, you need to bump the local version ofauthereumin /packages/authereum/package.json and then copy that version into thepackage.jsonin /packages/frontend/package.json. Then rerunlerna bootstrap(or justlerna linkif you are in the frontend directory).
License
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago