@depict-ai/utilishared 1.0.31 → 1.0.32
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 +3 -5
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +3 -5
- package/latest/index.cjs +3 -5
- package/latest/index.d.ts +1 -1
- package/latest/index.js +3 -5
- package/package.json +1 -1
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.
|
|
278
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.32";
|
|
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]";
|
|
@@ -9057,12 +9057,10 @@ function $0126fdc29a9f7f2d$export$ef73ea4f975745ba(meta_data) {
|
|
|
9057
9057
|
// We can't remove the other tags because they might be used by frameworks
|
|
9058
9058
|
const depict_elements = Array.from(existing_elements).filter(el => el.dataset.depictMeta);
|
|
9059
9059
|
// We only want to remove the Depict elements if there are other elements
|
|
9060
|
-
if (depict_elements.length && depict_elements.length < existing_elements.length)
|
|
9061
|
-
depict_elements.forEach(el => el.remove());
|
|
9062
|
-
(0, $7f95f77417d06249$export$de56f1198d121036)("Removed Depict meta tag", depict_elements);
|
|
9063
|
-
}
|
|
9060
|
+
if (depict_elements.length && depict_elements.length < existing_elements.length) depict_elements.forEach(el => el.remove());
|
|
9064
9061
|
}
|
|
9065
9062
|
};
|
|
9063
|
+
sync_elements_to_head();
|
|
9066
9064
|
disconnectors.push((0, $03c157d68c9fcbac$export$b6ae1bc530f4c149).onremoved(opts.selector, sync_elements_to_head), (0, $03c157d68c9fcbac$export$b6ae1bc530f4c149).onchange(opts.selector, sync_elements_to_head), (0, $03c157d68c9fcbac$export$b6ae1bc530f4c149).onexists(opts.selector, sync_elements_to_head));
|
|
9067
9065
|
}
|
|
9068
9066
|
});
|
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.
|
|
4
|
+
export const version = "1.0.32";
|
|
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.
|
|
18
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.32";
|
|
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]";
|
|
@@ -8797,12 +8797,10 @@ function $656899961fd22692$export$ef73ea4f975745ba(meta_data) {
|
|
|
8797
8797
|
// We can't remove the other tags because they might be used by frameworks
|
|
8798
8798
|
const depict_elements = Array.from(existing_elements).filter(el => el.dataset.depictMeta);
|
|
8799
8799
|
// We only want to remove the Depict elements if there are other elements
|
|
8800
|
-
if (depict_elements.length && depict_elements.length < existing_elements.length)
|
|
8801
|
-
depict_elements.forEach(el => el.remove());
|
|
8802
|
-
(0, $241f2f02cc612a49$export$de56f1198d121036)("Removed Depict meta tag", depict_elements);
|
|
8803
|
-
}
|
|
8800
|
+
if (depict_elements.length && depict_elements.length < existing_elements.length) depict_elements.forEach(el => el.remove());
|
|
8804
8801
|
}
|
|
8805
8802
|
};
|
|
8803
|
+
sync_elements_to_head();
|
|
8806
8804
|
disconnectors.push((0, $90fa633a9564f115$export$b6ae1bc530f4c149).onremoved(opts.selector, sync_elements_to_head), (0, $90fa633a9564f115$export$b6ae1bc530f4c149).onchange(opts.selector, sync_elements_to_head), (0, $90fa633a9564f115$export$b6ae1bc530f4c149).onexists(opts.selector, sync_elements_to_head));
|
|
8807
8805
|
}
|
|
8808
8806
|
});
|
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.
|
|
275
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.32";
|
|
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]";
|
|
@@ -8425,12 +8425,10 @@ function $8838e3e61b748a8b$export$ef73ea4f975745ba(meta_data) {
|
|
|
8425
8425
|
// We can't remove the other tags because they might be used by frameworks
|
|
8426
8426
|
const depict_elements = Array.from(existing_elements).filter(el => el.dataset.depictMeta);
|
|
8427
8427
|
// We only want to remove the Depict elements if there are other elements
|
|
8428
|
-
if (depict_elements.length && depict_elements.length < existing_elements.length)
|
|
8429
|
-
depict_elements.forEach(el => el.remove());
|
|
8430
|
-
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("Removed Depict meta tag", depict_elements);
|
|
8431
|
-
}
|
|
8428
|
+
if (depict_elements.length && depict_elements.length < existing_elements.length) depict_elements.forEach(el => el.remove());
|
|
8432
8429
|
}
|
|
8433
8430
|
};
|
|
8431
|
+
sync_elements_to_head();
|
|
8434
8432
|
disconnectors.push((0, $2a1cbc63a04d4a2d$export$b6ae1bc530f4c149).onremoved(opts.selector, sync_elements_to_head), (0, $2a1cbc63a04d4a2d$export$b6ae1bc530f4c149).onchange(opts.selector, sync_elements_to_head), (0, $2a1cbc63a04d4a2d$export$b6ae1bc530f4c149).onexists(opts.selector, sync_elements_to_head));
|
|
8435
8433
|
}
|
|
8436
8434
|
});
|
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.
|
|
4
|
+
export const version = "1.0.32";
|
|
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.
|
|
15
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.32";
|
|
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]";
|
|
@@ -8165,12 +8165,10 @@ function $3aaea7425b99d050$export$ef73ea4f975745ba(meta_data) {
|
|
|
8165
8165
|
// We can't remove the other tags because they might be used by frameworks
|
|
8166
8166
|
const depict_elements = Array.from(existing_elements).filter(el => el.dataset.depictMeta);
|
|
8167
8167
|
// We only want to remove the Depict elements if there are other elements
|
|
8168
|
-
if (depict_elements.length && depict_elements.length < existing_elements.length)
|
|
8169
|
-
depict_elements.forEach(el => el.remove());
|
|
8170
|
-
(0, $649f456f663da9fc$export$de56f1198d121036)("Removed Depict meta tag", depict_elements);
|
|
8171
|
-
}
|
|
8168
|
+
if (depict_elements.length && depict_elements.length < existing_elements.length) depict_elements.forEach(el => el.remove());
|
|
8172
8169
|
}
|
|
8173
8170
|
};
|
|
8171
|
+
sync_elements_to_head();
|
|
8174
8172
|
disconnectors.push((0, $0b48ba2f40ce6067$export$b6ae1bc530f4c149).onremoved(opts.selector, sync_elements_to_head), (0, $0b48ba2f40ce6067$export$b6ae1bc530f4c149).onchange(opts.selector, sync_elements_to_head), (0, $0b48ba2f40ce6067$export$b6ae1bc530f4c149).onexists(opts.selector, sync_elements_to_head));
|
|
8175
8173
|
}
|
|
8176
8174
|
});
|