@fedify/fedify 1.6.1-pr.242.865 → 1.6.1-pr.242.867
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/compat/transformers.test.js +4 -4
- package/dist/deno.js +1 -1
- package/dist/federation/builder.js +1 -1
- package/dist/federation/builder.test.js +3 -3
- package/dist/federation/collection.test.js +1 -1
- package/dist/federation/handler.js +2 -2
- package/dist/federation/handler.test.js +3 -3
- package/dist/federation/inbox.js +1 -1
- package/dist/federation/inbox.test.js +1 -1
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +1 -1
- package/dist/federation/middleware.js +10 -10
- package/dist/federation/middleware.test.js +7 -7
- package/dist/federation/mq.test.js +1 -1
- package/dist/federation/retry.test.js +1 -1
- package/dist/federation/router.test.js +1 -1
- package/dist/federation/send.test.js +2 -2
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +1 -1
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +1 -1
- package/dist/nodeinfo/client.test.js +1 -1
- package/dist/nodeinfo/handler.test.js +1 -1
- package/dist/nodeinfo/semver.test.js +1 -1
- package/dist/nodeinfo/types.test.js +1 -1
- package/dist/runtime/authdocloader.test.js +1 -1
- package/dist/runtime/docloader.test.js +2 -2
- package/dist/runtime/key.js +2 -2
- package/dist/runtime/key.test.js +1 -1
- package/dist/runtime/langstr.test.js +1 -1
- package/dist/runtime/multibase/multibase.test.js +1 -1
- package/dist/runtime/url.test.js +1 -1
- package/dist/sig/http.js +1 -1
- package/dist/sig/http.test.js +2 -2
- package/dist/sig/key.test.js +1 -1
- package/dist/sig/ld.js +2 -2
- package/dist/sig/ld.test.js +2 -2
- package/dist/sig/owner.test.js +2 -2
- package/dist/sig/proof.js +1 -1
- package/dist/sig/proof.test.js +2 -2
- package/dist/vocab/actor.js +1 -1
- package/dist/vocab/actor.test.js +2 -2
- package/dist/vocab/constants.js +1 -2
- package/dist/vocab/lookup.js +1 -1
- package/dist/vocab/lookup.test.js +2 -2
- package/dist/vocab/mod.js +1 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.js +177 -177
- package/dist/vocab/vocab.test.js +2 -2
- package/dist/webfinger/handler.test.js +2 -2
- package/dist/webfinger/lookup.test.js +1 -1
- package/package.json +1 -1
@@ -2,13 +2,13 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { actorDehydrator, autoIdAssigner } from "./transformers.js";
|
6
|
-
import { Follow, Person } from "../vocab/vocab.js";
|
7
|
-
import { MemoryKvStore } from "../federation/kv.js";
|
8
|
-
import { FederationImpl } from "../federation/middleware.js";
|
9
5
|
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
10
6
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
11
7
|
import { assertInstanceOf } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js";
|
8
|
+
import { MemoryKvStore } from "../federation/kv.js";
|
9
|
+
import { actorDehydrator, autoIdAssigner } from "./transformers.js";
|
10
|
+
import { Follow, Person } from "../vocab/vocab.js";
|
11
|
+
import { FederationImpl } from "../federation/middleware.js";
|
12
12
|
import { test } from "../testing/mod.js";
|
13
13
|
|
14
14
|
//#region compat/transformers.test.ts
|
package/dist/deno.js
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
+
import { Router, RouterError } from "./router.js";
|
6
7
|
import { getTypeId } from "../vocab/type.js";
|
7
8
|
import { InboxListenerSet } from "./inbox.js";
|
8
|
-
import { Router, RouterError } from "./router.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
|
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import {
|
6
|
-
import { createFederationBuilder } from "./builder.js";
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
6
|
import { MemoryKvStore } from "./kv.js";
|
8
7
|
import { parseSemVer } from "../nodeinfo/semver.js";
|
9
|
-
import {
|
8
|
+
import { Activity, Note, Person } from "../vocab/vocab.js";
|
9
|
+
import { createFederationBuilder } from "./builder.js";
|
10
10
|
import { test } from "../testing/mod.js";
|
11
11
|
import { assertExists } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js";
|
12
12
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { buildCollectionSynchronizationHeader, digest } from "./collection.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { buildCollectionSynchronizationHeader, digest } from "./collection.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
import { decodeHex } from "byte-encodings/hex";
|
9
9
|
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
-
import { getTypeId } from "../vocab/type.js";
|
7
6
|
import { Activity, Link, Object as Object$1, OrderedCollection, OrderedCollectionPage } from "../vocab/vocab.js";
|
8
|
-
import {
|
7
|
+
import { getTypeId } from "../vocab/type.js";
|
9
8
|
import { verifyRequest } from "../sig/http.js";
|
10
9
|
import { detachSignature, verifyJsonLd } from "../sig/ld.js";
|
11
10
|
import { doesActorOwnKey } from "../sig/owner.js";
|
12
11
|
import { verifyObject } from "../sig/proof.js";
|
12
|
+
import { routeActivity } from "./inbox.js";
|
13
13
|
import { KvKeyCache } from "./keycache.js";
|
14
14
|
import { preferredMediaTypes } from "./negotiation.js";
|
15
15
|
import { getLogger } from "@logtape/logtape";
|
@@ -2,13 +2,13 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
6
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
|
+
import { MemoryKvStore } from "./kv.js";
|
5
8
|
import { Create, Note, Person } from "../vocab/vocab.js";
|
6
9
|
import { signRequest } from "../sig/http.js";
|
7
10
|
import { acceptsJsonLd, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "./handler.js";
|
8
|
-
import { MemoryKvStore } from "./kv.js";
|
9
11
|
import { createFederation } from "./middleware.js";
|
10
|
-
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
11
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
12
12
|
import { test } from "../testing/mod.js";
|
13
13
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
14
14
|
import { mockDocumentLoader } from "../testing/docloader.js";
|
package/dist/federation/inbox.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
-
import { getTypeId } from "../vocab/type.js";
|
7
6
|
import { Activity } from "../vocab/vocab.js";
|
7
|
+
import { getTypeId } from "../vocab/type.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
10
10
|
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
6
|
import { Activity, Create, Invite, Offer, Update } from "../vocab/vocab.js";
|
6
7
|
import { InboxListenerSet } from "./inbox.js";
|
7
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
8
8
|
import { test } from "../testing/mod.js";
|
9
9
|
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
10
10
|
|
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { CryptographicKey, Multikey } from "../vocab/vocab.js";
|
6
|
-
import { KvKeyCache } from "./keycache.js";
|
7
|
-
import { MemoryKvStore } from "./kv.js";
|
8
5
|
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
9
6
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
10
7
|
import { assertInstanceOf } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js";
|
8
|
+
import { MemoryKvStore } from "./kv.js";
|
9
|
+
import { CryptographicKey, Multikey } from "../vocab/vocab.js";
|
10
|
+
import { KvKeyCache } from "./keycache.js";
|
11
11
|
import { test } from "../testing/mod.js";
|
12
12
|
|
13
13
|
//#region federation/keycache.test.ts
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { MemoryKvStore } from "./kv.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { MemoryKvStore } from "./kv.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
|
9
9
|
//#region federation/kv.test.ts
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
import { getDefaultActivityTransformers } from "../compat/transformers.js";
|
6
6
|
import { deno_default } from "../deno.js";
|
7
|
-
import { getTypeId } from "../vocab/type.js";
|
8
7
|
import { getDocumentLoader, kvCache } from "../runtime/docloader.js";
|
9
|
-
import {
|
10
|
-
import { routeActivity } from "./inbox.js";
|
8
|
+
import { getNodeInfo } from "../nodeinfo/client.js";
|
11
9
|
import { RouterError } from "./router.js";
|
12
|
-
import {
|
13
|
-
import {
|
10
|
+
import { handleNodeInfo, handleNodeInfoJrd } from "../nodeinfo/handler.js";
|
11
|
+
import { Activity, CryptographicKey, Multikey } from "../vocab/vocab.js";
|
14
12
|
import { lookupWebFinger } from "../webfinger/lookup.js";
|
13
|
+
import { getTypeId } from "../vocab/type.js";
|
15
14
|
import { exportJwk, importJwk, validateCryptoKey } from "../sig/key.js";
|
16
15
|
import { verifyRequest } from "../sig/http.js";
|
16
|
+
import { getAuthenticatedDocumentLoader } from "../runtime/authdocloader.js";
|
17
17
|
import { hasSignature, signJsonLd } from "../sig/ld.js";
|
18
18
|
import { getKeyOwner } from "../sig/owner.js";
|
19
19
|
import { signObject, verifyObject } from "../sig/proof.js";
|
20
|
-
import { KvKeyCache } from "./keycache.js";
|
21
|
-
import { handleActor, handleCollection, handleInbox, handleObject } from "./handler.js";
|
22
|
-
import { getNodeInfo } from "../nodeinfo/client.js";
|
23
|
-
import { handleNodeInfo, handleNodeInfoJrd } from "../nodeinfo/handler.js";
|
24
|
-
import { getAuthenticatedDocumentLoader } from "../runtime/authdocloader.js";
|
25
20
|
import { lookupObject, traverseCollection } from "../vocab/lookup.js";
|
26
21
|
import { handleWebFinger } from "../webfinger/handler.js";
|
22
|
+
import { routeActivity } from "./inbox.js";
|
23
|
+
import { FederationBuilderImpl } from "./builder.js";
|
24
|
+
import { buildCollectionSynchronizationHeader } from "./collection.js";
|
25
|
+
import { KvKeyCache } from "./keycache.js";
|
26
|
+
import { handleActor, handleCollection, handleInbox, handleObject } from "./handler.js";
|
27
27
|
import { createExponentialBackoffPolicy } from "./retry.js";
|
28
28
|
import { extractInboxes, sendActivity } from "./send.js";
|
29
29
|
import { getLogger, withContext } from "@logtape/logtape";
|
@@ -2,21 +2,21 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import {
|
5
|
+
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
6
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
|
+
import { assertInstanceOf } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js";
|
8
|
+
import { MemoryKvStore } from "./kv.js";
|
6
9
|
import { FetchError, fetchDocumentLoader } from "../runtime/docloader.js";
|
7
|
-
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab/vocab.js";
|
8
10
|
import { RouterError } from "./router.js";
|
11
|
+
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab/vocab.js";
|
12
|
+
import { getTypeId } from "../vocab/type.js";
|
9
13
|
import { signRequest, verifyRequest } from "../sig/http.js";
|
14
|
+
import { getAuthenticatedDocumentLoader } from "../runtime/authdocloader.js";
|
10
15
|
import { detachSignature, signJsonLd, verifyJsonLd } from "../sig/ld.js";
|
11
16
|
import { doesActorOwnKey } from "../sig/owner.js";
|
12
17
|
import { signObject, verifyObject } from "../sig/proof.js";
|
13
|
-
import { MemoryKvStore } from "./kv.js";
|
14
|
-
import { getAuthenticatedDocumentLoader } from "../runtime/authdocloader.js";
|
15
18
|
import { lookupObject } from "../vocab/lookup.js";
|
16
19
|
import { ContextImpl, FederationImpl, InboxContextImpl, createFederation } from "./middleware.js";
|
17
|
-
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
18
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
19
|
-
import { assertInstanceOf } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js";
|
20
20
|
import { test } from "../testing/mod.js";
|
21
21
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
22
22
|
import { assertNotEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js";
|
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { InProcessMessageQueue, ParallelMessageQueue } from "./mq.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
6
|
import { test } from "../testing/mod.js";
|
8
7
|
import { assertGreaterOrEqual } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater_or_equal.js";
|
9
8
|
import { assertGreater } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater.js";
|
9
|
+
import { InProcessMessageQueue, ParallelMessageQueue } from "./mq.js";
|
10
10
|
import { delay } from "@es-toolkit/es-toolkit";
|
11
11
|
|
12
12
|
//#region federation/mq.test.ts
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { createExponentialBackoffPolicy } from "./retry.js";
|
6
5
|
import { AssertionError } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js";
|
7
6
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
|
+
import { createExponentialBackoffPolicy } from "./retry.js";
|
8
8
|
import { test } from "../testing/mod.js";
|
9
9
|
import { assertNotEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js";
|
10
10
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { Router, RouterError } from "./router.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { Router, RouterError } from "./router.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
9
9
|
|
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
6
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
7
|
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab/vocab.js";
|
6
8
|
import { verifyRequest } from "../sig/http.js";
|
7
9
|
import { doesActorOwnKey } from "../sig/owner.js";
|
8
10
|
import { extractInboxes, sendActivity } from "./send.js";
|
9
|
-
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
10
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
11
11
|
import { test } from "../testing/mod.js";
|
12
12
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
13
13
|
import { assertNotEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js";
|
package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
import { createCallLogFromRequest, createCallLogFromUrlAndOptions } from "./RequestUtils.js";
|
6
6
|
import { Route_default } from "./Route.js";
|
7
|
-
import { Router$
|
7
|
+
import { Router$1 as Router } from "./Router.js";
|
8
8
|
import { CallHistory_default } from "./CallHistory.js";
|
9
9
|
|
10
10
|
//#region node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "./client.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "./client.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
import { install, mock, uninstall } from "../node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/mod.js";
|
9
9
|
|
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
6
|
import { MemoryKvStore } from "../federation/kv.js";
|
6
7
|
import { parseSemVer } from "./semver.js";
|
7
8
|
import { handleNodeInfo, handleNodeInfoJrd } from "./handler.js";
|
8
9
|
import { createFederation } from "../federation/middleware.js";
|
9
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
10
10
|
import { test } from "../testing/mod.js";
|
11
11
|
import { createRequestContext } from "../testing/context.js";
|
12
12
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { formatSemVer, parseSemVer } from "./semver.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { formatSemVer, parseSemVer } from "./semver.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
9
9
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { nodeInfoToJson } from "./types.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { nodeInfoToJson } from "./types.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
9
9
|
|
@@ -2,10 +2,10 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
6
|
import { UrlError } from "./url.js";
|
6
7
|
import { verifyRequest } from "../sig/http.js";
|
7
8
|
import { getAuthenticatedDocumentLoader } from "./authdocloader.js";
|
8
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
9
9
|
import { test } from "../testing/mod.js";
|
10
10
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
11
11
|
import { mockDocumentLoader } from "../testing/docloader.js";
|
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { MemoryKvStore } from "../federation/kv.js";
|
5
7
|
import { deno_default } from "../deno.js";
|
6
8
|
import { contexts_default } from "./contexts.js";
|
7
9
|
import { UrlError } from "./url.js";
|
8
10
|
import { FetchError, getDocumentLoader, getUserAgent, kvCache } from "./docloader.js";
|
9
|
-
import { MemoryKvStore } from "../federation/kv.js";
|
10
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
11
11
|
import { test } from "../testing/mod.js";
|
12
12
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
13
13
|
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
package/dist/runtime/key.js
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { decode, encode } from "./multibase/index.js";
|
6
|
-
import { Integer, Sequence } from "asn1js";
|
7
6
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
8
|
-
import { decodeBase64Url } from "byte-encodings/base64url";
|
9
7
|
import { decodeHex } from "byte-encodings/hex";
|
8
|
+
import { Integer, Sequence } from "asn1js";
|
9
|
+
import { decodeBase64Url } from "byte-encodings/base64url";
|
10
10
|
import { addPrefix, getCodeFromData, rmPrefix } from "multicodec";
|
11
11
|
import { createPublicKey } from "node:crypto";
|
12
12
|
import { PublicKeyInfo } from "pkijs";
|
package/dist/runtime/key.test.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
6
|
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "./key.js";
|
6
7
|
import { exportJwk, importJwk } from "../sig/key.js";
|
7
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
8
8
|
import { test } from "../testing/mod.js";
|
9
9
|
|
10
10
|
//#region runtime/key.test.ts
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { LanguageString } from "./langstr.js";
|
6
5
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { LanguageString } from "./langstr.js";
|
7
7
|
import { test } from "../testing/mod.js";
|
8
8
|
import { parseLanguageTag } from "@phensley/language-tag";
|
9
9
|
import util from "node:util";
|
@@ -2,10 +2,10 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
6
|
import { decodeText, encodeText } from "./util.js";
|
6
7
|
import { codes, names } from "./constants.js";
|
7
8
|
import { decode, encode } from "./index.js";
|
8
|
-
import { assertEquals } from "../../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
9
9
|
import { test } from "../../testing/mod.js";
|
10
10
|
|
11
11
|
//#region runtime/multibase/multibase.test.ts
|
package/dist/runtime/url.test.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "./url.js";
|
6
5
|
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
7
6
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
|
+
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "./url.js";
|
8
8
|
import { test } from "../testing/mod.js";
|
9
9
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
10
10
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
package/dist/sig/http.js
CHANGED
@@ -7,9 +7,9 @@ import { CryptographicKey } from "../vocab/vocab.js";
|
|
7
7
|
import { fetchKey, validateCryptoKey } from "./key.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
|
+
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
10
11
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
11
12
|
import { encodeHex } from "byte-encodings/hex";
|
12
|
-
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
13
13
|
import { Item, decodeDict, encodeItem } from "structured-field-values";
|
14
14
|
|
15
15
|
//#region sig/http.ts
|
package/dist/sig/http.test.js
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
6
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
7
|
import { exportSpki } from "../runtime/key.js";
|
6
8
|
import { exportJwk } from "./key.js";
|
7
9
|
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "./http.js";
|
8
|
-
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
9
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
10
10
|
import { test } from "../testing/mod.js";
|
11
11
|
import { assertExists } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js";
|
12
12
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
package/dist/sig/key.test.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
6
|
import { CryptographicKey, Multikey } from "../vocab/vocab.js";
|
6
7
|
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key.js";
|
7
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
8
8
|
import { test } from "../testing/mod.js";
|
9
9
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
10
10
|
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
package/dist/sig/ld.js
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
-
import { getTypeId } from "../vocab/type.js";
|
7
6
|
import { getDocumentLoader } from "../runtime/docloader.js";
|
8
7
|
import { Activity, CryptographicKey, Object as Object$1 } from "../vocab/vocab.js";
|
8
|
+
import { getTypeId } from "../vocab/type.js";
|
9
9
|
import { fetchKey, validateCryptoKey } from "./key.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
12
|
-
import jsonld from "jsonld";
|
13
12
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
14
13
|
import { encodeHex } from "byte-encodings/hex";
|
14
|
+
import jsonld from "jsonld";
|
15
15
|
|
16
16
|
//#region sig/ld.ts
|
17
17
|
const logger = getLogger([
|
package/dist/sig/ld.test.js
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
6
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
7
|
import { CryptographicKey } from "../vocab/vocab.js";
|
6
8
|
import { generateCryptoKeyPair } from "./key.js";
|
7
9
|
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "./ld.js";
|
8
|
-
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
9
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
10
10
|
import { test } from "../testing/mod.js";
|
11
11
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
12
12
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
package/dist/sig/owner.test.js
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
6
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
5
7
|
import { Create } from "../vocab/vocab.js";
|
6
8
|
import { doesActorOwnKey, getKeyOwner } from "./owner.js";
|
7
9
|
import { lookupObject } from "../vocab/lookup.js";
|
8
|
-
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
9
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
10
10
|
import { test } from "../testing/mod.js";
|
11
11
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
12
12
|
import { mockDocumentLoader } from "../testing/docloader.js";
|
package/dist/sig/proof.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
-
import { getTypeId } from "../vocab/type.js";
|
7
6
|
import { Activity, DataIntegrityProof, Multikey } from "../vocab/vocab.js";
|
7
|
+
import { getTypeId } from "../vocab/type.js";
|
8
8
|
import { fetchKey, validateCryptoKey } from "./key.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
package/dist/sig/proof.test.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
6
|
+
import { assertInstanceOf } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js";
|
5
7
|
import { decode } from "../runtime/multibase/index.js";
|
6
8
|
import { importMultibaseKey } from "../runtime/key.js";
|
7
9
|
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../vocab/vocab.js";
|
8
10
|
import { createProof, signObject, verifyObject, verifyProof } from "./proof.js";
|
9
|
-
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
10
|
-
import { assertInstanceOf } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js";
|
11
11
|
import { test } from "../testing/mod.js";
|
12
12
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
13
13
|
import { mockDocumentLoader } from "../testing/docloader.js";
|
package/dist/vocab/actor.js
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
-
import { getTypeId } from "./type.js";
|
7
6
|
import { Application, Group, Organization, Person, Service } from "./vocab.js";
|
8
7
|
import { lookupWebFinger } from "../webfinger/lookup.js";
|
8
|
+
import { getTypeId } from "./type.js";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { domainToASCII, domainToUnicode } from "node:url";
|
11
11
|
|
package/dist/vocab/actor.test.js
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { Application, Group, Organization, Person, Service } from "./vocab.js";
|
6
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "./actor.js";
|
7
5
|
import { assert } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js";
|
8
6
|
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
7
|
+
import { Application, Group, Organization, Person, Service } from "./vocab.js";
|
8
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "./actor.js";
|
9
9
|
import { test } from "../testing/mod.js";
|
10
10
|
import { assertFalse } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js";
|
11
11
|
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
package/dist/vocab/constants.js
CHANGED
package/dist/vocab/lookup.js
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { deno_default } from "../deno.js";
|
6
|
-
import { getTypeId } from "./type.js";
|
7
6
|
import { getDocumentLoader } from "../runtime/docloader.js";
|
8
7
|
import { Object as Object$1 } from "./vocab.js";
|
9
8
|
import { lookupWebFinger } from "../webfinger/lookup.js";
|
9
|
+
import { getTypeId } from "./type.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
12
12
|
import { delay } from "@es-toolkit/es-toolkit";
|