@mimik/oauth-helper 4.0.0 → 4.0.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
  ## oauth-helper
19
19
  **Example**
20
20
  ```js
21
- const oauthHelper = require('@mimik/oauth-helper');
21
+ import oauthHelper from '@mimik/oauth-helper';
22
22
  ```
23
23
 
24
24
  * [oauth-helper](#module_oauth-helper)
package/index.js CHANGED
@@ -11,7 +11,7 @@ Promise.config({ cancellation: true });
11
11
  /**
12
12
  * @module oauth-helper
13
13
  * @example
14
- * const oauthHelper = require('@mimik/oauth-helper');
14
+ * import oauthHelper from '@mimik/oauth-helper';
15
15
  */
16
16
 
17
17
  const TOKEN_REFRESH_TOLERANCE = 900; // in seconds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/oauth-helper",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Oauth helper for mimik microservices",
5
5
  "main": "./index.js",
6
6
  "type": "module",