@depict-ai/utilishared 0.0.67 → 0.0.68
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/dist/index.d.ts +1 -1
- package/dist/main.js +4 -2
- package/dist/module.js +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../jsx.d.ts" />
|
|
2
2
|
import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
|
|
3
|
-
export const version = "0.0.
|
|
3
|
+
export const version = "0.0.68";
|
|
4
4
|
export const is_debug: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
package/dist/main.js
CHANGED
|
@@ -274,7 +274,7 @@ $parcel$export(module.exports, "hsl_to_rgb", () => $d73746ee466f09ca$export$e4fd
|
|
|
274
274
|
$parcel$export(module.exports, "relative_luminance_from_rgb", () => $d73746ee466f09ca$export$98c2b3491e76c1f);
|
|
275
275
|
$parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fbfd8236492);
|
|
276
276
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
277
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "0.0.
|
|
277
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "0.0.68";
|
|
278
278
|
|
|
279
279
|
|
|
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" && (document.currentScript?.dataset?.debug === "true" || localStorage.getItem("debug") === "true"))();
|
|
@@ -2448,6 +2448,7 @@ const $69f7524c8bdd85b4$export$a9d39e43ae273d26 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2448
2448
|
const $69f7524c8bdd85b4$export$446840cab57eeedb = /*@__PURE__*/ new Set();
|
|
2449
2449
|
let $69f7524c8bdd85b4$var$old_url;
|
|
2450
2450
|
const $69f7524c8bdd85b4$var$maybe_navigation = ()=>{
|
|
2451
|
+
if (typeof location === "undefined") return;
|
|
2451
2452
|
const new_url = location.href;
|
|
2452
2453
|
if ($69f7524c8bdd85b4$var$old_url !== new_url) {
|
|
2453
2454
|
$69f7524c8bdd85b4$export$a9d39e43ae273d26(new_url);
|
|
@@ -2458,7 +2459,7 @@ const $69f7524c8bdd85b4$var$maybe_navigation = ()=>{
|
|
|
2458
2459
|
};
|
|
2459
2460
|
$69f7524c8bdd85b4$export$baccefee4a395d8f($69f7524c8bdd85b4$var$maybe_navigation);
|
|
2460
2461
|
$69f7524c8bdd85b4$var$maybe_navigation();
|
|
2461
|
-
window
|
|
2462
|
+
globalThis?.window?.addEventListener("popstate", (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)((e)=>{
|
|
2462
2463
|
for (const fn of $69f7524c8bdd85b4$export$446840cab57eeedb)(0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)(fn)(e);
|
|
2463
2464
|
$69f7524c8bdd85b4$var$maybe_navigation();
|
|
2464
2465
|
}));
|
|
@@ -2470,6 +2471,7 @@ async function $69f7524c8bdd85b4$export$1cd22bab0d2c3b0b(callback) {
|
|
|
2470
2471
|
}
|
|
2471
2472
|
}
|
|
2472
2473
|
async function $69f7524c8bdd85b4$export$baccefee4a395d8f(after_navigation, replace_replaceState = true) {
|
|
2474
|
+
if (typeof History === "undefined") return;
|
|
2473
2475
|
const { prototype: prototype } = History;
|
|
2474
2476
|
const instance = history;
|
|
2475
2477
|
const polyfill_dance = (the_thing)=>{
|
package/dist/module.js
CHANGED
|
@@ -4,7 +4,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
4
4
|
function $parcel$interopDefault(a) {
|
|
5
5
|
return a && a.__esModule ? a.default : a;
|
|
6
6
|
}
|
|
7
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "0.0.
|
|
7
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "0.0.68";
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
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" && (document.currentScript?.dataset?.debug === "true" || localStorage.getItem("debug") === "true"))();
|
|
@@ -2178,6 +2178,7 @@ const $0d2acf276472ebf7$export$a9d39e43ae273d26 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2178
2178
|
const $0d2acf276472ebf7$export$446840cab57eeedb = /*@__PURE__*/ new Set();
|
|
2179
2179
|
let $0d2acf276472ebf7$var$old_url;
|
|
2180
2180
|
const $0d2acf276472ebf7$var$maybe_navigation = ()=>{
|
|
2181
|
+
if (typeof location === "undefined") return;
|
|
2181
2182
|
const new_url = location.href;
|
|
2182
2183
|
if ($0d2acf276472ebf7$var$old_url !== new_url) {
|
|
2183
2184
|
$0d2acf276472ebf7$export$a9d39e43ae273d26(new_url);
|
|
@@ -2188,7 +2189,7 @@ const $0d2acf276472ebf7$var$maybe_navigation = ()=>{
|
|
|
2188
2189
|
};
|
|
2189
2190
|
$0d2acf276472ebf7$export$baccefee4a395d8f($0d2acf276472ebf7$var$maybe_navigation);
|
|
2190
2191
|
$0d2acf276472ebf7$var$maybe_navigation();
|
|
2191
|
-
window
|
|
2192
|
+
globalThis?.window?.addEventListener("popstate", (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((e)=>{
|
|
2192
2193
|
for (const fn of $0d2acf276472ebf7$export$446840cab57eeedb)(0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(fn)(e);
|
|
2193
2194
|
$0d2acf276472ebf7$var$maybe_navigation();
|
|
2194
2195
|
}));
|
|
@@ -2200,6 +2201,7 @@ async function $0d2acf276472ebf7$export$1cd22bab0d2c3b0b(callback) {
|
|
|
2200
2201
|
}
|
|
2201
2202
|
}
|
|
2202
2203
|
async function $0d2acf276472ebf7$export$baccefee4a395d8f(after_navigation, replace_replaceState = true) {
|
|
2204
|
+
if (typeof History === "undefined") return;
|
|
2203
2205
|
const { prototype: prototype } = History;
|
|
2204
2206
|
const instance = history;
|
|
2205
2207
|
const polyfill_dance = (the_thing)=>{
|