@depict-ai/utilishared 2.1.7 → 2.2.0
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 +2 -2
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +2 -2
- package/latest/index.cjs +2 -2
- package/latest/index.d.ts +1 -1
- package/latest/index.js +2 -2
- package/package.json +2 -2
- package/server/ES10/index.cjs +2 -2
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +2 -2
- package/server/latest/index.cjs +2 -2
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +2 -2
package/ES10/index.cjs
CHANGED
|
@@ -276,7 +276,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
|
|
|
276
276
|
$parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
|
|
277
277
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
|
|
278
278
|
$parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
|
|
279
|
-
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.
|
|
279
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.2.0";
|
|
280
280
|
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"))();
|
|
281
281
|
const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
|
|
282
282
|
let $7f95f77417d06249$var$browser_prefix = "[Depict]";
|
|
@@ -1313,7 +1313,7 @@ function $a13f25507f352177$export$656831b7e9c341c3() {
|
|
|
1313
1313
|
function $a13f25507f352177$export$a6db784f019668ba() {
|
|
1314
1314
|
return "x" + $a13f25507f352177$export$656831b7e9c341c3().replaceAll(".", "");
|
|
1315
1315
|
}
|
|
1316
|
-
const $62869a3ed703f236$export$362abebb4b313340 = process.env.
|
|
1316
|
+
const $62869a3ed703f236$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
1317
1317
|
const $49880c4ce4bb7db2$var$c = (0, $3b52ccc10510b32a$export$b3bbfd758f11cfa9);
|
|
1318
1318
|
const $49880c4ce4bb7db2$var$ws_instance = /*@__PURE__*/$49880c4ce4bb7db2$var$c(() => new (0, $bd0a305620de4c2a$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
1319
1319
|
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"];
|
package/ES10/index.d.ts
CHANGED
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.
|
|
19
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.2.0";
|
|
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]";
|
|
@@ -1053,7 +1053,7 @@ function $6cb4d83127e468ea$export$656831b7e9c341c3() {
|
|
|
1053
1053
|
function $6cb4d83127e468ea$export$a6db784f019668ba() {
|
|
1054
1054
|
return "x" + $6cb4d83127e468ea$export$656831b7e9c341c3().replaceAll(".", "");
|
|
1055
1055
|
}
|
|
1056
|
-
const $9e4bee2e3b4b5753$export$362abebb4b313340 = process.env.
|
|
1056
|
+
const $9e4bee2e3b4b5753$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
1057
1057
|
const $814c3bf8e175fa59$var$c = (0, $5e1f45affc1d7def$export$b3bbfd758f11cfa9);
|
|
1058
1058
|
const $814c3bf8e175fa59$var$ws_instance = /*@__PURE__*/$814c3bf8e175fa59$var$c(() => new (0, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
1059
1059
|
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"];
|
package/latest/index.cjs
CHANGED
|
@@ -273,7 +273,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
|
|
|
273
273
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
274
274
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
275
275
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
276
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.
|
|
276
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.2.0";
|
|
277
277
|
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"))();
|
|
278
278
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
279
279
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
|
@@ -1162,7 +1162,7 @@ function $650b64c1b384c895$export$656831b7e9c341c3() {
|
|
|
1162
1162
|
function $650b64c1b384c895$export$a6db784f019668ba() {
|
|
1163
1163
|
return "x" + $650b64c1b384c895$export$656831b7e9c341c3().replaceAll(".", "");
|
|
1164
1164
|
}
|
|
1165
|
-
const $4c6861fbcd3a0611$export$362abebb4b313340 = process.env.
|
|
1165
|
+
const $4c6861fbcd3a0611$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
1166
1166
|
const $0c84f8e99aac5765$var$c = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9);
|
|
1167
1167
|
const $0c84f8e99aac5765$var$ws_instance = /*@__PURE__*/$0c84f8e99aac5765$var$c(() => new (0, $d10801050840d92b$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
1168
1168
|
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"];
|
package/latest/index.d.ts
CHANGED
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.
|
|
16
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.2.0";
|
|
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]";
|
|
@@ -902,7 +902,7 @@ function $460df8550f9d084d$export$656831b7e9c341c3() {
|
|
|
902
902
|
function $460df8550f9d084d$export$a6db784f019668ba() {
|
|
903
903
|
return "x" + $460df8550f9d084d$export$656831b7e9c341c3().replaceAll(".", "");
|
|
904
904
|
}
|
|
905
|
-
const $6c2b49f3f564b0d1$export$362abebb4b313340 = process.env.
|
|
905
|
+
const $6c2b49f3f564b0d1$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
906
906
|
const $cafa1ff1049985c2$var$c = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9);
|
|
907
907
|
const $cafa1ff1049985c2$var$ws_instance = /*@__PURE__*/$cafa1ff1049985c2$var$c(() => new (0, $4ce764ddfee055ef$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
908
908
|
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"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/utilishared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "ES10/index.d.ts",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
],
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@babel/core": "latest",
|
|
142
|
-
"@depict-ai/types": "^5.
|
|
142
|
+
"@depict-ai/types": "^5.2.0",
|
|
143
143
|
"@parcel/resolver-default": "^2.10.3",
|
|
144
144
|
"@sentry/cli": "^2.21.2",
|
|
145
145
|
"@sentry/types": "^7.75.1",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -276,7 +276,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
|
|
|
276
276
|
$parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
|
|
277
277
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
|
|
278
278
|
$parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
|
|
279
|
-
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.
|
|
279
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.2.0";
|
|
280
280
|
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"))();
|
|
281
281
|
const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
|
|
282
282
|
let $7f95f77417d06249$var$browser_prefix = "[Depict]";
|
|
@@ -1313,7 +1313,7 @@ function $a13f25507f352177$export$656831b7e9c341c3() {
|
|
|
1313
1313
|
function $a13f25507f352177$export$a6db784f019668ba() {
|
|
1314
1314
|
return "x" + $a13f25507f352177$export$656831b7e9c341c3().replaceAll(".", "");
|
|
1315
1315
|
}
|
|
1316
|
-
const $62869a3ed703f236$export$362abebb4b313340 = process.env.
|
|
1316
|
+
const $62869a3ed703f236$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
1317
1317
|
const $49880c4ce4bb7db2$var$c = (0, $3b52ccc10510b32a$export$b3bbfd758f11cfa9);
|
|
1318
1318
|
const $49880c4ce4bb7db2$var$ws_instance = /*@__PURE__*/$49880c4ce4bb7db2$var$c(() => new (0, $bd0a305620de4c2a$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
1319
1319
|
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"];
|
package/server/ES10/index.d.ts
CHANGED
package/server/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.
|
|
19
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.2.0";
|
|
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]";
|
|
@@ -1053,7 +1053,7 @@ function $6cb4d83127e468ea$export$656831b7e9c341c3() {
|
|
|
1053
1053
|
function $6cb4d83127e468ea$export$a6db784f019668ba() {
|
|
1054
1054
|
return "x" + $6cb4d83127e468ea$export$656831b7e9c341c3().replaceAll(".", "");
|
|
1055
1055
|
}
|
|
1056
|
-
const $9e4bee2e3b4b5753$export$362abebb4b313340 = process.env.
|
|
1056
|
+
const $9e4bee2e3b4b5753$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
1057
1057
|
const $814c3bf8e175fa59$var$c = (0, $5e1f45affc1d7def$export$b3bbfd758f11cfa9);
|
|
1058
1058
|
const $814c3bf8e175fa59$var$ws_instance = /*@__PURE__*/$814c3bf8e175fa59$var$c(() => new (0, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
1059
1059
|
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"];
|
package/server/latest/index.cjs
CHANGED
|
@@ -273,7 +273,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
|
|
|
273
273
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
274
274
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
275
275
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
276
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.
|
|
276
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.2.0";
|
|
277
277
|
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"))();
|
|
278
278
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
279
279
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
|
@@ -1162,7 +1162,7 @@ function $650b64c1b384c895$export$656831b7e9c341c3() {
|
|
|
1162
1162
|
function $650b64c1b384c895$export$a6db784f019668ba() {
|
|
1163
1163
|
return "x" + $650b64c1b384c895$export$656831b7e9c341c3().replaceAll(".", "");
|
|
1164
1164
|
}
|
|
1165
|
-
const $4c6861fbcd3a0611$export$362abebb4b313340 = process.env.
|
|
1165
|
+
const $4c6861fbcd3a0611$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
1166
1166
|
const $0c84f8e99aac5765$var$c = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9);
|
|
1167
1167
|
const $0c84f8e99aac5765$var$ws_instance = /*@__PURE__*/$0c84f8e99aac5765$var$c(() => new (0, $d10801050840d92b$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
1168
1168
|
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"];
|
package/server/latest/index.d.ts
CHANGED
package/server/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.
|
|
16
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.2.0";
|
|
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]";
|
|
@@ -902,7 +902,7 @@ function $460df8550f9d084d$export$656831b7e9c341c3() {
|
|
|
902
902
|
function $460df8550f9d084d$export$a6db784f019668ba() {
|
|
903
903
|
return "x" + $460df8550f9d084d$export$656831b7e9c341c3().replaceAll(".", "");
|
|
904
904
|
}
|
|
905
|
-
const $6c2b49f3f564b0d1$export$362abebb4b313340 = process.env.
|
|
905
|
+
const $6c2b49f3f564b0d1$export$362abebb4b313340 = process.env.DEPICT_BASE_URL || "https://api.depict.ai";
|
|
906
906
|
const $cafa1ff1049985c2$var$c = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9);
|
|
907
907
|
const $cafa1ff1049985c2$var$ws_instance = /*@__PURE__*/$cafa1ff1049985c2$var$c(() => new (0, $4ce764ddfee055ef$export$1d9c6fddbff3441f)("wss://ws.v2.depict.ai/ws/create-events"))();
|
|
908
908
|
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"];
|