@fedify/fedify 1.6.1-pr.242.868 → 1.6.1-pr.242.870
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/{actor-4RHkloLu.js → actor-BZ9B-RoF.js} +3 -3
- package/dist/{actor-DTAqv8mf.js → actor-BZSxF3np.js} +179 -179
- package/dist/{actor-lFlm8FYo.d.ts → actor-f67C7yQD.d.ts} +1 -1
- package/dist/{authdocloader-DWb2O07G.js → authdocloader-D0DivxEu.js} +3 -3
- package/dist/{authdocloader-B8WXzKLO.js → authdocloader-rWSY8oOW.js} +3 -3
- package/dist/{builder-DmqGnXEV.js → builder-BkIAn75B.js} +16 -16
- package/dist/{client-BXM1Jsjk.js → client-BiqVblC1.js} +1 -1
- package/dist/compat/mod.d.ts +8 -8
- package/dist/compat/transformers.test.js +18 -18
- package/dist/{context-CNjBitqI.js → context-32iZISdA.js} +3 -3
- package/dist/{context-D-mAOKif.d.ts → context-DBM4y1xF.d.ts} +6 -5
- package/dist/{docloader-SoTWFoGg.js → docloader-B8h_rZsO.js} +1 -1
- package/dist/{docloader-Bx3IyCbi.js → docloader-BnNphEMr.js} +1 -1
- package/dist/federation/builder.test.js +6 -5
- package/dist/federation/handler.test.js +20 -20
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +19 -19
- package/dist/federation/mod.d.ts +7 -7
- package/dist/federation/mod.js +10 -10
- package/dist/federation/router.test.js +16 -3
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-BImJcLfv.d.ts → http-CZyKN-rt.d.ts} +1 -1
- package/dist/{http-Bx8zx0B9.js → http-DNpod1Ge.js} +3 -3
- package/dist/{http-_wjASyrF.js → http-zn1ZCiC4.js} +3 -3
- package/dist/{inbox-B25fOUCE.js → inbox-CeJ_mvRP.js} +8 -3
- package/dist/{key-DMjXmsGn.js → key-BNiziAax.js} +3 -3
- package/dist/{key-BSJPc6d6.js → key-C8Pn30oc.js} +4 -4
- package/dist/{key-DJR5B9MR.js → key-ColohqTL.js} +5 -5
- package/dist/{key-DLPGtYyL.js → key-shd1YA1v.js} +2 -2
- package/dist/{keycache-Bfb23HgF.js → keycache-CsaCu72m.js} +1 -1
- package/dist/{keys-Bpe3lo_n.js → keys-Blj3q2iI.js} +1 -1
- package/dist/{ld-DnImogQ2.js → ld-CgeTT2_c.js} +3 -3
- package/dist/{lookup-BdqwM7q0.js → lookup-BhC7f-4T.js} +3 -3
- package/dist/{lookup-iEX2Qf_y.js → lookup-C1iODRax.js} +1 -1
- package/dist/{lookup-DuhsEtQ9.js → lookup-eKf7p7Ac.js} +1 -1
- package/dist/{lookup-DAfStZtI.d.ts → lookup-nlxO7x0u.d.ts} +1 -1
- package/dist/{middleware-DIkN1Cw2.js → middleware-2mnj-GVU.js} +55 -32
- package/dist/middleware-DWeRWtqS.js +17 -0
- package/dist/{middleware-kjMnS9e3.js → middleware-DorxmHEo.js} +16 -16
- package/dist/middleware-vEJM7OL8.js +33 -0
- package/dist/{mod-XT0mRthe.d.ts → mod-BUAWJ2pK.d.ts} +2 -2
- package/dist/{mod-DysVoXOu.d.ts → mod-Bx6Du4Ct.d.ts} +1 -1
- package/dist/{mod-zRl4tJCz.d.ts → mod-CsYfI7YL.d.ts} +2 -2
- package/dist/{mod-BxwG4X3V.d.ts → mod-iE_61Xjt.d.ts} +1 -1
- package/dist/mod.d.ts +10 -10
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +19 -19
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-DqE35Vly.js → owner-BE4bLxh6.js} +3 -3
- package/dist/{owner-BjpObx-L.d.ts → owner-C_Gw25Id.d.ts} +2 -2
- package/dist/{proof-4GVd_94h.js → proof-CZ5J2Im2.js} +3 -3
- package/dist/{proof-DBWAm04A.js → proof-DrMu1lZ-.js} +3 -3
- package/dist/{router-BQ9wxxuz.js → router-D_aVZZUc.js} +19 -1
- package/dist/runtime/authdocloader.test.js +8 -8
- package/dist/runtime/docloader.test.js +1 -1
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/mod.d.ts +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-B6r0W6TU.js → send-ChVugp_l.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.d.ts +5 -5
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-DPKT1AqJ.js → types-DiZi5k5s.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-Bkp-mLSq.js → vocab-7-nYuxr4.js} +3 -3
- package/dist/{vocab-CLWdoo7y.d.ts → vocab-C4bpdeio.d.ts} +1 -1
- package/dist/{vocab-DGenL1NB.js → vocab-kxUmjK1n.js} +178 -178
- package/dist/webfinger/handler.test.js +19 -19
- package/dist/webfinger/lookup.test.js +2 -2
- package/dist/webfinger/mod.d.ts +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/hono.d.ts +7 -7
- package/dist/x/sveltekit.d.ts +7 -7
- package/package.json +1 -1
- package/dist/middleware-BS5P5Q6N.js +0 -33
- package/dist/middleware-DXhUqEJ1.js +0 -17
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import { GetUserAgentOptions } from "./docloader-DTRsVZPo.js";
|
4
|
-
import { Application$1 as Application, Group$1 as Group, Organization$1 as Organization, Person$1 as Person, Service$1 as Service } from "./vocab-
|
4
|
+
import { Application$1 as Application, Group$1 as Group, Organization$1 as Organization, Person$1 as Person, Service$1 as Service } from "./vocab-C4bpdeio.js";
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
6
6
|
|
7
7
|
//#region vocab/actor.d.ts
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-
|
6
|
-
import { validateCryptoKey } from "./key-
|
7
|
-
import { doubleKnock } from "./http-
|
5
|
+
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-BnNphEMr.js";
|
6
|
+
import { validateCryptoKey } from "./key-shd1YA1v.js";
|
7
|
+
import { doubleKnock } from "./http-zn1ZCiC4.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
|
10
10
|
//#region runtime/authdocloader.ts
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { createRequest, getRemoteDocument, logRequest } from "./docloader-
|
6
|
+
import { createRequest, getRemoteDocument, logRequest } from "./docloader-B8h_rZsO.js";
|
7
7
|
import { UrlError, validatePublicUrl } from "./url-kTAI6_KP.js";
|
8
|
-
import { validateCryptoKey } from "./key-
|
9
|
-
import { doubleKnock } from "./http-
|
8
|
+
import { validateCryptoKey } from "./key-BNiziAax.js";
|
9
|
+
import { doubleKnock } from "./http-DNpod1Ge.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
|
12
12
|
//#region runtime/authdocloader.ts
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { Router, RouterError } from "./router-
|
6
|
+
import { deno_default } from "./docloader-B8h_rZsO.js";
|
7
|
+
import { Router, RouterError } from "./router-D_aVZZUc.js";
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
9
|
-
import { InboxListenerSet } from "./inbox-
|
9
|
+
import { InboxListenerSet } from "./inbox-CeJ_mvRP.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
12
12
|
|
@@ -34,25 +34,25 @@ var FederationBuilderImpl = class {
|
|
34
34
|
this.objectTypeIds = {};
|
35
35
|
}
|
36
36
|
async build(options) {
|
37
|
-
const { FederationImpl } = await import("./middleware-
|
37
|
+
const { FederationImpl } = await import("./middleware-vEJM7OL8.js");
|
38
38
|
const f = new FederationImpl(options);
|
39
39
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
40
|
-
f.router = this.router;
|
40
|
+
f.router = this.router.clone();
|
41
41
|
f.router.trailingSlashInsensitive = trailingSlashInsensitiveValue;
|
42
42
|
f._initializeRouter();
|
43
|
-
f.actorCallbacks = this.actorCallbacks;
|
43
|
+
f.actorCallbacks = this.actorCallbacks == null ? void 0 : { ...this.actorCallbacks };
|
44
44
|
f.nodeInfoDispatcher = this.nodeInfoDispatcher;
|
45
|
-
f.objectCallbacks = this.objectCallbacks;
|
46
|
-
f.objectTypeIds = this.objectTypeIds;
|
45
|
+
f.objectCallbacks = { ...this.objectCallbacks };
|
46
|
+
f.objectTypeIds = { ...this.objectTypeIds };
|
47
47
|
f.inboxPath = this.inboxPath;
|
48
|
-
f.inboxCallbacks = this.inboxCallbacks;
|
49
|
-
f.outboxCallbacks = this.outboxCallbacks;
|
50
|
-
f.followingCallbacks = this.followingCallbacks;
|
51
|
-
f.followersCallbacks = this.followersCallbacks;
|
52
|
-
f.likedCallbacks = this.likedCallbacks;
|
53
|
-
f.featuredCallbacks = this.featuredCallbacks;
|
54
|
-
f.featuredTagsCallbacks = this.featuredTagsCallbacks;
|
55
|
-
f.inboxListeners = this.inboxListeners;
|
48
|
+
f.inboxCallbacks = this.inboxCallbacks == null ? void 0 : { ...this.inboxCallbacks };
|
49
|
+
f.outboxCallbacks = this.outboxCallbacks == null ? void 0 : { ...this.outboxCallbacks };
|
50
|
+
f.followingCallbacks = this.followingCallbacks == null ? void 0 : { ...this.followingCallbacks };
|
51
|
+
f.followersCallbacks = this.followersCallbacks == null ? void 0 : { ...this.followersCallbacks };
|
52
|
+
f.likedCallbacks = this.likedCallbacks == null ? void 0 : { ...this.likedCallbacks };
|
53
|
+
f.featuredCallbacks = this.featuredCallbacks == null ? void 0 : { ...this.featuredCallbacks };
|
54
|
+
f.featuredTagsCallbacks = this.featuredTagsCallbacks == null ? void 0 : { ...this.featuredTagsCallbacks };
|
55
|
+
f.inboxListeners = this.inboxListeners?.clone();
|
56
56
|
f.inboxErrorHandler = this.inboxErrorHandler;
|
57
57
|
f.sharedInboxKeyDispatcher = this.sharedInboxKeyDispatcher;
|
58
58
|
return f;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { getUserAgent } from "./docloader-
|
6
|
+
import { getUserAgent } from "./docloader-B8h_rZsO.js";
|
7
7
|
import { parseSemVer } from "./semver-CbbIgUsa.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
|
package/dist/compat/mod.d.ts
CHANGED
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../kv-BmsWxOQ2.js";
|
4
4
|
import "../docloader-DTRsVZPo.js";
|
5
5
|
import "../client-Dw1pCSIt.js";
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
import { ActivityTransformer } from "../context-
|
6
|
+
import "../vocab-C4bpdeio.js";
|
7
|
+
import "../actor-f67C7yQD.js";
|
8
|
+
import "../http-CZyKN-rt.js";
|
9
|
+
import "../owner-C_Gw25Id.js";
|
10
|
+
import "../mod-Bx6Du4Ct.js";
|
11
|
+
import "../lookup-nlxO7x0u.js";
|
12
|
+
import { ActivityTransformer } from "../context-DBM4y1xF.js";
|
13
13
|
import "../mq-Bue016Tz.js";
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-CsYfI7YL.js";
|
15
15
|
export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
|
7
7
|
import { assert } from "../assert-Dv75vaGI.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of--9UCVKsi.js";
|
9
9
|
import { MemoryKvStore } from "../kv-DohFOP2C.js";
|
10
|
-
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-
|
11
|
-
import "../docloader-
|
10
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-DorxmHEo.js";
|
11
|
+
import "../docloader-B8h_rZsO.js";
|
12
12
|
import "../url-kTAI6_KP.js";
|
13
13
|
import "../semver-CbbIgUsa.js";
|
14
|
-
import "../client-
|
15
|
-
import "../router-
|
14
|
+
import "../client-BiqVblC1.js";
|
15
|
+
import "../router-D_aVZZUc.js";
|
16
16
|
import "../types-CqoqWDkp.js";
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
18
|
-
import { Follow, Person } from "../vocab-
|
18
|
+
import { Follow, Person } from "../vocab-kxUmjK1n.js";
|
19
19
|
import "../langstr-DbWheeIS.js";
|
20
|
-
import "../lookup-
|
20
|
+
import "../lookup-eKf7p7Ac.js";
|
21
21
|
import "../type-D2s5lmbZ.js";
|
22
|
-
import "../actor-
|
23
|
-
import "../key-
|
24
|
-
import "../http-
|
25
|
-
import "../authdocloader-
|
26
|
-
import "../ld-
|
27
|
-
import "../owner-
|
28
|
-
import "../proof-
|
29
|
-
import "../lookup-
|
30
|
-
import "../inbox-
|
31
|
-
import "../builder-
|
22
|
+
import "../actor-BZ9B-RoF.js";
|
23
|
+
import "../key-BNiziAax.js";
|
24
|
+
import "../http-DNpod1Ge.js";
|
25
|
+
import "../authdocloader-rWSY8oOW.js";
|
26
|
+
import "../ld-CgeTT2_c.js";
|
27
|
+
import "../owner-BE4bLxh6.js";
|
28
|
+
import "../proof-CZ5J2Im2.js";
|
29
|
+
import "../lookup-BhC7f-4T.js";
|
30
|
+
import "../inbox-CeJ_mvRP.js";
|
31
|
+
import "../builder-BkIAn75B.js";
|
32
32
|
import "../collection-QaGK9TVn.js";
|
33
|
-
import "../keycache-
|
33
|
+
import "../keycache-CsaCu72m.js";
|
34
34
|
import "../retry-BiIhZWgD.js";
|
35
|
-
import "../send-
|
35
|
+
import "../send-ChVugp_l.js";
|
36
36
|
import { test } from "../testing-jcGLO9Lp.js";
|
37
37
|
|
38
38
|
//#region compat/transformers.test.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { RouterError } from "./router-
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
8
|
-
import { lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { RouterError } from "./router-D_aVZZUc.js";
|
7
|
+
import { lookupWebFinger } from "./lookup-eKf7p7Ac.js";
|
8
|
+
import { lookupObject, traverseCollection } from "./lookup-BhC7f-4T.js";
|
9
9
|
import { mockDocumentLoader } from "./docloader-09nVWLAZ.js";
|
10
10
|
import { trace } from "@opentelemetry/api";
|
11
11
|
|
@@ -3,11 +3,11 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import { KvKey, KvStore } from "./kv-BmsWxOQ2.js";
|
4
4
|
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-DTRsVZPo.js";
|
5
5
|
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-Dw1pCSIt.js";
|
6
|
-
import { Activity$1 as Activity, Collection$1 as Collection, CryptographicKey$1 as CryptographicKey, Hashtag$1 as Hashtag, Link$
|
7
|
-
import { Actor, Recipient } from "./actor-
|
8
|
-
import { GetKeyOwnerOptions } from "./owner-
|
9
|
-
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-
|
10
|
-
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-
|
6
|
+
import { Activity$1 as Activity, Collection$1 as Collection, CryptographicKey$1 as CryptographicKey, Hashtag$1 as Hashtag, Link$2 as Link, Multikey$1 as Multikey, Object$1 } from "./vocab-C4bpdeio.js";
|
7
|
+
import { Actor, Recipient } from "./actor-f67C7yQD.js";
|
8
|
+
import { GetKeyOwnerOptions } from "./owner-C_Gw25Id.js";
|
9
|
+
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-Bx6Du4Ct.js";
|
10
|
+
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-nlxO7x0u.js";
|
11
11
|
import { MessageQueue } from "./mq-Bue016Tz.js";
|
12
12
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
13
13
|
|
@@ -346,6 +346,7 @@ declare class Router {
|
|
346
346
|
* @param options Options for the router.
|
347
347
|
*/
|
348
348
|
constructor(options?: RouterOptions);
|
349
|
+
clone(): Router;
|
349
350
|
/**
|
350
351
|
* Checks if a path name exists in the router.
|
351
352
|
* @param name The name of the path.
|
@@ -7,16 +7,16 @@ import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
|
7
7
|
import "../assert-Dv75vaGI.js";
|
8
8
|
import "../assert_instance_of--9UCVKsi.js";
|
9
9
|
import { MemoryKvStore } from "../kv-DohFOP2C.js";
|
10
|
-
import "../docloader-
|
10
|
+
import "../docloader-B8h_rZsO.js";
|
11
11
|
import "../url-kTAI6_KP.js";
|
12
12
|
import { parseSemVer } from "../semver-CbbIgUsa.js";
|
13
|
-
import "../router-
|
13
|
+
import "../router-D_aVZZUc.js";
|
14
14
|
import "../multibase-DeCHcK8L.js";
|
15
|
-
import { Activity, Note, Person } from "../vocab-
|
15
|
+
import { Activity, Note, Person } from "../vocab-kxUmjK1n.js";
|
16
16
|
import "../langstr-DbWheeIS.js";
|
17
17
|
import "../type-D2s5lmbZ.js";
|
18
|
-
import "../inbox-
|
19
|
-
import { createFederationBuilder } from "../builder-
|
18
|
+
import "../inbox-CeJ_mvRP.js";
|
19
|
+
import { createFederationBuilder } from "../builder-BkIAn75B.js";
|
20
20
|
import { test } from "../testing-jcGLO9Lp.js";
|
21
21
|
import { assertExists } from "../std__assert-CaBUULmX.js";
|
22
22
|
import "../assert_rejects-FOHCtlD2.js";
|
@@ -79,6 +79,7 @@ test("FederationBuilder", async (t) => {
|
|
79
79
|
assertEquals(notePaths, "/notes/123");
|
80
80
|
assertEquals(impl.router.build("actor", { identifier: "user1" }), "/users/user1");
|
81
81
|
assertEquals(impl.router.build("inbox", { identifier: "user1" }), "/users/user1/inbox");
|
82
|
+
await builder.build({ kv });
|
82
83
|
});
|
83
84
|
await t.step("should build with default options", async () => {
|
84
85
|
const builder = createFederationBuilder();
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
|
7
7
|
import { assert } from "../assert-Dv75vaGI.js";
|
8
8
|
import "../assert_instance_of--9UCVKsi.js";
|
9
9
|
import { MemoryKvStore } from "../kv-DohFOP2C.js";
|
10
|
-
import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
11
|
-
import "../docloader-
|
10
|
+
import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-DorxmHEo.js";
|
11
|
+
import "../docloader-B8h_rZsO.js";
|
12
12
|
import "../url-kTAI6_KP.js";
|
13
13
|
import "../semver-CbbIgUsa.js";
|
14
|
-
import "../client-
|
15
|
-
import "../router-
|
14
|
+
import "../client-BiqVblC1.js";
|
15
|
+
import "../router-D_aVZZUc.js";
|
16
16
|
import "../types-CqoqWDkp.js";
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
18
|
-
import { Create, Note, Person } from "../vocab-
|
18
|
+
import { Create, Note, Person } from "../vocab-kxUmjK1n.js";
|
19
19
|
import "../langstr-DbWheeIS.js";
|
20
|
-
import "../lookup-
|
20
|
+
import "../lookup-eKf7p7Ac.js";
|
21
21
|
import "../type-D2s5lmbZ.js";
|
22
|
-
import "../actor-
|
23
|
-
import "../key-
|
24
|
-
import { signRequest } from "../http-
|
25
|
-
import "../authdocloader-
|
26
|
-
import "../ld-
|
27
|
-
import "../owner-
|
28
|
-
import "../proof-
|
29
|
-
import "../lookup-
|
30
|
-
import "../inbox-
|
31
|
-
import "../builder-
|
22
|
+
import "../actor-BZ9B-RoF.js";
|
23
|
+
import "../key-BNiziAax.js";
|
24
|
+
import { signRequest } from "../http-DNpod1Ge.js";
|
25
|
+
import "../authdocloader-rWSY8oOW.js";
|
26
|
+
import "../ld-CgeTT2_c.js";
|
27
|
+
import "../owner-BE4bLxh6.js";
|
28
|
+
import "../proof-CZ5J2Im2.js";
|
29
|
+
import "../lookup-BhC7f-4T.js";
|
30
|
+
import "../inbox-CeJ_mvRP.js";
|
31
|
+
import "../builder-BkIAn75B.js";
|
32
32
|
import "../collection-QaGK9TVn.js";
|
33
|
-
import "../keycache-
|
33
|
+
import "../keycache-CsaCu72m.js";
|
34
34
|
import "../retry-BiIhZWgD.js";
|
35
|
-
import "../send-
|
35
|
+
import "../send-ChVugp_l.js";
|
36
36
|
import { test } from "../testing-jcGLO9Lp.js";
|
37
37
|
import "../std__assert-CaBUULmX.js";
|
38
38
|
import { assertFalse } from "../assert_rejects-FOHCtlD2.js";
|
@@ -40,8 +40,8 @@ import "../assert_is_error-D162gXcM.js";
|
|
40
40
|
import "../assert_not_equals-Cyf5m9Ke.js";
|
41
41
|
import "../assert_throws-CRfQJvVx.js";
|
42
42
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
43
|
-
import { createInboxContext, createRequestContext } from "../context-
|
44
|
-
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
43
|
+
import { createInboxContext, createRequestContext } from "../context-32iZISdA.js";
|
44
|
+
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Blj3q2iI.js";
|
45
45
|
|
46
46
|
//#region federation/handler.test.ts
|
47
47
|
test("acceptsJsonLd()", () => {
|
@@ -4,13 +4,13 @@
|
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
6
|
import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
7
|
-
import "../docloader-
|
7
|
+
import "../docloader-B8h_rZsO.js";
|
8
8
|
import "../url-kTAI6_KP.js";
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
10
|
-
import { Activity, Create, Invite, Offer, Update } from "../vocab-
|
10
|
+
import { Activity, Create, Invite, Offer, Update } from "../vocab-kxUmjK1n.js";
|
11
11
|
import "../langstr-DbWheeIS.js";
|
12
12
|
import "../type-D2s5lmbZ.js";
|
13
|
-
import { InboxListenerSet } from "../inbox-
|
13
|
+
import { InboxListenerSet } from "../inbox-CeJ_mvRP.js";
|
14
14
|
import { test } from "../testing-jcGLO9Lp.js";
|
15
15
|
import "../assert_is_error-D162gXcM.js";
|
16
16
|
import { assertThrows } from "../assert_throws-CRfQJvVx.js";
|
@@ -7,12 +7,12 @@ import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
|
7
7
|
import { assert } from "../assert-Dv75vaGI.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of--9UCVKsi.js";
|
9
9
|
import { MemoryKvStore } from "../kv-DohFOP2C.js";
|
10
|
-
import "../docloader-
|
10
|
+
import "../docloader-B8h_rZsO.js";
|
11
11
|
import "../url-kTAI6_KP.js";
|
12
12
|
import "../multibase-DeCHcK8L.js";
|
13
|
-
import { CryptographicKey, Multikey } from "../vocab-
|
13
|
+
import { CryptographicKey, Multikey } from "../vocab-kxUmjK1n.js";
|
14
14
|
import "../langstr-DbWheeIS.js";
|
15
|
-
import { KvKeyCache } from "../keycache-
|
15
|
+
import { KvKeyCache } from "../keycache-CsaCu72m.js";
|
16
16
|
import { test } from "../testing-jcGLO9Lp.js";
|
17
17
|
|
18
18
|
//#region federation/keycache.test.ts
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
|
7
7
|
import { assert } from "../assert-Dv75vaGI.js";
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of--9UCVKsi.js";
|
9
9
|
import { MemoryKvStore } from "../kv-DohFOP2C.js";
|
10
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, createFederation } from "../middleware-
|
11
|
-
import { FetchError, fetchDocumentLoader } from "../docloader-
|
10
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, createFederation } from "../middleware-DorxmHEo.js";
|
11
|
+
import { FetchError, fetchDocumentLoader } from "../docloader-B8h_rZsO.js";
|
12
12
|
import "../url-kTAI6_KP.js";
|
13
13
|
import "../semver-CbbIgUsa.js";
|
14
|
-
import "../client-
|
15
|
-
import { RouterError } from "../router-
|
14
|
+
import "../client-BiqVblC1.js";
|
15
|
+
import { RouterError } from "../router-D_aVZZUc.js";
|
16
16
|
import "../types-CqoqWDkp.js";
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
18
|
-
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab-
|
18
|
+
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab-kxUmjK1n.js";
|
19
19
|
import "../langstr-DbWheeIS.js";
|
20
|
-
import "../lookup-
|
20
|
+
import "../lookup-eKf7p7Ac.js";
|
21
21
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
22
|
-
import "../actor-
|
23
|
-
import "../key-
|
24
|
-
import { signRequest, verifyRequest } from "../http-
|
25
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
26
|
-
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-
|
27
|
-
import { doesActorOwnKey } from "../owner-
|
28
|
-
import { signObject, verifyObject } from "../proof-
|
29
|
-
import { lookupObject } from "../lookup-
|
30
|
-
import "../inbox-
|
31
|
-
import "../builder-
|
22
|
+
import "../actor-BZ9B-RoF.js";
|
23
|
+
import "../key-BNiziAax.js";
|
24
|
+
import { signRequest, verifyRequest } from "../http-DNpod1Ge.js";
|
25
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-rWSY8oOW.js";
|
26
|
+
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-CgeTT2_c.js";
|
27
|
+
import { doesActorOwnKey } from "../owner-BE4bLxh6.js";
|
28
|
+
import { signObject, verifyObject } from "../proof-CZ5J2Im2.js";
|
29
|
+
import { lookupObject } from "../lookup-BhC7f-4T.js";
|
30
|
+
import "../inbox-CeJ_mvRP.js";
|
31
|
+
import "../builder-BkIAn75B.js";
|
32
32
|
import "../collection-QaGK9TVn.js";
|
33
|
-
import "../keycache-
|
33
|
+
import "../keycache-CsaCu72m.js";
|
34
34
|
import "../retry-BiIhZWgD.js";
|
35
|
-
import "../send-
|
35
|
+
import "../send-ChVugp_l.js";
|
36
36
|
import { test } from "../testing-jcGLO9Lp.js";
|
37
37
|
import { assertStrictEquals } from "../std__assert-CaBUULmX.js";
|
38
38
|
import { assertFalse, assertRejects } from "../assert_rejects-FOHCtlD2.js";
|
@@ -40,7 +40,7 @@ import "../assert_is_error-D162gXcM.js";
|
|
40
40
|
import { assertNotEquals } from "../assert_not_equals-Cyf5m9Ke.js";
|
41
41
|
import { assertThrows } from "../assert_throws-CRfQJvVx.js";
|
42
42
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
43
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
43
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Blj3q2iI.js";
|
44
44
|
import { esm_default } from "../esm-BxIKwi-M.js";
|
45
45
|
|
46
46
|
//#region testing/fixtures/example.com/person.json
|
package/dist/federation/mod.d.ts
CHANGED
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore$1 as MemoryKvStore } from "../kv-BmsWxOQ2.js";
|
4
4
|
import "../docloader-DTRsVZPo.js";
|
5
5
|
import "../client-Dw1pCSIt.js";
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router$1 as Router, RouterError$1 as RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader$1 as buildCollectionSynchronizationHeader, createExponentialBackoffPolicy$1 as createExponentialBackoffPolicy, createFederation$1 as createFederation, createFederationBuilder$1 as createFederationBuilder, digest$1 as digest, respondWithObject$1 as respondWithObject, respondWithObjectIfAcceptable$1 as respondWithObjectIfAcceptable } from "../context-
|
6
|
+
import "../vocab-C4bpdeio.js";
|
7
|
+
import "../actor-f67C7yQD.js";
|
8
|
+
import "../http-CZyKN-rt.js";
|
9
|
+
import "../owner-C_Gw25Id.js";
|
10
|
+
import "../mod-Bx6Du4Ct.js";
|
11
|
+
import "../lookup-nlxO7x0u.js";
|
12
|
+
import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router$1 as Router, RouterError$1 as RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader$1 as buildCollectionSynchronizationHeader, createExponentialBackoffPolicy$1 as createExponentialBackoffPolicy, createFederation$1 as createFederation, createFederationBuilder$1 as createFederationBuilder, digest$1 as digest, respondWithObject$1 as respondWithObject, respondWithObjectIfAcceptable$1 as respondWithObjectIfAcceptable } from "../context-DBM4y1xF.js";
|
13
13
|
import { InProcessMessageQueue$1 as InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue$1 as ParallelMessageQueue } from "../mq-Bue016Tz.js";
|
14
14
|
import "../mod-g0xFzAP9.js";
|
15
15
|
export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
package/dist/federation/mod.js
CHANGED
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import "../transformers-jxj-4o2K.js";
|
6
|
-
import "../docloader-
|
7
|
-
import "../actor-
|
8
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
9
|
-
import "../lookup-
|
10
|
-
import "../key-
|
11
|
-
import "../http-
|
12
|
-
import "../proof-
|
6
|
+
import "../docloader-BnNphEMr.js";
|
7
|
+
import "../actor-BZSxF3np.js";
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-2mnj-GVU.js";
|
9
|
+
import "../lookup-C1iODRax.js";
|
10
|
+
import "../key-shd1YA1v.js";
|
11
|
+
import "../http-zn1ZCiC4.js";
|
12
|
+
import "../proof-DrMu1lZ-.js";
|
13
13
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-Bmj7soSg.js";
|
14
|
-
import "../types-
|
15
|
-
import "../authdocloader-
|
16
|
-
import "../vocab-
|
14
|
+
import "../types-DiZi5k5s.js";
|
15
|
+
import "../authdocloader-D0DivxEu.js";
|
16
|
+
import "../vocab-7-nYuxr4.js";
|
17
17
|
|
18
18
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
@@ -4,12 +4,12 @@
|
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
6
|
import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
7
|
-
import "../assert-Dv75vaGI.js";
|
7
|
+
import { assert } from "../assert-Dv75vaGI.js";
|
8
8
|
import "../assert_instance_of--9UCVKsi.js";
|
9
|
-
import { Router, RouterError } from "../router-
|
9
|
+
import { Router, RouterError } from "../router-D_aVZZUc.js";
|
10
10
|
import { test } from "../testing-jcGLO9Lp.js";
|
11
11
|
import "../std__assert-CaBUULmX.js";
|
12
|
-
import "../assert_rejects-FOHCtlD2.js";
|
12
|
+
import { assertFalse } from "../assert_rejects-FOHCtlD2.js";
|
13
13
|
import "../assert_is_error-D162gXcM.js";
|
14
14
|
import "../assert_not_equals-Cyf5m9Ke.js";
|
15
15
|
import { assertThrows } from "../assert_throws-CRfQJvVx.js";
|
@@ -21,6 +21,19 @@ function setUp(options = {}) {
|
|
21
21
|
router.add("/users/{name}/posts/{postId}" + (options.trailingSlashInsensitive ? "/" : ""), "post");
|
22
22
|
return router;
|
23
23
|
}
|
24
|
+
test("Router.clone()", () => {
|
25
|
+
const original = setUp();
|
26
|
+
const clone = original.clone();
|
27
|
+
clone.add("/users/{name}/friends", "friends");
|
28
|
+
assert(clone.has("friends"));
|
29
|
+
assertEquals(clone.route("/users/alice/friends"), {
|
30
|
+
name: "friends",
|
31
|
+
template: "/users/{name}/friends",
|
32
|
+
values: { name: "alice" }
|
33
|
+
});
|
34
|
+
assertFalse(original.has("friends"));
|
35
|
+
assertEquals(original.route("/users/alice/friends"), null);
|
36
|
+
});
|
24
37
|
test("Router.add()", () => {
|
25
38
|
const router = new Router();
|
26
39
|
assertEquals(router.add("/users", "users"), new Set());
|
@@ -6,18 +6,18 @@
|
|
6
6
|
import { assertEquals } from "../assert_equals-ClvzlhZu.js";
|
7
7
|
import { assert } from "../assert-Dv75vaGI.js";
|
8
8
|
import "../assert_instance_of--9UCVKsi.js";
|
9
|
-
import "../docloader-
|
9
|
+
import "../docloader-B8h_rZsO.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-
|
12
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-kxUmjK1n.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-eKf7p7Ac.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { verifyRequest } from "../http-
|
19
|
-
import { doesActorOwnKey } from "../owner-
|
20
|
-
import { extractInboxes, sendActivity } from "../send-
|
16
|
+
import "../actor-BZ9B-RoF.js";
|
17
|
+
import "../key-BNiziAax.js";
|
18
|
+
import { verifyRequest } from "../http-DNpod1Ge.js";
|
19
|
+
import { doesActorOwnKey } from "../owner-BE4bLxh6.js";
|
20
|
+
import { extractInboxes, sendActivity } from "../send-ChVugp_l.js";
|
21
21
|
import { test } from "../testing-jcGLO9Lp.js";
|
22
22
|
import "../std__assert-CaBUULmX.js";
|
23
23
|
import { assertFalse, assertRejects } from "../assert_rejects-FOHCtlD2.js";
|
@@ -25,7 +25,7 @@ import "../assert_is_error-D162gXcM.js";
|
|
25
25
|
import { assertNotEquals } from "../assert_not_equals-Cyf5m9Ke.js";
|
26
26
|
import "../assert_throws-CRfQJvVx.js";
|
27
27
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
28
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
28
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Blj3q2iI.js";
|
29
29
|
import { esm_default } from "../esm-BxIKwi-M.js";
|
30
30
|
|
31
31
|
//#region federation/send.test.ts
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import { DocumentLoader } from "./docloader-DTRsVZPo.js";
|
4
|
-
import { CryptographicKey$1 as CryptographicKey, Multikey$1 as Multikey } from "./vocab-
|
4
|
+
import { CryptographicKey$1 as CryptographicKey, Multikey$1 as Multikey } from "./vocab-C4bpdeio.js";
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
6
6
|
|
7
7
|
//#region sig/key.d.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { CryptographicKey } from "./vocab-
|
8
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { deno_default } from "./docloader-B8h_rZsO.js";
|
7
|
+
import { CryptographicKey } from "./vocab-kxUmjK1n.js";
|
8
|
+
import { fetchKey, validateCryptoKey } from "./key-BNiziAax.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default } from "./docloader-
|
6
|
-
import { CryptographicKey } from "./actor-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
5
|
+
import { deno_default } from "./docloader-BnNphEMr.js";
|
6
|
+
import { CryptographicKey } from "./actor-BZSxF3np.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-shd1YA1v.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|