@fedify/fedify 1.6.1-pr.242.862 → 1.6.1-pr.242.864
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/deno.js +1 -1
- package/dist/federation/federation.d.ts +14 -0
- package/dist/federation/middleware.js +7 -7
- package/dist/federation/mod.d.ts +2 -1
- package/dist/federation/queue.d.ts +59 -0
- package/dist/mod.d.ts +2 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +1 -1
- package/dist/vocab/vocab.js +176 -176
- package/dist/x/cfworkers.d.ts +29 -8
- package/dist/x/cfworkers.js +38 -4
- package/dist/x/cfworkers.test.js +43 -1
- package/package.json +1 -1
package/dist/deno.js
CHANGED
@@ -7,6 +7,7 @@ import { Actor, Recipient } from "../vocab/actor.js";
|
|
7
7
|
import { ActivityTransformer } from "../compat/types.js";
|
8
8
|
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
|
9
9
|
import { MessageQueue } from "./mq.js";
|
10
|
+
import { Message } from "./queue.js";
|
10
11
|
import { RetryPolicy } from "./retry.js";
|
11
12
|
import { FederationKvPrefixes, FederationOrigin, FederationQueueOptions } from "./middleware.js";
|
12
13
|
import { Context, RequestContext } from "./context.js";
|
@@ -317,6 +318,19 @@ interface Federation<TContextData> extends Federatable<TContextData> {
|
|
317
318
|
* @param options Additional options for starting the queue.
|
318
319
|
*/
|
319
320
|
startQueue(contextData: TContextData, options?: FederationStartQueueOptions): Promise<void>;
|
321
|
+
/**
|
322
|
+
* Processes a queued message task. This method handles different types of
|
323
|
+
* tasks such as fanout, outbox, and inbox messages.
|
324
|
+
*
|
325
|
+
* Note that you usually do not need to call this method directly unless you
|
326
|
+
* are deploying your federated application on a platform that does not
|
327
|
+
* support long-running processing, such as Cloudflare Workers.
|
328
|
+
* @param contextData The context data to pass to the context.
|
329
|
+
* @param message The message that represents the task to be processed.
|
330
|
+
* @returns A promise that resolves when the message has been processed.
|
331
|
+
* @since 1.6.0
|
332
|
+
*/
|
333
|
+
processQueuedTask(contextData: TContextData, message: Message): Promise<void>;
|
320
334
|
/**
|
321
335
|
* Create a new context.
|
322
336
|
* @param baseUrl The base URL of the server. The `pathname` remains root,
|
@@ -171,21 +171,21 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
171
171
|
if (this.inboxQueue != null && (queue == null || queue === "inbox") && !this.inboxQueueStarted) {
|
172
172
|
logger.debug("Starting an inbox task worker.");
|
173
173
|
this.inboxQueueStarted = true;
|
174
|
-
promises.push(this.inboxQueue.listen((msg) => this
|
174
|
+
promises.push(this.inboxQueue.listen((msg) => this.processQueuedTask(ctxData, msg), { signal }));
|
175
175
|
}
|
176
176
|
if (this.outboxQueue != null && this.outboxQueue !== this.inboxQueue && (queue == null || queue === "outbox") && !this.outboxQueueStarted) {
|
177
177
|
logger.debug("Starting an outbox task worker.");
|
178
178
|
this.outboxQueueStarted = true;
|
179
|
-
promises.push(this.outboxQueue.listen((msg) => this
|
179
|
+
promises.push(this.outboxQueue.listen((msg) => this.processQueuedTask(ctxData, msg), { signal }));
|
180
180
|
}
|
181
181
|
if (this.fanoutQueue != null && this.fanoutQueue !== this.inboxQueue && this.fanoutQueue !== this.outboxQueue && (queue == null || queue === "fanout") && !this.fanoutQueueStarted) {
|
182
182
|
logger.debug("Starting a fanout task worker.");
|
183
183
|
this.fanoutQueueStarted = true;
|
184
|
-
promises.push(this.fanoutQueue.listen((msg) => this
|
184
|
+
promises.push(this.fanoutQueue.listen((msg) => this.processQueuedTask(ctxData, msg), { signal }));
|
185
185
|
}
|
186
186
|
await Promise.all(promises);
|
187
187
|
}
|
188
|
-
|
188
|
+
processQueuedTask(contextData, message) {
|
189
189
|
const tracer = this._getTracer();
|
190
190
|
const extractedContext = propagation.extract(context.active(), message.traceContext);
|
191
191
|
return withContext({ messageId: message.id }, async () => {
|
@@ -195,7 +195,7 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
195
195
|
}, extractedContext, async (span) => {
|
196
196
|
if (message.activityId != null) span.setAttribute("activitypub.activity.id", message.activityId);
|
197
197
|
try {
|
198
|
-
await this.#listenFanoutMessage(
|
198
|
+
await this.#listenFanoutMessage(contextData, message);
|
199
199
|
} catch (e) {
|
200
200
|
span.setStatus({
|
201
201
|
code: SpanStatusCode.ERROR,
|
@@ -215,7 +215,7 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
215
215
|
}, extractedContext, async (span) => {
|
216
216
|
if (message.activityId != null) span.setAttribute("activitypub.activity.id", message.activityId);
|
217
217
|
try {
|
218
|
-
await this.#listenOutboxMessage(
|
218
|
+
await this.#listenOutboxMessage(contextData, message, span);
|
219
219
|
} catch (e) {
|
220
220
|
span.setStatus({
|
221
221
|
code: SpanStatusCode.ERROR,
|
@@ -231,7 +231,7 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
231
231
|
attributes: { "activitypub.shared_inbox": message.identifier == null }
|
232
232
|
}, extractedContext, async (span) => {
|
233
233
|
try {
|
234
|
-
await this.#listenInboxMessage(
|
234
|
+
await this.#listenInboxMessage(contextData, message, span);
|
235
235
|
} catch (e) {
|
236
236
|
span.setStatus({
|
237
237
|
code: SpanStatusCode.ERROR,
|
package/dist/federation/mod.d.ts
CHANGED
@@ -8,8 +8,9 @@ import { InProcessMessageQueue$1 as InProcessMessageQueue, InProcessMessageQueue
|
|
8
8
|
import { RespondWithObjectOptions, respondWithObject$1 as respondWithObject, respondWithObjectIfAcceptable$1 as respondWithObjectIfAcceptable } from "./handler.js";
|
9
9
|
import { Router$1 as Router, RouterError$1 as RouterError, RouterOptions, RouterRouteResult } from "./router.js";
|
10
10
|
import { createFederationBuilder$1 as createFederationBuilder } from "./builder.js";
|
11
|
+
import { Message } from "./queue.js";
|
11
12
|
import { CreateExponentialBackoffPolicyOptions, RetryContext, RetryPolicy, createExponentialBackoffPolicy$1 as createExponentialBackoffPolicy } from "./retry.js";
|
12
13
|
import { CreateFederationOptions, FederationKvPrefixes, FederationOrigin, FederationQueueOptions, createFederation$1 as createFederation } from "./middleware.js";
|
13
14
|
import { ActorCallbackSetters, CollectionCallbackSetters, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationOptions, FederationStartQueueOptions, InboxListenerSetters, ObjectCallbackSetters } from "./federation.js";
|
14
15
|
import { ActorKeyPair, Context, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, ParseUriResult, RequestContext, RouteActivityOptions, SendActivityOptions, SendActivityOptionsForCollection } from "./context.js";
|
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, 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 };
|
16
|
+
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 };
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { Temporal } from "@js-temporal/polyfill";
|
2
|
+
import { URLPattern } from "urlpattern-polyfill";
|
3
|
+
|
4
|
+
//#region federation/queue.d.ts
|
5
|
+
interface SenderKeyJwkPair {
|
6
|
+
keyId: string;
|
7
|
+
privateKey: JsonWebKey;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* A message that represents a task to be processed by the background worker.
|
11
|
+
* The concrete type of the message depends on the `type` property.
|
12
|
+
*
|
13
|
+
* Please do not depend on the concrete types of the messages, as they may
|
14
|
+
* change in the future. You should treat the `Message` type as an opaque
|
15
|
+
* type.
|
16
|
+
* @since 1.6.0
|
17
|
+
*/
|
18
|
+
type Message = FanoutMessage | OutboxMessage | InboxMessage;
|
19
|
+
interface FanoutMessage {
|
20
|
+
type: "fanout";
|
21
|
+
id: ReturnType<typeof crypto.randomUUID>;
|
22
|
+
baseUrl: string;
|
23
|
+
keys: SenderKeyJwkPair[];
|
24
|
+
inboxes: Record<string, {
|
25
|
+
actorIds: string[];
|
26
|
+
sharedInbox: boolean;
|
27
|
+
}>;
|
28
|
+
activity: unknown;
|
29
|
+
activityId?: string;
|
30
|
+
activityType: string;
|
31
|
+
collectionSync?: string;
|
32
|
+
traceContext: Record<string, string>;
|
33
|
+
}
|
34
|
+
interface OutboxMessage {
|
35
|
+
type: "outbox";
|
36
|
+
id: ReturnType<typeof crypto.randomUUID>;
|
37
|
+
baseUrl: string;
|
38
|
+
keys: SenderKeyJwkPair[];
|
39
|
+
activity: unknown;
|
40
|
+
activityId?: string;
|
41
|
+
activityType: string;
|
42
|
+
inbox: string;
|
43
|
+
sharedInbox: boolean;
|
44
|
+
started: string;
|
45
|
+
attempt: number;
|
46
|
+
headers: Record<string, string>;
|
47
|
+
traceContext: Record<string, string>;
|
48
|
+
}
|
49
|
+
interface InboxMessage {
|
50
|
+
type: "inbox";
|
51
|
+
id: ReturnType<typeof crypto.randomUUID>;
|
52
|
+
baseUrl: string;
|
53
|
+
activity: unknown;
|
54
|
+
started: string;
|
55
|
+
attempt: number;
|
56
|
+
identifier: string | null;
|
57
|
+
traceContext: Record<string, string>;
|
58
|
+
} //#endregion
|
59
|
+
export { Message };
|
package/dist/mod.d.ts
CHANGED
@@ -24,6 +24,7 @@ import { InProcessMessageQueue$1 as InProcessMessageQueue, InProcessMessageQueue
|
|
24
24
|
import { RespondWithObjectOptions, respondWithObject$1 as respondWithObject, respondWithObjectIfAcceptable$1 as respondWithObjectIfAcceptable } from "./federation/handler.js";
|
25
25
|
import { Router$1 as Router, RouterError$1 as RouterError, RouterOptions, RouterRouteResult } from "./federation/router.js";
|
26
26
|
import { createFederationBuilder$1 as createFederationBuilder } from "./federation/builder.js";
|
27
|
+
import { Message } from "./federation/queue.js";
|
27
28
|
import { CreateExponentialBackoffPolicyOptions, RetryContext, RetryPolicy, createExponentialBackoffPolicy$1 as createExponentialBackoffPolicy } from "./federation/retry.js";
|
28
29
|
import { CreateFederationOptions, FederationKvPrefixes, FederationOrigin, FederationQueueOptions, createFederation$1 as createFederation } from "./federation/middleware.js";
|
29
30
|
import { ActorCallbackSetters, CollectionCallbackSetters, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationOptions, FederationStartQueueOptions, InboxListenerSetters, ObjectCallbackSetters } from "./federation/federation.js";
|
@@ -33,4 +34,4 @@ import { GetAuthenticatedDocumentLoaderOptions, getAuthenticatedDocumentLoader$1
|
|
33
34
|
import { exportMultibaseKey$1 as exportMultibaseKey, exportSpki$1 as exportSpki, importMultibaseKey$1 as importMultibaseKey, importPem$1 as importPem, importPkcs1$1 as importPkcs1, importSpki$1 as importSpki } from "./runtime/key.js";
|
34
35
|
import { CreateSignatureOptions, SignJsonLdOptions, VerifyJsonLdOptions, VerifySignatureOptions, attachSignature$1 as attachSignature, createSignature$1 as createSignature, detachSignature$1 as detachSignature, signJsonLd$1 as signJsonLd, verifyJsonLd$1 as verifyJsonLd, verifySignature$1 as verifySignature } from "./sig/ld.js";
|
35
36
|
import { CreateProofOptions, SignObjectOptions, VerifyObjectOptions, VerifyProofOptions, createProof$1 as createProof, signObject$1 as signObject, verifyObject$1 as verifyObject, verifyProof$1 as verifyProof } from "./sig/proof.js";
|
36
|
-
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
37
|
+
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { assertArg
|
5
|
+
import { assertArg } from "../_common/from_file_url.js";
|
6
6
|
|
7
7
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js
|
8
8
|
/**
|
package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { isPosixPathSeparator } from "./_util.js";
|
6
|
-
import { assertArg } from "../_common/normalize.js";
|
6
|
+
import { assertArg$2 as assertArg } from "../_common/normalize.js";
|
7
7
|
import { normalizeString } from "../_common/normalize_string.js";
|
8
8
|
|
9
9
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { assertArg
|
5
|
+
import { assertArg } from "../_common/from_file_url.js";
|
6
6
|
|
7
7
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js
|
8
8
|
/**
|