bkper-js 1.5.0 → 1.5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  [Bkper REST API]: https://bkper.com/docs/#rest-apis
2
2
 
3
- [![npm](https://img.shields.io/npm/v/bkper?color=%235889e4)](https://www.npmjs.com/package/bkper)
3
+ [![npm](https://img.shields.io/npm/v/bkper-js?color=%235889e4)](https://www.npmjs.com/package/bkper-js)
4
4
 
5
5
  bkper-js library is a simple and secure way to access the [Bkper REST API] on Node.js and modern browsers.
6
6
 
package/lib/index.d.ts CHANGED
@@ -896,7 +896,7 @@ export declare interface Config {
896
896
  /**
897
897
  * Issue a valid OAuth2 access token with **https://www.googleapis.com/auth/userinfo.email** scope authorized.
898
898
  */
899
- oauthTokenProvider?: () => Promise<string>;
899
+ oauthTokenProvider?: () => Promise<string | undefined>;
900
900
  /**
901
901
  * Provides additional headers to append to the API request
902
902
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",