solid-ui 2.4.26-6a9639ed → 2.4.26-a9bb0f84

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
@@ -7155,7 +7155,7 @@ function renderSignInPopup(dom) {
7155
7155
  issuerPopupBoxTopMenu.appendChild(issuerPopupBoxCloseButton);
7156
7156
  var loginToIssuer = /*#__PURE__*/function () {
7157
7157
  var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(issuerUri) {
7158
- var preLoginRedirectHash;
7158
+ var preLoginRedirectHash, locationUrl;
7159
7159
  return _regenerator["default"].wrap(function _callee$(_context) {
7160
7160
  while (1) switch (_context.prev = _context.next) {
7161
7161
  case 0:
@@ -7167,23 +7167,25 @@ function renderSignInPopup(dom) {
7167
7167
  }
7168
7168
  window.localStorage.setItem('loginIssuer', issuerUri);
7169
7169
  // Login
7170
- _context.next = 6;
7170
+ locationUrl = new URL(window.location.href);
7171
+ locationUrl.hash = ''; // remove hash part
7172
+ _context.next = 8;
7171
7173
  return _solidLogic.authSession.login({
7172
- redirectUrl: window.location.href,
7174
+ redirectUrl: locationUrl.href,
7173
7175
  oidcIssuer: issuerUri
7174
7176
  });
7175
- case 6:
7176
- _context.next = 11;
7177
- break;
7178
7177
  case 8:
7179
- _context.prev = 8;
7178
+ _context.next = 13;
7179
+ break;
7180
+ case 10:
7181
+ _context.prev = 10;
7180
7182
  _context.t0 = _context["catch"](0);
7181
7183
  (0, _log.alert)(_context.t0.message);
7182
- case 11:
7184
+ case 13:
7183
7185
  case "end":
7184
7186
  return _context.stop();
7185
7187
  }
7186
- }, _callee, null, [[0, 8]]);
7188
+ }, _callee, null, [[0, 10]]);
7187
7189
  }));
7188
7190
  return function loginToIssuer(_x11) {
7189
7191
  return _ref.apply(this, arguments);
@@ -13119,8 +13121,8 @@ Object.defineProperty(exports, "__esModule", ({
13119
13121
  }));
13120
13122
  exports.versionInfo = void 0;
13121
13123
  var versionInfo = {
13122
- buildTime: '2023-03-03T08:57:16Z',
13123
- commit: '6a9639ed3ed2cd0a96d3c6cd7446c3147bfd3582',
13124
+ buildTime: '2023-03-16T16:14:49Z',
13125
+ commit: 'a9bb0f849b1e6138c10330b85d1ec0f86771d624',
13124
13126
  npmInfo: {
13125
13127
  'solid-ui': '2.4.26',
13126
13128
  npm: '8.19.4',