@fedify/fedify 2.0.0-dev.379 → 2.0.0-dev.380
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/{builder-CTaPayj3.js → builder-yo-Bb1YI.js} +12 -57
- package/dist/compat/mod.d.cts +2 -2
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +11 -11
- package/dist/{context-Cf0-LmZC.d.cts → context-Bo8rHkgD.d.cts} +15 -45
- package/dist/{context-liIe6DFH.d.ts → context-CvI-m4eX.d.ts} +15 -45
- package/dist/{deno-DqzG_RZH.js → deno-CtGMjqVA.js} +1 -1
- package/dist/{docloader-DzdrkeHk.js → docloader-DFtiZSjQ.js} +4 -12
- package/dist/federation/builder.test.js +3 -3
- package/dist/federation/handler.test.js +45 -45
- package/dist/federation/idempotency.test.js +11 -11
- package/dist/federation/inbox.test.js +2 -2
- package/dist/federation/middleware.test.js +43 -68
- package/dist/federation/mod.cjs +4 -4
- package/dist/federation/mod.d.cts +3 -3
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +4 -4
- package/dist/federation/send.test.js +5 -5
- package/dist/federation/webfinger.test.js +12 -15
- package/dist/{http-BgVFYDxB.cjs → http-DL7I-lJ1.cjs} +1 -1
- package/dist/{http-wC3zLKG0.js → http-MKkRvGCD.js} +2 -2
- package/dist/{http-wpL3tTw3.js → http-d87H9gTL.js} +1 -1
- package/dist/{inbox-DD3ldbso.js → inbox-t2HfUOpK.js} +1 -1
- package/dist/{key-DT5WUsoA.js → key-BaU3dCbr.js} +1 -1
- package/dist/{kv-cache-dm5snJVx.js → kv-cache-BlAk9XRp.js} +2 -4
- package/dist/{kv-cache-fDtLLSX6.cjs → kv-cache-P81gWIMl.cjs} +1 -3
- package/dist/{ld-DkkOCVAX.js → ld-Cl1Q2ID2.js} +2 -2
- package/dist/{middleware-1jFftSD2.js → middleware-C8EKZVUa.js} +48 -128
- package/dist/{middleware-DTsAIZ_v.js → middleware-CahwrUem.js} +4 -4
- package/dist/{middleware-CyiaCQia.cjs → middleware-CeNadM06.cjs} +51 -176
- package/dist/middleware-DzqLMJf8.cjs +12 -0
- package/dist/{middleware-BPQUgG_4.js → middleware-QKMHl3jD.js} +11 -11
- package/dist/{middleware-BgA11Zdl.js → middleware-qCIC-vDz.js} +51 -176
- package/dist/{mod-CvhyLrjX.d.ts → mod-CevNbUol.d.ts} +0 -18
- package/dist/{mod-Do_sZWAA.d.cts → mod-DyzMRG8B.d.cts} +1 -1
- package/dist/{mod-DWaA45ef.d.cts → mod-ErTjUJs9.d.cts} +0 -18
- package/dist/{mod-B9_l3te3.d.ts → mod-PmuFg9QD.d.ts} +1 -1
- package/dist/{mod-Dquroqiv.d.ts → mod-hcb60sG1.d.ts} +1 -1
- package/dist/{mod-H3ScYaOb.d.cts → mod-jzy1r56s.d.cts} +1 -1
- package/dist/mod.cjs +4 -4
- package/dist/mod.d.cts +6 -6
- package/dist/mod.d.ts +6 -6
- package/dist/mod.js +4 -4
- package/dist/nodeinfo/handler.test.js +11 -11
- package/dist/{owner-DkyFfykp.js → owner-CLtVml91.js} +1 -1
- package/dist/{proof-YGxK2bz_.js → proof-0NbL8saz.js} +2 -2
- package/dist/{proof-DiizpGmV.js → proof-B7X2V-RL.js} +1 -1
- package/dist/{proof-BAMTO1-Z.cjs → proof-BYSTK-fO.cjs} +1 -1
- package/dist/{send-Bh3NMyL9.js → send-yCNNrsU2.js} +2 -2
- package/dist/sig/http.test.js +3 -3
- package/dist/sig/key.test.js +2 -2
- package/dist/sig/ld.test.js +3 -3
- package/dist/sig/mod.cjs +2 -2
- package/dist/sig/mod.js +2 -2
- package/dist/sig/owner.test.js +3 -3
- package/dist/sig/proof.test.js +3 -3
- package/dist/testing/mod.d.ts +9 -32
- package/dist/utils/docloader.test.js +4 -4
- package/dist/utils/mod.cjs +2 -2
- package/dist/utils/mod.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +2 -2
- package/package.json +5 -5
- package/dist/middleware-DPeL5rKU.cjs +0 -12
package/dist/mod.d.ts
CHANGED
|
@@ -4,20 +4,20 @@ import { __export, __reExport } from "./chunk-DJNbSFdH.js";
|
|
|
4
4
|
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./client-a7NwzhA2.js";
|
|
5
5
|
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-CODSJcKx.js";
|
|
6
6
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-DQYAbVmX.js";
|
|
7
|
-
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions,
|
|
7
|
+
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-CvI-m4eX.js";
|
|
8
8
|
import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore } from "./kv-jg_8SMc1.js";
|
|
9
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-
|
|
10
|
-
import { WebFingerHandlerParameters, handleWebFinger } from "./mod-
|
|
9
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-PmuFg9QD.js";
|
|
10
|
+
import { WebFingerHandlerParameters, handleWebFinger } from "./mod-hcb60sG1.js";
|
|
11
11
|
import "./mod-AGjRfPjT.js";
|
|
12
12
|
import { mod_d_exports } from "./mod-D6HodEq7.js";
|
|
13
13
|
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-q2IR8UiH.js";
|
|
14
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-
|
|
14
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./mod-CevNbUol.js";
|
|
15
15
|
|
|
16
16
|
//#region src/mod.d.ts
|
|
17
17
|
declare namespace mod_d_exports$1 {
|
|
18
|
-
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions,
|
|
18
|
+
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundService, OutboxErrorHandler, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
|
19
19
|
}
|
|
20
20
|
__reExport(mod_d_exports$1, mod_d_exports);
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
|
-
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions,
|
|
23
|
+
export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundService, OutboxErrorHandler, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, importJwk, kvCache, nodeInfoToJson, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import { __export, __reExport } from "./chunk-DJNbSFdH.js";
|
|
6
6
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-C3FLHUd6.js";
|
|
7
7
|
import "./compat-Bb4NuTUO.js";
|
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-
|
|
9
|
-
import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-
|
|
10
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-d87H9gTL.js";
|
|
9
|
+
import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-qCIC-vDz.js";
|
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-B7X2V-RL.js";
|
|
11
11
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-DaMfqRm4.js";
|
|
12
12
|
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./types-C93Ob9cU.js";
|
|
13
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-
|
|
13
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-BlAk9XRp.js";
|
|
14
14
|
import "./nodeinfo-DoESQxq5.js";
|
|
15
15
|
import { runtime_exports } from "./runtime-poamPCMb.js";
|
|
16
16
|
import "./sig-BNhspNOf.js";
|
|
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
10
|
import { MemoryKvStore } from "../kv-QzKcOQgP.js";
|
|
11
|
-
import "../deno-
|
|
12
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
|
11
|
+
import "../deno-CtGMjqVA.js";
|
|
12
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-C8EKZVUa.js";
|
|
13
13
|
import "../client-Dg7OfUDA.js";
|
|
14
14
|
import "../router-D9eI0s4b.js";
|
|
15
15
|
import "../types-CPz01LGH.js";
|
|
16
|
-
import "../key-
|
|
17
|
-
import "../http-
|
|
18
|
-
import "../ld-
|
|
19
|
-
import "../owner-
|
|
20
|
-
import "../proof-
|
|
21
|
-
import "../docloader-
|
|
16
|
+
import "../key-BaU3dCbr.js";
|
|
17
|
+
import "../http-MKkRvGCD.js";
|
|
18
|
+
import "../ld-Cl1Q2ID2.js";
|
|
19
|
+
import "../owner-CLtVml91.js";
|
|
20
|
+
import "../proof-0NbL8saz.js";
|
|
21
|
+
import "../docloader-DFtiZSjQ.js";
|
|
22
22
|
import "../kv-cache-B__dHl7g.js";
|
|
23
|
-
import "../inbox-
|
|
24
|
-
import "../builder-
|
|
23
|
+
import "../inbox-t2HfUOpK.js";
|
|
24
|
+
import "../builder-yo-Bb1YI.js";
|
|
25
25
|
import "../collection-CcnIw1qY.js";
|
|
26
26
|
import "../keycache-DRxpZ5r9.js";
|
|
27
27
|
import "../negotiation-5NPJL6zp.js";
|
|
28
28
|
import "../retry-D4GJ670a.js";
|
|
29
|
-
import "../send-
|
|
29
|
+
import "../send-yCNNrsU2.js";
|
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
6
|
+
import { deno_default } from "./deno-CtGMjqVA.js";
|
|
7
7
|
import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
|
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { deno_default } from "./deno-CtGMjqVA.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BaU3dCbr.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { Activity, DataIntegrityProof, Multikey, getTypeId } from "@fedify/vocab";
|
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default, fetchKey, validateCryptoKey } from "./http-
|
|
5
|
+
import { deno_default, fetchKey, validateCryptoKey } from "./http-d87H9gTL.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "@fedify/vocab";
|
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
5
|
const require_chunk = require('./chunk-CGaQZ11T.cjs');
|
|
6
|
-
const require_http = require('./http-
|
|
6
|
+
const require_http = require('./http-DL7I-lJ1.cjs');
|
|
7
7
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
|
8
8
|
const __fedify_vocab = require_chunk.__toESM(require("@fedify/vocab"));
|
|
9
9
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./deno-
|
|
7
|
-
import { doubleKnock } from "./http-
|
|
6
|
+
import { deno_default } from "./deno-CtGMjqVA.js";
|
|
7
|
+
import { doubleKnock } from "./http-MKkRvGCD.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
|
package/dist/sig/http.test.js
CHANGED
|
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import { exportJwk } from "../key-
|
|
12
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
|
10
|
+
import "../deno-CtGMjqVA.js";
|
|
11
|
+
import { exportJwk } from "../key-BaU3dCbr.js";
|
|
12
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-MKkRvGCD.js";
|
|
13
13
|
import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
package/dist/sig/key.test.js
CHANGED
|
@@ -7,8 +7,8 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
10
|
+
import "../deno-CtGMjqVA.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BaU3dCbr.js";
|
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
|
13
13
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
package/dist/sig/ld.test.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
|
-
import "../deno-
|
|
10
|
-
import { generateCryptoKeyPair } from "../key-
|
|
11
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
|
9
|
+
import "../deno-CtGMjqVA.js";
|
|
10
|
+
import { generateCryptoKeyPair } from "../key-BaU3dCbr.js";
|
|
11
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-Cl1Q2ID2.js";
|
|
12
12
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
13
13
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
|
14
14
|
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-ZbcByPg9.js";
|
package/dist/sig/mod.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
const require_http = require('../http-
|
|
6
|
-
const require_proof = require('../proof-
|
|
5
|
+
const require_http = require('../http-DL7I-lJ1.cjs');
|
|
6
|
+
const require_proof = require('../proof-BYSTK-fO.cjs');
|
|
7
7
|
require('../sig-vX39WyWI.cjs');
|
|
8
8
|
|
|
9
9
|
exports.attachSignature = require_proof.attachSignature;
|
package/dist/sig/mod.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
|
6
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
|
5
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-d87H9gTL.js";
|
|
6
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-B7X2V-RL.js";
|
|
7
7
|
import "../sig-BNhspNOf.js";
|
|
8
8
|
|
|
9
9
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
|
@@ -7,9 +7,9 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
|
10
|
+
import "../deno-CtGMjqVA.js";
|
|
11
|
+
import "../key-BaU3dCbr.js";
|
|
12
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-CLtVml91.js";
|
|
13
13
|
import "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/sig/proof.test.js
CHANGED
|
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
|
10
|
+
import "../deno-CtGMjqVA.js";
|
|
11
|
+
import "../key-BaU3dCbr.js";
|
|
12
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-0NbL8saz.js";
|
|
13
13
|
import "../std__assert-DWivtrGR.js";
|
|
14
14
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
15
15
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/testing/mod.d.ts
CHANGED
|
@@ -426,14 +426,10 @@ type SharedInboxKeyDispatcher<TContextData> = (context: Context<TContextData>) =
|
|
|
426
426
|
identifier: string;
|
|
427
427
|
} | {
|
|
428
428
|
username: string;
|
|
429
|
-
} | {
|
|
430
|
-
handle: string;
|
|
431
429
|
} | null | Promise<SenderKeyPair | {
|
|
432
430
|
identifier: string;
|
|
433
431
|
} | {
|
|
434
432
|
username: string;
|
|
435
|
-
} | {
|
|
436
|
-
handle: string;
|
|
437
433
|
} | null>;
|
|
438
434
|
/**
|
|
439
435
|
* A callback that handles errors during outbox processing.
|
|
@@ -681,7 +677,7 @@ interface Federatable<TContextData> {
|
|
|
681
677
|
* @returns An object with methods to set other actor dispatcher callbacks.
|
|
682
678
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
683
679
|
*/
|
|
684
|
-
setActorDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
680
|
+
setActorDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: ActorDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
|
|
685
681
|
/**
|
|
686
682
|
* Registers an object dispatcher.
|
|
687
683
|
*
|
|
@@ -777,7 +773,7 @@ interface Federatable<TContextData> {
|
|
|
777
773
|
* @param dispatcher An inbox dispatcher callback to register.
|
|
778
774
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
779
775
|
*/
|
|
780
|
-
setInboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
776
|
+
setInboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
781
777
|
/**
|
|
782
778
|
* Registers an outbox dispatcher.
|
|
783
779
|
*
|
|
@@ -801,7 +797,7 @@ interface Federatable<TContextData> {
|
|
|
801
797
|
* @param dispatcher An outbox dispatcher callback to register.
|
|
802
798
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
803
799
|
*/
|
|
804
|
-
setOutboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
800
|
+
setOutboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
805
801
|
/**
|
|
806
802
|
* Registers a following collection dispatcher.
|
|
807
803
|
* @param path The URI path pattern for the following collection. The syntax
|
|
@@ -813,7 +809,7 @@ interface Federatable<TContextData> {
|
|
|
813
809
|
* callbacks.
|
|
814
810
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
815
811
|
*/
|
|
816
|
-
setFollowingDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
812
|
+
setFollowingDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
817
813
|
/**
|
|
818
814
|
* Registers a followers collection dispatcher.
|
|
819
815
|
* @param path The URI path pattern for the followers collection. The syntax
|
|
@@ -825,7 +821,7 @@ interface Federatable<TContextData> {
|
|
|
825
821
|
* callbacks.
|
|
826
822
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
827
823
|
*/
|
|
828
|
-
setFollowersDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
824
|
+
setFollowersDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Recipient, Context<TContextData>, TContextData, URL>): CollectionCallbackSetters<Context<TContextData>, TContextData, URL>;
|
|
829
825
|
/**
|
|
830
826
|
* Registers a liked collection dispatcher.
|
|
831
827
|
* @param path The URI path pattern for the liked collection. The syntax
|
|
@@ -837,7 +833,7 @@ interface Federatable<TContextData> {
|
|
|
837
833
|
* callbacks.
|
|
838
834
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
839
835
|
*/
|
|
840
|
-
setLikedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
836
|
+
setLikedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Object$1 | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
841
837
|
/**
|
|
842
838
|
* Registers a featured collection dispatcher.
|
|
843
839
|
* @param path The URI path pattern for the featured collection. The syntax
|
|
@@ -849,7 +845,7 @@ interface Federatable<TContextData> {
|
|
|
849
845
|
* callbacks.
|
|
850
846
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
851
847
|
*/
|
|
852
|
-
setFeaturedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
848
|
+
setFeaturedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Object$1, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
853
849
|
/**
|
|
854
850
|
* Registers a featured tags collection dispatcher.
|
|
855
851
|
* @param path The URI path pattern for the featured tags collection.
|
|
@@ -861,7 +857,7 @@ interface Federatable<TContextData> {
|
|
|
861
857
|
* callbacks.
|
|
862
858
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
|
863
859
|
*/
|
|
864
|
-
setFeaturedTagsDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
860
|
+
setFeaturedTagsDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}`, dispatcher: CollectionDispatcher<Hashtag, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
|
865
861
|
/**
|
|
866
862
|
* Assigns the URL path for the inbox and starts setting inbox listeners.
|
|
867
863
|
*
|
|
@@ -891,7 +887,7 @@ interface Federatable<TContextData> {
|
|
|
891
887
|
* @returns An object to register inbox listeners.
|
|
892
888
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
|
893
889
|
*/
|
|
894
|
-
setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}
|
|
890
|
+
setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
|
|
895
891
|
/**
|
|
896
892
|
* Registers a collection of objects dispatcher.
|
|
897
893
|
*
|
|
@@ -1547,8 +1543,6 @@ interface Context<TContextData> {
|
|
|
1547
1543
|
identifier: string;
|
|
1548
1544
|
} | {
|
|
1549
1545
|
username: string;
|
|
1550
|
-
} | {
|
|
1551
|
-
handle: string;
|
|
1552
1546
|
}): Promise<DocumentLoader>;
|
|
1553
1547
|
/**
|
|
1554
1548
|
* Gets an authenticated {@link DocumentLoader} for the given identity.
|
|
@@ -1679,8 +1673,6 @@ interface Context<TContextData> {
|
|
|
1679
1673
|
identifier: string;
|
|
1680
1674
|
} | {
|
|
1681
1675
|
username: string;
|
|
1682
|
-
} | {
|
|
1683
|
-
handle: string;
|
|
1684
1676
|
}, recipients: Recipient | Recipient[], activity: Activity, options?: SendActivityOptions): Promise<void>;
|
|
1685
1677
|
/**
|
|
1686
1678
|
* Sends an activity to the inboxes of the sender's followers.
|
|
@@ -1695,8 +1687,6 @@ interface Context<TContextData> {
|
|
|
1695
1687
|
identifier: string;
|
|
1696
1688
|
} | {
|
|
1697
1689
|
username: string;
|
|
1698
|
-
} | {
|
|
1699
|
-
handle: string;
|
|
1700
1690
|
}, recipients: "followers", activity: Activity, options?: SendActivityOptionsForCollection): Promise<void>;
|
|
1701
1691
|
/**
|
|
1702
1692
|
* Manually routes an activity to the appropriate inbox listener.
|
|
@@ -1874,8 +1864,6 @@ interface InboxContext<TContextData> extends Context<TContextData> {
|
|
|
1874
1864
|
identifier: string;
|
|
1875
1865
|
} | {
|
|
1876
1866
|
username: string;
|
|
1877
|
-
} | {
|
|
1878
|
-
handle: string;
|
|
1879
1867
|
}, recipients: Recipient | Recipient[], options?: ForwardActivityOptions): Promise<void>;
|
|
1880
1868
|
/**
|
|
1881
1869
|
* Forwards a received activity to the recipients' inboxes. The forwarded
|
|
@@ -1893,8 +1881,6 @@ interface InboxContext<TContextData> extends Context<TContextData> {
|
|
|
1893
1881
|
identifier: string;
|
|
1894
1882
|
} | {
|
|
1895
1883
|
username: string;
|
|
1896
|
-
} | {
|
|
1897
|
-
handle: string;
|
|
1898
1884
|
}, recipients: "followers", options?: ForwardActivityOptions): Promise<void>;
|
|
1899
1885
|
}
|
|
1900
1886
|
/**
|
|
@@ -1907,7 +1893,6 @@ type ParseUriResult =
|
|
|
1907
1893
|
{
|
|
1908
1894
|
readonly type: "actor";
|
|
1909
1895
|
readonly identifier: string;
|
|
1910
|
-
readonly handle: string;
|
|
1911
1896
|
}
|
|
1912
1897
|
/**
|
|
1913
1898
|
* The case of an object URI.
|
|
@@ -1922,35 +1907,30 @@ type ParseUriResult =
|
|
|
1922
1907
|
*/ | {
|
|
1923
1908
|
readonly type: "inbox";
|
|
1924
1909
|
readonly identifier: undefined;
|
|
1925
|
-
readonly handle: undefined;
|
|
1926
1910
|
}
|
|
1927
1911
|
/**
|
|
1928
1912
|
* The case of an personal inbox URI.
|
|
1929
1913
|
*/ | {
|
|
1930
1914
|
readonly type: "inbox";
|
|
1931
1915
|
readonly identifier: string;
|
|
1932
|
-
readonly handle: string;
|
|
1933
1916
|
}
|
|
1934
1917
|
/**
|
|
1935
1918
|
* The case of an outbox collection URI.
|
|
1936
1919
|
*/ | {
|
|
1937
1920
|
readonly type: "outbox";
|
|
1938
1921
|
readonly identifier: string;
|
|
1939
|
-
readonly handle: string;
|
|
1940
1922
|
}
|
|
1941
1923
|
/**
|
|
1942
1924
|
* The case of a following collection URI.
|
|
1943
1925
|
*/ | {
|
|
1944
1926
|
readonly type: "following";
|
|
1945
1927
|
readonly identifier: string;
|
|
1946
|
-
readonly handle: string;
|
|
1947
1928
|
}
|
|
1948
1929
|
/**
|
|
1949
1930
|
* The case of a followers collection URI.
|
|
1950
1931
|
*/ | {
|
|
1951
1932
|
readonly type: "followers";
|
|
1952
1933
|
readonly identifier: string;
|
|
1953
|
-
readonly handle: string;
|
|
1954
1934
|
}
|
|
1955
1935
|
/**
|
|
1956
1936
|
* The case of a liked collection URI.
|
|
@@ -1958,7 +1938,6 @@ type ParseUriResult =
|
|
|
1958
1938
|
*/ | {
|
|
1959
1939
|
readonly type: "liked";
|
|
1960
1940
|
readonly identifier: string;
|
|
1961
|
-
readonly handle: string;
|
|
1962
1941
|
}
|
|
1963
1942
|
/**
|
|
1964
1943
|
* The case of a featured collection URI.
|
|
@@ -1966,7 +1945,6 @@ type ParseUriResult =
|
|
|
1966
1945
|
*/ | {
|
|
1967
1946
|
readonly type: "featured";
|
|
1968
1947
|
readonly identifier: string;
|
|
1969
|
-
readonly handle: string;
|
|
1970
1948
|
}
|
|
1971
1949
|
/**
|
|
1972
1950
|
* The case of a featured tags collection URI.
|
|
@@ -1974,7 +1952,6 @@ type ParseUriResult =
|
|
|
1974
1952
|
*/ | {
|
|
1975
1953
|
readonly type: "featuredTags";
|
|
1976
1954
|
readonly identifier: string;
|
|
1977
|
-
readonly handle: string;
|
|
1978
1955
|
}
|
|
1979
1956
|
/**
|
|
1980
1957
|
* The case of a custom collection URI.
|
|
@@ -7,10 +7,10 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
|
8
8
|
import "../assert-MZs1qjMx.js";
|
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
|
10
|
-
import "../deno-
|
|
11
|
-
import "../key-
|
|
12
|
-
import { verifyRequest } from "../http-
|
|
13
|
-
import { getAuthenticatedDocumentLoader } from "../docloader-
|
|
10
|
+
import "../deno-CtGMjqVA.js";
|
|
11
|
+
import "../key-BaU3dCbr.js";
|
|
12
|
+
import { verifyRequest } from "../http-MKkRvGCD.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-DFtiZSjQ.js";
|
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
|
15
15
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/utils/mod.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../http-
|
|
6
|
-
const require_kv_cache = require('../kv-cache-
|
|
5
|
+
require('../http-DL7I-lJ1.cjs');
|
|
6
|
+
const require_kv_cache = require('../kv-cache-P81gWIMl.cjs');
|
|
7
7
|
require('../utils-BQ9KqEK9.cjs');
|
|
8
8
|
|
|
9
9
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../http-CCEu-x1_.cjs";
|
|
2
2
|
import "../kv-g9jFc34-.cjs";
|
|
3
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
3
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-ErTjUJs9.cjs";
|
|
4
4
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../http-CODSJcKx.js";
|
|
4
4
|
import "../kv-jg_8SMc1.js";
|
|
5
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
5
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-CevNbUol.js";
|
|
6
6
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../http-
|
|
6
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-
|
|
5
|
+
import "../http-d87H9gTL.js";
|
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-BlAk9XRp.js";
|
|
7
7
|
import "../utils-Dn5OPdSW.js";
|
|
8
8
|
|
|
9
9
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/fedify",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.380+cb8f5a53",
|
|
4
4
|
"description": "An ActivityPub server framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ActivityPub",
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
"uri-template-router": "^1.0.0",
|
|
146
146
|
"url-template": "^3.1.1",
|
|
147
147
|
"urlpattern-polyfill": "^10.1.0",
|
|
148
|
-
"@fedify/vocab": "2.0.0-dev.
|
|
149
|
-
"@fedify/webfinger": "2.0.0-dev.
|
|
150
|
-
"@fedify/vocab-runtime": "2.0.0-dev.
|
|
148
|
+
"@fedify/vocab": "2.0.0-dev.380+cb8f5a53",
|
|
149
|
+
"@fedify/webfinger": "2.0.0-dev.380+cb8f5a53",
|
|
150
|
+
"@fedify/vocab-runtime": "2.0.0-dev.380+cb8f5a53"
|
|
151
151
|
},
|
|
152
152
|
"devDependencies": {
|
|
153
153
|
"@std/assert": "npm:@jsr/std__assert@^0.226.0",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"tsx": "^4.19.4",
|
|
160
160
|
"typescript": "^5.9.3",
|
|
161
161
|
"wrangler": "^4.17.0",
|
|
162
|
-
"@fedify/vocab-tools": "^2.0.0-dev.
|
|
162
|
+
"@fedify/vocab-tools": "^2.0.0-dev.380+cb8f5a53",
|
|
163
163
|
"@fedify/fixture": "2.0.0"
|
|
164
164
|
},
|
|
165
165
|
"scripts": {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
|
-
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
|
-
|
|
5
|
-
require('./transformers-3g8GZwkZ.cjs');
|
|
6
|
-
require('./http-BgVFYDxB.cjs');
|
|
7
|
-
const require_middleware = require('./middleware-CyiaCQia.cjs');
|
|
8
|
-
require('./proof-BAMTO1-Z.cjs');
|
|
9
|
-
require('./types-Cd_hszr_.cjs');
|
|
10
|
-
require('./kv-cache-fDtLLSX6.cjs');
|
|
11
|
-
|
|
12
|
-
exports.FederationImpl = require_middleware.FederationImpl;
|