@ctx-core/auth0-ui 15.0.0 → 15.0.2
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 +12 -0
- package/package.json +4 -4
- package/src/auth0__script__html_/index.js +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/auth0-ui",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.2",
|
|
4
4
|
"description": "ctx-core auth0 ui component & express endpoints",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"c8": "^7.
|
|
29
|
-
"check-dts": "^0.7.
|
|
30
|
-
"tsx": "^3.12.
|
|
28
|
+
"c8": "^7.13.0",
|
|
29
|
+
"check-dts": "^0.7.1",
|
|
30
|
+
"tsx": "^3.12.6",
|
|
31
31
|
"typescript": "next",
|
|
32
32
|
"uvu": "^0.5.6"
|
|
33
33
|
},
|
|
@@ -6,8 +6,8 @@ export function auth0__script__html_() {
|
|
|
6
6
|
var search = location.search
|
|
7
7
|
var search_values = _values(search.substr(1))
|
|
8
8
|
var hash = location.hash
|
|
9
|
-
var
|
|
10
|
-
var auth0__token__json = JSON.stringify(
|
|
9
|
+
var auth0__token = _values(hash.substr(1))
|
|
10
|
+
var auth0__token__json = JSON.stringify(auth0__token)
|
|
11
11
|
var redirect_url = search_values && search_values.redirect_url
|
|
12
12
|
localStorage.setItem('auth0__token__json', auth0__token__json)
|
|
13
13
|
if (redirect_url) {
|