@depict-ai/ui 1.1.1 → 1.1.3
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/client/main.js +6 -2
- package/dist/client/module.js +6 -2
- package/dist/index.d.ts +2 -2
- package/dist/main.js +126 -169
- package/dist/module.js +131 -259
- package/dist/server/main.js +6 -2
- package/dist/server/module.js +6 -2
- package/package.json +4 -4
package/dist/server/main.js
CHANGED
|
@@ -43,7 +43,7 @@ $parcel$export(module.exports, "defaultGridSpacing", () => $a3280f0aad997933$exp
|
|
|
43
43
|
$parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$export$c3834fa86c616831);
|
|
44
44
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
45
45
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
46
|
-
/*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.1.
|
|
46
|
+
/*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.1.3";
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -5551,9 +5551,13 @@ async function $7b4bc889571cc67b$var$download_categories(tenant, market, type) {
|
|
|
5551
5551
|
});
|
|
5552
5552
|
if (!fetched) return [];
|
|
5553
5553
|
try {
|
|
5554
|
+
if (fetched.status !== 200) {
|
|
5555
|
+
(0, $diwD4$depictaiutilishared.dlog)("failed to fetch queries, server responded with", fetched.status, fetched, await fetched.text());
|
|
5556
|
+
return [];
|
|
5557
|
+
}
|
|
5554
5558
|
return (await fetched.json())?.query_ids;
|
|
5555
5559
|
} catch (e) {
|
|
5556
|
-
(0, $diwD4$depictaiutilishared.dlog)("failed to decode queries json", e);
|
|
5560
|
+
(0, $diwD4$depictaiutilishared.dlog)("failed to decode queries json", fetched, e);
|
|
5557
5561
|
return [];
|
|
5558
5562
|
}
|
|
5559
5563
|
}
|
package/dist/server/module.js
CHANGED
|
@@ -2,7 +2,7 @@ import {add_to_version_info as $cV3wj$add_to_version_info, observer as $cV3wj$ob
|
|
|
2
2
|
import {createRoot as $cV3wj$createRoot, createSignal as $cV3wj$createSignal, getOwner as $cV3wj$getOwner, runWithOwner as $cV3wj$runWithOwner, onCleanup as $cV3wj$onCleanup, createComputed as $cV3wj$createComputed, createRenderEffect as $cV3wj$createRenderEffect, createEffect as $cV3wj$createEffect, untrack as $cV3wj$untrack, batch as $cV3wj$batch, createResource as $cV3wj$createResource, createMemo as $cV3wj$createMemo, Show as $cV3wj$Show, createReaction as $cV3wj$createReaction, Suspense as $cV3wj$Suspense, on as $cV3wj$on, ErrorBoundary as $cV3wj$ErrorBoundary, For as $cV3wj$For, Index as $cV3wj$Index} from "solid-js";
|
|
3
3
|
import {ssrElement as $cV3wj$ssrElement, ssr as $cV3wj$ssr, ssrHydrationKey as $cV3wj$ssrHydrationKey, ssrAttribute as $cV3wj$ssrAttribute, escape as $cV3wj$escape, isServer as $cV3wj$isServer, createComponent as $cV3wj$createComponent, ssrClassList as $cV3wj$ssrClassList, insert as $cV3wj$insert, ssrStyle as $cV3wj$ssrStyle, Dynamic as $cV3wj$Dynamic, mergeProps as $cV3wj$mergeProps} from "solid-js/web";
|
|
4
4
|
|
|
5
|
-
/*! Depict.ai search and product listing SDK */ const $ec291e0010116877$export$83d89fbfd8236492 = "1.1.
|
|
5
|
+
/*! Depict.ai search and product listing SDK */ const $ec291e0010116877$export$83d89fbfd8236492 = "1.1.3";
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -5510,9 +5510,13 @@ async function $5c5f95951393e5d1$var$download_categories(tenant, market, type) {
|
|
|
5510
5510
|
});
|
|
5511
5511
|
if (!fetched) return [];
|
|
5512
5512
|
try {
|
|
5513
|
+
if (fetched.status !== 200) {
|
|
5514
|
+
(0, $cV3wj$dlog)("failed to fetch queries, server responded with", fetched.status, fetched, await fetched.text());
|
|
5515
|
+
return [];
|
|
5516
|
+
}
|
|
5513
5517
|
return (await fetched.json())?.query_ids;
|
|
5514
5518
|
} catch (e) {
|
|
5515
|
-
(0, $cV3wj$dlog)("failed to decode queries json", e);
|
|
5519
|
+
(0, $cV3wj$dlog)("failed to decode queries json", fetched, e);
|
|
5516
5520
|
return [];
|
|
5517
5521
|
}
|
|
5518
5522
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
|
|
5
5
|
"packageManager": "yarn@3.2.2",
|
|
6
6
|
"main": "dist/client/main.js",
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
"ts-jest": "^29.0.3"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@depict-ai/plp-styling": "^1.0.
|
|
128
|
-
"@depict-ai/types": "^1.0.
|
|
129
|
-
"@depict-ai/utilishared": "^1.0.
|
|
127
|
+
"@depict-ai/plp-styling": "^1.0.20",
|
|
128
|
+
"@depict-ai/types": "^1.0.23",
|
|
129
|
+
"@depict-ai/utilishared": "^1.0.19",
|
|
130
130
|
"solid-js": "^1.7.3"
|
|
131
131
|
},
|
|
132
132
|
"types": "dist/index.d.ts",
|