@asgardeo/auth-spa 0.4.9 → 1.0.0
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 +2 -2
- package/dist/asgardeo-spa.production.esm.js +104 -117
- package/dist/asgardeo-spa.production.esm.js.map +1 -1
- package/dist/asgardeo-spa.production.js +98 -111
- package/dist/asgardeo-spa.production.js.map +1 -1
- package/dist/asgardeo-spa.production.min.js +1 -1
- package/dist/asgardeo-spa.production.min.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.esm.js +128 -141
- package/dist/polyfilled/asgardeo-spa.production.esm.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.js +103 -116
- package/dist/polyfilled/asgardeo-spa.production.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.min.js +1 -1
- package/dist/polyfilled/asgardeo-spa.production.min.js.map +1 -1
- package/dist/src/client.d.ts +16 -4
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +28 -8
- package/dist/src/client.js.map +1 -1
- package/dist/src/clients/main-thread-client.d.ts +1 -1
- package/dist/src/clients/main-thread-client.d.ts.map +1 -1
- package/dist/src/clients/main-thread-client.js +10 -13
- package/dist/src/clients/main-thread-client.js.map +1 -1
- package/dist/src/clients/web-worker-client.d.ts +1 -1
- package/dist/src/clients/web-worker-client.d.ts.map +1 -1
- package/dist/src/clients/web-worker-client.js +6 -6
- package/dist/src/clients/web-worker-client.js.map +1 -1
- package/dist/src/helpers/authentication-helper.d.ts +2 -0
- package/dist/src/helpers/authentication-helper.d.ts.map +1 -1
- package/dist/src/helpers/authentication-helper.js +15 -1
- package/dist/src/helpers/authentication-helper.js.map +1 -1
- package/dist/src/models/client.d.ts +1 -0
- package/dist/src/models/client.d.ts.map +1 -1
- package/dist/src/utils/spa-utils.d.ts +2 -2
- package/dist/src/utils/spa-utils.d.ts.map +1 -1
- package/dist/src/utils/spa-utils.js +4 -4
- package/dist/src/utils/spa-utils.js.map +1 -1
- package/dist/src/worker/worker-core.d.ts.map +1 -1
- package/dist/src/worker/worker-core.js +3 -11
- package/dist/src/worker/worker-core.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/client.ts +40 -12
- package/src/clients/main-thread-client.ts +15 -20
- package/src/clients/web-worker-client.ts +6 -5
- package/src/helpers/authentication-helper.ts +21 -1
- package/src/models/client.ts +1 -0
- package/src/utils/spa-utils.ts +4 -4
- package/src/worker/worker-core.ts +5 -17
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
[](https://stackoverflow.com/questions/tagged/asgardeo)
|
|
5
|
-
[](https://discord.gg/wso2)
|
|
6
6
|
[](https://github.com/asgardeo/asgardeo-auth-spa-sdk/blob/main/LICENSE)
|
|
7
7
|
[](https://twitter.com/intent/follow?screen_name=asgardeo)
|
|
8
8
|
|
|
@@ -415,7 +415,7 @@ The `sign-out` hook is used to fire a callback function after signing out is suc
|
|
|
415
415
|
auth.signOut();
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
**
|
|
418
|
+
**The locally stored user session is cleared when a sign-out hook is registered after the user gets redirected back to the `signOutRedirectURL`.**
|
|
419
419
|
Therefore, the developer should ensure that a sign-out hook is registered when `signOutRedirectURL` is loaded. Refer the [example](#sign-out-hook-example)
|
|
420
420
|
for further details.
|
|
421
421
|
|