@depict-ai/utilishared 1.0.47 → 1.0.48

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.47";
282
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.48";
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]";
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.47";
4
+ export const version = "1.0.48";
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]`.
@@ -980,7 +980,7 @@ export const wait: (delay: number) => Promise<unknown>;
980
980
  * @param max_retries Max number of retries, defaults to 10
981
981
  * @returns The fetch response
982
982
  */
983
- export function fetch_retry(url: RequestInfo, options?: RequestInit, max_retries?: number): Promise<false | Response>;
983
+ export function fetch_retry(url: RequestInfo | URL, options?: RequestInit, max_retries?: number): Promise<false | Response>;
984
984
  type PossibleEndpoint = "general" | "product" | "products" | "category";
985
985
  type ExclusiveId = {
986
986
  category_id: string;
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.47";
18
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.48";
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]";
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.47";
279
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.48";
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]";
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.47";
4
+ export const version = "1.0.48";
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]`.
@@ -980,7 +980,7 @@ export const wait: (delay: number) => Promise<unknown>;
980
980
  * @param max_retries Max number of retries, defaults to 10
981
981
  * @returns The fetch response
982
982
  */
983
- export function fetch_retry(url: RequestInfo, options?: RequestInit, max_retries?: number): Promise<false | Response>;
983
+ export function fetch_retry(url: RequestInfo | URL, options?: RequestInit, max_retries?: number): Promise<false | Response>;
984
984
  type PossibleEndpoint = "general" | "product" | "products" | "category";
985
985
  type ExclusiveId = {
986
986
  category_id: string;
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.47";
15
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.48";
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]";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",
@@ -81,8 +81,8 @@
81
81
  "@babel/core": "latest",
82
82
  "@depict-ai/types": "^1.0.39",
83
83
  "@parcel/resolver-default": "^2.9.3",
84
- "@sentry/cli": "latest",
85
- "@sentry/types": "^7.13.0",
84
+ "@sentry/cli": "^2.21.2",
85
+ "@sentry/types": "^7.75.1",
86
86
  "@types/jest": "^29.2.5",
87
87
  "@types/node": "^18.11.9",
88
88
  "jest": "^29.3.1",
@@ -93,7 +93,7 @@
93
93
  "@babel/plugin-transform-typescript": "^7.22.9",
94
94
  "@babel/runtime": "latest",
95
95
  "@babel/runtime-corejs3": "latest",
96
- "@sentry/browser": "^7.23.0",
96
+ "@sentry/browser": "^7.75.1",
97
97
  "solid-js": "^1.8.1"
98
98
  },
99
99
  "type": "module",