@ada-support/embed2 1.1.3 → 1.1.6

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.
@@ -36,6 +36,13 @@ module.exports = __webpack_require__(3778);
36
36
 
37
37
  /***/ }),
38
38
 
39
+ /***/ 1643:
40
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
41
+
42
+ module.exports = __webpack_require__(9373);
43
+
44
+ /***/ }),
45
+
39
46
  /***/ 3811:
40
47
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
41
48
 
@@ -721,9 +728,9 @@ var getPrototypeOf = __webpack_require__(3362);
721
728
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/set.js
722
729
  var set = __webpack_require__(6384);
723
730
  var set_default = /*#__PURE__*/__webpack_require__.n(set);
724
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js
725
- var includes = __webpack_require__(9632);
726
- var includes_default = /*#__PURE__*/__webpack_require__.n(includes);
731
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js
732
+ var index_of = __webpack_require__(1643);
733
+ var index_of_default = /*#__PURE__*/__webpack_require__.n(index_of);
727
734
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js
728
735
  var stringify = __webpack_require__(9340);
729
736
  var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify);
@@ -733,6 +740,9 @@ var concat_default = /*#__PURE__*/__webpack_require__.n(concat);
733
740
  // EXTERNAL MODULE: ./node_modules/uniqid/index.js
734
741
  var uniqid = __webpack_require__(6104);
735
742
  var uniqid_default = /*#__PURE__*/__webpack_require__.n(uniqid);
743
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js
744
+ var includes = __webpack_require__(9632);
745
+ var includes_default = /*#__PURE__*/__webpack_require__.n(includes);
736
746
  ;// CONCATENATED MODULE: ./node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js
737
747
  /*! *****************************************************************************
738
748
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8788,7 +8798,7 @@ var client = new error_tracker_BrowserClient({
8788
8798
  return event;
8789
8799
  },
8790
8800
  environment: "production",
8791
- release: "1.1.3-6707009",
8801
+ release: "1.1.6-49eb0e4",
8792
8802
  sampleRate: 0.25,
8793
8803
  autoSessionTracking: false,
8794
8804
  // Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
@@ -9139,7 +9149,7 @@ var FrameChannel = /*#__PURE__*/function (_Channel) {
9139
9149
 
9140
9150
  var parsedData;
9141
9151
 
9142
- if ( true && _this2.targetOrigin !== "*" && (!("origin" in event) || !includes_default()(_context = _this2.targetOrigin).call(_context, event.origin))) {
9152
+ if ( true && _this2.targetOrigin !== "*" && (!("origin" in event) || index_of_default()(_context = _this2.targetOrigin).call(_context, event.origin) < 0)) {
9143
9153
  return;
9144
9154
  }
9145
9155
 
@@ -9490,7 +9500,7 @@ function getEmbedURL(_ref) {
9490
9500
  polyfillVersionString = "legacy";
9491
9501
  }
9492
9502
 
9493
- return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "6707009", "/index.html");
9503
+ return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "49eb0e4", "/index.html");
9494
9504
  }
9495
9505
  /**
9496
9506
  * Generate the Chat / API URL
@@ -11013,7 +11023,7 @@ function wait(ms) {
11013
11023
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js
11014
11024
  var object_get_own_property_symbols = __webpack_require__(3263);
11015
11025
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js
11016
- var index_of = __webpack_require__(5683);
11026
+ var instance_index_of = __webpack_require__(5683);
11017
11027
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js/object/keys.js
11018
11028
  var keys = __webpack_require__(9356);
11019
11029
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js
@@ -11029,7 +11039,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
11029
11039
 
11030
11040
  for (i = 0; i < sourceKeys.length; i++) {
11031
11041
  key = sourceKeys[i];
11032
- if (index_of(excluded).call(excluded, key) >= 0) continue;
11042
+ if (instance_index_of(excluded).call(excluded, key) >= 0) continue;
11033
11043
  target[key] = source[key];
11034
11044
  }
11035
11045
 
@@ -11049,7 +11059,7 @@ function _objectWithoutProperties(source, excluded) {
11049
11059
 
11050
11060
  for (i = 0; i < sourceSymbolKeys.length; i++) {
11051
11061
  key = sourceSymbolKeys[i];
11052
- if (index_of(excluded).call(excluded, key) >= 0) continue;
11062
+ if (instance_index_of(excluded).call(excluded, key) >= 0) continue;
11053
11063
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
11054
11064
  target[key] = source[key];
11055
11065
  }
@@ -14408,7 +14418,7 @@ window.__AdaEmbedConstructor = Embed;
14408
14418
  /* harmony export */ });
14409
14419
  var isModern = new RegExp("((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(15|(1[6-9]|[2-9]\\d|\\d{3,}))[_.]\\d+(?:[_.]\\d+)?)|((Chromium|Chrome)\\/(99|([1-9]\\d\\d|\\d{4,}))\\.\\d+(?:\\.\\d+)?)|(Version\\/(15|(1[6-9]|[2-9]\\d|\\d{3,}))\\.\\d+(?:\\.\\d+)? Safari\\/)|(Firefox\\/(98|(99|\\d{3,}))\\.\\d+\\.\\d+)|(Firefox\\/(98|(99|\\d{3,}))\\.\\d+(pre|[ab]\\d+[a-z]*)?)").test(navigator.userAgent);
14410
14420
  var isProduction = "production" === "production";
14411
- var embed2Version = "6707009";
14421
+ var embed2Version = "49eb0e4";
14412
14422
 
14413
14423
  /***/ }),
14414
14424
 
@@ -14754,9 +14764,9 @@ function _log() {
14754
14764
  service: "embed",
14755
14765
  env: "production",
14756
14766
  embedVersion: 2,
14757
- version: "1.1.3",
14767
+ version: "1.1.6",
14758
14768
  isNpm: true,
14759
- commitHash: "6707009"
14769
+ commitHash: "49eb0e4"
14760
14770
  }))
14761
14771
  });
14762
14772
 
@@ -25697,7 +25707,7 @@ function _loadClientChunk() {
25697
25707
  polyfillVersionString = "legacy";
25698
25708
  }
25699
25709
 
25700
- clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "6707009", "/index.js");
25710
+ clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "49eb0e4", "/index.js");
25701
25711
  } // `window.__AdaEmbedConstructor` gets created in the "client" bundle
25702
25712
 
25703
25713
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.1.3",
3
+ "version": "1.1.6",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index.d.ts",