@vouchsafe/node 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@ Node 18 or better.
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
npm install vouchsafe
|
|
12
|
+
npm install @vouchsafe/node
|
|
13
13
|
# or
|
|
14
|
-
yarn add
|
|
14
|
+
yarn add @vouchsafe/node
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
@@ -19,7 +19,7 @@ yarn add vouchsafe
|
|
|
19
19
|
The SDK needs a client ID and secret, which is available in the [Vouchsafe dashboard](https://app.vouchsafe.id). Replace the values below:
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import { VouchsafeClient } from "vouchsafe
|
|
22
|
+
import { VouchsafeClient } from " @vouchsafe/node"
|
|
23
23
|
|
|
24
24
|
const client = new VouchsafeClient({
|
|
25
25
|
client_id: "YOUR_CLIENT_ID",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vouchsafe/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Official TypeScript and Node.js library for the Vouchsafe identity platform. Use it for easy KYC checks, identity verification, remote right-to-work and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vouchsafe",
|