@depict-ai/utilishared 2.0.4 → 2.0.6

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
@@ -274,7 +274,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
274
274
  $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
275
275
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
276
276
  $parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
277
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.4";
277
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.6";
278
278
  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"))();
279
279
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
280
280
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
@@ -1299,7 +1299,7 @@ function $a13f25507f352177$export$a6db784f019668ba() {
1299
1299
  }
1300
1300
  const $62869a3ed703f236$export$362abebb4b313340 = process.env.BASE_URL || "https://api.depict.ai";
1301
1301
  const $49880c4ce4bb7db2$var$c = (0, $3b52ccc10510b32a$export$b3bbfd758f11cfa9);
1302
- const $49880c4ce4bb7db2$var$ws_instance = /*@__PURE__*/$49880c4ce4bb7db2$var$c(() => new (0, $bd0a305620de4c2a$export$1d9c6fddbff3441f)("wss://ws.depict.ai/ws/create-events"))();
1302
+ const $49880c4ce4bb7db2$var$ws_instance = /*@__PURE__*/$49880c4ce4bb7db2$var$c(() => new (0, $bd0a305620de4c2a$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
1303
1303
  const $49880c4ce4bb7db2$var$allowed_keys = ["tenant", "market", "type", "session_id", "product_id", "entity_identifiers", "url", "entity_price", "currency", "document_referrer", "document_width", "attribution_id", "recommendation_id", "click_location", "ab_test_group", "variant_ids", "transaction_id", "error_type", "detail", "recommendation_type", "search_result_id", "product_listing_result_id"];
1304
1304
  const $49880c4ce4bb7db2$export$72036d950e1fae95 = /*@__PURE__*/$49880c4ce4bb7db2$var$c(payload => {
1305
1305
  if (process.env.DEPICT === "false") return;
package/ES10/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.4";
2
+ export const version = "2.0.6";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
package/ES10/index.js CHANGED
@@ -16,7 +16,7 @@ function $parcel$export(e, n, v, s) {
16
16
  function $parcel$interopDefault(a) {
17
17
  return a && a.__esModule ? a.default : a;
18
18
  }
19
- const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.4";
19
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.6";
20
20
  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"))();
21
21
  const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
22
22
  let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
@@ -1041,7 +1041,7 @@ function $6cb4d83127e468ea$export$a6db784f019668ba() {
1041
1041
  }
1042
1042
  const $9e4bee2e3b4b5753$export$362abebb4b313340 = process.env.BASE_URL || "https://api.depict.ai";
1043
1043
  const $814c3bf8e175fa59$var$c = (0, $5e1f45affc1d7def$export$b3bbfd758f11cfa9);
1044
- const $814c3bf8e175fa59$var$ws_instance = /*@__PURE__*/$814c3bf8e175fa59$var$c(() => new (0, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f)("wss://ws.depict.ai/ws/create-events"))();
1044
+ const $814c3bf8e175fa59$var$ws_instance = /*@__PURE__*/$814c3bf8e175fa59$var$c(() => new (0, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
1045
1045
  const $814c3bf8e175fa59$var$allowed_keys = ["tenant", "market", "type", "session_id", "product_id", "entity_identifiers", "url", "entity_price", "currency", "document_referrer", "document_width", "attribution_id", "recommendation_id", "click_location", "ab_test_group", "variant_ids", "transaction_id", "error_type", "detail", "recommendation_type", "search_result_id", "product_listing_result_id"];
1046
1046
  const $814c3bf8e175fa59$export$72036d950e1fae95 = /*@__PURE__*/$814c3bf8e175fa59$var$c(payload => {
1047
1047
  if (process.env.DEPICT === "false") return;
package/latest/index.cjs CHANGED
@@ -271,7 +271,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
271
271
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
272
272
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
273
273
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
274
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.4";
274
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.6";
275
275
  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"))();
276
276
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
277
277
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -1148,7 +1148,7 @@ function $650b64c1b384c895$export$a6db784f019668ba() {
1148
1148
  }
1149
1149
  const $4c6861fbcd3a0611$export$362abebb4b313340 = process.env.BASE_URL || "https://api.depict.ai";
1150
1150
  const $0c84f8e99aac5765$var$c = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9);
1151
- const $0c84f8e99aac5765$var$ws_instance = /*@__PURE__*/$0c84f8e99aac5765$var$c(() => new (0, $d10801050840d92b$export$1d9c6fddbff3441f)("wss://ws.depict.ai/ws/create-events"))();
1151
+ const $0c84f8e99aac5765$var$ws_instance = /*@__PURE__*/$0c84f8e99aac5765$var$c(() => new (0, $d10801050840d92b$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
1152
1152
  const $0c84f8e99aac5765$var$allowed_keys = ["tenant", "market", "type", "session_id", "product_id", "entity_identifiers", "url", "entity_price", "currency", "document_referrer", "document_width", "attribution_id", "recommendation_id", "click_location", "ab_test_group", "variant_ids", "transaction_id", "error_type", "detail", "recommendation_type", "search_result_id", "product_listing_result_id"];
1153
1153
  const $0c84f8e99aac5765$export$72036d950e1fae95 = /*@__PURE__*/$0c84f8e99aac5765$var$c(payload => {
1154
1154
  if (process.env.DEPICT === "false") return;
package/latest/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.4";
2
+ export const version = "2.0.6";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
package/latest/index.js CHANGED
@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {
13
13
  function $parcel$interopDefault(a) {
14
14
  return a && a.__esModule ? a.default : a;
15
15
  }
16
- const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.4";
16
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.6";
17
17
  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"))();
18
18
  const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
19
19
  let $649f456f663da9fc$var$browser_prefix = "[Depict]";
@@ -890,7 +890,7 @@ function $460df8550f9d084d$export$a6db784f019668ba() {
890
890
  }
891
891
  const $6c2b49f3f564b0d1$export$362abebb4b313340 = process.env.BASE_URL || "https://api.depict.ai";
892
892
  const $cafa1ff1049985c2$var$c = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9);
893
- const $cafa1ff1049985c2$var$ws_instance = /*@__PURE__*/$cafa1ff1049985c2$var$c(() => new (0, $4ce764ddfee055ef$export$1d9c6fddbff3441f)("wss://ws.depict.ai/ws/create-events"))();
893
+ const $cafa1ff1049985c2$var$ws_instance = /*@__PURE__*/$cafa1ff1049985c2$var$c(() => new (0, $4ce764ddfee055ef$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
894
894
  const $cafa1ff1049985c2$var$allowed_keys = ["tenant", "market", "type", "session_id", "product_id", "entity_identifiers", "url", "entity_price", "currency", "document_referrer", "document_width", "attribution_id", "recommendation_id", "click_location", "ab_test_group", "variant_ids", "transaction_id", "error_type", "detail", "recommendation_type", "search_result_id", "product_listing_result_id"];
895
895
  const $cafa1ff1049985c2$export$72036d950e1fae95 = /*@__PURE__*/$cafa1ff1049985c2$var$c(payload => {
896
896
  if (process.env.DEPICT === "false") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",
@@ -133,6 +133,7 @@
133
133
  "files": [
134
134
  "/latest",
135
135
  "/ES10",
136
+ "/server",
136
137
  "./multi_import_deduplicator.mjs",
137
138
  "./multi_import_deduplicator.cjs"
138
139
  ],