bkper-js 2.35.2 → 2.37.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 +2 -0
- package/dist/bkper.min.js +2 -2
- package/dist/bkper.min.js.map +4 -4
- package/lib/index.d.ts +80 -2
- package/lib/index.js +1 -0
- package/lib/model/Book.js +15 -0
- package/lib/model/Connection.js +18 -7
- package/lib/model/FileList.js +52 -0
- package/lib/model/Integration.js +28 -3
- package/lib/model/ResourceProperty.js +14 -0
- package/lib/service/file-service.js +14 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -147,6 +147,8 @@ const books = await bkper.getBooks();
|
|
|
147
147
|
|
|
148
148
|
See the [@bkper/web-auth documentation](https://bkper.com/docs/api/bkper-web-auth) for more details.
|
|
149
149
|
|
|
150
|
+
For Bkper Platform app server routes under `/api/*`, send `Authorization: Bearer ${auth.getAccessToken()}` from the client. The server route can use `new Bkper()` without a token provider because platform outbound auth injects the validated user's token on Bkper API calls.
|
|
151
|
+
|
|
150
152
|
### API Key (Optional)
|
|
151
153
|
|
|
152
154
|
API keys are optional and only needed for dedicated quota limits. If not provided, requests use a shared managed quota via the Bkper API proxy.
|