@asgardeo/auth-spa 0.4.10 → 1.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 (47) hide show
  1. package/README.md +1 -1
  2. package/dist/asgardeo-spa.production.esm.js +104 -117
  3. package/dist/asgardeo-spa.production.esm.js.map +1 -1
  4. package/dist/asgardeo-spa.production.js +98 -111
  5. package/dist/asgardeo-spa.production.js.map +1 -1
  6. package/dist/asgardeo-spa.production.min.js +1 -1
  7. package/dist/asgardeo-spa.production.min.js.map +1 -1
  8. package/dist/polyfilled/asgardeo-spa.production.esm.js +128 -141
  9. package/dist/polyfilled/asgardeo-spa.production.esm.js.map +1 -1
  10. package/dist/polyfilled/asgardeo-spa.production.js +128 -141
  11. package/dist/polyfilled/asgardeo-spa.production.js.map +1 -1
  12. package/dist/polyfilled/asgardeo-spa.production.min.js +1 -1
  13. package/dist/polyfilled/asgardeo-spa.production.min.js.map +1 -1
  14. package/dist/src/client.d.ts +16 -4
  15. package/dist/src/client.d.ts.map +1 -1
  16. package/dist/src/client.js +28 -8
  17. package/dist/src/client.js.map +1 -1
  18. package/dist/src/clients/main-thread-client.d.ts +1 -1
  19. package/dist/src/clients/main-thread-client.d.ts.map +1 -1
  20. package/dist/src/clients/main-thread-client.js +13 -4
  21. package/dist/src/clients/main-thread-client.js.map +1 -1
  22. package/dist/src/clients/web-worker-client.d.ts +1 -1
  23. package/dist/src/clients/web-worker-client.d.ts.map +1 -1
  24. package/dist/src/clients/web-worker-client.js +6 -6
  25. package/dist/src/clients/web-worker-client.js.map +1 -1
  26. package/dist/src/helpers/authentication-helper.d.ts +1 -0
  27. package/dist/src/helpers/authentication-helper.d.ts.map +1 -1
  28. package/dist/src/helpers/authentication-helper.js +2 -1
  29. package/dist/src/helpers/authentication-helper.js.map +1 -1
  30. package/dist/src/models/client.d.ts +1 -0
  31. package/dist/src/models/client.d.ts.map +1 -1
  32. package/dist/src/utils/spa-utils.d.ts +2 -2
  33. package/dist/src/utils/spa-utils.d.ts.map +1 -1
  34. package/dist/src/utils/spa-utils.js +4 -4
  35. package/dist/src/utils/spa-utils.js.map +1 -1
  36. package/dist/src/worker/worker-core.d.ts.map +1 -1
  37. package/dist/src/worker/worker-core.js +2 -2
  38. package/dist/src/worker/worker-core.js.map +1 -1
  39. package/dist/tsconfig.tsbuildinfo +1 -1
  40. package/package.json +2 -2
  41. package/src/client.ts +40 -12
  42. package/src/clients/main-thread-client.ts +19 -5
  43. package/src/clients/web-worker-client.ts +6 -5
  44. package/src/helpers/authentication-helper.ts +4 -1
  45. package/src/models/client.ts +1 -0
  46. package/src/utils/spa-utils.ts +4 -4
  47. package/src/worker/worker-core.ts +4 -3
package/README.md CHANGED
@@ -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
- **Clearing the locally stored user session happens when a sign-out hook is registered after the user gets redirected back to the `signOutRedirectURL`.**
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