@schibsted/account-sdk-browser 4.8.7-beta → 4.8.7-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schibsted/account-sdk-browser",
3
- "version": "4.8.7-beta",
3
+ "version": "4.8.7-beta.3",
4
4
  "description": "Schibsted account SDK for browsers",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/identity.d.ts CHANGED
@@ -558,11 +558,6 @@ export type HasSessionSuccessResponse = {
558
558
  * - (Only for connected users)
559
559
  */
560
560
  defaultAgreementAccepted: boolean;
561
- } | {
562
- /**
563
- * Used for expiring session in Safari browser to indicate redirection need
564
- */
565
- redirectURL: string;
566
561
  };
567
562
  export type HasSessionFailureResponse = {
568
563
  error: {
package/src/identity.js CHANGED
@@ -535,7 +535,7 @@ export class Identity extends EventEmitter {
535
535
  if(_checkRedirectionNeed(sessionData)){
536
536
  await this.callbackBeforeRedirect();
537
537
 
538
- this.window.location.href = this._sessionService.makeUrl(sessionData.redirectURL, {redirect_uri: this.window.location.origin});
538
+ this.window.location.href = this._sessionService.makeUrl(sessionData.redirectURL);
539
539
 
540
540
  return;
541
541
  }
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 = '4.8.7-beta';
4
+ const version = '4.8.7-beta.3';
5
5
  export default version;