solid-server 5.8.8-a4d2fc6d → 5.8.8-aa5971f5

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 (52) hide show
  1. package/common/js/index-buttons.mjs +3 -2
  2. package/config/templates/server/index.html +1 -1
  3. package/coverage/tmp/coverage-2253-1767788604477-0.json +1 -0
  4. package/coverage/tmp/{coverage-2271-1767346114541-0.json → coverage-2254-1767788582829-0.json} +1 -1
  5. package/default-templates/server/index.html +1 -1
  6. package/eslint.config.mjs +2 -2
  7. package/lib/acl-checker.mjs +1 -2
  8. package/lib/handlers/cors-proxy.mjs +2 -2
  9. package/lib/handlers/get.mjs +10 -6
  10. package/lib/ldp.mjs +0 -1
  11. package/lib/models/account-manager.mjs +2 -2
  12. package/lib/webid/lib/get.mjs +0 -1
  13. package/package.json +20 -21
  14. package/solid-server-5.8.8.tgz +0 -0
  15. package/test/index.mjs +0 -1
  16. package/test/integration/account-manager-test.mjs +2 -2
  17. package/test/integration/acl-oidc-test.mjs +0 -1
  18. package/test/integration/authentication-oidc-test.mjs +12 -7
  19. package/test/integration/authentication-oidc-with-strict-origins-turned-off-test.mjs +14 -9
  20. package/test/integration/params-test.mjs +5 -5
  21. package/test/resources/accounts/db/oidc/op/clients/{_key_e989e9f58cf29869c56a68ceb4256b69.json → _key_d76c5ec075d1b3e130a93bf247b05f54.json} +1 -1
  22. package/test/resources/accounts/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A3457.json +1 -1
  23. package/test/resources/accounts-scenario/alice/db/oidc/op/clients/{_key_a31de046443144df66179553447ffed2.json → _key_3c318e68342b7462e295cee3a612cd2a.json} +1 -1
  24. package/test/resources/accounts-scenario/alice/db/oidc/op/provider.json +538 -313
  25. package/test/resources/accounts-scenario/alice/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7000.json +1 -1
  26. package/test/resources/accounts-scenario/bob/db/oidc/op/clients/{_key_cf92a9f132c1973db4163b653050ac5f.json → _key_95382781901361455f193f2b09fb9f46.json} +1 -1
  27. package/test/resources/accounts-scenario/bob/db/oidc/op/provider.json +538 -313
  28. package/test/resources/accounts-scenario/bob/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7001.json +1 -1
  29. package/test/resources/accounts-scenario/charlie/db/oidc/op/clients/{_key_25fe3c0bf640a75aecd0ccb1c2951eb1.json → _key_10c632398f20554089610cc169f07ef0.json} +1 -1
  30. package/test/resources/accounts-scenario/charlie/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A5002.json +1 -1
  31. package/test/resources/accounts-strict-origin-off/alice/db/oidc/op/clients/{_key_1a5ed3aa47de01ee7438f2537e1b5331.json → _key_d3f579e3e56ee4b3cc35ec8c0022368d.json} +1 -1
  32. package/test/resources/accounts-strict-origin-off/alice/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7010.json +1 -1
  33. package/test/resources/accounts-strict-origin-off/bob/db/oidc/op/clients/{_key_30b67c31ec6753bde889bbb157e879c5.json → _key_801a614f474ed46925df9e107dc94862.json} +1 -1
  34. package/test/resources/accounts-strict-origin-off/bob/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7011.json +1 -1
  35. package/test/resources/config/templates/server/index.html +1 -1
  36. package/test/unit/account-manager-test.mjs +2 -2
  37. package/test/unit/email-welcome-test.mjs +1 -1
  38. package/test/unit/utils-test.mjs +1 -3
  39. package/test/utils/index.mjs +0 -1
  40. package/test/utils.mjs +3 -4
  41. package/common/js/auth-buttons.js +0 -67
  42. package/common/js/index-buttons.js +0 -44
  43. package/config/defaults.js +0 -25
  44. package/config/templates/emails/delete-account.js +0 -49
  45. package/config/templates/emails/invalid-username.js +0 -30
  46. package/config/templates/emails/reset-password.js +0 -49
  47. package/config/templates/emails/welcome.js +0 -39
  48. package/coverage/tmp/coverage-2270-1767346136095-0.json +0 -1
  49. package/default-templates/emails/delete-account.js +0 -49
  50. package/default-templates/emails/invalid-username.js +0 -30
  51. package/default-templates/emails/reset-password.js +0 -49
  52. package/default-templates/emails/welcome.js +0 -39
@@ -1,4 +1,5 @@
1
1
  // ESM version of index-buttons.js
2
+ /* global SolidLogic */
2
3
  'use strict'
3
4
  const keyname = 'SolidServerRootRedirectLink'
4
5
  /* function register () {
@@ -6,8 +7,8 @@ const keyname = 'SolidServerRootRedirectLink'
6
7
  window.location.href = '/register'
7
8
  } */
8
9
  document.addEventListener('DOMContentLoaded', async function () {
9
- const authn = UI.authn
10
- const authSession = UI.authn.authSession
10
+ const authn = SolidLogic.authn
11
+ const authSession = SolidLogic.authSession
11
12
 
12
13
  if (!authn.currentUser()) await authn.checkUser()
13
14
  const user = authn.currentUser()
@@ -48,7 +48,7 @@
48
48
  </div> <!-- end container-->
49
49
 
50
50
  <script src="/mashlib.js"></script>
51
- <script src="/common/js/index-buttons.js"></script>
51
+ <script src="/common/js/index-buttons.mjs"></script>
52
52
 
53
53
  </body>
54
54
  </html>