@fedify/fedify 1.9.0-pr.407.1541 → 1.9.0-pr.422.1611
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{actor-Ci9FEnz7.js → actor-CQcnE2eD.js} +191 -190
- package/dist/{actor-CgxU5g3T.js → actor-w1cV9Grx.js} +1 -1
- package/dist/{authdocloader-C1mRjUL0.js → authdocloader-6gt_dhUR.js} +3 -3
- package/dist/{authdocloader-BzYD_FmX.js → authdocloader-C3ojyRQv.js} +3 -3
- package/dist/{builder-BA9imTs-.js → builder-DK8XjK0i.js} +4 -4
- package/dist/{client-a0QdQSaG.js → client-C5-9GNax.js} +1 -1
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{docloader-B1FKn22p.js → docloader-BDPw5KUz.js} +1 -1
- package/dist/{esm-BnTQrd7h.js → esm-DM_EMlXn.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-BJUVXM-v.js → http-BgI3uCGc.js} +3 -3
- package/dist/{http-_F1-otnG.js → http-Cu9O_TKU.js} +4 -4
- package/dist/{inbox-BdmFE-7t.js → inbox-ifz0UbeE.js} +1 -1
- package/dist/{key-MAzA0B5q.js → key-BvTMeH2-.js} +4 -4
- package/dist/{key-BwUPZ9c4.js → key-C906WEXk.js} +3 -3
- package/dist/{key-BjMZVyIc.js → key-CLdw99lq.js} +2 -2
- package/dist/{key-6mpld0vV.js → key-qbJ3-hkq.js} +2 -2
- package/dist/{keycache-C6v3brY3.js → keycache-B8MKwei6.js} +1 -1
- package/dist/{keys-C4_uagjj.js → keys-C4JJoR-E.js} +1 -1
- package/dist/{ld-DjtcmRNX.js → ld-lLmyhaDD.js} +4 -4
- package/dist/{lookup-BacM-mU2.js → lookup-Db3nBeu4.js} +1 -1
- package/dist/{lookup-CHXemfKP.js → lookup-l_Al06m6.js} +1 -1
- package/dist/{middleware-Chvh9WwC.js → middleware-B5C2Mtd-.js} +27 -27
- package/dist/middleware-BxJwmuTe.js +17 -0
- package/dist/{middleware-D229H6sF.js → middleware-BzfNLfcI.js} +24 -24
- package/dist/middleware-D5geGqsp.js +26 -0
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-C_Ovx3OW.js → owner-Ct-B3aj3.js} +2 -2
- package/dist/{proof-DsTmMO9a.js → proof-CASIySM5.js} +3 -3
- package/dist/{proof-Cn9ubQ_4.js → proof-DJ0ciDnu.js} +6 -6
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-B_t14nZe.js → send-ZxuNvMTD.js} +2 -2
- package/dist/sig/http.test.js +9 -9
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-BWnZ_sj_.js → testing-BJorIF2K.js} +2 -2
- package/dist/{type-B8vENQVR.js → type-DBo6drNT.js} +190 -189
- package/dist/{types-vtD95MgU.js → types-DebvIGYM.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-BQIHm1R2.js → vocab-DpT6Xqnd.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/package.json +1 -1
- package/dist/middleware-BmxFy3Oa.js +0 -17
- package/dist/middleware-DJi4jhq9.js +0 -26
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { UrlError, deno_default, getUserAgent, validatePublicUrl } from "./docloader-
|
5
|
+
import { UrlError, deno_default, getUserAgent, validatePublicUrl } from "./docloader-BDPw5KUz.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
8
8
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Object as Object$1, deno_default, getDocumentLoader, getTypeId, lookupWebFinger } from "./type-
|
6
|
+
import { Object as Object$1, deno_default, getDocumentLoader, getTypeId, lookupWebFinger } from "./type-DBo6drNT.js";
|
7
7
|
import { cloneDeep, delay } from "es-toolkit";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
@@ -3,22 +3,22 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, deno_default, getDocumentLoader, getTypeId, kvCache, lookupWebFinger } from "./type-
|
7
|
-
import { getNodeInfo } from "./client-
|
8
|
-
import { RouterError, lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, deno_default, getDocumentLoader, getTypeId, kvCache, lookupWebFinger } from "./type-DBo6drNT.js";
|
7
|
+
import { getNodeInfo } from "./client-C5-9GNax.js";
|
8
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-l_Al06m6.js";
|
9
9
|
import { nodeInfoToJson } from "./types-BIgY6c-l.js";
|
10
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
11
|
-
import { verifyRequest } from "./http-
|
12
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
13
|
-
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-
|
14
|
-
import { doesActorOwnKey, getKeyOwner } from "./owner-
|
15
|
-
import { signObject, verifyObject } from "./proof-
|
16
|
-
import { routeActivity } from "./inbox-
|
17
|
-
import { FederationBuilderImpl } from "./builder-
|
10
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-CLdw99lq.js";
|
11
|
+
import { verifyRequest } from "./http-BgI3uCGc.js";
|
12
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-C3ojyRQv.js";
|
13
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-lLmyhaDD.js";
|
14
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-Ct-B3aj3.js";
|
15
|
+
import { signObject, verifyObject } from "./proof-CASIySM5.js";
|
16
|
+
import { routeActivity } from "./inbox-ifz0UbeE.js";
|
17
|
+
import { FederationBuilderImpl } from "./builder-DK8XjK0i.js";
|
18
18
|
import { buildCollectionSynchronizationHeader } from "./collection-CSzG2j1P.js";
|
19
|
-
import { KvKeyCache } from "./keycache-
|
19
|
+
import { KvKeyCache } from "./keycache-B8MKwei6.js";
|
20
20
|
import { createExponentialBackoffPolicy } from "./retry-D4GJ670a.js";
|
21
|
-
import { extractInboxes, sendActivity } from "./send-
|
21
|
+
import { extractInboxes, sendActivity } from "./send-ZxuNvMTD.js";
|
22
22
|
import { getLogger, withContext } from "@logtape/logtape";
|
23
23
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
24
24
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_HTTP_RESPONSE_HEADER, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -2542,15 +2542,16 @@ var ContextImpl = class ContextImpl {
|
|
2542
2542
|
"actor"
|
2543
2543
|
]);
|
2544
2544
|
if (this.federation.actorCallbacks?.keyPairsDispatcher == null) throw new Error("No actor key pairs dispatcher registered.");
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
})
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2545
|
+
let actorUri;
|
2546
|
+
try {
|
2547
|
+
actorUri = this.getActorUri(identifier);
|
2548
|
+
} catch (error) {
|
2549
|
+
if (error instanceof RouterError) {
|
2550
|
+
logger$2.warn(error.message);
|
2551
|
+
return [];
|
2552
|
+
}
|
2553
|
+
throw error;
|
2552
2554
|
}
|
2553
|
-
const actorUri = new URL(path, this.canonicalOrigin);
|
2554
2555
|
const keyPairs = await this.federation.actorCallbacks?.keyPairsDispatcher(new ContextImpl({
|
2555
2556
|
...this,
|
2556
2557
|
invokedFromActorKeyPairsDispatcher: { identifier }
|
@@ -2711,12 +2712,11 @@ var ContextImpl = class ContextImpl {
|
|
2711
2712
|
if (identifier == null) throw new Error("If recipients is \"followers\", sender must be an actor identifier or username.");
|
2712
2713
|
expandedRecipients = [];
|
2713
2714
|
for await (const recipient of this.getFollowers(identifier)) expandedRecipients.push(recipient);
|
2714
|
-
if (options.syncCollection) {
|
2715
|
-
|
2716
|
-
|
2717
|
-
|
2718
|
-
|
2719
|
-
opts.collectionSync = collectionId == null ? void 0 : new URL(collectionId, this.canonicalOrigin).href;
|
2715
|
+
if (options.syncCollection) try {
|
2716
|
+
opts.collectionSync = this.getFollowersUri(identifier).href;
|
2717
|
+
} catch (error) {
|
2718
|
+
if (error instanceof RouterError) opts.collectionSync = void 0;
|
2719
|
+
else throw error;
|
2720
2720
|
}
|
2721
2721
|
} else expandedRecipients = [recipients];
|
2722
2722
|
span.setAttribute("activitypub.inboxes", expandedRecipients.length);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
|
+
import "./transformers-Dna8Fg7k.js";
|
6
|
+
import "./docloader-BDPw5KUz.js";
|
7
|
+
import "./actor-CQcnE2eD.js";
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BzfNLfcI.js";
|
9
|
+
import "./lookup-Db3nBeu4.js";
|
10
|
+
import "./key-qbJ3-hkq.js";
|
11
|
+
import "./http-Cu9O_TKU.js";
|
12
|
+
import "./proof-DJ0ciDnu.js";
|
13
|
+
import "./types-DebvIGYM.js";
|
14
|
+
import "./authdocloader-6gt_dhUR.js";
|
15
|
+
import "./vocab-DpT6Xqnd.js";
|
16
|
+
|
17
|
+
export { FederationImpl };
|
@@ -3,15 +3,15 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { getDefaultActivityTransformers } from "./transformers-Dna8Fg7k.js";
|
6
|
-
import { deno_default, getDocumentLoader, kvCache } from "./docloader-
|
7
|
-
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
9
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
10
|
-
import { doubleKnock, verifyRequest } from "./http-
|
11
|
-
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-
|
12
|
-
import { getNodeInfo, nodeInfoToJson } from "./types-
|
13
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
14
|
-
import { lookupObject, traverseCollection } from "./vocab-
|
6
|
+
import { deno_default, getDocumentLoader, kvCache } from "./docloader-BDPw5KUz.js";
|
7
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-CQcnE2eD.js";
|
8
|
+
import { lookupWebFinger } from "./lookup-Db3nBeu4.js";
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-qbJ3-hkq.js";
|
10
|
+
import { doubleKnock, verifyRequest } from "./http-Cu9O_TKU.js";
|
11
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-DJ0ciDnu.js";
|
12
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-DebvIGYM.js";
|
13
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-6gt_dhUR.js";
|
14
|
+
import { lookupObject, traverseCollection } from "./vocab-DpT6Xqnd.js";
|
15
15
|
import { getLogger, withContext } from "@logtape/logtape";
|
16
16
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
17
17
|
import { encodeHex } from "byte-encodings/hex";
|
@@ -321,7 +321,7 @@ var FederationBuilderImpl = class {
|
|
321
321
|
this.collectionTypeIds = {};
|
322
322
|
}
|
323
323
|
async build(options) {
|
324
|
-
const { FederationImpl: FederationImpl$1 } = await import("./middleware-
|
324
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware-BxJwmuTe.js");
|
325
325
|
const f = new FederationImpl$1(options);
|
326
326
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
327
327
|
f.router = this.router.clone();
|
@@ -3486,15 +3486,16 @@ var ContextImpl = class ContextImpl {
|
|
3486
3486
|
"actor"
|
3487
3487
|
]);
|
3488
3488
|
if (this.federation.actorCallbacks?.keyPairsDispatcher == null) throw new Error("No actor key pairs dispatcher registered.");
|
3489
|
-
|
3490
|
-
|
3491
|
-
|
3492
|
-
})
|
3493
|
-
|
3494
|
-
|
3495
|
-
|
3489
|
+
let actorUri;
|
3490
|
+
try {
|
3491
|
+
actorUri = this.getActorUri(identifier);
|
3492
|
+
} catch (error) {
|
3493
|
+
if (error instanceof RouterError) {
|
3494
|
+
logger$1.warn(error.message);
|
3495
|
+
return [];
|
3496
|
+
}
|
3497
|
+
throw error;
|
3496
3498
|
}
|
3497
|
-
const actorUri = new URL(path, this.canonicalOrigin);
|
3498
3499
|
const keyPairs = await this.federation.actorCallbacks?.keyPairsDispatcher(new ContextImpl({
|
3499
3500
|
...this,
|
3500
3501
|
invokedFromActorKeyPairsDispatcher: { identifier }
|
@@ -3655,12 +3656,11 @@ var ContextImpl = class ContextImpl {
|
|
3655
3656
|
if (identifier == null) throw new Error("If recipients is \"followers\", sender must be an actor identifier or username.");
|
3656
3657
|
expandedRecipients = [];
|
3657
3658
|
for await (const recipient of this.getFollowers(identifier)) expandedRecipients.push(recipient);
|
3658
|
-
if (options.syncCollection) {
|
3659
|
-
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
opts.collectionSync = collectionId == null ? void 0 : new URL(collectionId, this.canonicalOrigin).href;
|
3659
|
+
if (options.syncCollection) try {
|
3660
|
+
opts.collectionSync = this.getFollowersUri(identifier).href;
|
3661
|
+
} catch (error) {
|
3662
|
+
if (error instanceof RouterError) opts.collectionSync = void 0;
|
3663
|
+
else throw error;
|
3664
3664
|
}
|
3665
3665
|
} else expandedRecipients = [recipients];
|
3666
3666
|
span.setAttribute("activitypub.inboxes", expandedRecipients.length);
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
globalThis.addEventListener = () => {};
|
5
|
+
|
6
|
+
import "./type-DBo6drNT.js";
|
7
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-B5C2Mtd-.js";
|
8
|
+
import "./semver-dArNLkR9.js";
|
9
|
+
import "./client-C5-9GNax.js";
|
10
|
+
import "./lookup-l_Al06m6.js";
|
11
|
+
import "./types-BIgY6c-l.js";
|
12
|
+
import "./actor-w1cV9Grx.js";
|
13
|
+
import "./key-CLdw99lq.js";
|
14
|
+
import "./http-BgI3uCGc.js";
|
15
|
+
import "./authdocloader-C3ojyRQv.js";
|
16
|
+
import "./ld-lLmyhaDD.js";
|
17
|
+
import "./owner-Ct-B3aj3.js";
|
18
|
+
import "./proof-CASIySM5.js";
|
19
|
+
import "./inbox-ifz0UbeE.js";
|
20
|
+
import "./builder-DK8XjK0i.js";
|
21
|
+
import "./collection-CSzG2j1P.js";
|
22
|
+
import "./keycache-B8MKwei6.js";
|
23
|
+
import "./retry-D4GJ670a.js";
|
24
|
+
import "./send-ZxuNvMTD.js";
|
25
|
+
|
26
|
+
export { FederationImpl };
|
package/dist/mod.js
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-Dna8Fg7k.js";
|
6
6
|
import "./compat-Bb5myD13.js";
|
7
|
-
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-
|
8
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-
|
9
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-
|
10
|
-
import { lookupWebFinger } from "./lookup-
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-
|
12
|
-
import { signRequest, verifyRequest } from "./http-
|
13
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-
|
7
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-BDPw5KUz.js";
|
8
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-CQcnE2eD.js";
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-BzfNLfcI.js";
|
10
|
+
import { lookupWebFinger } from "./lookup-Db3nBeu4.js";
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-qbJ3-hkq.js";
|
12
|
+
import { signRequest, verifyRequest } from "./http-Cu9O_TKU.js";
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-DJ0ciDnu.js";
|
14
14
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-CMX7WzeL.js";
|
15
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-
|
16
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
17
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-
|
15
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-DebvIGYM.js";
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-6gt_dhUR.js";
|
17
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-DpT6Xqnd.js";
|
18
18
|
import "./nodeinfo-CyEbLjHs.js";
|
19
19
|
import "./runtime-BSkOVUWM.js";
|
20
20
|
import "./sig-BXJO--F9.js";
|
@@ -3,20 +3,20 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-DBo6drNT.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
10
|
import "../semver-dArNLkR9.js";
|
11
|
-
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-
|
12
|
-
import "../lookup-
|
13
|
-
import { test } from "../testing-
|
11
|
+
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-C5-9GNax.js";
|
12
|
+
import "../lookup-l_Al06m6.js";
|
13
|
+
import { test } from "../testing-BJorIF2K.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
17
17
|
import "../assert_not_equals-f3m3epl3.js";
|
18
18
|
import "../assert_throws-BOO88avQ.js";
|
19
|
-
import { esm_default } from "../esm-
|
19
|
+
import { esm_default } from "../esm-DM_EMlXn.js";
|
20
20
|
|
21
21
|
//#region src/nodeinfo/client.test.ts
|
22
22
|
test("getNodeInfo()", async (t) => {
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-DBo6drNT.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
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
11
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-B5C2Mtd-.js";
|
12
12
|
import { parseSemVer } from "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-C5-9GNax.js";
|
14
|
+
import "../lookup-l_Al06m6.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import "../http-
|
19
|
-
import "../authdocloader-
|
20
|
-
import "../ld-
|
21
|
-
import "../owner-
|
22
|
-
import "../proof-
|
23
|
-
import "../inbox-
|
24
|
-
import "../builder-
|
16
|
+
import "../actor-w1cV9Grx.js";
|
17
|
+
import "../key-CLdw99lq.js";
|
18
|
+
import "../http-BgI3uCGc.js";
|
19
|
+
import "../authdocloader-C3ojyRQv.js";
|
20
|
+
import "../ld-lLmyhaDD.js";
|
21
|
+
import "../owner-Ct-B3aj3.js";
|
22
|
+
import "../proof-CASIySM5.js";
|
23
|
+
import "../inbox-ifz0UbeE.js";
|
24
|
+
import "../builder-DK8XjK0i.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-B8MKwei6.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-ZxuNvMTD.js";
|
29
|
+
import { createRequestContext, test } from "../testing-BJorIF2K.js";
|
30
30
|
import "../std__assert-X-_kMxKM.js";
|
31
31
|
import "../assert_rejects-DiIiJbZn.js";
|
32
32
|
import "../assert_is_error-BPGph1Jx.js";
|
package/dist/nodeinfo/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 "../docloader-
|
6
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-
|
5
|
+
import "../docloader-BDPw5KUz.js";
|
6
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-DebvIGYM.js";
|
7
7
|
import "../nodeinfo-CyEbLjHs.js";
|
8
8
|
|
9
9
|
export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-DBo6drNT.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
10
|
import { formatSemVer, parseSemVer } from "../semver-dArNLkR9.js";
|
11
|
-
import "../lookup-
|
12
|
-
import { test } from "../testing-
|
11
|
+
import "../lookup-l_Al06m6.js";
|
12
|
+
import { test } from "../testing-BJorIF2K.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-DBo6drNT.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
10
|
import "../semver-dArNLkR9.js";
|
11
|
-
import "../lookup-
|
11
|
+
import "../lookup-l_Al06m6.js";
|
12
12
|
import { nodeInfoToJson } from "../types-BIgY6c-l.js";
|
13
|
-
import { test } from "../testing-
|
13
|
+
import { test } from "../testing-BJorIF2K.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Object as Object$1, getDocumentLoader } from "./type-
|
7
|
-
import { isActor } from "./actor-
|
6
|
+
import { CryptographicKey, Object as Object$1, getDocumentLoader } from "./type-DBo6drNT.js";
|
7
|
+
import { isActor } from "./actor-w1cV9Grx.js";
|
8
8
|
import { trace } from "@opentelemetry/api";
|
9
9
|
|
10
10
|
//#region src/sig/owner.ts
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./type-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { Activity, DataIntegrityProof, Multikey, deno_default, getTypeId } from "./type-DBo6drNT.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CLdw99lq.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|
@@ -195,7 +195,7 @@ async function verifyProofInternal(jsonLd, proof, options) {
|
|
195
195
|
});
|
196
196
|
return null;
|
197
197
|
}
|
198
|
-
const verified = await crypto.subtle.verify("Ed25519", publicKey.publicKey, proof.proofValue, digest);
|
198
|
+
const verified = await crypto.subtle.verify("Ed25519", publicKey.publicKey, proof.proofValue.slice(), digest);
|
199
199
|
if (!verified) {
|
200
200
|
if (fetchedKey.cached) {
|
201
201
|
logger.debug("Failed to verify the proof with the cached key {keyId}; retrying with the freshly fetched key...", {
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
6
|
-
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-BDPw5KUz.js";
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-CQcnE2eD.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-qbJ3-hkq.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import jsonld from "jsonld";
|
@@ -183,7 +183,7 @@ async function verifySignature(jsonLd, options = {}) {
|
|
183
183
|
const encoder = new TextEncoder();
|
184
184
|
const message = sigOptsHash + docHash;
|
185
185
|
const messageBytes = encoder.encode(message);
|
186
|
-
const verified = await crypto.subtle.verify("RSASSA-PKCS1-v1_5", key.publicKey, signature, messageBytes);
|
186
|
+
const verified = await crypto.subtle.verify("RSASSA-PKCS1-v1_5", key.publicKey, signature.slice(), messageBytes);
|
187
187
|
if (verified) return key;
|
188
188
|
if (cached) {
|
189
189
|
logger$1.debug("Failed to verify with the cached key {keyId}; signature {signatureValue} is invalid. Retrying with the freshly fetched key...", {
|
@@ -198,7 +198,7 @@ async function verifySignature(jsonLd, options = {}) {
|
|
198
198
|
}
|
199
199
|
});
|
200
200
|
if (key$1 == null) return null;
|
201
|
-
const verified$1 = await crypto.subtle.verify("RSASSA-PKCS1-v1_5", key$1.publicKey, signature, messageBytes);
|
201
|
+
const verified$1 = await crypto.subtle.verify("RSASSA-PKCS1-v1_5", key$1.publicKey, signature.slice(), messageBytes);
|
202
202
|
return verified$1 ? key$1 : null;
|
203
203
|
}
|
204
204
|
logger$1.debug("Failed to verify with the fetched key {keyId}; signature {signatureValue} is invalid. Check if the key is correct or if the signed message is correct. The message to sign is:\n{message}", {
|
@@ -529,7 +529,7 @@ async function verifyProofInternal(jsonLd, proof, options) {
|
|
529
529
|
});
|
530
530
|
return null;
|
531
531
|
}
|
532
|
-
const verified = await crypto.subtle.verify("Ed25519", publicKey.publicKey, proof.proofValue, digest);
|
532
|
+
const verified = await crypto.subtle.verify("Ed25519", publicKey.publicKey, proof.proofValue.slice(), digest);
|
533
533
|
if (!verified) {
|
534
534
|
if (fetchedKey.cached) {
|
535
535
|
logger.debug("Failed to verify the proof with the cached key {keyId}; retrying with the freshly fetched key...", {
|
@@ -3,23 +3,23 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { UrlError } from "../type-
|
6
|
+
import { UrlError } from "../type-DBo6drNT.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 "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { verifyRequest } from "../http-
|
14
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
15
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-l_Al06m6.js";
|
11
|
+
import "../actor-w1cV9Grx.js";
|
12
|
+
import "../key-CLdw99lq.js";
|
13
|
+
import { verifyRequest } from "../http-BgI3uCGc.js";
|
14
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-C3ojyRQv.js";
|
15
|
+
import { mockDocumentLoader, test } from "../testing-BJorIF2K.js";
|
16
16
|
import "../std__assert-X-_kMxKM.js";
|
17
17
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
18
18
|
import "../assert_is_error-BPGph1Jx.js";
|
19
19
|
import "../assert_not_equals-f3m3epl3.js";
|
20
20
|
import "../assert_throws-BOO88avQ.js";
|
21
|
-
import { rsaPrivateKey2 } from "../keys-
|
22
|
-
import { esm_default } from "../esm-
|
21
|
+
import { rsaPrivateKey2 } from "../keys-C4JJoR-E.js";
|
22
|
+
import { esm_default } from "../esm-DM_EMlXn.js";
|
23
23
|
|
24
24
|
//#region src/runtime/authdocloader.test.ts
|
25
25
|
test("getAuthenticatedDocumentLoader()", async (t) => {
|
@@ -3,19 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { FetchError, UrlError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../type-
|
6
|
+
import { FetchError, UrlError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../type-DBo6drNT.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
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import "../lookup-
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
11
|
+
import "../lookup-l_Al06m6.js";
|
12
|
+
import { mockDocumentLoader, test } from "../testing-BJorIF2K.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
16
16
|
import "../assert_not_equals-f3m3epl3.js";
|
17
17
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
18
|
-
import { esm_default } from "../esm-
|
18
|
+
import { esm_default } from "../esm-DM_EMlXn.js";
|
19
19
|
import process from "node:process";
|
20
20
|
|
21
21
|
//#region src/runtime/docloader.test.ts
|
package/dist/runtime/key.test.js
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../type-
|
6
|
+
import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../type-DBo6drNT.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 "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import { exportJwk, importJwk } from "../key-
|
13
|
-
import { test } from "../testing-
|
10
|
+
import "../lookup-l_Al06m6.js";
|
11
|
+
import "../actor-w1cV9Grx.js";
|
12
|
+
import { exportJwk, importJwk } from "../key-CLdw99lq.js";
|
13
|
+
import { test } from "../testing-BJorIF2K.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { LanguageString } from "../type-
|
6
|
+
import { LanguageString } from "../type-DBo6drNT.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 "../lookup-
|
11
|
-
import { test } from "../testing-
|
10
|
+
import "../lookup-l_Al06m6.js";
|
11
|
+
import { test } from "../testing-BJorIF2K.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
package/dist/runtime/mod.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 { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
6
|
-
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import "../key-
|
9
|
-
import "../http-
|
10
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
5
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-BDPw5KUz.js";
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-CQcnE2eD.js";
|
7
|
+
import "../lookup-Db3nBeu4.js";
|
8
|
+
import "../key-qbJ3-hkq.js";
|
9
|
+
import "../http-Cu9O_TKU.js";
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-6gt_dhUR.js";
|
11
11
|
import "../runtime-BSkOVUWM.js";
|
12
12
|
|
13
13
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { codes, decode, decodeText, encode, encodeText, names } from "../../type-
|
6
|
+
import { codes, decode, decodeText, encode, encodeText, names } from "../../type-DBo6drNT.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 "../../lookup-
|
11
|
-
import { test } from "../../testing-
|
10
|
+
import "../../lookup-l_Al06m6.js";
|
11
|
+
import { test } from "../../testing-BJorIF2K.js";
|
12
12
|
import "../../std__assert-X-_kMxKM.js";
|
13
13
|
import "../../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../../assert_is_error-BPGph1Jx.js";
|
package/dist/runtime/url.test.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-
|
6
|
+
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-DBo6drNT.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
|
-
import "../lookup-
|
10
|
-
import { test } from "../testing-
|
9
|
+
import "../lookup-l_Al06m6.js";
|
10
|
+
import { test } from "../testing-BJorIF2K.js";
|
11
11
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
12
12
|
import "../assert_is_error-BPGph1Jx.js";
|
13
13
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./type-
|
7
|
-
import { doubleKnock } from "./http-
|
6
|
+
import { deno_default } from "./type-DBo6drNT.js";
|
7
|
+
import { doubleKnock } from "./http-BgI3uCGc.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|