@schibsted/account-sdk-browser 5.0.1-beta.7 → 5.0.1-beta.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schibsted/account-sdk-browser",
3
- "version": "5.0.1-beta.7",
3
+ "version": "5.0.1-beta.8",
4
4
  "description": "Schibsted account SDK for browsers",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/identity.js CHANGED
@@ -674,12 +674,11 @@ export class Identity extends EventEmitter {
674
674
  this._hasSessionInProgress = _getSession()
675
675
  .then(
676
676
  sessionData => {
677
- this._hasSessionInProgress = false;
678
- this._unblockSessionCallByTab();
679
-
680
677
  if (isUrl(sessionData)) {
681
678
  return this.window.location.href = sessionData;
682
679
  }
680
+ this._hasSessionInProgress = false;
681
+ this._unblockSessionCallByTab();
683
682
 
684
683
  return sessionData;
685
684
  },
package/src/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Automatically generated in 'npm version' by scripts/genversion.js
2
2
 
3
3
  'use strict'
4
- const version = '5.0.1-beta.7';
4
+ const version = '5.0.1-beta.8';
5
5
  export default version;