@depict-ai/utilishared 1.0.36 → 1.0.37

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
@@ -275,7 +275,7 @@ $parcel$export(module.exports, "hex_to_rgb", () => $b5388c1e3ff41e88$export$ca30
275
275
  $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fbfd8236492);
276
276
  $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
277
277
  $parcel$export(module.exports, "edit_current_page_meta_tags", () => $0126fdc29a9f7f2d$export$ef73ea4f975745ba);
278
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.36";
278
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.37";
279
279
  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"))();
280
280
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
281
281
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
@@ -2707,7 +2707,6 @@ $parcel$export($2e81c18d82b25372$exports, "cookiebot_get_consent", () => $2e81c1
2707
2707
  $parcel$export($2e81c18d82b25372$exports, "cookiebot_wait_for_consent", () => $2e81c18d82b25372$export$56c2e8be65fb14ae);
2708
2708
  $parcel$export($2e81c18d82b25372$exports, "cookiebot_get_cookie_ipns", () => $2e81c18d82b25372$export$8827362e5e938d26);
2709
2709
  $parcel$export($2e81c18d82b25372$exports, "init_cookiebot_tracking", () => $2e81c18d82b25372$export$abec7fd9f0b9cc22);
2710
- var $2e81c18d82b25372$var$_consent_from_cookie;
2711
2710
  const $2e81c18d82b25372$var$required_consent_level = process.env.DEPICT_TRACKING_CONSENT_LEVEL;
2712
2711
  function $2e81c18d82b25372$var$consent_from_cookie() {
2713
2712
  const cookie = $335c248bb07a3509$export$622991c71a1f52b3("CookieConsent");
@@ -2723,7 +2722,7 @@ function $2e81c18d82b25372$var$consent_from_cookie() {
2723
2722
  }
2724
2723
  }
2725
2724
  let $2e81c18d82b25372$var$cookie_ipns;
2726
- let $2e81c18d82b25372$var$has_consent = $2e81c18d82b25372$var$required_consent_level ? (($2e81c18d82b25372$var$_consent_from_cookie = $2e81c18d82b25372$var$consent_from_cookie()) === null || $2e81c18d82b25372$var$_consent_from_cookie === void 0 ? void 0 : $2e81c18d82b25372$var$_consent_from_cookie[$2e81c18d82b25372$var$required_consent_level]) || false : true;
2725
+ let $2e81c18d82b25372$var$has_consent = /*@__PURE__*/(_consent_from_cookie => $2e81c18d82b25372$var$required_consent_level ? ((_consent_from_cookie = $2e81c18d82b25372$var$consent_from_cookie()) === null || _consent_from_cookie === void 0 ? void 0 : _consent_from_cookie[$2e81c18d82b25372$var$required_consent_level]) || false : true)();
2727
2726
  const $2e81c18d82b25372$export$fce59460a1699957 = () => $2e81c18d82b25372$var$has_consent;
2728
2727
  async function $2e81c18d82b25372$export$56c2e8be65fb14ae() {
2729
2728
  for await (const consent_obj of $2e81c18d82b25372$export$8827362e5e938d26()) return consent_obj[process.env.DEPICT_TRACKING_CONSENT_LEVEL];
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.36";
4
+ export const version = "1.0.37";
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.36";
18
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.37";
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]";
@@ -2447,7 +2447,6 @@ var $be5f485da4e3f813$exports = {};
2447
2447
  /*@__PURE__*/$parcel$export($be5f485da4e3f813$exports, "cookiebot_wait_for_consent", () => $be5f485da4e3f813$export$56c2e8be65fb14ae);
2448
2448
  /*@__PURE__*/$parcel$export($be5f485da4e3f813$exports, "cookiebot_get_cookie_ipns", () => $be5f485da4e3f813$export$8827362e5e938d26);
2449
2449
  /*@__PURE__*/$parcel$export($be5f485da4e3f813$exports, "init_cookiebot_tracking", () => $be5f485da4e3f813$export$abec7fd9f0b9cc22);
2450
- var $be5f485da4e3f813$var$_consent_from_cookie;
2451
2450
  const $be5f485da4e3f813$var$required_consent_level = process.env.DEPICT_TRACKING_CONSENT_LEVEL;
2452
2451
  function $be5f485da4e3f813$var$consent_from_cookie() {
2453
2452
  const cookie = $d5f7352b58e0d737$export$622991c71a1f52b3("CookieConsent");
@@ -2463,7 +2462,7 @@ function $be5f485da4e3f813$var$consent_from_cookie() {
2463
2462
  }
2464
2463
  }
2465
2464
  let $be5f485da4e3f813$var$cookie_ipns;
2466
- let $be5f485da4e3f813$var$has_consent = $be5f485da4e3f813$var$required_consent_level ? (($be5f485da4e3f813$var$_consent_from_cookie = $be5f485da4e3f813$var$consent_from_cookie()) === null || $be5f485da4e3f813$var$_consent_from_cookie === void 0 ? void 0 : $be5f485da4e3f813$var$_consent_from_cookie[$be5f485da4e3f813$var$required_consent_level]) || false : true;
2465
+ let $be5f485da4e3f813$var$has_consent = /*@__PURE__*/(_consent_from_cookie => $be5f485da4e3f813$var$required_consent_level ? ((_consent_from_cookie = $be5f485da4e3f813$var$consent_from_cookie()) === null || _consent_from_cookie === void 0 ? void 0 : _consent_from_cookie[$be5f485da4e3f813$var$required_consent_level]) || false : true)();
2467
2466
  const $be5f485da4e3f813$export$fce59460a1699957 = () => $be5f485da4e3f813$var$has_consent;
2468
2467
  async function $be5f485da4e3f813$export$56c2e8be65fb14ae() {
2469
2468
  for await (const consent_obj of $be5f485da4e3f813$export$8827362e5e938d26()) return consent_obj[process.env.DEPICT_TRACKING_CONSENT_LEVEL];
package/latest/index.cjs CHANGED
@@ -272,7 +272,7 @@ $parcel$export(module.exports, "hex_to_rgb", () => $d73746ee466f09ca$export$ca30
272
272
  $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fbfd8236492);
273
273
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
274
274
  $parcel$export(module.exports, "edit_current_page_meta_tags", () => $8838e3e61b748a8b$export$ef73ea4f975745ba);
275
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.36";
275
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.37";
276
276
  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"))();
277
277
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
278
278
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -2447,7 +2447,7 @@ function $28e42b0009d694b2$var$consent_from_cookie() {
2447
2447
  }
2448
2448
  }
2449
2449
  let $28e42b0009d694b2$var$cookie_ipns;
2450
- let $28e42b0009d694b2$var$has_consent = $28e42b0009d694b2$var$required_consent_level ? $28e42b0009d694b2$var$consent_from_cookie()?.[$28e42b0009d694b2$var$required_consent_level] || false : true;
2450
+ let $28e42b0009d694b2$var$has_consent = /*@__PURE__*/(() => $28e42b0009d694b2$var$required_consent_level ? $28e42b0009d694b2$var$consent_from_cookie()?.[$28e42b0009d694b2$var$required_consent_level] || false : true)();
2451
2451
  const $28e42b0009d694b2$export$fce59460a1699957 = () => $28e42b0009d694b2$var$has_consent;
2452
2452
  async function $28e42b0009d694b2$export$56c2e8be65fb14ae() {
2453
2453
  for await (const consent_obj of $28e42b0009d694b2$export$8827362e5e938d26()) return consent_obj[process.env.DEPICT_TRACKING_CONSENT_LEVEL];
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.36";
4
+ export const version = "1.0.37";
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.36";
15
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.37";
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]";
@@ -2187,7 +2187,7 @@ function $155540b3b8aca771$var$consent_from_cookie() {
2187
2187
  }
2188
2188
  }
2189
2189
  let $155540b3b8aca771$var$cookie_ipns;
2190
- let $155540b3b8aca771$var$has_consent = $155540b3b8aca771$var$required_consent_level ? $155540b3b8aca771$var$consent_from_cookie()?.[$155540b3b8aca771$var$required_consent_level] || false : true;
2190
+ let $155540b3b8aca771$var$has_consent = /*@__PURE__*/(() => $155540b3b8aca771$var$required_consent_level ? $155540b3b8aca771$var$consent_from_cookie()?.[$155540b3b8aca771$var$required_consent_level] || false : true)();
2191
2191
  const $155540b3b8aca771$export$fce59460a1699957 = () => $155540b3b8aca771$var$has_consent;
2192
2192
  async function $155540b3b8aca771$export$56c2e8be65fb14ae() {
2193
2193
  for await (const consent_obj of $155540b3b8aca771$export$8827362e5e938d26()) return consent_obj[process.env.DEPICT_TRACKING_CONSENT_LEVEL];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",