@astrale-os/kernel-server 0.5.0-beta.19 → 0.5.0-beta.20
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/routes/routes.js +2 -2
- package/package.json +3 -3
package/dist/routes/routes.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as codecs from '@astrale-os/kernel-protocol/codecs';
|
|
2
2
|
import * as errors from '@astrale-os/kernel-protocol/errors';
|
|
3
3
|
import * as protocol from '@astrale-os/kernel-protocol/invocation';
|
|
4
|
-
import { PATH as PUBLICATION_PATH, url as publicationUrl, } from '@astrale-os/kernel-protocol/publication/publication';
|
|
4
|
+
import { MEDIA_TYPE as PUBLICATION_MEDIA_TYPE, PATH as PUBLICATION_PATH, url as publicationUrl, } from '@astrale-os/kernel-protocol/publication/publication';
|
|
5
5
|
import { reference as publicationReference } from '@astrale-os/kernel-protocol/publication/reference';
|
|
6
6
|
import * as routes from '@astrale-os/kernel-protocol/routes';
|
|
7
7
|
import { classifyError, RequestBodyInvalidError, RequestBodyTooLargeError, } from '../errors/index.js';
|
|
@@ -44,7 +44,7 @@ export function mountRoutes(app, source, deliveryProvider, handler, active, next
|
|
|
44
44
|
status: 200,
|
|
45
45
|
headers: {
|
|
46
46
|
...responseCors,
|
|
47
|
-
'content-type':
|
|
47
|
+
'content-type': PUBLICATION_MEDIA_TYPE,
|
|
48
48
|
etag: quoteEtag(snapshot.publication.etag),
|
|
49
49
|
'cache-control': 'public, max-age=0, must-revalidate, no-transform',
|
|
50
50
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/kernel-server",
|
|
3
|
-
"version": "0.5.0-beta.
|
|
3
|
+
"version": "0.5.0-beta.20",
|
|
4
4
|
"description": "Portable HTTP and WebSocket boundary for Astrale invocation, publication, installation, and issuer protocols",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"hono": "^4.6.20",
|
|
37
37
|
"msgpackr": "^2.0.5",
|
|
38
|
-
"@astrale-os/kernel-
|
|
38
|
+
"@astrale-os/kernel-core": "0.9.0-beta.18",
|
|
39
39
|
"@astrale-os/kernel-protocol": "0.5.0-beta.18",
|
|
40
|
-
"@astrale-os/kernel-
|
|
40
|
+
"@astrale-os/kernel-dsl": "0.2.0-beta.14"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@astrale/typescript-config": "npm:@jsr/astrale__typescript-config@~1.1.0",
|