Upgrade @jottocraft/yggdrasil version
diff --git a/package.json b/package.json
index d6e5b0a..58c8517 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
"@ffxp/tailwind": "^1.0.0-alpha.21",
"@ffxp/theme-engine": "^1.0.0-alpha.21",
"@ffxp/themes": "^1.0.0-alpha.21",
- "@jottocraft/yggdrasil": "^0.0.1-alpha.17",
+ "@jottocraft/yggdrasil": "^0.0.1-alpha.20",
"@react-router/node": "^7.7.0",
"@react-router/remix-routes-option-adapter": "^7.7.0",
"@remix-run/v1-route-convention": "patch:@remix-run/v1-route-convention@npm%3A0.1.4#~/.yarn/patches/@remix-run-v1-route-convention-npm-0.1.4-d336e45418.patch",
diff --git a/packages/webui/src/app/components/ErrorScreen.tsx b/packages/webui/src/app/components/ErrorScreen.tsx
index d9e5cba..24d1342 100644
--- a/packages/webui/src/app/components/ErrorScreen.tsx
+++ b/packages/webui/src/app/components/ErrorScreen.tsx
@@ -15,12 +15,12 @@
{error ? (
<div className="space-y-2">
{message ? <p className="text-lg font-medium">{message}</p> : null}
- {error instanceof YggdrasilStatus ? <p className="text-type-30">Error {error.status} {error.statusCode}</p> : null}
+ {error instanceof YggdrasilStatus ? <p className="text-type-30">Error {error.httpStatus} {error.statusCode}</p> : null}
</div>
) : null}
</div>
- {(error instanceof YggdrasilStatus) && error.statusCtx ? (
- <pre className="text-type-60 text-xs font-mono">{JSON.stringify(error.statusCtx, undefined, 2)}</pre>
+ {(error instanceof YggdrasilStatus) && error.statusArgs ? (
+ <pre className="text-type-60 text-xs font-mono">{JSON.stringify(error.statusArgs, undefined, 2)}</pre>
) : null}
</div>
);
diff --git a/yarn.lock b/yarn.lock
index 4e04f2d..e979743 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1077,10 +1077,12 @@
languageName: unknown
linkType: soft
-"@jottocraft/yggdrasil@npm:^0.0.1-alpha.17":
- version: 0.0.1-alpha.17
- resolution: "@jottocraft/yggdrasil@npm:0.0.1-alpha.17"
- checksum: 10c0/01bb62f016041e33b097371a0e819654f85a7e4566b344d24867b8a4596dbf8bca1ac1254485c93949cb0997c1ba76a930ff05b31a9ea0edf8ad23c94b9d861c
+"@jottocraft/yggdrasil@npm:^0.0.1-alpha.20":
+ version: 0.0.1-alpha.20
+ resolution: "@jottocraft/yggdrasil@npm:0.0.1-alpha.20"
+ dependencies:
+ safe-stable-stringify: "npm:^2.5.0"
+ checksum: 10c0/6cd0102e9765c0e5ffa09690beb937347e47ed740c796729e6296d1b5418a29d75905027df1f564c2d7c4e9ec3eee1bb26821899889731642b2780ed2569f7b0
languageName: node
linkType: hard
@@ -3574,7 +3576,7 @@
"@ffxp/tailwind": "npm:^1.0.0-alpha.21"
"@ffxp/theme-engine": "npm:^1.0.0-alpha.21"
"@ffxp/themes": "npm:^1.0.0-alpha.21"
- "@jottocraft/yggdrasil": "npm:^0.0.1-alpha.17"
+ "@jottocraft/yggdrasil": "npm:^0.0.1-alpha.20"
"@react-router/dev": "npm:^7.5.3"
"@react-router/node": "npm:^7.7.0"
"@react-router/remix-routes-option-adapter": "npm:^7.7.0"
@@ -5404,6 +5406,13 @@
languageName: node
linkType: hard
+"safe-stable-stringify@npm:^2.5.0":
+ version: 2.5.0
+ resolution: "safe-stable-stringify@npm:2.5.0"
+ checksum: 10c0/baea14971858cadd65df23894a40588ed791769db21bafb7fd7608397dbdce9c5aac60748abae9995e0fc37e15f2061980501e012cd48859740796bea2987f49
+ languageName: node
+ linkType: hard
+
"safer-buffer@npm:>= 2.1.2 < 3.0.0":
version: 2.1.2
resolution: "safer-buffer@npm:2.1.2"