@keri-ts/hosting 2.0.0 → 2.1.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawn } from "effection";
|
|
2
2
|
import { systemClock } from "keri-ts/runtime";
|
|
3
|
-
import { FetchHttpClient } from "keri-ts/runtime";
|
|
4
3
|
import { consoleLogger, createAgentRuntime, runAgentRuntime, } from "keri-ts/runtime";
|
|
4
|
+
import { NodeHttpClient } from "keri-ts/runtime/node";
|
|
5
5
|
import { startServer } from "./http-server.js";
|
|
6
6
|
/**
|
|
7
7
|
* Compose and run the long-lived host over one borrowed Habery.
|
|
@@ -12,7 +12,7 @@ import { startServer } from "./http-server.js";
|
|
|
12
12
|
* @param spec Explicit hosted identities, listener settings, protocol handlers and host policy.
|
|
13
13
|
*/
|
|
14
14
|
export function* runHostKernel(hby, spec) {
|
|
15
|
-
const runtime = yield* createAgentRuntime(hby, new
|
|
15
|
+
const runtime = yield* createAgentRuntime(hby, new NodeHttpClient(), systemClock, {
|
|
16
16
|
enableMailboxStore: spec.enableMailboxStore,
|
|
17
17
|
kram: spec.kram,
|
|
18
18
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keri-ts/hosting",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "HTTP host lifecycle, application middleware and protocol route composition",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"node": ">=20.3"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"cesr-ts": "2.
|
|
35
|
+
"cesr-ts": "2.1.0",
|
|
36
36
|
"effection": "^3.6.0",
|
|
37
37
|
"hono": "^4.7.11",
|
|
38
|
-
"keri-ts": "2.
|
|
38
|
+
"keri-ts": "2.1.0",
|
|
39
39
|
"@deno/shim-deno": "~0.18.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kernel.d.ts","sourceRoot":"","sources":["../../../src/src/host/kernel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"kernel.d.ts","sourceRoot":"","sources":["../../../src/src/host/kernel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,WAAW,CAAC;AAE7D,OAAO,EACL,KAAK,YAAY,EAGjB,KAAK,GAAG,EACR,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EAExB,MAAM,iBAAiB,CAAC;AAIzB,0DAA0D;AAC1D,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wFAAwF;AACxF,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,CAAC;AAEzE,0DAA0D;AAC1D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACjD;AAED,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,kBAAkB,EAAE,OAAO,CAAC;IAC5B,wGAAwG;IACxG,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,IAAI,CAAC,kBAAkB,EAAE,YAAY,GAAG,gBAAgB,CAAC,CAAC;IAC1E,cAAc,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;CAC7C;AAED;;;;;;;GAOG;AACH,wBAAiB,aAAa,CAC5B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,cAAc,GACnB,SAAS,CAAC,IAAI,CAAC,CA6EjB"}
|