@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/es5/payment.js CHANGED
@@ -90,7 +90,7 @@ module.exports =
90
90
  /***/ (function(module, exports, __webpack_require__) {
91
91
 
92
92
  "use strict";
93
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
93
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
94
94
  * See LICENSE.md in the project root.
95
95
  */
96
96
 
@@ -787,7 +787,7 @@ __webpack_require__.r(__webpack_exports__);
787
787
  /* harmony import */ var _popup_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(136);
788
788
  /* harmony import */ var _RESTClient_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(149);
789
789
  /* harmony import */ var _spidTalk_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(170);
790
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
790
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
791
791
  * See LICENSE.md in the project root.
792
792
  */
793
793
 
@@ -3404,7 +3404,7 @@ __webpack_require__.r(__webpack_exports__);
3404
3404
  /* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(79);
3405
3405
  /* 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__);
3406
3406
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(107);
3407
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
3407
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
3408
3408
  * See LICENSE.md in the project root.
3409
3409
  */
3410
3410
 
@@ -5344,7 +5344,7 @@ __webpack_require__.r(__webpack_exports__);
5344
5344
  /* 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__);
5345
5345
  /* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(79);
5346
5346
  /* 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__);
5347
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
5347
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
5348
5348
  * See LICENSE.md in the project root.
5349
5349
  */
5350
5350
 
@@ -6505,7 +6505,7 @@ __webpack_require__.r(__webpack_exports__);
6505
6505
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(90);
6506
6506
  /* 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__);
6507
6507
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92);
6508
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6508
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6509
6509
  * See LICENSE.md in the project root.
6510
6510
  */
6511
6511
 
@@ -6547,7 +6547,7 @@ function urlMapper(url, urlMap) {
6547
6547
  __webpack_require__.r(__webpack_exports__);
6548
6548
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ENDPOINTS", function() { return ENDPOINTS; });
6549
6549
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NAMESPACE", function() { return NAMESPACE; });
6550
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6550
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6551
6551
  * See LICENSE.md in the project root.
6552
6552
  */
6553
6553
 
@@ -6667,7 +6667,7 @@ __webpack_require__.r(__webpack_exports__);
6667
6667
 
6668
6668
 
6669
6669
 
6670
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6670
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6671
6671
  * See LICENSE.md in the project root.
6672
6672
  */
6673
6673
 
@@ -6795,7 +6795,7 @@ __webpack_require__.r(__webpack_exports__);
6795
6795
  /* 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__);
6796
6796
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(92);
6797
6797
  /* harmony import */ var _SDKError_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(107);
6798
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6798
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
6799
6799
  * See LICENSE.md in the project root.
6800
6800
  */
6801
6801
 
@@ -6846,28 +6846,27 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
6846
6846
  * keys for undefined values are removed.
6847
6847
  */
6848
6848
  function cloneDefined() {
6849
- var dest = {};
6849
+ var result = {};
6850
6850
  for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {
6851
6851
  sources[_key] = arguments[_key];
6852
6852
  }
6853
6853
  if (!(sources && sources.length)) {
6854
6854
  throw new _SDKError_js__WEBPACK_IMPORTED_MODULE_16__["default"]('No objects to clone');
6855
6855
  }
6856
- sources.forEach(function (src) {
6857
- Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["assert"])(Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(src));
6858
- if (Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isNonEmptyObj"])(src)) {
6859
- Object.entries(src).forEach(function (_ref) {
6856
+ sources.forEach(function (source) {
6857
+ Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["assert"])(Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(source));
6858
+ if (Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isNonEmptyObj"])(source)) {
6859
+ Object.entries(source).forEach(function (_ref) {
6860
6860
  var _ref2 = _slicedToArray(_ref, 2),
6861
6861
  key = _ref2[0],
6862
- val = _ref2[1];
6863
- if (val !== undefined) {
6864
- // eslint-disable-line no-undefined
6865
- dest[key] = Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(val) ? cloneDeep(val) : val;
6862
+ value = _ref2[1];
6863
+ if (typeof value !== 'undefined') {
6864
+ result[key] = Object(_validate_js__WEBPACK_IMPORTED_MODULE_15__["isObject"])(value) ? cloneDeep(value) : value;
6866
6865
  }
6867
6866
  });
6868
6867
  }
6869
6868
  });
6870
- return dest;
6869
+ return result;
6871
6870
  }
6872
6871
 
6873
6872
  /**
@@ -7254,7 +7253,7 @@ __webpack_require__.r(__webpack_exports__);
7254
7253
  /* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(139);
7255
7254
  /* harmony import */ var _url_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(134);
7256
7255
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(92);
7257
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
7256
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
7258
7257
  * See LICENSE.md in the project root.
7259
7258
  */
7260
7259
 
@@ -8631,7 +8630,7 @@ __webpack_require__.r(__webpack_exports__);
8631
8630
  /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(90);
8632
8631
  /* 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__);
8633
8632
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92);
8634
- /* Copyright 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
8633
+ /* Copyright 2024 Schibsted Products & Technology AS. Licensed under the terms of the MIT license.
8635
8634
  * See LICENSE.md in the project root.
8636
8635
  */
8637
8636