@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.
- package/CHANGELOG.md +23 -0
- 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`
|