@fedify/fedify 1.8.1-pr.345.1242 → 1.8.1-pr.345.1244
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-B39lYnX3.js → actor-BYMh4ydU.js} +179 -179
- package/dist/{actor-DnuE6b4a.js → actor-BlvUHMS0.js} +1 -1
- package/dist/{authdocloader-CHgw2yhk.js → authdocloader-BmI2WLAU.js} +3 -3
- package/dist/{authdocloader-BQRuXOI2.js → authdocloader-sKd9xPzN.js} +3 -3
- package/dist/{builder-Cl8RkrKx.js → builder-Bh9JYzwp.js} +4 -4
- package/dist/{client-dOHIp41H.js → client-DkQbBEWU.js} +1 -1
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{docloader-D6Uqbv0z.js → docloader-CEKaC6c8.js} +1 -1
- package/dist/{esm-CRulW_NX.js → esm-DaGR1hCq.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-D-GcIzmX.js → http-CRleyeng.js} +2 -2
- package/dist/{http-DglTx-hX.js → http-CkCCS8UW.js} +3 -3
- package/dist/{inbox-njNt3XAd.js → inbox-DLOhHwWg.js} +1 -1
- package/dist/{key-DaGjCCj2.js → key-5Uasd8M8.js} +2 -2
- package/dist/{key-CRqqRNsV.js → key-CijpFZhV.js} +4 -4
- package/dist/{key-BDLZFAur.js → key-Cyw0IMrH.js} +3 -3
- package/dist/{key-2ntNcB_M.js → key-D-CVje2Q.js} +2 -2
- package/dist/{keycache-BhJj1SJT.js → keycache-BcF-dMc2.js} +1 -1
- package/dist/{keys-Cwh7YiNv.js → keys-Cx8S4Hbi.js} +1 -1
- package/dist/{ld-CQA0wf4E.js → ld-UrrbHgW9.js} +2 -2
- package/dist/{lookup-HTdzv4_q.js → lookup-C0z9H2oB.js} +1 -1
- package/dist/{lookup-TZkO3b0U.js → lookup-Do21hveO.js} +1 -1
- package/dist/{middleware-Cnx4DMb3.js → middleware-B8HxBUfw.js} +10 -10
- package/dist/middleware-BRI2mW8o.js +26 -0
- package/dist/{middleware-CBGn8kn-.js → middleware-DWEnT0WJ.js} +13 -13
- package/dist/middleware-oyMtxl72.js +17 -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-b4Lnse.js → owner-_a8fD5Sv.js} +2 -2
- package/dist/{proof-Dv4PRmzD.js → proof-BoffpbZe.js} +2 -2
- package/dist/{proof-BzJUkewQ.js → proof-D7_WvvgJ.js} +3 -3
- 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-DOMrxIhZ.js → send-Cwvmse8D.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- 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-BKMqZaFp.js → testing-CSNktDiF.js} +2 -2
- package/dist/{type-DNhOW7sT.js → type-B3bQOwZo.js} +178 -178
- package/dist/{types-DHMijtOW.js → types-BIwfRwEJ.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-D50OWLfH.js → vocab-BZM542rm.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-BFBFFZrB.js +0 -17
- package/dist/middleware-lSRBYP-I.js +0 -26
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
5
|
import { getDefaultActivityTransformers } from "./transformers-DJRB0yFF.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-CEKaC6c8.js";
|
|
7
|
+
import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-BYMh4ydU.js";
|
|
8
|
+
import { lookupWebFinger } from "./lookup-Do21hveO.js";
|
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-D-CVje2Q.js";
|
|
10
|
+
import { doubleKnock, verifyRequest } from "./http-CkCCS8UW.js";
|
|
11
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-D7_WvvgJ.js";
|
|
12
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-BIwfRwEJ.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-sKd9xPzN.js";
|
|
14
|
+
import { lookupObject, traverseCollection } from "./vocab-BZM542rm.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";
|
|
@@ -320,7 +320,7 @@ var FederationBuilderImpl = class {
|
|
|
320
320
|
this.collectionTypeIds = {};
|
|
321
321
|
}
|
|
322
322
|
async build(options) {
|
|
323
|
-
const { FederationImpl: FederationImpl$1 } = await import("./middleware-
|
|
323
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware-oyMtxl72.js");
|
|
324
324
|
const f = new FederationImpl$1(options);
|
|
325
325
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
326
326
|
f.router = this.router.clone();
|
|
@@ -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-B3bQOwZo.js";
|
|
7
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DWEnT0WJ.js";
|
|
8
|
+
import "./semver-DCqorrj5.js";
|
|
9
|
+
import "./client-DkQbBEWU.js";
|
|
10
|
+
import "./lookup-C0z9H2oB.js";
|
|
11
|
+
import "./types-n7HI7VFr.js";
|
|
12
|
+
import "./actor-BlvUHMS0.js";
|
|
13
|
+
import "./key-5Uasd8M8.js";
|
|
14
|
+
import "./http-CRleyeng.js";
|
|
15
|
+
import "./authdocloader-BmI2WLAU.js";
|
|
16
|
+
import "./ld-UrrbHgW9.js";
|
|
17
|
+
import "./owner-_a8fD5Sv.js";
|
|
18
|
+
import "./proof-BoffpbZe.js";
|
|
19
|
+
import "./inbox-DLOhHwWg.js";
|
|
20
|
+
import "./builder-Bh9JYzwp.js";
|
|
21
|
+
import "./collection-D5V3UzU3.js";
|
|
22
|
+
import "./keycache-BcF-dMc2.js";
|
|
23
|
+
import "./retry-BnpVRGFC.js";
|
|
24
|
+
import "./send-Cwvmse8D.js";
|
|
25
|
+
|
|
26
|
+
export { FederationImpl };
|
|
@@ -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-B3bQOwZo.js";
|
|
7
|
+
import { getNodeInfo } from "./client-DkQbBEWU.js";
|
|
8
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-C0z9H2oB.js";
|
|
9
9
|
import { nodeInfoToJson } from "./types-n7HI7VFr.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-5Uasd8M8.js";
|
|
11
|
+
import { verifyRequest } from "./http-CRleyeng.js";
|
|
12
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-BmI2WLAU.js";
|
|
13
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-UrrbHgW9.js";
|
|
14
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-_a8fD5Sv.js";
|
|
15
|
+
import { signObject, verifyObject } from "./proof-BoffpbZe.js";
|
|
16
|
+
import { routeActivity } from "./inbox-DLOhHwWg.js";
|
|
17
|
+
import { FederationBuilderImpl } from "./builder-Bh9JYzwp.js";
|
|
18
18
|
import { buildCollectionSynchronizationHeader } from "./collection-D5V3UzU3.js";
|
|
19
|
-
import { KvKeyCache } from "./keycache-
|
|
19
|
+
import { KvKeyCache } from "./keycache-BcF-dMc2.js";
|
|
20
20
|
import { createExponentialBackoffPolicy } from "./retry-BnpVRGFC.js";
|
|
21
|
-
import { extractInboxes, sendActivity } from "./send-
|
|
21
|
+
import { extractInboxes, sendActivity } from "./send-Cwvmse8D.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";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
|
|
5
|
+
import "./transformers-DJRB0yFF.js";
|
|
6
|
+
import "./docloader-CEKaC6c8.js";
|
|
7
|
+
import "./actor-BYMh4ydU.js";
|
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-B8HxBUfw.js";
|
|
9
|
+
import "./lookup-Do21hveO.js";
|
|
10
|
+
import "./key-D-CVje2Q.js";
|
|
11
|
+
import "./http-CkCCS8UW.js";
|
|
12
|
+
import "./proof-D7_WvvgJ.js";
|
|
13
|
+
import "./types-BIwfRwEJ.js";
|
|
14
|
+
import "./authdocloader-sKd9xPzN.js";
|
|
15
|
+
import "./vocab-BZM542rm.js";
|
|
16
|
+
|
|
17
|
+
export { FederationImpl };
|
package/dist/mod.js
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-DJRB0yFF.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-CEKaC6c8.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-BYMh4ydU.js";
|
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-B8HxBUfw.js";
|
|
10
|
+
import { lookupWebFinger } from "./lookup-Do21hveO.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-D-CVje2Q.js";
|
|
12
|
+
import { signRequest, verifyRequest } from "./http-CkCCS8UW.js";
|
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-D7_WvvgJ.js";
|
|
14
14
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-C44ekWNP.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-BIwfRwEJ.js";
|
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-sKd9xPzN.js";
|
|
17
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-BZM542rm.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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
10
|
import "../semver-DCqorrj5.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-DkQbBEWU.js";
|
|
12
|
+
import "../lookup-C0z9H2oB.js";
|
|
13
|
+
import { test } from "../testing-CSNktDiF.js";
|
|
14
14
|
import "../std__assert-BQdmxyzF.js";
|
|
15
15
|
import "../assert_rejects-AjlKk-Vo.js";
|
|
16
16
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
17
17
|
import "../assert_not_equals-D2R2nl5h.js";
|
|
18
18
|
import "../assert_throws-CqMKbTh_.js";
|
|
19
|
-
import { esm_default } from "../esm-
|
|
19
|
+
import { esm_default } from "../esm-DaGR1hCq.js";
|
|
20
20
|
|
|
21
21
|
//#region 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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
10
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
11
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
|
11
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-DWEnT0WJ.js";
|
|
12
12
|
import { parseSemVer } from "../semver-DCqorrj5.js";
|
|
13
|
-
import "../client-
|
|
14
|
-
import "../lookup-
|
|
13
|
+
import "../client-DkQbBEWU.js";
|
|
14
|
+
import "../lookup-C0z9H2oB.js";
|
|
15
15
|
import "../types-n7HI7VFr.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-BlvUHMS0.js";
|
|
17
|
+
import "../key-5Uasd8M8.js";
|
|
18
|
+
import "../http-CRleyeng.js";
|
|
19
|
+
import "../authdocloader-BmI2WLAU.js";
|
|
20
|
+
import "../ld-UrrbHgW9.js";
|
|
21
|
+
import "../owner-_a8fD5Sv.js";
|
|
22
|
+
import "../proof-BoffpbZe.js";
|
|
23
|
+
import "../inbox-DLOhHwWg.js";
|
|
24
|
+
import "../builder-Bh9JYzwp.js";
|
|
25
25
|
import "../collection-D5V3UzU3.js";
|
|
26
|
-
import "../keycache-
|
|
26
|
+
import "../keycache-BcF-dMc2.js";
|
|
27
27
|
import "../retry-BnpVRGFC.js";
|
|
28
|
-
import "../send-
|
|
29
|
-
import { createRequestContext, test } from "../testing-
|
|
28
|
+
import "../send-Cwvmse8D.js";
|
|
29
|
+
import { createRequestContext, test } from "../testing-CSNktDiF.js";
|
|
30
30
|
import "../std__assert-BQdmxyzF.js";
|
|
31
31
|
import "../assert_rejects-AjlKk-Vo.js";
|
|
32
32
|
import "../assert_is_error-CeVBLPsZ.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-CEKaC6c8.js";
|
|
6
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-BIwfRwEJ.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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
10
|
import { formatSemVer, parseSemVer } from "../semver-DCqorrj5.js";
|
|
11
|
-
import "../lookup-
|
|
12
|
-
import { test } from "../testing-
|
|
11
|
+
import "../lookup-C0z9H2oB.js";
|
|
12
|
+
import { test } from "../testing-CSNktDiF.js";
|
|
13
13
|
import "../std__assert-BQdmxyzF.js";
|
|
14
14
|
import "../assert_rejects-AjlKk-Vo.js";
|
|
15
15
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../type-
|
|
6
|
+
import "../type-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
10
|
import "../semver-DCqorrj5.js";
|
|
11
|
-
import "../lookup-
|
|
11
|
+
import "../lookup-C0z9H2oB.js";
|
|
12
12
|
import { nodeInfoToJson } from "../types-n7HI7VFr.js";
|
|
13
|
-
import { test } from "../testing-
|
|
13
|
+
import { test } from "../testing-CSNktDiF.js";
|
|
14
14
|
import "../std__assert-BQdmxyzF.js";
|
|
15
15
|
import "../assert_rejects-AjlKk-Vo.js";
|
|
16
16
|
import "../assert_is_error-CeVBLPsZ.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-B3bQOwZo.js";
|
|
7
|
+
import { isActor } from "./actor-BlvUHMS0.js";
|
|
8
8
|
import { trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
10
10
|
//#region 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-B3bQOwZo.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-5Uasd8M8.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -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-CEKaC6c8.js";
|
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-BYMh4ydU.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-D-CVje2Q.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import jsonld from "jsonld";
|
|
@@ -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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.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-C0z9H2oB.js";
|
|
11
|
+
import "../actor-BlvUHMS0.js";
|
|
12
|
+
import "../key-5Uasd8M8.js";
|
|
13
|
+
import { verifyRequest } from "../http-CRleyeng.js";
|
|
14
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-BmI2WLAU.js";
|
|
15
|
+
import { mockDocumentLoader, test } from "../testing-CSNktDiF.js";
|
|
16
16
|
import "../std__assert-BQdmxyzF.js";
|
|
17
17
|
import { assertRejects } from "../assert_rejects-AjlKk-Vo.js";
|
|
18
18
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
19
19
|
import "../assert_not_equals-D2R2nl5h.js";
|
|
20
20
|
import "../assert_throws-CqMKbTh_.js";
|
|
21
|
-
import { rsaPrivateKey2 } from "../keys-
|
|
22
|
-
import { esm_default } from "../esm-
|
|
21
|
+
import { rsaPrivateKey2 } from "../keys-Cx8S4Hbi.js";
|
|
22
|
+
import { esm_default } from "../esm-DaGR1hCq.js";
|
|
23
23
|
|
|
24
24
|
//#region 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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
10
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
11
|
-
import "../lookup-
|
|
12
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
11
|
+
import "../lookup-C0z9H2oB.js";
|
|
12
|
+
import { mockDocumentLoader, test } from "../testing-CSNktDiF.js";
|
|
13
13
|
import "../std__assert-BQdmxyzF.js";
|
|
14
14
|
import { assertRejects } from "../assert_rejects-AjlKk-Vo.js";
|
|
15
15
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
16
16
|
import "../assert_not_equals-D2R2nl5h.js";
|
|
17
17
|
import { assertThrows } from "../assert_throws-CqMKbTh_.js";
|
|
18
|
-
import { esm_default } from "../esm-
|
|
18
|
+
import { esm_default } from "../esm-DaGR1hCq.js";
|
|
19
19
|
import process from "node:process";
|
|
20
20
|
|
|
21
21
|
//#region 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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../lookup-
|
|
11
|
-
import "../actor-
|
|
12
|
-
import { exportJwk, importJwk } from "../key-
|
|
13
|
-
import { test } from "../testing-
|
|
10
|
+
import "../lookup-C0z9H2oB.js";
|
|
11
|
+
import "../actor-BlvUHMS0.js";
|
|
12
|
+
import { exportJwk, importJwk } from "../key-5Uasd8M8.js";
|
|
13
|
+
import { test } from "../testing-CSNktDiF.js";
|
|
14
14
|
import "../std__assert-BQdmxyzF.js";
|
|
15
15
|
import "../assert_rejects-AjlKk-Vo.js";
|
|
16
16
|
import "../assert_is_error-CeVBLPsZ.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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../lookup-
|
|
11
|
-
import { test } from "../testing-
|
|
10
|
+
import "../lookup-C0z9H2oB.js";
|
|
11
|
+
import { test } from "../testing-CSNktDiF.js";
|
|
12
12
|
import "../std__assert-BQdmxyzF.js";
|
|
13
13
|
import "../assert_rejects-AjlKk-Vo.js";
|
|
14
14
|
import "../assert_is_error-CeVBLPsZ.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-CEKaC6c8.js";
|
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-BYMh4ydU.js";
|
|
7
|
+
import "../lookup-Do21hveO.js";
|
|
8
|
+
import "../key-D-CVje2Q.js";
|
|
9
|
+
import "../http-CkCCS8UW.js";
|
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-sKd9xPzN.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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../../assert-DwEa6glZ.js";
|
|
9
9
|
import "../../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../../lookup-
|
|
11
|
-
import { test } from "../../testing-
|
|
10
|
+
import "../../lookup-C0z9H2oB.js";
|
|
11
|
+
import { test } from "../../testing-CSNktDiF.js";
|
|
12
12
|
import "../../std__assert-BQdmxyzF.js";
|
|
13
13
|
import "../../assert_rejects-AjlKk-Vo.js";
|
|
14
14
|
import "../../assert_is_error-CeVBLPsZ.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-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
9
|
-
import "../lookup-
|
|
10
|
-
import { test } from "../testing-
|
|
9
|
+
import "../lookup-C0z9H2oB.js";
|
|
10
|
+
import { test } from "../testing-CSNktDiF.js";
|
|
11
11
|
import { assertFalse, assertRejects } from "../assert_rejects-AjlKk-Vo.js";
|
|
12
12
|
import "../assert_is_error-CeVBLPsZ.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-B3bQOwZo.js";
|
|
7
|
+
import { doubleKnock } from "./http-CRleyeng.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
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { exportSpki } from "../type-
|
|
6
|
+
import { exportSpki } from "../type-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../lookup-
|
|
11
|
-
import "../actor-
|
|
12
|
-
import { exportJwk } from "../key-
|
|
13
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../lookup-C0z9H2oB.js";
|
|
11
|
+
import "../actor-BlvUHMS0.js";
|
|
12
|
+
import { exportJwk } from "../key-5Uasd8M8.js";
|
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-CRleyeng.js";
|
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CSNktDiF.js";
|
|
15
15
|
import { assertExists, assertStringIncludes } from "../std__assert-BQdmxyzF.js";
|
|
16
16
|
import { assertFalse } from "../assert_rejects-AjlKk-Vo.js";
|
|
17
17
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
18
18
|
import "../assert_not_equals-D2R2nl5h.js";
|
|
19
19
|
import { assertThrows } from "../assert_throws-CqMKbTh_.js";
|
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
|
21
|
-
import { esm_default } from "../esm-
|
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-Cx8S4Hbi.js";
|
|
21
|
+
import { esm_default } from "../esm-DaGR1hCq.js";
|
|
22
22
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
23
23
|
|
|
24
24
|
//#region sig/http.test.ts
|
package/dist/sig/key.test.js
CHANGED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Multikey } from "../type-
|
|
6
|
+
import { CryptographicKey, Multikey } from "../type-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../lookup-
|
|
11
|
-
import "../actor-
|
|
12
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../lookup-C0z9H2oB.js";
|
|
11
|
+
import "../actor-BlvUHMS0.js";
|
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-5Uasd8M8.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CSNktDiF.js";
|
|
14
14
|
import "../std__assert-BQdmxyzF.js";
|
|
15
15
|
import { assertRejects } from "../assert_rejects-AjlKk-Vo.js";
|
|
16
16
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
17
17
|
import "../assert_not_equals-D2R2nl5h.js";
|
|
18
18
|
import { assertThrows } from "../assert_throws-CqMKbTh_.js";
|
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-Cx8S4Hbi.js";
|
|
20
20
|
|
|
21
21
|
//#region sig/key.test.ts
|
|
22
22
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey } from "../type-
|
|
6
|
+
import { CryptographicKey } from "../type-B3bQOwZo.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
9
|
-
import "../lookup-
|
|
10
|
-
import "../actor-
|
|
11
|
-
import { generateCryptoKeyPair } from "../key-
|
|
12
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
9
|
+
import "../lookup-C0z9H2oB.js";
|
|
10
|
+
import "../actor-BlvUHMS0.js";
|
|
11
|
+
import { generateCryptoKeyPair } from "../key-5Uasd8M8.js";
|
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-UrrbHgW9.js";
|
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CSNktDiF.js";
|
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-AjlKk-Vo.js";
|
|
15
15
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
16
16
|
import { assertThrows } from "../assert_throws-CqMKbTh_.js";
|
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Cx8S4Hbi.js";
|
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
19
19
|
|
|
20
20
|
//#region sig/ld.test.ts
|
package/dist/sig/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 "../docloader-
|
|
6
|
-
import "../actor-
|
|
7
|
-
import "../lookup-
|
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-
|
|
9
|
-
import { signRequest, verifyRequest } from "../http-
|
|
10
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
|
5
|
+
import "../docloader-CEKaC6c8.js";
|
|
6
|
+
import "../actor-BYMh4ydU.js";
|
|
7
|
+
import "../lookup-Do21hveO.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-D-CVje2Q.js";
|
|
9
|
+
import { signRequest, verifyRequest } from "../http-CkCCS8UW.js";
|
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-D7_WvvgJ.js";
|
|
11
11
|
import "../sig-BXJO--F9.js";
|
|
12
12
|
|
|
13
13
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|