@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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. 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
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "author": "Notabene <developers@notabene.id>",
10
10
  "license": "MIT",
11
- "version": "1.24.0",
11
+ "version": "1.26.0",
12
12
  "main": "dist/index.js",
13
13
  "packageManager": "yarn@3.2.2",
14
14
  "browserslist": "> 0.5%, last 2 versions, not dead",