@fedify/debugger 2.3.0-dev.994 → 2.3.0-pr.809.36

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  [![JSR][JSR badge]][JSR]
7
7
  [![npm][npm badge]][npm]
8
- [![Follow @fedify@hollo.social][@fedify@hollo.social badge]][@fedify@hollo.social]
8
+ [![@fedify@hollo.social][@fedify@hollo.social badge]][@fedify@hollo.social]
9
9
 
10
10
  *This package is available since Fedify 2.0.0.*
11
11
 
@@ -44,7 +44,7 @@ advanced setup, see the [Debugging section] of the Fedify manual.
44
44
  [JSR]: https://jsr.io/@fedify/debugger
45
45
  [npm badge]: https://img.shields.io/npm/v/@fedify/debugger?logo=npm
46
46
  [npm]: https://www.npmjs.com/package/@fedify/debugger
47
- [@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
47
+ [@fedify@hollo.social badge]: https://fedi-badge.minhee.org/@fedify@hollo.social/followers.svg
48
48
  [@fedify@hollo.social]: https://hollo.social/@fedify
49
49
  [`@fedify/hono`]: https://jsr.io/@fedify/hono
50
50
  [`@fedify/express`]: https://www.npmjs.com/package/@fedify/express
package/dist/mod.cjs CHANGED
@@ -606,7 +606,7 @@ const TraceDetailPage = ({ traceId, activities, logs, pathPrefix }) => {
606
606
  activity.signatureDetails.ldSignaturesVerified ? "verified" : "not verified"
607
607
  ] })] })
608
608
  ] }) }),
609
- /* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsxs)("details", { children: [/* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsx)("summary", { children: "Activity JSON" }), /* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsx)("pre", { children: formatJson(activity.activityJson) })] })
609
+ activity.activityJson == null ? null : /* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsxs)("details", { children: [/* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsx)("summary", { children: "Activity JSON" }), /* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsx)("pre", { children: formatJson(activity.activityJson) })] })
610
610
  ]
611
611
  }, activity.spanId)),
612
612
  /* @__PURE__ */ (0, hono_jsx_jsx_runtime.jsx)("h2", { children: "Logs" }),
package/dist/mod.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  import { Federation, KvStore } from "@fedify/fedify/federation";
2
3
  import { FedifySpanExporter } from "@fedify/fedify/otel";
3
4
  import { Sink } from "@logtape/logtape";
@@ -8,11 +9,16 @@ import { Sink } from "@logtape/logtape";
8
9
  *
9
10
  * The debug dashboard can be protected using one of three authentication modes:
10
11
  *
11
- * - `"password"` — Shows a password-only login form.
12
- * - `"usernamePassword"` — Shows a username + password login form.
13
- * - `"request"` — Authenticates based on the incoming request (e.g., IP
14
- * address). No login form is shown; unauthenticated requests receive a
15
- * 403 response.
12
+ * `"password"`
13
+ * : Shows a password-only login form.
14
+ *
15
+ * `"usernamePassword"`
16
+ * : Shows a username + password login form.
17
+ *
18
+ * `"request"`
19
+ * : Authenticates based on the incoming request (e.g., IP
20
+ * address). No login form is shown; unauthenticated requests receive a
21
+ * 403 response.
16
22
  *
17
23
  * Each mode supports either a static credential check or a callback function.
18
24
  */
package/dist/mod.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Temporal } from "@js-temporal/polyfill";
1
+ /// <reference lib="esnext.temporal" />
2
2
  import { Federation, KvStore } from "@fedify/fedify/federation";
3
3
  import { FedifySpanExporter } from "@fedify/fedify/otel";
4
4
  import { Sink } from "@logtape/logtape";
@@ -9,11 +9,16 @@ import { Sink } from "@logtape/logtape";
9
9
  *
10
10
  * The debug dashboard can be protected using one of three authentication modes:
11
11
  *
12
- * - `"password"` — Shows a password-only login form.
13
- * - `"usernamePassword"` — Shows a username + password login form.
14
- * - `"request"` — Authenticates based on the incoming request (e.g., IP
15
- * address). No login form is shown; unauthenticated requests receive a
16
- * 403 response.
12
+ * `"password"`
13
+ * : Shows a password-only login form.
14
+ *
15
+ * `"usernamePassword"`
16
+ * : Shows a username + password login form.
17
+ *
18
+ * `"request"`
19
+ * : Authenticates based on the incoming request (e.g., IP
20
+ * address). No login form is shown; unauthenticated requests receive a
21
+ * 403 response.
17
22
  *
18
23
  * Each mode supports either a static credential check or a callback function.
19
24
  */
package/dist/mod.js CHANGED
@@ -1,4 +1,4 @@
1
- import "@js-temporal/polyfill";
1
+ import { Temporal } from "@js-temporal/polyfill";
2
2
  import { MemoryKvStore } from "@fedify/fedify/federation";
3
3
  import { FedifySpanExporter } from "@fedify/fedify/otel";
4
4
  import { configureSync, getConfig } from "@logtape/logtape";
@@ -605,7 +605,7 @@ const TraceDetailPage = ({ traceId, activities, logs, pathPrefix }) => {
605
605
  activity.signatureDetails.ldSignaturesVerified ? "verified" : "not verified"
606
606
  ] })] })
607
607
  ] }) }),
608
- /* @__PURE__ */ jsxs("details", { children: [/* @__PURE__ */ jsx("summary", { children: "Activity JSON" }), /* @__PURE__ */ jsx("pre", { children: formatJson(activity.activityJson) })] })
608
+ activity.activityJson == null ? null : /* @__PURE__ */ jsxs("details", { children: [/* @__PURE__ */ jsx("summary", { children: "Activity JSON" }), /* @__PURE__ */ jsx("pre", { children: formatJson(activity.activityJson) })] })
609
609
  ]
610
610
  }, activity.spanId)),
611
611
  /* @__PURE__ */ jsx("h2", { children: "Logs" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/debugger",
3
- "version": "2.3.0-dev.994+9071ca0a",
3
+ "version": "2.3.0-pr.809.36+c592d116",
4
4
  "description": "Embedded ActivityPub debug dashboard for Fedify",
5
5
  "type": "module",
6
6
  "main": "./dist/mod.cjs",
@@ -29,20 +29,20 @@
29
29
  "directory": "packages/debugger"
30
30
  },
31
31
  "peerDependencies": {
32
- "@fedify/fedify": "^2.3.0-dev.994+9071ca0a"
32
+ "@fedify/fedify": "^2.3.0-pr.809.36+c592d116"
33
33
  },
34
34
  "dependencies": {
35
35
  "@js-temporal/polyfill": "^0.5.1",
36
- "@logtape/logtape": "^2.0.5",
37
- "@opentelemetry/api": "^1.9.0",
38
- "@opentelemetry/context-async-hooks": "^2.5.0",
39
- "@opentelemetry/core": "^2.5.0",
40
- "@opentelemetry/sdk-trace-base": "^2.5.0",
36
+ "@logtape/logtape": "^2.1.0",
37
+ "@opentelemetry/api": "^1.9.1",
38
+ "@opentelemetry/context-async-hooks": "^2.7.1",
39
+ "@opentelemetry/core": "^2.7.1",
40
+ "@opentelemetry/sdk-trace-base": "^2.7.1",
41
41
  "hono": "^4.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "tsdown": "^0.21.6",
45
- "typescript": "^5.9.2"
44
+ "tsdown": "^0.22.0",
45
+ "typescript": "^6.0.0"
46
46
  },
47
47
  "scripts": {
48
48
  "build:self": "tsdown",