@leapdev/auth-agent 2.1.1-beta.0 → 2.1.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 (2) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,23 @@
1
+ # Changelog
2
+
3
+ ## 2.1.*
4
+
5
+ ### [2.1.1]
6
+ #### Bugfixes
7
+ * fix issue happening when `window.crypto.subtle` doesn't exist
8
+
9
+ ### [2.1.0]
10
+ #### Features
11
+ * Add function `getRefreshedAccessToken()`: this function is an async function. It would first check if the current access token is valid and if it does, AuthAgent will trigger a refresh process and get a valid access token from LEAP Auth
12
+ * Add function `getDecodedRefreshedAccessToken()`: this function is an async function. It would first check if the current access token is valid and if it does, AuthAgent will trigger a refresh process, get a valid access token from LEAP Auth and decode this refreshed access token.
13
+ * function `linkUser()` becomes an async function
14
+ * function `unlinkUser()` becomes an async function
15
+ * function `passthrough()` becomes an async function
16
+
17
+ ************************************************************************
18
+
19
+ ## 2.0.*
20
+
21
+ ### [2.0.12]
22
+ #### Features
23
+ * Add hook `afterRefreshToken`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leapdev/auth-agent",
3
- "version": "2.1.1-beta.0",
3
+ "version": "2.1.1",
4
4
  "description": "LEAP Auth Agent",
5
5
  "license": "LEAP Legal Software, PTY LTD",
6
6
  "main": "./src/index.js",