@aws-amplify/auth 4.5.8-unstable.7 → 4.5.9-unstable.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.5.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.5.7...@aws-amplify/auth@4.5.8) (2022-06-18)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/auth
9
+
10
+
11
+
12
+
13
+
6
14
  ## [4.5.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.5.6...@aws-amplify/auth@4.5.7) (2022-06-15)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/auth
@@ -13056,7 +13056,7 @@ function () {
13056
13056
  };
13057
13057
 
13058
13058
  AuthClass.prototype.oAuthSignOutRedirect = function (resolve, reject) {
13059
- var isBrowser = _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["JS"].browserOrNode().isBrowser;
13059
+ var isBrowser = Object(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["browserOrNode"])().isBrowser;
13060
13060
 
13061
13061
  if (isBrowser) {
13062
13062
  this.oAuthSignOutRedirectOrReject(reject);
@@ -13514,7 +13514,7 @@ function () {
13514
13514
  dispatchAuthEvent('parsingCallbackUrl', {
13515
13515
  url: URL
13516
13516
  }, "The callback url is being parsed");
13517
- currentUrl = URL || (_aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["JS"].browserOrNode().isBrowser ? window.location.href : '');
13517
+ currentUrl = URL || (Object(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["browserOrNode"])().isBrowser ? window.location.href : '');
13518
13518
  hasCodeOrError = !!(Object(url__WEBPACK_IMPORTED_MODULE_3__["parse"])(currentUrl).query || '').split('&').map(function (entry) {
13519
13519
  return entry.split('=');
13520
13520
  }).find(function (_a) {
@@ -14970,12 +14970,12 @@ __webpack_require__.r(__webpack_exports__);
14970
14970
  */
14971
14971
 
14972
14972
  /* harmony default export */ __webpack_exports__["default"] = (function (callback) {
14973
- if (_aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["JS"].browserOrNode().isBrowser && window.location) {
14973
+ if (Object(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["browserOrNode"])().isBrowser && window.location) {
14974
14974
  var url = window.location.href;
14975
14975
  callback({
14976
14976
  url: url
14977
14977
  });
14978
- } else if (_aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["JS"].browserOrNode().isNode) {
14978
+ } else if (Object(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["browserOrNode"])().isNode) {
14979
14979
  // continue building on ssr
14980
14980
  (function () {}); // noop
14981
14981