keryx 0.14.2 → 0.15.0

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
@@ -3,10 +3,10 @@
3
3
  <p align="center"><strong>The fullstack TypeScript framework for MCP and APIs.</strong></p>
4
4
 
5
5
  <p align="center">
6
- <img src="https://raw.githubusercontent.com/evantahler/keryx/main/docs/public/images/horn.svg" alt="Keryx" width="200" />
6
+ <img src="https://raw.githubusercontent.com/actionhero/keryx/main/docs/public/images/horn.svg" alt="Keryx" width="200" />
7
7
  </p>
8
8
 
9
- [![Test](https://github.com/evantahler/keryx/actions/workflows/test.yaml/badge.svg)](https://github.com/evantahler/keryx/actions/workflows/test.yaml)
9
+ [![Test](https://github.com/actionhero/keryx/actions/workflows/test.yaml/badge.svg)](https://github.com/actionhero/keryx/actions/workflows/test.yaml)
10
10
 
11
11
  ## What is this Project?
12
12
 
@@ -126,7 +126,7 @@ Requires Bun, PostgreSQL, and Redis. See the [Getting Started guide](https://ker
126
126
  If you're contributing to Keryx, clone the monorepo instead:
127
127
 
128
128
  ```bash
129
- git clone https://github.com/evantahler/keryx.git
129
+ git clone https://github.com/actionhero/keryx.git
130
130
  cd keryx
131
131
  bun install
132
132
  cp example/backend/.env.example example/backend/.env
@@ -231,5 +231,5 @@ Full docs at [keryxjs.com](https://keryxjs.com), including:
231
231
  - [API Reference](https://keryxjs.com/reference/actions)
232
232
 
233
233
  <p align="center">
234
- <img src="https://raw.githubusercontent.com/evantahler/keryx/main/docs/public/images/lion-standing.svg" alt="Keryx lion" width="120" />
234
+ <img src="https://raw.githubusercontent.com/actionhero/keryx/main/docs/public/images/lion-standing.svg" alt="Keryx lion" width="120" />
235
235
  </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keryx",
3
- "version": "0.14.2",
3
+ "version": "0.15.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -8,12 +8,12 @@
8
8
  "author": "Evan Tahler <evan@evantahler.com>",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/evantahler/keryx.git",
11
+ "url": "git+https://github.com/actionhero/keryx.git",
12
12
  "directory": "packages/keryx"
13
13
  },
14
14
  "homepage": "https://keryxjs.com",
15
15
  "bugs": {
16
- "url": "https://github.com/evantahler/keryx/issues"
16
+ "url": "https://github.com/actionhero/keryx/issues"
17
17
  },
18
18
  "keywords": [
19
19
  "api",
@@ -112,6 +112,7 @@ export async function compressResponse(
112
112
  const format: Bun.CompressionFormat = encoding === "br" ? "brotli" : "gzip";
113
113
  // @ts-ignore Bun supports "brotli" as CompressionFormat but DOM lib does not
114
114
  const compressionStream = new CompressionStream(format);
115
+ // @ts-ignore Bun's ReadableStream type is incompatible with Node/DOM ReadableStream
115
116
  const stream = new Blob([body]).stream().pipeThrough(compressionStream);
116
117
 
117
118
  const headers = new Headers(response.headers);
@@ -119,6 +120,7 @@ export async function compressResponse(
119
120
  headers.append("Vary", "Accept-Encoding");
120
121
  headers.delete("Content-Length");
121
122
 
123
+ // @ts-ignore Bun's ReadableStream type is incompatible with Node/DOM ReadableStream
122
124
  return new Response(stream, {
123
125
  status: response.status,
124
126
  headers,
@@ -129,6 +131,7 @@ export async function compressResponse(
129
131
  const format: Bun.CompressionFormat = encoding === "br" ? "brotli" : "gzip";
130
132
  // @ts-ignore Bun supports "brotli" as CompressionFormat but DOM lib does not
131
133
  const compressionStream = new CompressionStream(format);
134
+ // @ts-ignore Bun's ReadableStream type is incompatible with Node/DOM ReadableStream
132
135
  const stream = response.body.pipeThrough(compressionStream);
133
136
 
134
137
  const headers = new Headers(response.headers);
@@ -136,6 +139,7 @@ export async function compressResponse(
136
139
  headers.append("Vary", "Accept-Encoding");
137
140
  headers.delete("Content-Length");
138
141
 
142
+ // @ts-ignore Bun's ReadableStream type is incompatible with Node/DOM ReadableStream
139
143
  return new Response(stream, {
140
144
  status: response.status,
141
145
  headers,