@medusajs/dashboard 2.12.2-snapshot-20251208134209 → 2.12.2-snapshot-20251208153852
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/app.js +3 -3
- package/dist/app.mjs +1 -1
- package/dist/{chunk-SVJZUHGT.mjs → chunk-FHDQ346H.mjs} +9 -9
- package/dist/{product-attributes-QTM5XG44.mjs → product-attributes-GMX6UXAL.mjs} +1 -1
- package/dist/{product-create-4EPPP2EJ.mjs → product-create-NN6RP76T.mjs} +1 -1
- package/dist/{product-detail-SUWEBER4.mjs → product-detail-C5SAQWWU.mjs} +1 -1
- package/dist/{product-edit-WMA4R3RV.mjs → product-edit-MNKW3ONX.mjs} +1 -1
- package/dist/{product-organization-SA6DTKLT.mjs → product-organization-BEHIZPWV.mjs} +1 -1
- package/package.json +9 -9
- package/src/components/utilities/error-boundary/error-boundary.tsx +4 -4
package/dist/app.js
CHANGED
|
@@ -97287,7 +97287,7 @@ var init_error_boundary = __esm({
|
|
|
97287
97287
|
const { t: t5 } = (0, import_react_i18next12.useTranslation)();
|
|
97288
97288
|
let code = null;
|
|
97289
97289
|
(0, import_react28.useEffect)(() => {
|
|
97290
|
-
if (error) {
|
|
97290
|
+
if (window !== window.parent && error) {
|
|
97291
97291
|
let filename;
|
|
97292
97292
|
let lineno;
|
|
97293
97293
|
let colno;
|
|
@@ -97302,8 +97302,8 @@ var init_error_boundary = __esm({
|
|
|
97302
97302
|
}
|
|
97303
97303
|
}
|
|
97304
97304
|
const errorPayload = {
|
|
97305
|
-
type: "
|
|
97306
|
-
|
|
97305
|
+
type: "ADMIN_RUNTIME_ERROR",
|
|
97306
|
+
error: {
|
|
97307
97307
|
message: error instanceof Error ? error.message : String(error),
|
|
97308
97308
|
filename,
|
|
97309
97309
|
lineno,
|
package/dist/app.mjs
CHANGED
|
@@ -92450,7 +92450,7 @@ var ErrorBoundary = () => {
|
|
|
92450
92450
|
const { t: t2 } = useTranslation11();
|
|
92451
92451
|
let code = null;
|
|
92452
92452
|
useEffect12(() => {
|
|
92453
|
-
if (error) {
|
|
92453
|
+
if (window !== window.parent && error) {
|
|
92454
92454
|
let filename;
|
|
92455
92455
|
let lineno;
|
|
92456
92456
|
let colno;
|
|
@@ -92465,8 +92465,8 @@ var ErrorBoundary = () => {
|
|
|
92465
92465
|
}
|
|
92466
92466
|
}
|
|
92467
92467
|
const errorPayload = {
|
|
92468
|
-
type: "
|
|
92469
|
-
|
|
92468
|
+
type: "ADMIN_RUNTIME_ERROR",
|
|
92469
|
+
error: {
|
|
92470
92470
|
message: error instanceof Error ? error.message : String(error),
|
|
92471
92471
|
filename,
|
|
92472
92472
|
lineno,
|
|
@@ -92554,7 +92554,7 @@ function getRouteMap({
|
|
|
92554
92554
|
children: [
|
|
92555
92555
|
{
|
|
92556
92556
|
path: "create",
|
|
92557
|
-
lazy: () => import("./product-create-
|
|
92557
|
+
lazy: () => import("./product-create-NN6RP76T.mjs")
|
|
92558
92558
|
},
|
|
92559
92559
|
{
|
|
92560
92560
|
path: "import",
|
|
@@ -92570,7 +92570,7 @@ function getRouteMap({
|
|
|
92570
92570
|
path: ":id",
|
|
92571
92571
|
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
92572
92572
|
lazy: async () => {
|
|
92573
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
92573
|
+
const { Breadcrumb, loader } = await import("./product-detail-C5SAQWWU.mjs");
|
|
92574
92574
|
return {
|
|
92575
92575
|
Component: Outlet4,
|
|
92576
92576
|
loader,
|
|
@@ -92582,11 +92582,11 @@ function getRouteMap({
|
|
|
92582
92582
|
children: [
|
|
92583
92583
|
{
|
|
92584
92584
|
path: "",
|
|
92585
|
-
lazy: () => import("./product-detail-
|
|
92585
|
+
lazy: () => import("./product-detail-C5SAQWWU.mjs"),
|
|
92586
92586
|
children: [
|
|
92587
92587
|
{
|
|
92588
92588
|
path: "edit",
|
|
92589
|
-
lazy: () => import("./product-edit-
|
|
92589
|
+
lazy: () => import("./product-edit-MNKW3ONX.mjs")
|
|
92590
92590
|
},
|
|
92591
92591
|
{
|
|
92592
92592
|
path: "edit-variant",
|
|
@@ -92598,11 +92598,11 @@ function getRouteMap({
|
|
|
92598
92598
|
},
|
|
92599
92599
|
{
|
|
92600
92600
|
path: "attributes",
|
|
92601
|
-
lazy: () => import("./product-attributes-
|
|
92601
|
+
lazy: () => import("./product-attributes-GMX6UXAL.mjs")
|
|
92602
92602
|
},
|
|
92603
92603
|
{
|
|
92604
92604
|
path: "organization",
|
|
92605
|
-
lazy: () => import("./product-organization-
|
|
92605
|
+
lazy: () => import("./product-organization-BEHIZPWV.mjs")
|
|
92606
92606
|
},
|
|
92607
92607
|
{
|
|
92608
92608
|
path: "shipping-profile",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/dashboard",
|
|
3
|
-
"version": "2.12.2-snapshot-
|
|
3
|
+
"version": "2.12.2-snapshot-20251208153852",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
|
|
6
6
|
"dev": "../../../node_modules/.bin/vite",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@dnd-kit/utilities": "^3.2.2",
|
|
47
47
|
"@hookform/error-message": "^2.0.1",
|
|
48
48
|
"@hookform/resolvers": "3.4.2",
|
|
49
|
-
"@medusajs/admin-shared": "2.12.2-snapshot-
|
|
50
|
-
"@medusajs/icons": "2.12.2-snapshot-
|
|
51
|
-
"@medusajs/js-sdk": "2.12.2-snapshot-
|
|
52
|
-
"@medusajs/ui": "4.0.30-snapshot-
|
|
49
|
+
"@medusajs/admin-shared": "2.12.2-snapshot-20251208153852",
|
|
50
|
+
"@medusajs/icons": "2.12.2-snapshot-20251208153852",
|
|
51
|
+
"@medusajs/js-sdk": "2.12.2-snapshot-20251208153852",
|
|
52
|
+
"@medusajs/ui": "4.0.30-snapshot-20251208153852",
|
|
53
53
|
"@radix-ui/react-dialog": "1.1.4",
|
|
54
54
|
"@radix-ui/react-dismissable-layer": "1.1.4",
|
|
55
55
|
"@tanstack/react-query": "5.64.2",
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"zod": "3.25.76"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@medusajs/admin-shared": "2.12.2-snapshot-
|
|
84
|
-
"@medusajs/admin-vite-plugin": "2.12.2-snapshot-
|
|
85
|
-
"@medusajs/types": "2.12.2-snapshot-
|
|
86
|
-
"@medusajs/ui-preset": "2.12.2-snapshot-
|
|
83
|
+
"@medusajs/admin-shared": "2.12.2-snapshot-20251208153852",
|
|
84
|
+
"@medusajs/admin-vite-plugin": "2.12.2-snapshot-20251208153852",
|
|
85
|
+
"@medusajs/types": "2.12.2-snapshot-20251208153852",
|
|
86
|
+
"@medusajs/ui-preset": "2.12.2-snapshot-20251208153852"
|
|
87
87
|
},
|
|
88
88
|
"packageManager": "yarn@3.2.1"
|
|
89
89
|
}
|
|
@@ -14,10 +14,10 @@ export const ErrorBoundary = () => {
|
|
|
14
14
|
let code: number | null = null
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Send error to parent frame when running in an iframe.
|
|
17
|
+
* Send error to parent frame when running in an iframe, e.g. for Bloom sandboxes.
|
|
18
18
|
*/
|
|
19
19
|
useEffect(() => {
|
|
20
|
-
if (error) {
|
|
20
|
+
if (window !== window.parent && error) {
|
|
21
21
|
let filename: string | undefined
|
|
22
22
|
let lineno: number | undefined
|
|
23
23
|
let colno: number | undefined
|
|
@@ -35,8 +35,8 @@ export const ErrorBoundary = () => {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
const errorPayload = {
|
|
38
|
-
type: "
|
|
39
|
-
|
|
38
|
+
type: "ADMIN_RUNTIME_ERROR",
|
|
39
|
+
error: {
|
|
40
40
|
message: error instanceof Error ? error.message : String(error),
|
|
41
41
|
filename,
|
|
42
42
|
lineno,
|