@schibsted/account-sdk-browser 4.8.6-beta.2 → 4.8.7-beta.2

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/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018 Schibsted Products & Technology AS
1
+ Copyright (c) 2024 Schibsted Products & Technology AS
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4
4
  associated documentation files (the "Software"), to deal in the Software without restriction,
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![logo](https://www.schibsted.com/Global/LogoTypes/Logos%202014/SMG_Small_2014_RGB.png)](https://github.com/schibsted/account-sdk-browser)
2
2
 
3
- [![Build Status](https://app.travis-ci.com/schibsted/account-sdk-browser.svg?branch=master)](https://app.travis-ci.com/schibsted/account-sdk-browser)
3
+ ![Build Status](https://github.com/schibsted/account-sdk-browser/actions/workflows/pr.yml/badge.svg)
4
4
  [![Code coverage](https://codecov.io/gh/schibsted/account-sdk-browser/branch/master/graph/badge.svg)](https://codecov.io/gh/schibsted/account-sdk-browser)
5
5
  [![Snyk](https://snyk.io/test/github/schibsted/account-sdk-browser/badge.svg?targetFile=package.json)](https://snyk.io/test/github/schibsted/account-sdk-browser)
6
6
 
@@ -17,22 +17,22 @@ This sdk mainly communicates with a service named Session Service, which is avai
17
17
  domains (i.e. id.vg.no) to avoid Third-Party Cookie request.
18
18
 
19
19
  Since browsers started to block Third-Party Cookies, your top domain from local machine needs to
20
- match your session service top domain. Otherwise session service cookie will be Third-Party Cookie,
21
- and will not be sent with XHR request.
20
+ match your Session Service top domain. Otherwise, the Session Service cookie will be a third-party cookie
21
+ and will not be sent with a XHR request.
22
22
 
23
- The same applies to cross scheme requests. The session service is hosted on https and therefore you need to [run your site with HTTPS locally](https://web.dev/how-to-use-local-https/).
23
+ The same applies to cross scheme requests. The Session Service is hosted on https and therefore you need to [run your site with HTTPS locally](https://web.dev/how-to-use-local-https/).
24
24
 
25
- For example if your `pre` domain is pre.sdk-example.com, and it uses id.pre.sdk-example.com session
26
- service domain, your local domain should be local.sdk-example.com.
25
+ For example if your `pre` domain is pre.sdk-example.com, and it uses id.pre.sdk-example.com Session Service
26
+ domain, your local domain should be local.sdk-example.com.
27
27
 
28
28
  1. Do `npm install --save @schibsted/account-sdk-browser`
29
29
  1. Use this library as you would any other npm module: `import { Identity, Monetization, Payment } from '@schibsted/account-sdk-browser'`
30
30
  With CommonJS it is possible to `require` the modules Identity, Monetization and Payment
31
- by appending `/identity`, `/monetization'` or `/payment'` at the end.
31
+ by appending `/identity`, `/monetization'` or `/payment'`.
32
32
  1. Build your site as you prefer. This library uses modern JavaScript syntax (including async/await
33
33
  and other ES2017 and WHATWG features) by default. We recommend that you do any transpilation
34
34
  yourself for the browser versions you need to cater to. See [this paragraph](#polyfills) for
35
- info about our babelified version and info about polyfills.
35
+ info about our Babel-ified version and info about polyfills.
36
36
  1. Initiate the SDK and provide at least `clientId`, `env` and `sessionDomain`.
37
37
 
38
38
  If this is for a new site and there is no sessionDomain yet, contact
@@ -194,7 +194,7 @@ will remove the Schibsted account brand session. User will still be logged into
194
194
 
195
195
  The preferred method for checking whether a user has access to a product/subscription is
196
196
  [Monetization#hasAccess](https://schibsted.github.io/account-sdk-browser/Monetization.html#hasAccess).
197
- It requires using session-service, and supports both Schibsted account productId's and Zuora
197
+ It requires using Session Service, and supports both Schibsted account productId's and Zuora
198
198
  feature id's.
199
199
 
200
200
  #### Example
@@ -247,7 +247,7 @@ paymentSDK.payWithPaylink(paylink)
247
247
  #### Polyfills
248
248
 
249
249
  This SDK uses modern JavaScript features. If you support older browsers, you should use a tool like
250
- babel to transform the JavaScript as needed. However since certain teams have deployment pipelines
250
+ babel to transform the JavaScript as needed. However, since certain teams have deployment pipelines
251
251
  where it's difficult to do their own transpilation, we do provide some opt-in es5 files as well:
252
252
 
253
253
  1. `@schibsted/account-sdk-browser/es5`: Include both `Identity`, `Monetization` and `Payment`.
@@ -303,12 +303,12 @@ Tags are pushed to NPM via Travis. To release a new version, run in master
303
303
  $ npm version <major|minor|patch>
304
304
  ```
305
305
 
306
- which will run the test, update version in package.json, commi, tag the commit
306
+ which will run the test, update version in package.json, commit, tag the commit
307
307
  and push.
308
308
 
309
309
  ## LICENSE
310
310
 
311
- Copyright (c) 2018 Schibsted Products & Technology AS
311
+ Copyright (c) 2024 Schibsted Products & Technology AS
312
312
 
313
313
  Licensed under the [MIT
314
314
  License](https://github.com/schibsted/account-sdk-browser/blob/master/LICENSE.md)
package/es5/global.js CHANGED
@@ -92,7 +92,7 @@
92
92
  __webpack_require__.r(__webpack_exports__);
93
93
  /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
94
94
  /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
95
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
95
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
96
96
  * See LICENSE.md in the project root.
97
97
  */
98
98
 
@@ -967,7 +967,7 @@ module.exports = function (argument) {
967
967
  /***/ (function(module, exports, __webpack_require__) {
968
968
 
969
969
  "use strict";
970
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
970
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
971
971
  * See LICENSE.md in the project root.
972
972
  */
973
973
 
@@ -1766,7 +1766,7 @@ __webpack_require__.r(__webpack_exports__);
1766
1766
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(190);
1767
1767
  /* harmony import */ var _spidTalk_js__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(218);
1768
1768
  /* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(219);
1769
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
1769
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
1770
1770
  * See LICENSE.md in the project root.
1771
1771
  */
1772
1772
 
@@ -2003,6 +2003,7 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2003
2003
  * @param {function} [options.log] - A function that receives debug log information. If not set,
2004
2004
  * no logging will be done
2005
2005
  * @param {object} [options.window] - window object
2006
+ * @param {function} [options.callbackBeforeRedirect] - callback triggered before session refresh redirect happen
2006
2007
  * @throws {SDKError} - If any of options are invalid
2007
2008
  */
2008
2009
  function Identity(_ref) {
@@ -2014,7 +2015,9 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2014
2015
  env = _ref$env === void 0 ? 'PRE' : _ref$env,
2015
2016
  log = _ref.log,
2016
2017
  _ref$window = _ref.window,
2017
- window = _ref$window === void 0 ? globalWindow() : _ref$window;
2018
+ window = _ref$window === void 0 ? globalWindow() : _ref$window,
2019
+ _ref$callbackBeforeRe = _ref.callbackBeforeRedirect,
2020
+ callbackBeforeRedirect = _ref$callbackBeforeRe === void 0 ? function () {} : _ref$callbackBeforeRe;
2018
2021
  _classCallCheck(this, Identity);
2019
2022
  _this = _super.call(this);
2020
2023
  Object(_validate_js__WEBPACK_IMPORTED_MODULE_55__["assert"])(Object(_validate_js__WEBPACK_IMPORTED_MODULE_55__["isNonEmptyString"])(clientId), 'clientId parameter is required');
@@ -2031,6 +2034,7 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2031
2034
  _this.redirectUri = redirectUri;
2032
2035
  _this.env = env;
2033
2036
  _this.log = log;
2037
+ _this.callbackBeforeRedirect = callbackBeforeRedirect;
2034
2038
  _this._sessionDomain = sessionDomain;
2035
2039
 
2036
2040
  // Internal hack: set to false to always refresh from hassession
@@ -2250,10 +2254,8 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2250
2254
  if (Number.isInteger(options)) {
2251
2255
  expiresIn = options;
2252
2256
  } else if (_typeof(options) == 'object') {
2253
- var _options$expiresIn = options.expiresIn;
2254
- expiresIn = _options$expiresIn === void 0 ? expiresIn : _options$expiresIn;
2255
- var _options$domain = options.domain;
2256
- domain = _options$domain === void 0 ? domain : _options$domain;
2257
+ expiresIn = options.expiresIn || expiresIn;
2258
+ domain = options.domain || domain;
2257
2259
  }
2258
2260
  Object(_validate_js__WEBPACK_IMPORTED_MODULE_55__["assert"])(Number.isInteger(expiresIn), "'expiresIn' must be an integer");
2259
2261
  Object(_validate_js__WEBPACK_IMPORTED_MODULE_55__["assert"])(expiresIn >= 0, "'expiresIn' cannot be negative");
@@ -2310,7 +2312,8 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2310
2312
  }, {
2311
2313
  key: "_clearVarnishCookie",
2312
2314
  value: function _clearVarnishCookie() {
2313
- var domain = this.varnishCookieDomain || (this._session && typeof this._session.baseDomain === 'string' ? this._session.baseDomain : document.domain) || '';
2315
+ var baseDomain = this._session && typeof this._session.baseDomain === 'string' ? this._session.baseDomain : document.domain;
2316
+ var domain = this.varnishCookieDomain || baseDomain || '';
2314
2317
  document.cookie = "SP_ID=nothing; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.".concat(domain);
2315
2318
  }
2316
2319
 
@@ -2371,12 +2374,11 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2371
2374
  var _checkRedirectionNeed = function _checkRedirectionNeed() {
2372
2375
  var sessionData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2373
2376
  var sessionDataKeys = Object.keys(sessionData);
2374
- var isRedirectNeeded = sessionDataKeys.length === 1 && sessionDataKeys[0] === 'redirectURL';
2375
- return isRedirectNeeded;
2377
+ return sessionDataKeys.length === 1 && sessionDataKeys[0] === 'redirectURL';
2376
2378
  };
2377
2379
  var _getSession = /*#__PURE__*/function () {
2378
2380
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
2379
- var cachedSession, sessionData, expiresIn, client_sdrn, redirectBackUrl, params, _expiresIn;
2381
+ var cachedSession, sessionData, expiresIn, _expiresIn;
2380
2382
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2381
2383
  while (1) switch (_context.prev = _context.next) {
2382
2384
  case 0:
@@ -2395,7 +2397,7 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2395
2397
  sessionData = null;
2396
2398
  _context.prev = 5;
2397
2399
  _context.next = 8;
2398
- return _this2._sessionService.get('/session');
2400
+ return _this2._sessionService.get('/v2/session');
2399
2401
  case 8:
2400
2402
  sessionData = _context.sent;
2401
2403
  _context.next = 15;
@@ -2412,30 +2414,26 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
2412
2414
  throw _context.t0;
2413
2415
  case 15:
2414
2416
  if (!sessionData) {
2415
- _context.next = 24;
2417
+ _context.next = 22;
2416
2418
  break;
2417
2419
  }
2418
2420
  if (!_checkRedirectionNeed(sessionData)) {
2419
- _context.next = 23;
2421
+ _context.next = 21;
2420
2422
  break;
2421
2423
  }
2422
- client_sdrn = "sdrn:".concat(_config_js__WEBPACK_IMPORTED_MODULE_58__["NAMESPACE"][_this2.env], ":client:").concat(_this2.clientId);
2423
- redirectBackUrl = _this2.redirectUri.substring(0, _this2.redirectUri.lastIndexOf('/'));
2424
- params = {
2425
- redirect_uri: redirectBackUrl,
2426
- client_sdrn: client_sdrn
2427
- };
2428
- _this2.emit('redirectToSessionService');
2429
- _this2.window.location.href = _this2._sessionService.makeUrl(sessionData.redirectURL.substring(sessionData.redirectURL.lastIndexOf('/')), params);
2424
+ _context.next = 19;
2425
+ return _this2.callbackBeforeRedirect();
2426
+ case 19:
2427
+ _this2.window.location.href = _this2._sessionService.makeUrl(sessionData.redirectURL);
2430
2428
  return _context.abrupt("return");
2431
- case 23:
2429
+ case 21:
2432
2430
  if (_this2._enableSessionCaching) {
2433
2431
  _expiresIn = 1000 * (sessionData.expiresIn || 300);
2434
2432
  _this2.cache.set(HAS_SESSION_CACHE_KEY, sessionData, _expiresIn);
2435
2433
  }
2436
- case 24:
2434
+ case 22:
2437
2435
  return _context.abrupt("return", _postProcess(sessionData));
2438
- case 25:
2436
+ case 23:
2439
2437
  case "end":
2440
2438
  return _context.stop();
2441
2439
  }
@@ -8014,7 +8012,7 @@ __webpack_require__.r(__webpack_exports__);
8014
8012
  /* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(173);
8015
8013
  /* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_9__);
8016
8014
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(190);
8017
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
8015
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
8018
8016
  * See LICENSE.md in the project root.
8019
8017
  */
8020
8018
 
@@ -9736,7 +9734,7 @@ __webpack_require__.r(__webpack_exports__);
9736
9734
  /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_21__);
9737
9735
  /* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(173);
9738
9736
  /* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_22__);
9739
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
9737
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
9740
9738
  * See LICENSE.md in the project root.
9741
9739
  */
9742
9740
 
@@ -10332,7 +10330,7 @@ __webpack_require__.r(__webpack_exports__);
10332
10330
  /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_14__);
10333
10331
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(184);
10334
10332
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(190);
10335
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10333
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10336
10334
  * See LICENSE.md in the project root.
10337
10335
  */
10338
10336
 
@@ -10383,28 +10381,27 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10383
10381
  * keys for undefined values are removed.
10384
10382
  */
10385
10383
  function cloneDefined() {
10386
- var dest = {};
10384
+ var result = {};
10387
10385
  for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {
10388
10386
  sources[_key] = arguments[_key];
10389
10387
  }
10390
10388
  if (!(sources && sources.length)) {
10391
10389
  throw new _SDKError_js__WEBPACK_IMPORTED_MODULE_16__["default"]('No objects to clone');
10392
10390
  }
10393
- sources.forEach(function (src) {
10394
- Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["assert"])(Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(src));
10395
- if (Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isNonEmptyObj"])(src)) {
10396
- Object.entries(src).forEach(function (_ref) {
10391
+ sources.forEach(function (source) {
10392
+ Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["assert"])(Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(source));
10393
+ if (Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isNonEmptyObj"])(source)) {
10394
+ Object.entries(source).forEach(function (_ref) {
10397
10395
  var _ref2 = _slicedToArray(_ref, 2),
10398
10396
  key = _ref2[0],
10399
- val = _ref2[1];
10400
- if (val !== undefined) {
10401
- // eslint-disable-line no-undefined
10402
- dest[key] = Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(val) ? cloneDeep(val) : val;
10397
+ value = _ref2[1];
10398
+ if (typeof value !== 'undefined') {
10399
+ result[key] = Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(value) ? cloneDeep(value) : value;
10403
10400
  }
10404
10401
  });
10405
10402
  }
10406
10403
  });
10407
- return dest;
10404
+ return result;
10408
10405
  }
10409
10406
 
10410
10407
  /**
@@ -10621,7 +10618,7 @@ __webpack_require__.r(__webpack_exports__);
10621
10618
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(174);
10622
10619
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
10623
10620
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(184);
10624
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10621
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10625
10622
  * See LICENSE.md in the project root.
10626
10623
  */
10627
10624
 
@@ -10663,7 +10660,7 @@ function urlMapper(url, urlMap) {
10663
10660
  __webpack_require__.r(__webpack_exports__);
10664
10661
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ENDPOINTS", function() { return ENDPOINTS; });
10665
10662
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NAMESPACE", function() { return NAMESPACE; });
10666
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10663
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10667
10664
  * See LICENSE.md in the project root.
10668
10665
  */
10669
10666
 
@@ -10850,7 +10847,7 @@ __webpack_require__.r(__webpack_exports__);
10850
10847
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(174);
10851
10848
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__);
10852
10849
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(190);
10853
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10850
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
10854
10851
  * See LICENSE.md in the project root.
10855
10852
  */
10856
10853
 
@@ -11388,7 +11385,7 @@ __webpack_require__.r(__webpack_exports__);
11388
11385
 
11389
11386
 
11390
11387
 
11391
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
11388
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
11392
11389
  * See LICENSE.md in the project root.
11393
11390
  */
11394
11391
 
@@ -11547,7 +11544,7 @@ __webpack_require__.r(__webpack_exports__);
11547
11544
  /* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(198);
11548
11545
  /* harmony import */ var _url_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(204);
11549
11546
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(184);
11550
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
11547
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
11551
11548
  * See LICENSE.md in the project root.
11552
11549
  */
11553
11550
 
@@ -11902,7 +11899,7 @@ __webpack_require__.r(__webpack_exports__);
11902
11899
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(174);
11903
11900
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
11904
11901
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(184);
11905
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
11902
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
11906
11903
  * See LICENSE.md in the project root.
11907
11904
  */
11908
11905
 
@@ -11961,7 +11958,7 @@ __webpack_require__.r(__webpack_exports__);
11961
11958
 
11962
11959
 
11963
11960
 
11964
- var version = '4.8.6-beta.2';
11961
+ var version = '4.8.7-beta.2';
11965
11962
  /* harmony default export */ __webpack_exports__["default"] = (version);
11966
11963
 
11967
11964
  /***/ }),
@@ -12029,7 +12026,7 @@ __webpack_require__.r(__webpack_exports__);
12029
12026
  /* harmony import */ var _spidTalk_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(218);
12030
12027
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(190);
12031
12028
  /* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(219);
12032
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
12029
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
12033
12030
  * See LICENSE.md in the project root.
12034
12031
  */
12035
12032
 
@@ -12374,7 +12371,7 @@ __webpack_require__.r(__webpack_exports__);
12374
12371
  /* harmony import */ var _popup_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(212);
12375
12372
  /* harmony import */ var _RESTClient_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(215);
12376
12373
  /* harmony import */ var _spidTalk_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(218);
12377
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
12374
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
12378
12375
  * See LICENSE.md in the project root.
12379
12376
  */
12380
12377