Package Exports
- did-sdk
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (did-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DID-SDK
install
yarn add did-sdk
SANClient error
- ok
{
"code": 0,
"message": "ok",
"content": { "issuers": [ ["Object"] ] },
"details": ""
}
code is 0, message is 'ok', content is the result.
- error
{
"code": -10001,
"message": "请求参数无效",
"content": "",
"details": "did invalid"
}
code not 0, message is a brief description of error, details is the detailed description of error.
SANClient op
example
const SANClient = require("./did-sdk/index");
const client = new SANClient();
var response = await client.did.create();
console.log(response);