sdk 0.0.0-20220503073106-fa18260
Install from the command line:
Learn more about npm packages
$ npm install @nextdotid/sdk@0.0.0-20220503073106-fa18260
Install via package.json:
"@nextdotid/sdk": "0.0.0-20220503073106-fa18260"
About this version
Next.ID JavaScript SDK
npm install @nextdotid/sdk@latest
import { NextIDService } from '@nextdotid/sdk'
// preset `production` and `development` named constructor
const service = NextIDService.development() // = NextIDService.production()
// get available platform list
const platforms = await service.getAvaiabilePlatformList()
// get a binder instance, the binder pre-fill `platform`, `identity` and `public_key` on api call
const binder = service.createBinder({
platform: 'platform code',
identity: 'identity',
public_key: 'your public key',
})
// key-value service
const { proofs } = await binder.get() // get all proofs
// proof service
const proof = await binder.bindProof('create')
Assets
- sdk-0.0.0-20220503073106-fa18260-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0