@inboxsdk/core 2.1.55 → 2.1.56

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/inboxsdk.js CHANGED
@@ -371,7 +371,7 @@ function isNotNil(value) {
371
371
 
372
372
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- SDK_VERSION is injected by webpack
373
373
  ///@ts-ignore
374
- const BUILD_VERSION = "2.1.55-1716205678635-d6562cf5c54c7c73";
374
+ const BUILD_VERSION = "2.1.56-1716574649135-3e0aa173e030f9f8";
375
375
  if (false) {}
376
376
 
377
377
  /***/ }),
@@ -2646,7 +2646,7 @@ options.insert = htmlElement => {
2646
2646
  htmlElement.setAttribute('data-inboxsdk-version',
2647
2647
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
2648
2648
  ///@ts-ignore
2649
- "2.1.55-1716205678635-d6562cf5c54c7c73");
2649
+ "2.1.56-1716574649135-3e0aa173e030f9f8");
2650
2650
  document.head.append(htmlElement);
2651
2651
  };
2652
2652
  options.domAPI = (styleDomAPI_default());
@@ -10194,7 +10194,7 @@ options.insert = htmlElement => {
10194
10194
  htmlElement.setAttribute('data-inboxsdk-version',
10195
10195
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
10196
10196
  ///@ts-ignore
10197
- "2.1.55-1716205678635-d6562cf5c54c7c73");
10197
+ "2.1.56-1716574649135-3e0aa173e030f9f8");
10198
10198
  document.head.append(htmlElement);
10199
10199
  };
10200
10200
  options.domAPI = (styleDomAPI_default());
@@ -14920,7 +14920,7 @@ options.insert = htmlElement => {
14920
14920
  htmlElement.setAttribute('data-inboxsdk-version',
14921
14921
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
14922
14922
  ///@ts-ignore
14923
- "2.1.55-1716205678635-d6562cf5c54c7c73");
14923
+ "2.1.56-1716574649135-3e0aa173e030f9f8");
14924
14924
  document.head.append(htmlElement);
14925
14925
  };
14926
14926
  options.domAPI = (styleDomAPI_default());
@@ -19543,7 +19543,7 @@ mole_view_module_options.insert = htmlElement => {
19543
19543
  htmlElement.setAttribute('data-inboxsdk-version',
19544
19544
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
19545
19545
  ///@ts-ignore
19546
- "2.1.55-1716205678635-d6562cf5c54c7c73");
19546
+ "2.1.56-1716574649135-3e0aa173e030f9f8");
19547
19547
  document.head.append(htmlElement);
19548
19548
  };
19549
19549
  mole_view_module_options.domAPI = (styleDomAPI_default());
@@ -25144,16 +25144,13 @@ var kefir_bus_default = /*#__PURE__*/__webpack_require__.n(kefir_bus);
25144
25144
  // EXTERNAL MODULE: ./node_modules/kefir-stopper/js/index.js
25145
25145
  var kefir_stopper_js = __webpack_require__(4924);
25146
25146
  var kefir_stopper_js_default = /*#__PURE__*/__webpack_require__.n(kefir_stopper_js);
25147
- // EXTERNAL MODULE: ./node_modules/event-listener-with-options/js/index.js
25148
- var event_listener_with_options_js = __webpack_require__(3442);
25149
25147
  ;// CONCATENATED MODULE: ./src/platform-implementation-js/lib/fromEventsWithOptions.ts
25150
25148
 
25151
-
25152
25149
  function fromEventsWithOptions(target, eventName, options) {
25153
25150
  return kefir_esm.stream(emitter => {
25154
- (0,event_listener_with_options_js/* addEventListener */.q2)(target, eventName, emitter.emit, options);
25151
+ target.addEventListener(eventName, emitter.emit, options);
25155
25152
  return () => {
25156
- (0,event_listener_with_options_js/* removeEventListener */.f)(target, eventName, emitter.emit, options);
25153
+ target.removeEventListener(eventName, emitter.emit, options);
25157
25154
  };
25158
25155
  });
25159
25156
  }
@@ -38119,74 +38116,6 @@ var __WEBPACK_AMD_DEFINE_RESULT__;;(function (globalScope) {
38119
38116
  })(this);
38120
38117
 
38121
38118
 
38122
- /***/ }),
38123
-
38124
- /***/ 3442:
38125
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
38126
-
38127
- "use strict";
38128
- var __webpack_unused_export__;
38129
-
38130
-
38131
- __webpack_unused_export__ = ({
38132
- value: true
38133
- });
38134
- exports.q2 = addEventListener;
38135
- exports.f = removeEventListener;
38136
-
38137
- var _supportsCaptureOption = _interopRequireDefault(__webpack_require__(2597));
38138
-
38139
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
38140
-
38141
- function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
38142
-
38143
- function addEventListener(target, type, handler, options, wantsUntrusted) {
38144
- var optionsOrCapture = (0, _supportsCaptureOption.default)() || !options || _typeof(options) !== 'object' ? options : !!options.capture;
38145
- target.addEventListener(type, handler, optionsOrCapture, wantsUntrusted);
38146
- }
38147
-
38148
- function removeEventListener(target, type, handler, options) {
38149
- var optionsOrCapture = (0, _supportsCaptureOption.default)() || !options || _typeof(options) !== 'object' ? options : !!options.capture;
38150
- target.removeEventListener(type, handler, optionsOrCapture);
38151
- }
38152
-
38153
-
38154
- /***/ }),
38155
-
38156
- /***/ 2597:
38157
- /***/ ((__unused_webpack_module, exports) => {
38158
-
38159
- "use strict";
38160
-
38161
-
38162
- Object.defineProperty(exports, "__esModule", ({
38163
- value: true
38164
- }));
38165
- exports["default"] = supportsCaptureOption;
38166
- var cachedResult = null;
38167
-
38168
- function supportsCaptureOption() {
38169
- if (cachedResult === null) {
38170
- var result = false;
38171
-
38172
- try {
38173
- var opts = Object.defineProperty({}, 'capture', {
38174
- get: function get() {
38175
- result = true;
38176
- return undefined;
38177
- }
38178
- });
38179
- window.addEventListener('test', null, opts);
38180
- } catch (e) {//ignore
38181
- }
38182
-
38183
- cachedResult = result;
38184
- }
38185
-
38186
- return cachedResult;
38187
- }
38188
-
38189
-
38190
38119
  /***/ }),
38191
38120
 
38192
38121
  /***/ 4785: