@fedify/fedify 2.0.0-pr.434.1662 → 2.0.0-pr.435.1667
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-Dd2E4F9C.cjs → actor-C3gJhZJj.cjs} +187 -187
- package/dist/{actor-Dsla85Uq.js → actor-CnVfp1Hp.js} +187 -187
- package/dist/{actor-By5NMImS.js → actor-Cpal85xW.js} +1 -1
- package/dist/{assert_rejects-DiIiJbZn.js → assert_rejects-7UF4R_Qs.js} +1 -1
- package/dist/{assert_throws-BOO88avQ.js → assert_throws-53_pKeP3.js} +1 -1
- package/dist/{authdocloader-B28UEZlz.cjs → authdocloader-DPCGwidE.cjs} +3 -3
- package/dist/{authdocloader-CpmdBiRe.js → authdocloader-DWnwkjvZ.js} +3 -3
- package/dist/{authdocloader-lhbaj4KA.js → authdocloader-Df2BFefL.js} +3 -3
- package/dist/{builder-B6AupxqD.js → builder-CMxichO9.js} +4 -4
- package/dist/{client-KUXReLjS.js → client-BqyuOGiQ.js} +1 -1
- package/dist/compat/mod.d.cts +2 -2
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +17 -18
- package/dist/{context-CQsAT7xk.d.ts → context-CDSZdQHD.d.ts} +1 -0
- package/dist/{context-tVOQ76fi.d.cts → context-Dq8aCtMH.d.cts} +1 -0
- package/dist/{docloader-NJZ5ADV3.cjs → docloader-B1O1Z5OK.cjs} +2 -2
- package/dist/{docloader-ZGKS1Zy-.js → docloader-xJVzq9O0.js} +2 -2
- package/dist/{esm-CIFbziGC.js → esm-BBznxjVc.js} +1 -1
- package/dist/federation/builder.test.js +10 -10
- package/dist/federation/collection.test.js +8 -8
- package/dist/federation/handler.test.js +145 -26
- package/dist/federation/inbox.test.js +6 -6
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +8 -8
- package/dist/federation/middleware.test.js +38 -255
- package/dist/federation/mod.cjs +10 -10
- package/dist/federation/mod.d.cts +1 -1
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +10 -10
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.js +8 -8
- package/dist/federation/send.test.js +15 -15
- package/dist/{http-BqSkbrGv.js → http-CovAm6we.js} +3 -3
- package/dist/{http-DH8DQz2-.cjs → http-Hw9HJp9i.cjs} +3 -3
- package/dist/{http-CCydyMoV.js → http-y7khnX5Q.js} +2 -2
- package/dist/{inbox-DH8TXk1f.js → inbox-DpcYOzs8.js} +1 -1
- package/dist/{key-cn3BcQaB.js → key-BRmlopJL.js} +2 -2
- package/dist/key-CV3FT32G.cjs +10 -0
- package/dist/{key-CYrKbGH0.cjs → key-CzF9SAEI.cjs} +2 -2
- package/dist/{key-B057bXm0.js → key-DORX19Bl.js} +2 -2
- package/dist/{key-3cqchRKs.js → key-jf6dIIF-.js} +3 -3
- package/dist/{key-HjvDY-QJ.js → key-lapZwBwG.js} +4 -4
- package/dist/{keycache-CB_VjDe0.js → keycache-AH1uj1j-.js} +1 -1
- package/dist/{keys-Dz9o2VwW.js → keys-B3fzLXBG.js} +1 -1
- package/dist/{ld-CxJe2x7_.js → ld-D3cq9xO1.js} +2 -2
- package/dist/{lookup-BZzUCUat.cjs → lookup-7u217Q3H.cjs} +1 -1
- package/dist/{lookup-q8DeFAjR.js → lookup-BrhURkmj.js} +1 -1
- package/dist/{lookup-Cc-KXO2K.js → lookup-CfU0DgLr.js} +1 -1
- package/dist/{middleware-DxS7Csvz.js → middleware-BDN7YoYJ.js} +130 -35
- package/dist/middleware-CV-OPMlZ.js +17 -0
- package/dist/middleware-DGqnaAbp.cjs +17 -0
- package/dist/{middleware-BvEwDOJ5.js → middleware-DXWUGrBQ.js} +63 -32
- package/dist/{middleware-DGvzxKjo.cjs → middleware-Gsxukxs5.cjs} +63 -32
- package/dist/middleware-cCdfTTMv.js +25 -0
- package/dist/{mod-DBQAI4v9.d.cts → mod-BhMnAkFX.d.cts} +1 -1
- package/dist/{mod-B26zRlH1.d.ts → mod-RI3-KvUI.d.ts} +1 -1
- package/dist/mod.cjs +10 -10
- package/dist/mod.d.cts +2 -2
- package/dist/mod.d.ts +2 -2
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +10 -10
- package/dist/nodeinfo/handler.test.js +22 -23
- package/dist/nodeinfo/mod.cjs +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/types.test.js +8 -8
- package/dist/{owner-jwXilm3L.js → owner-NFlQJyvM.js} +2 -2
- package/dist/{proof-BE1A6Ct1.js → proof-Be1oOYEh.js} +3 -3
- package/dist/{proof-BzKiLsN7.cjs → proof-Gip91fK7.cjs} +3 -3
- package/dist/{proof-CHi36V0T.js → proof-ar9xgPWi.js} +2 -2
- package/dist/runtime/authdocloader.test.js +14 -14
- package/dist/runtime/docloader.test.js +9 -9
- package/dist/runtime/key.test.js +10 -10
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/link.test.js +3 -3
- package/dist/runtime/mod.cjs +6 -6
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +5 -5
- package/dist/{send-CwVrwo7j.js → send-DkwkMFjJ.js} +2 -2
- package/dist/sig/http.test.js +13 -13
- package/dist/sig/key.test.js +11 -11
- package/dist/sig/ld.test.js +10 -10
- package/dist/sig/mod.cjs +6 -6
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +12 -12
- package/dist/sig/proof.test.js +12 -12
- package/dist/testing/docloader.test.js +8 -8
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-Cqwzq9nj.js → testing-BMBhkcz9.js} +2 -2
- package/dist/{type-BSR-vRXo.js → type-FCer_9yh.js} +187 -187
- package/dist/{types-XMA_ABYQ.js → types-CNWeAz8v.js} +1 -1
- package/dist/{types-zwVAf9LF.cjs → types-CZ_qo9KW.cjs} +1 -1
- package/dist/vocab/actor.test.js +10 -10
- package/dist/vocab/lookup.test.js +9 -9
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +9 -9
- package/dist/{vocab-Bj8iyEkG.cjs → vocab-9MjZjuZb.cjs} +3 -3
- package/dist/{vocab-BlOQWNvd.js → vocab-gpwUU9fc.js} +3 -3
- package/dist/webfinger/handler.test.js +22 -23
- package/dist/webfinger/lookup.test.js +9 -9
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +8 -8
- package/dist/x/hono.d.cts +1 -1
- package/dist/x/hono.d.ts +1 -1
- package/dist/x/sveltekit.d.cts +1 -1
- package/dist/x/sveltekit.d.ts +1 -1
- package/package.json +1 -1
- package/dist/federation/negotiation.test.d.ts +0 -3
- package/dist/federation/negotiation.test.js +0 -28
- package/dist/key-Bom4W546.cjs +0 -10
- package/dist/middleware-B7yi4Uls.cjs +0 -17
- package/dist/middleware-DCdrZPxz.js +0 -17
- package/dist/middleware-DTjhpVrj.js +0 -26
- package/dist/negotiation-5NPJL6zp.js +0 -71
- /package/dist/{assert_is_error-BPGph1Jx.js → assert_is_error-B035L3om.js} +0 -0
- /package/dist/{assert_not_equals-f3m3epl3.js → assert_not_equals-C80BG-_5.js} +0 -0
- /package/dist/{denokv-Bv33Xxea.js → denokv-jZ0Z2h0M.js} +0 -0
- /package/dist/{retry-D4GJ670a.js → retry-CfF8Gn4d.js} +0 -0
- /package/dist/{std__assert-X-_kMxKM.js → std__assert-DWivtrGR.js} +0 -0
package/dist/mod.d.ts
CHANGED
@@ -9,9 +9,9 @@ import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessage
|
|
9
9
|
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-CQPnQVtf.js";
|
10
10
|
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-Cxt4Kpf6.js";
|
11
11
|
import { ResourceDescriptor, lookupWebFinger } from "./mod-DBzN0aCM.js";
|
12
|
-
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-
|
12
|
+
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-CDSZdQHD.js";
|
13
13
|
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "./mq-CRGm1e_F.js";
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-RI3-KvUI.js";
|
15
15
|
import "./mod-g0xFzAP9.js";
|
16
16
|
import "./mod-1pDWKvUL.js";
|
17
17
|
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-TFoH2Ql8.js";
|
package/dist/mod.js
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-BFT6d7J5.js";
|
6
6
|
import "./compat-nxUqe4Z-.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-xJVzq9O0.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-CnVfp1Hp.js";
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-DXWUGrBQ.js";
|
10
|
+
import { lookupWebFinger } from "./lookup-CfU0DgLr.js";
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-BRmlopJL.js";
|
12
|
+
import { signRequest, verifyRequest } from "./http-CovAm6we.js";
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-Be1oOYEh.js";
|
14
14
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-D1U8YY9t.js";
|
15
|
-
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./types-
|
16
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
17
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-
|
15
|
+
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./types-CNWeAz8v.js";
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-DWnwkjvZ.js";
|
17
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-gpwUU9fc.js";
|
18
18
|
import "./nodeinfo-DfycQ8Wf.js";
|
19
19
|
import "./runtime-DPYEDf-o.js";
|
20
20
|
import "./sig-Cj3tk-ig.js";
|
@@ -3,19 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-FCer_9yh.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 { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-
|
11
|
-
import "../lookup-
|
12
|
-
import { test } from "../testing-
|
13
|
-
import "../std__assert-
|
14
|
-
import "../assert_rejects-
|
15
|
-
import "../assert_is_error-
|
16
|
-
import "../assert_not_equals-
|
17
|
-
import "../assert_throws-
|
18
|
-
import { esm_default } from "../esm-
|
10
|
+
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-BqyuOGiQ.js";
|
11
|
+
import "../lookup-BrhURkmj.js";
|
12
|
+
import { test } from "../testing-BMBhkcz9.js";
|
13
|
+
import "../std__assert-DWivtrGR.js";
|
14
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
15
|
+
import "../assert_is_error-B035L3om.js";
|
16
|
+
import "../assert_not_equals-C80BG-_5.js";
|
17
|
+
import "../assert_throws-53_pKeP3.js";
|
18
|
+
import { esm_default } from "../esm-BBznxjVc.js";
|
19
19
|
|
20
20
|
//#region src/nodeinfo/client.test.ts
|
21
21
|
test("getNodeInfo()", async (t) => {
|
@@ -3,35 +3,34 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-FCer_9yh.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-
|
12
|
-
import "../client-
|
13
|
-
import "../lookup-
|
11
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-BDN7YoYJ.js";
|
12
|
+
import "../client-BqyuOGiQ.js";
|
13
|
+
import "../lookup-BrhURkmj.js";
|
14
14
|
import "../types-BSuWJsOm.js";
|
15
|
-
import "../actor-
|
16
|
-
import "../key-
|
17
|
-
import "../http-
|
18
|
-
import "../authdocloader-
|
19
|
-
import "../ld-
|
20
|
-
import "../owner-
|
21
|
-
import "../proof-
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
15
|
+
import "../actor-Cpal85xW.js";
|
16
|
+
import "../key-DORX19Bl.js";
|
17
|
+
import "../http-y7khnX5Q.js";
|
18
|
+
import "../authdocloader-Df2BFefL.js";
|
19
|
+
import "../ld-D3cq9xO1.js";
|
20
|
+
import "../owner-NFlQJyvM.js";
|
21
|
+
import "../proof-ar9xgPWi.js";
|
22
|
+
import "../inbox-DpcYOzs8.js";
|
23
|
+
import "../builder-CMxichO9.js";
|
24
24
|
import "../collection-CcnIw1qY.js";
|
25
|
-
import "../keycache-
|
26
|
-
import "../
|
27
|
-
import "../
|
28
|
-
import "../
|
29
|
-
import
|
30
|
-
import "../
|
31
|
-
import "../
|
32
|
-
import "../
|
33
|
-
import "../
|
34
|
-
import "../assert_throws-BOO88avQ.js";
|
25
|
+
import "../keycache-AH1uj1j-.js";
|
26
|
+
import "../retry-CfF8Gn4d.js";
|
27
|
+
import "../send-DkwkMFjJ.js";
|
28
|
+
import { createRequestContext, test } from "../testing-BMBhkcz9.js";
|
29
|
+
import "../std__assert-DWivtrGR.js";
|
30
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
31
|
+
import "../assert_is_error-B035L3om.js";
|
32
|
+
import "../assert_not_equals-C80BG-_5.js";
|
33
|
+
import "../assert_throws-53_pKeP3.js";
|
35
34
|
|
36
35
|
//#region src/nodeinfo/handler.test.ts
|
37
36
|
test("handleNodeInfo()", async () => {
|
package/dist/nodeinfo/mod.cjs
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../docloader-
|
6
|
-
const require_types = require('../types-
|
5
|
+
require('../docloader-B1O1Z5OK.cjs');
|
6
|
+
const require_types = require('../types-CZ_qo9KW.cjs');
|
7
7
|
require('../nodeinfo-Co9lJrWl.cjs');
|
8
8
|
|
9
9
|
exports.getNodeInfo = require_types.getNodeInfo;
|
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 { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../types-
|
5
|
+
import "../docloader-xJVzq9O0.js";
|
6
|
+
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../types-CNWeAz8v.js";
|
7
7
|
import "../nodeinfo-DfycQ8Wf.js";
|
8
8
|
|
9
9
|
export { getNodeInfo, nodeInfoToJson, parseNodeInfo };
|
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-FCer_9yh.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-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
11
|
import { nodeInfoToJson } from "../types-BSuWJsOm.js";
|
12
|
-
import { test } from "../testing-
|
13
|
-
import "../std__assert-
|
14
|
-
import "../assert_rejects-
|
15
|
-
import "../assert_is_error-
|
16
|
-
import "../assert_not_equals-
|
17
|
-
import { assertThrows } from "../assert_throws-
|
12
|
+
import { test } from "../testing-BMBhkcz9.js";
|
13
|
+
import "../std__assert-DWivtrGR.js";
|
14
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
15
|
+
import "../assert_is_error-B035L3om.js";
|
16
|
+
import "../assert_not_equals-C80BG-_5.js";
|
17
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
18
18
|
|
19
19
|
//#region src/nodeinfo/types.test.ts
|
20
20
|
test("nodeInfoToJson()", () => {
|
@@ -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-FCer_9yh.js";
|
7
|
+
import { isActor } from "./actor-Cpal85xW.js";
|
8
8
|
import { trace } from "@opentelemetry/api";
|
9
9
|
|
10
10
|
//#region src/sig/owner.ts
|
@@ -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-xJVzq9O0.js";
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-CnVfp1Hp.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BRmlopJL.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import jsonld from "jsonld";
|
@@ -3,9 +3,9 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
6
|
-
const require_docloader = require('./docloader-
|
7
|
-
const require_actor = require('./actor-
|
8
|
-
const require_key = require('./key-
|
6
|
+
const require_docloader = require('./docloader-B1O1Z5OK.cjs');
|
7
|
+
const require_actor = require('./actor-C3gJhZJj.cjs');
|
8
|
+
const require_key = require('./key-CzF9SAEI.cjs');
|
9
9
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
10
10
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
11
11
|
const jsonld = require_chunk.__toESM(require("jsonld"));
|
@@ -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-FCer_9yh.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-DORX19Bl.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { encodeHex } from "byte-encodings/hex";
|
@@ -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-FCer_9yh.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-
|
16
|
-
import "../std__assert-
|
17
|
-
import { assertRejects } from "../assert_rejects-
|
18
|
-
import "../assert_is_error-
|
19
|
-
import "../assert_not_equals-
|
20
|
-
import "../assert_throws-
|
21
|
-
import { rsaPrivateKey2 } from "../keys-
|
22
|
-
import { esm_default } from "../esm-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import "../actor-Cpal85xW.js";
|
12
|
+
import "../key-DORX19Bl.js";
|
13
|
+
import { verifyRequest } from "../http-y7khnX5Q.js";
|
14
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-Df2BFefL.js";
|
15
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
16
|
+
import "../std__assert-DWivtrGR.js";
|
17
|
+
import { assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
18
|
+
import "../assert_is_error-B035L3om.js";
|
19
|
+
import "../assert_not_equals-C80BG-_5.js";
|
20
|
+
import "../assert_throws-53_pKeP3.js";
|
21
|
+
import { rsaPrivateKey2 } from "../keys-B3fzLXBG.js";
|
22
|
+
import { esm_default } from "../esm-BBznxjVc.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-FCer_9yh.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-
|
13
|
-
import "../std__assert-
|
14
|
-
import { assertRejects } from "../assert_rejects-
|
15
|
-
import "../assert_is_error-
|
16
|
-
import "../assert_not_equals-
|
17
|
-
import { assertThrows } from "../assert_throws-
|
18
|
-
import { esm_default } from "../esm-
|
11
|
+
import "../lookup-BrhURkmj.js";
|
12
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
13
|
+
import "../std__assert-DWivtrGR.js";
|
14
|
+
import { assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
15
|
+
import "../assert_is_error-B035L3om.js";
|
16
|
+
import "../assert_not_equals-C80BG-_5.js";
|
17
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
18
|
+
import { esm_default } from "../esm-BBznxjVc.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,19 +3,19 @@
|
|
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-FCer_9yh.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-
|
14
|
-
import "../std__assert-
|
15
|
-
import "../assert_rejects-
|
16
|
-
import "../assert_is_error-
|
17
|
-
import "../assert_not_equals-
|
18
|
-
import "../assert_throws-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import "../actor-Cpal85xW.js";
|
12
|
+
import { exportJwk, importJwk } from "../key-DORX19Bl.js";
|
13
|
+
import { test } from "../testing-BMBhkcz9.js";
|
14
|
+
import "../std__assert-DWivtrGR.js";
|
15
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
16
|
+
import "../assert_is_error-B035L3om.js";
|
17
|
+
import "../assert_not_equals-C80BG-_5.js";
|
18
|
+
import "../assert_throws-53_pKeP3.js";
|
19
19
|
|
20
20
|
//#region src/runtime/key.test.ts
|
21
21
|
const rsaSpki = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxsRuvCkgJtflBTl4OVsm\nnt/J1mQfZasfJtN33dcZ3d1lJroxmgmMu69zjGEAwkNbMQaWNLqC4eogkJaeJ4RR\n5MHYXkL9nNilVoTkjX5BVit3puzs7XJ7WQnKQgQMI+ezn24GHsZ/v1JIo77lerX5\nk4HNwTNVt+yaZVQWaOMR3+6FwziQR6kd0VuG9/a9dgAnz2cEoORRC1i4W7IZaB1s\nZnh1WbHbevlGd72HSXll5rocPIHn8gq6xpBgpHwRphlRsgn4KHaJ6brXDIJjrnQh\nIe/YUBOGj/ImSEXhRwlFerKsoAVnZ0Hwbfa46qk44TAt8CyoPMWmpK6pt0ng4pQ2\nuwIDAQAB\n-----END PUBLIC KEY-----\n";
|
@@ -3,17 +3,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { LanguageString } from "../type-
|
6
|
+
import { LanguageString } from "../type-FCer_9yh.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-
|
12
|
-
import "../std__assert-
|
13
|
-
import "../assert_rejects-
|
14
|
-
import "../assert_is_error-
|
15
|
-
import "../assert_not_equals-
|
16
|
-
import "../assert_throws-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import { test } from "../testing-BMBhkcz9.js";
|
12
|
+
import "../std__assert-DWivtrGR.js";
|
13
|
+
import "../assert_rejects-7UF4R_Qs.js";
|
14
|
+
import "../assert_is_error-B035L3om.js";
|
15
|
+
import "../assert_not_equals-C80BG-_5.js";
|
16
|
+
import "../assert_throws-53_pKeP3.js";
|
17
17
|
import util from "node:util";
|
18
18
|
|
19
19
|
//#region src/runtime/langstr.test.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { HttpHeaderLink } from "../type-
|
7
|
-
import "../lookup-
|
8
|
-
import { test } from "../testing-
|
6
|
+
import { HttpHeaderLink } from "../type-FCer_9yh.js";
|
7
|
+
import "../lookup-BrhURkmj.js";
|
8
|
+
import { test } from "../testing-BMBhkcz9.js";
|
9
9
|
import { deepStrictEqual, throws } from "node:assert";
|
10
10
|
|
11
11
|
//#region src/runtime/link.test.ts
|
package/dist/runtime/mod.cjs
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
const require_docloader = require('../docloader-
|
6
|
-
const require_actor = require('../actor-
|
7
|
-
require('../lookup-
|
8
|
-
require('../key-
|
9
|
-
require('../http-
|
10
|
-
const require_authdocloader = require('../authdocloader-
|
5
|
+
const require_docloader = require('../docloader-B1O1Z5OK.cjs');
|
6
|
+
const require_actor = require('../actor-C3gJhZJj.cjs');
|
7
|
+
require('../lookup-7u217Q3H.cjs');
|
8
|
+
require('../key-CzF9SAEI.cjs');
|
9
|
+
require('../http-Hw9HJp9i.cjs');
|
10
|
+
const require_authdocloader = require('../authdocloader-DPCGwidE.cjs');
|
11
11
|
require('../runtime-C58AJWSv.cjs');
|
12
12
|
|
13
13
|
exports.FetchError = require_docloader.FetchError;
|
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-xJVzq9O0.js";
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-CnVfp1Hp.js";
|
7
|
+
import "../lookup-CfU0DgLr.js";
|
8
|
+
import "../key-BRmlopJL.js";
|
9
|
+
import "../http-CovAm6we.js";
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-DWnwkjvZ.js";
|
11
11
|
import "../runtime-DPYEDf-o.js";
|
12
12
|
|
13
13
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
@@ -3,17 +3,17 @@
|
|
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-FCer_9yh.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-
|
12
|
-
import "../../std__assert-
|
13
|
-
import "../../assert_rejects-
|
14
|
-
import "../../assert_is_error-
|
15
|
-
import "../../assert_not_equals-
|
16
|
-
import "../../assert_throws-
|
10
|
+
import "../../lookup-BrhURkmj.js";
|
11
|
+
import { test } from "../../testing-BMBhkcz9.js";
|
12
|
+
import "../../std__assert-DWivtrGR.js";
|
13
|
+
import "../../assert_rejects-7UF4R_Qs.js";
|
14
|
+
import "../../assert_is_error-B035L3om.js";
|
15
|
+
import "../../assert_not_equals-C80BG-_5.js";
|
16
|
+
import "../../assert_throws-53_pKeP3.js";
|
17
17
|
|
18
18
|
//#region src/runtime/multibase/multibase.test.ts
|
19
19
|
test("multibase.encode and decode", async (t) => {
|
package/dist/runtime/url.test.js
CHANGED
@@ -3,13 +3,13 @@
|
|
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-FCer_9yh.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-
|
11
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
12
|
-
import "../assert_is_error-
|
9
|
+
import "../lookup-BrhURkmj.js";
|
10
|
+
import { test } from "../testing-BMBhkcz9.js";
|
11
|
+
import { assertFalse, assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
12
|
+
import "../assert_is_error-B035L3om.js";
|
13
13
|
|
14
14
|
//#region src/runtime/url.test.ts
|
15
15
|
test("validatePublicUrl()", async () => {
|
@@ -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-FCer_9yh.js";
|
7
|
+
import { doubleKnock } from "./http-y7khnX5Q.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-FCer_9yh.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../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-
|
15
|
-
import { assertExists, assertStringIncludes } from "../std__assert-
|
16
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
17
|
-
import "../assert_is_error-
|
18
|
-
import "../assert_not_equals-
|
19
|
-
import { assertThrows } from "../assert_throws-
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
21
|
-
import { esm_default } from "../esm-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import "../actor-Cpal85xW.js";
|
12
|
+
import { exportJwk } from "../key-DORX19Bl.js";
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-y7khnX5Q.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
15
|
+
import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
|
16
|
+
import { assertFalse, assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
17
|
+
import "../assert_is_error-B035L3om.js";
|
18
|
+
import "../assert_not_equals-C80BG-_5.js";
|
19
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-B3fzLXBG.js";
|
21
|
+
import { esm_default } from "../esm-BBznxjVc.js";
|
22
22
|
import { encodeBase64 } from "byte-encodings/base64";
|
23
23
|
|
24
24
|
//#region src/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-FCer_9yh.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, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
14
|
-
import "../std__assert-
|
15
|
-
import { assertRejects } from "../assert_rejects-
|
16
|
-
import "../assert_is_error-
|
17
|
-
import "../assert_not_equals-
|
18
|
-
import { assertThrows } from "../assert_throws-
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
10
|
+
import "../lookup-BrhURkmj.js";
|
11
|
+
import "../actor-Cpal85xW.js";
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-DORX19Bl.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
14
|
+
import "../std__assert-DWivtrGR.js";
|
15
|
+
import { assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
16
|
+
import "../assert_is_error-B035L3om.js";
|
17
|
+
import "../assert_not_equals-C80BG-_5.js";
|
18
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-B3fzLXBG.js";
|
20
20
|
|
21
21
|
//#region src/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-FCer_9yh.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.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-
|
14
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
15
|
-
import "../assert_is_error-
|
16
|
-
import { assertThrows } from "../assert_throws-
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
9
|
+
import "../lookup-BrhURkmj.js";
|
10
|
+
import "../actor-Cpal85xW.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-DORX19Bl.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-D3cq9xO1.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-BMBhkcz9.js";
|
14
|
+
import { assertFalse, assertRejects } from "../assert_rejects-7UF4R_Qs.js";
|
15
|
+
import "../assert_is_error-B035L3om.js";
|
16
|
+
import { assertThrows } from "../assert_throws-53_pKeP3.js";
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-B3fzLXBG.js";
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
19
19
|
|
20
20
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.cjs
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../docloader-
|
6
|
-
require('../actor-
|
7
|
-
require('../lookup-
|
8
|
-
const require_key = require('../key-
|
9
|
-
const require_http = require('../http-
|
10
|
-
const require_proof = require('../proof-
|
5
|
+
require('../docloader-B1O1Z5OK.cjs');
|
6
|
+
require('../actor-C3gJhZJj.cjs');
|
7
|
+
require('../lookup-7u217Q3H.cjs');
|
8
|
+
const require_key = require('../key-CzF9SAEI.cjs');
|
9
|
+
const require_http = require('../http-Hw9HJp9i.cjs');
|
10
|
+
const require_proof = require('../proof-Gip91fK7.cjs');
|
11
11
|
require('../sig-ByHXzqUi.cjs');
|
12
12
|
|
13
13
|
exports.attachSignature = require_proof.attachSignature;
|