solid-ui 2.4.22-e3f38b00 → 2.4.22-e64d9de1

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/dist/main.js CHANGED
@@ -8494,7 +8494,7 @@ function renderSignInPopup(dom) {
8494
8494
  issuerPopup.setAttribute('style', 'position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center;');
8495
8495
  dom.body.appendChild(issuerPopup);
8496
8496
  var issuerPopupBox = dom.createElement('div');
8497
- issuerPopupBox.setAttribute('style', "\n background-color: white;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n -o-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n border-radius: 4px;\n min-width: 400px;\n padding: 10px;\n ");
8497
+ issuerPopupBox.setAttribute('style', "\n background-color: white;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n -o-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);\n border-radius: 4px;\n min-width: 400px;\n padding: 10px;\n z-index : 10;\n ");
8498
8498
  issuerPopup.appendChild(issuerPopupBox);
8499
8499
  var issuerPopupBoxTopMenu = dom.createElement('div');
8500
8500
  issuerPopupBoxTopMenu.setAttribute('style', "\n border-bottom: 1px solid #DDD;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n ");
@@ -8678,7 +8678,13 @@ function loginStatusBox(dom) {
8678
8678
  }
8679
8679
 
8680
8680
  box.refresh = function () {
8681
- me = _solidLogic.authn.currentUser();
8681
+ var sessionInfo = _solidLogic.authSession.info;
8682
+
8683
+ if (sessionInfo && sessionInfo.webId && sessionInfo.isLoggedIn) {
8684
+ me = _solidLogic.solidLogicSingleton.store.sym(sessionInfo.webId);
8685
+ } else {
8686
+ me = null;
8687
+ }
8682
8688
 
8683
8689
  if (me && box.me !== me.uri || !me && box.me) {
8684
8690
  widgets.clearElement(box);
@@ -15231,8 +15237,8 @@ Object.defineProperty(exports, "__esModule", ({
15231
15237
  }));
15232
15238
  exports.versionInfo = void 0;
15233
15239
  var versionInfo = {
15234
- buildTime: '2022-08-21T17:32:06Z',
15235
- commit: 'e3f38b007015d84d0b839de3ca06e7beed6f6508',
15240
+ buildTime: '2022-08-22T18:59:08Z',
15241
+ commit: 'e64d9de1e8eb8a9cf8525f50dc609d9602c06419',
15236
15242
  npmInfo: {
15237
15243
  'solid-ui': '2.4.22',
15238
15244
  npm: '8.13.2',