@inboxsdk/core 2.1.56 → 2.1.57

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.56-1716574649135-3e0aa173e030f9f8";
374
+ const BUILD_VERSION = "2.1.57-1716943847351-d4f3e466da54c4c2";
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.56-1716574649135-3e0aa173e030f9f8");
2649
+ "2.1.57-1716943847351-d4f3e466da54c4c2");
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.56-1716574649135-3e0aa173e030f9f8");
10197
+ "2.1.57-1716943847351-d4f3e466da54c4c2");
10198
10198
  document.head.append(htmlElement);
10199
10199
  };
10200
10200
  options.domAPI = (styleDomAPI_default());
@@ -10347,7 +10347,10 @@ var ajax = __webpack_require__(8587);
10347
10347
  ;// CONCATENATED MODULE: ./src/common/get-extension-id.ts
10348
10348
  function getExtensionId() {
10349
10349
  const chrome = __webpack_require__.g.chrome;
10350
- if (chrome && chrome.extension && chrome.extension.getURL) {
10350
+ if (chrome?.runtime?.getURL) {
10351
+ return chrome.runtime.getURL('');
10352
+ }
10353
+ if (chrome?.extension?.getURL) {
10351
10354
  return chrome.extension.getURL('');
10352
10355
  }
10353
10356
  return null;
@@ -14920,7 +14923,7 @@ options.insert = htmlElement => {
14920
14923
  htmlElement.setAttribute('data-inboxsdk-version',
14921
14924
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
14922
14925
  ///@ts-ignore
14923
- "2.1.56-1716574649135-3e0aa173e030f9f8");
14926
+ "2.1.57-1716943847351-d4f3e466da54c4c2");
14924
14927
  document.head.append(htmlElement);
14925
14928
  };
14926
14929
  options.domAPI = (styleDomAPI_default());
@@ -19543,7 +19546,7 @@ mole_view_module_options.insert = htmlElement => {
19543
19546
  htmlElement.setAttribute('data-inboxsdk-version',
19544
19547
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
19545
19548
  ///@ts-ignore
19546
- "2.1.56-1716574649135-3e0aa173e030f9f8");
19549
+ "2.1.57-1716943847351-d4f3e466da54c4c2");
19547
19550
  document.head.append(htmlElement);
19548
19551
  };
19549
19552
  mole_view_module_options.domAPI = (styleDomAPI_default());