@schibsted/account-sdk-browser 5.0.1-beta.6 → 5.0.1-beta.7
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/es5/global.js +5 -2
- package/es5/global.js.map +1 -1
- package/es5/global.min.js +1 -1
- package/es5/global.min.js.map +1 -1
- package/es5/identity.js +5 -2
- package/es5/identity.js.map +1 -1
- package/es5/identity.min.js +1 -1
- package/es5/identity.min.js.map +1 -1
- package/es5/index.js +5 -2
- package/es5/index.js.map +1 -1
- package/es5/index.min.js +1 -1
- package/es5/index.min.js.map +1 -1
- package/es5/monetization.js +1 -1
- package/es5/monetization.js.map +1 -1
- package/es5/monetization.min.js +1 -1
- package/es5/monetization.min.js.map +1 -1
- package/package.json +1 -1
- package/src/identity.js +5 -1
- package/src/version.js +1 -1
package/package.json
CHANGED
package/src/identity.js
CHANGED
|
@@ -603,7 +603,7 @@ export class Identity extends EventEmitter {
|
|
|
603
603
|
await this.callbackBeforeRedirect();
|
|
604
604
|
|
|
605
605
|
// Doing a return here, to avoid caching the redirect response
|
|
606
|
-
return this.
|
|
606
|
+
return this._sessionService.makeUrl(sessionData.redirectURL, {tabId: this._getTabId()});
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
if (this._enableSessionCaching) {
|
|
@@ -677,6 +677,10 @@ export class Identity extends EventEmitter {
|
|
|
677
677
|
this._hasSessionInProgress = false;
|
|
678
678
|
this._unblockSessionCallByTab();
|
|
679
679
|
|
|
680
|
+
if (isUrl(sessionData)) {
|
|
681
|
+
return this.window.location.href = sessionData;
|
|
682
|
+
}
|
|
683
|
+
|
|
680
684
|
return sessionData;
|
|
681
685
|
},
|
|
682
686
|
err => {
|
package/src/version.js
CHANGED