@depict-ai/utilishared 1.0.44 → 1.0.46

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/ES10/index.cjs CHANGED
@@ -279,7 +279,7 @@ $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$ex
279
279
  $parcel$export(module.exports, "edit_current_page_meta_tags", () => $0126fdc29a9f7f2d$export$ef73ea4f975745ba);
280
280
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
281
281
  $parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
282
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.44";
282
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.46";
283
283
  const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
284
284
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
285
285
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
@@ -1716,7 +1716,7 @@ class $523564fcfb9c3bb9$export$12e07a2a9f87578a {
1716
1716
  });
1717
1717
  $523564fcfb9c3bb9$var$_classPrivateFieldInitSpec(this, $523564fcfb9c3bb9$var$_territories, {
1718
1718
  writable: true,
1719
- value: [document.documentElement]
1719
+ value: typeof document === "object" ? [document.documentElement] : []
1720
1720
  });
1721
1721
  $523564fcfb9c3bb9$var$_classPrivateFieldInitSpec(this, $523564fcfb9c3bb9$var$_listeners, {
1722
1722
  writable: true,
package/ES10/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../jsx.d.ts" />
2
2
  import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
3
3
  import { Accessor } from "solid-js";
4
- export const version = "1.0.44";
4
+ export const version = "1.0.46";
5
5
  export const is_debug: boolean;
6
6
  /**
7
7
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
package/ES10/index.js CHANGED
@@ -15,7 +15,7 @@ function $parcel$export(e, n, v, s) {
15
15
  function $parcel$interopDefault(a) {
16
16
  return a && a.__esModule ? a.default : a;
17
17
  }
18
- const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.44";
18
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.46";
19
19
  const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
20
20
  const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
21
21
  let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
@@ -1452,7 +1452,7 @@ class $7d82513db34b5d27$export$12e07a2a9f87578a {
1452
1452
  });
1453
1453
  $7d82513db34b5d27$var$_classPrivateFieldInitSpec(this, $7d82513db34b5d27$var$_territories, {
1454
1454
  writable: true,
1455
- value: [document.documentElement]
1455
+ value: typeof document === "object" ? [document.documentElement] : []
1456
1456
  });
1457
1457
  $7d82513db34b5d27$var$_classPrivateFieldInitSpec(this, $7d82513db34b5d27$var$_listeners, {
1458
1458
  writable: true,
package/latest/index.cjs CHANGED
@@ -276,7 +276,7 @@ $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$ex
276
276
  $parcel$export(module.exports, "edit_current_page_meta_tags", () => $8838e3e61b748a8b$export$ef73ea4f975745ba);
277
277
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
278
278
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
279
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.44";
279
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.46";
280
280
  const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
281
281
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
282
282
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -1486,7 +1486,7 @@ class $9043c64496e3375f$export$12e07a2a9f87578a {
1486
1486
  #observer_callback_running = false;
1487
1487
  #execute_after_callback_ran = [];
1488
1488
  #attribute_attribution_map_object = {};
1489
- #territories = [document.documentElement];
1489
+ #territories = typeof document === "object" ? [document.documentElement] : [];
1490
1490
  #listeners = ["exists", "creation", "removed", "change"];
1491
1491
  #weakref_finalization_registry = typeof FinalizationRegistry === "function" && new FinalizationRegistry($268cbd9e4ade92db$export$b3bbfd758f11cfa9(this.#finalization_registry_callback.bind(this)));
1492
1492
  #verbs = {
package/latest/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../jsx.d.ts" />
2
2
  import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
3
3
  import { Accessor } from "solid-js";
4
- export const version = "1.0.44";
4
+ export const version = "1.0.46";
5
5
  export const is_debug: boolean;
6
6
  /**
7
7
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
package/latest/index.js CHANGED
@@ -12,7 +12,7 @@ function $parcel$export(e, n, v, s) {
12
12
  function $parcel$interopDefault(a) {
13
13
  return a && a.__esModule ? a.default : a;
14
14
  }
15
- const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.44";
15
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.46";
16
16
  const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
17
17
  const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
18
18
  let $649f456f663da9fc$var$browser_prefix = "[Depict]";
@@ -1222,7 +1222,7 @@ class $cdca9fea6eb103e5$export$12e07a2a9f87578a {
1222
1222
  #observer_callback_running = false;
1223
1223
  #execute_after_callback_ran = [];
1224
1224
  #attribute_attribution_map_object = {};
1225
- #territories = [document.documentElement];
1225
+ #territories = typeof document === "object" ? [document.documentElement] : [];
1226
1226
  #listeners = ["exists", "creation", "removed", "change"];
1227
1227
  #weakref_finalization_registry = typeof FinalizationRegistry === "function" && new FinalizationRegistry($b04e44fad5ea42c7$export$b3bbfd758f11cfa9(this.#finalization_registry_callback.bind(this)));
1228
1228
  #verbs = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",