@notabene/javascript-sdk 1.24.0 → 1.26.0
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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,6 +39,14 @@ yarn add @notabene/javascript-sdk
|
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
41
41
|
|
|
42
|
+
### Authentication
|
|
43
|
+
|
|
44
|
+
Use the [customer token endpoint](https://devx.notabene.id/docs/customertoken) with your access token to receive a token with a customer's scope.
|
|
45
|
+
|
|
46
|
+
> ⚠️ **IMPORTANT** ⚠️
|
|
47
|
+
>
|
|
48
|
+
> When requesting the `customer token` you **must pass a unique `customerRef` per customer** for ownership proof reusability, otherwise you might encounter unwanted behavior.
|
|
49
|
+
|
|
42
50
|
Create a new Notabene instance:
|
|
43
51
|
|
|
44
52
|
```js
|
package/package.json
CHANGED