@fedify/hono 2.0.0-dev.1961 → 2.0.0-dev.206

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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +16 -14
  3. package/package.json +3 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright 2024–2025 Hong Minhee
3
+ Copyright 2024–2026 Hong Minhee
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
package/README.md CHANGED
@@ -26,6 +26,16 @@ const app = new Hono();
26
26
  app.use(federation(fedi, (ctx) => "context data"));
27
27
  ~~~~
28
28
 
29
+ [JSR badge]: https://jsr.io/badges/@fedify/hono
30
+ [JSR]: https://jsr.io/@fedify/hono
31
+ [npm badge]: https://img.shields.io/npm/v/@fedify/hono?logo=npm
32
+ [npm]: https://www.npmjs.com/package/@fedify/hono
33
+ [@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
34
+ [@fedify@hollo.social]: https://hollo.social/@fedify
35
+ [Fedify]: https://fedify.dev/
36
+ [Hono]: https://hono.dev/
37
+
38
+
29
39
  How it works
30
40
  ------------
31
41
 
@@ -37,12 +47,13 @@ application to coexist in the same domain and port.
37
47
 
38
48
  For example, if you make a request to */.well-known/webfinger* Fedify will
39
49
  handle the request by itself, but if you make a request to */users/alice*
40
- (assuming your Hono app has a handler for `/users/:handle`) with `Accept:
41
- text/html` header, Fedify will dispatch the request to the Hono app's
50
+ (assuming your Hono app has a handler for `/users/:handle`) with
51
+ `Accept: text/html` header, Fedify will dispatch the request to the Hono app's
42
52
  appropriate handler for `/users/:handle`. Or if you define an actor dispatcher
43
- for `/users/{handle}` in Fedify, and the request is made with `Accept:
44
- application/activity+json` header, Fedify will dispatch the request to the
45
- appropriate actor dispatcher.
53
+ for `/users/{handle}` in Fedify, and the request is made with
54
+ `Accept: application/activity+json` header, Fedify will dispatch the request to
55
+ the appropriate actor dispatcher.
56
+
46
57
 
47
58
  Installation
48
59
  ------------
@@ -54,12 +65,3 @@ pnpm add @fedify/hono # pnpm
54
65
  yarn add @fedify/hono # Yarn
55
66
  bun add @fedify/hono # Bun
56
67
  ~~~~
57
-
58
- [JSR]: https://jsr.io/@fedify/hono
59
- [JSR badge]: https://jsr.io/badges/@fedify/hono
60
- [npm]: https://www.npmjs.com/package/@fedify/hono
61
- [npm badge]: https://img.shields.io/npm/v/@fedify/hono?logo=npm
62
- [@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
63
- [@fedify@hollo.social]: https://hollo.social/@fedify
64
- [Fedify]: https://fedify.dev/
65
- [Hono]: https://hono.dev/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/hono",
3
- "version": "2.0.0-dev.1961+c3dff60a",
3
+ "version": "2.0.0-dev.206+fa815928",
4
4
  "description": "Integrate Fedify with Hono",
5
5
  "keywords": [
6
6
  "Fedify",
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "peerDependencies": {
52
52
  "hono": "^4.0.0",
53
- "@fedify/fedify": "^2.0.0-dev.1961+c3dff60a"
53
+ "@fedify/fedify": "^2.0.0-dev.206+fa815928"
54
54
  },
55
55
  "devDependencies": {
56
56
  "tsdown": "^0.12.9",
@@ -59,6 +59,6 @@
59
59
  "scripts": {
60
60
  "build": "tsdown",
61
61
  "prepublish": "tsdown",
62
- "test": "deno task codegen && tsdown && cd dist/ && node --test"
62
+ "test": "node --experimental-transform-types --test"
63
63
  }
64
64
  }