@fedify/fedify 2.0.0-pr.435.1673 → 2.0.0-pr.445.1694
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-CNUje03O.cjs → actor-CwZ2m5rG.cjs} +7263 -2440
- package/dist/{actor-DMgu-ZjT.d.cts → actor-D6K058Tb.d.cts} +1 -1
- package/dist/{actor-BxAu0qet.js → actor-D8gCwLzv.js} +1 -1
- package/dist/{actor-m_ko-86v.js → actor-DoMcqXsW.js} +7263 -2440
- package/dist/{actor-C22bXuuC.d.ts → actor-T6RyhRgk.d.ts} +1 -1
- package/dist/{authdocloader-nRFL9luh.js → authdocloader-Cv_qEn1G.js} +3 -3
- package/dist/{authdocloader-Chl2nuOI.js → authdocloader-DYTNpaMA.js} +3 -3
- package/dist/{authdocloader-D_3mtAjX.cjs → authdocloader-bsmVF6eO.cjs} +3 -3
- package/dist/{builder-C8Of4dPy.js → builder-1_skw-d2.js} +10 -4
- package/dist/{client-yGBH5stP.js → client-D5CBsPrc.js} +1 -1
- package/dist/compat/mod.d.cts +7 -7
- package/dist/compat/mod.d.ts +7 -7
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-CQsAT7xk.d.ts → context-DBKpNBnc.d.ts} +67 -12
- package/dist/{context-tVOQ76fi.d.cts → context-DiqjMRef.d.cts} +67 -12
- package/dist/{docloader-SZjTrl6Z.cjs → docloader-CYnQRIXv.cjs} +1 -1
- package/dist/{docloader-_WdHTWQR.js → docloader-Czl3xV10.js} +1 -1
- package/dist/{esm-e_G_xo95.js → esm-Dl5T1RNE.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/idempotency.test.d.ts +3 -0
- package/dist/federation/idempotency.test.js +202 -0
- 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 +24 -47
- package/dist/federation/mod.cjs +10 -10
- package/dist/federation/mod.d.cts +7 -7
- package/dist/federation/mod.d.ts +7 -7
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/negotiation.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/fixtures/media.example.com/avatars/test-avatar.jpg.json +6 -0
- package/dist/{http-DREvFalF.cjs → http-CAusBl_3.cjs} +3 -3
- package/dist/{http-BpoEurUR.js → http-C_Qc2neP.js} +3 -3
- package/dist/{http-BEo67UOx.js → http-CuS-d4U0.js} +2 -2
- package/dist/{http-BS6766zs.d.cts → http-D-e6AFwR.d.cts} +1 -1
- package/dist/{http-DqSNLFNY.d.ts → http-D6Uj2x2y.d.ts} +1 -1
- package/dist/{inbox-D-B5xFtJ.js → inbox-IETv_Qez.js} +24 -7
- package/dist/{key-Cf8KTg-A.js → key-BNJQQm3h.js} +2 -2
- package/dist/{key-DJpcumqB.js → key-C_ruQbbl.js} +4 -4
- package/dist/key-DIMJMxf4.cjs +10 -0
- package/dist/{key-Cps8Sv3N.js → key-DnqhSgAv.js} +2 -2
- package/dist/{key-DqrTz8Xq.js → key-DpFjiItf.js} +3 -3
- package/dist/{key-JqiQvcq1.cjs → key-DuXv64tg.cjs} +2 -2
- package/dist/{keycache-D_Q1fPV0.js → keycache-CSBkusP8.js} +1 -1
- package/dist/{keys-F0jh2GNR.js → keys-D3_MDK7n.js} +1 -1
- package/dist/{ld-CXygHn_m.js → ld-Isot0tiW.js} +2 -2
- package/dist/{lookup-DuqY2_In.js → lookup-CbtuFbtg.js} +21 -12
- package/dist/{lookup-C-Y0Ep1a.cjs → lookup-D6dro5Au.cjs} +1 -1
- package/dist/{lookup-C6WSLjPE.js → lookup-Dhm78GlK.js} +1 -1
- package/dist/middleware-BpR6186a.js +26 -0
- package/dist/{middleware-2qNNXYEE.js → middleware-BuHr2fzh.js} +52 -29
- package/dist/middleware-DDMxdtWM.cjs +17 -0
- package/dist/{middleware-CMiUxZ6O.js → middleware-DQYscW90.js} +26 -26
- package/dist/{middleware-BsFAFlnZ.cjs → middleware-Dgmdgrvb.cjs} +52 -29
- package/dist/middleware-T-knSMwl.js +17 -0
- package/dist/{mod-Drmz72EK.d.ts → mod-BhUKmBJD.d.ts} +2 -2
- package/dist/{mod-DBQAI4v9.d.cts → mod-Bpb5QLaZ.d.cts} +2 -2
- package/dist/{mod-TFoH2Ql8.d.ts → mod-CerN_Sza.d.ts} +1 -1
- package/dist/{mod-Dc_-mf8s.d.cts → mod-Cj1tHXBR.d.cts} +1 -1
- package/dist/{mod-evzlRVZq.d.cts → mod-CxkWO3Mg.d.cts} +19 -1
- package/dist/{mod-B26zRlH1.d.ts → mod-D_y2y32N.d.ts} +2 -2
- package/dist/{mod-BClfg3ej.d.cts → mod-Djzcw2ry.d.cts} +2 -2
- package/dist/{mod-Cxt4Kpf6.d.ts → mod-DlU8ISoa.d.ts} +19 -1
- package/dist/mod.cjs +10 -10
- package/dist/mod.d.cts +10 -10
- package/dist/mod.d.ts +10 -10
- 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.cjs +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-B-7Ptt_m.d.cts → owner-BN_tO3cY.d.cts} +2 -2
- package/dist/{owner-D2fTlp_x.js → owner-ChSL4aJ7.js} +2 -2
- package/dist/{owner-CQPnQVtf.d.ts → owner-hd9lvQcP.d.ts} +2 -2
- package/dist/{proof-CHM9su4L.js → proof-BiSCuwyA.js} +3 -3
- package/dist/{proof-C4Y4gJcm.cjs → proof-ONNmhInb.cjs} +3 -3
- package/dist/{proof-kEUjWRNJ.js → proof-x3IBewan.js} +2 -2
- 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/link.test.js +3 -3
- package/dist/runtime/mod.cjs +6 -6
- package/dist/runtime/mod.d.cts +3 -3
- package/dist/runtime/mod.d.ts +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-Utq2Jm0I.js → send-D5fjmUEj.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.cjs +6 -6
- package/dist/sig/mod.d.cts +5 -5
- package/dist/sig/mod.d.ts +5 -5
- 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.d.ts +272 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-DUpTIvNE.js → testing-tWr1VQxx.js} +2 -2
- package/dist/{type-BYN6Ax2M.js → type-DaUr3Il7.js} +6943 -2120
- package/dist/{types-BBpQe860.cjs → types-D2Nyz0tR.cjs} +1 -1
- package/dist/{types-BXkh8ctL.js → types-DQuSDtDg.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +255 -5
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.d.cts +3 -3
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +397 -8
- package/dist/{vocab-SOE1ifCr.d.ts → vocab-BI0Ak5lL.d.ts} +290 -0
- package/dist/{vocab-DWZQ7gVQ.cjs → vocab-Dd4VMrr0.cjs} +23 -14
- package/dist/{vocab-DJTYMqyU.d.cts → vocab-Dw1-yVGg.d.cts} +290 -0
- package/dist/{vocab-PKJB4DyY.js → vocab-w--qk7HF.js} +23 -14
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.cts +6 -6
- package/dist/x/hono.d.ts +6 -6
- package/dist/x/sveltekit.d.cts +6 -6
- package/dist/x/sveltekit.d.ts +6 -6
- package/package.json +1 -1
- package/dist/key-BvvbahfP.cjs +0 -10
- package/dist/middleware-BD1IE5O5.js +0 -26
- package/dist/middleware-BuZrvrDv.js +0 -17
- package/dist/middleware-h_3nRr8m.cjs +0 -17
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-Czl3xV10.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-DoMcqXsW.js";
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-BuHr2fzh.js";
|
10
|
+
import { lookupWebFinger } from "./lookup-Dhm78GlK.js";
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-BNJQQm3h.js";
|
12
|
+
import { signRequest, verifyRequest } from "./http-C_Qc2neP.js";
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-BiSCuwyA.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-DQuSDtDg.js";
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-Cv_qEn1G.js";
|
17
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-w--qk7HF.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-DaUr3Il7.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-
|
10
|
+
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-D5CBsPrc.js";
|
11
|
+
import "../lookup-CbtuFbtg.js";
|
12
|
+
import { test } from "../testing-tWr1VQxx.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
16
16
|
import "../assert_not_equals-f3m3epl3.js";
|
17
17
|
import "../assert_throws-BOO88avQ.js";
|
18
|
-
import { esm_default } from "../esm-
|
18
|
+
import { esm_default } from "../esm-Dl5T1RNE.js";
|
19
19
|
|
20
20
|
//#region src/nodeinfo/client.test.ts
|
21
21
|
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-DaUr3Il7.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-DQYscW90.js";
|
12
|
+
import "../client-D5CBsPrc.js";
|
13
|
+
import "../lookup-CbtuFbtg.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-D8gCwLzv.js";
|
16
|
+
import "../key-DnqhSgAv.js";
|
17
|
+
import "../http-CuS-d4U0.js";
|
18
|
+
import "../authdocloader-DYTNpaMA.js";
|
19
|
+
import "../ld-Isot0tiW.js";
|
20
|
+
import "../owner-ChSL4aJ7.js";
|
21
|
+
import "../proof-x3IBewan.js";
|
22
|
+
import "../inbox-IETv_Qez.js";
|
23
|
+
import "../builder-1_skw-d2.js";
|
24
24
|
import "../collection-CcnIw1qY.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-CSBkusP8.js";
|
26
26
|
import "../negotiation-5NPJL6zp.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-D5fjmUEj.js";
|
29
|
+
import { createRequestContext, test } from "../testing-tWr1VQxx.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.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-CYnQRIXv.cjs');
|
6
|
+
const require_types = require('../types-D2Nyz0tR.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-Czl3xV10.js";
|
6
|
+
import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "../types-DQuSDtDg.js";
|
7
7
|
import "../nodeinfo-DfycQ8Wf.js";
|
8
8
|
|
9
9
|
export { getNodeInfo, nodeInfoToJson, parseNodeInfo };
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-DaUr3Il7.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-CbtuFbtg.js";
|
11
11
|
import { nodeInfoToJson } from "../types-BSuWJsOm.js";
|
12
|
-
import { test } from "../testing-
|
12
|
+
import { test } from "../testing-tWr1VQxx.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DocumentLoader } from "./docloader-D-MrRyHl.cjs";
|
2
|
-
import { Activity, CryptographicKey } from "./vocab-
|
3
|
-
import { Actor } from "./actor-
|
2
|
+
import { Activity, CryptographicKey } from "./vocab-Dw1-yVGg.cjs";
|
3
|
+
import { Actor } from "./actor-D6K058Tb.cjs";
|
4
4
|
import { TracerProvider } from "@opentelemetry/api";
|
5
5
|
|
6
6
|
//#region src/sig/owner.d.ts
|
@@ -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-DaUr3Il7.js";
|
7
|
+
import { isActor } from "./actor-D8gCwLzv.js";
|
8
8
|
import { trace } from "@opentelemetry/api";
|
9
9
|
|
10
10
|
//#region src/sig/owner.ts
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import { DocumentLoader } from "./docloader-CxWcuWqQ.js";
|
4
|
-
import { Activity, CryptographicKey } from "./vocab-
|
5
|
-
import { Actor } from "./actor-
|
4
|
+
import { Activity, CryptographicKey } from "./vocab-BI0Ak5lL.js";
|
5
|
+
import { Actor } from "./actor-T6RyhRgk.js";
|
6
6
|
import { TracerProvider } from "@opentelemetry/api";
|
7
7
|
|
8
8
|
//#region src/sig/owner.d.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-Czl3xV10.js";
|
6
|
+
import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "./actor-DoMcqXsW.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BNJQQm3h.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-CYnQRIXv.cjs');
|
7
|
+
const require_actor = require('./actor-CwZ2m5rG.cjs');
|
8
|
+
const require_key = require('./key-DuXv64tg.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-DaUr3Il7.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-DnqhSgAv.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-DaUr3Il7.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-CbtuFbtg.js";
|
11
|
+
import "../actor-D8gCwLzv.js";
|
12
|
+
import "../key-DnqhSgAv.js";
|
13
|
+
import { verifyRequest } from "../http-CuS-d4U0.js";
|
14
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-DYTNpaMA.js";
|
15
|
+
import { mockDocumentLoader, test } from "../testing-tWr1VQxx.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-D3_MDK7n.js";
|
22
|
+
import { esm_default } from "../esm-Dl5T1RNE.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-DaUr3Il7.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-CbtuFbtg.js";
|
12
|
+
import { mockDocumentLoader, test } from "../testing-tWr1VQxx.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-Dl5T1RNE.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-DaUr3Il7.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-CbtuFbtg.js";
|
11
|
+
import "../actor-D8gCwLzv.js";
|
12
|
+
import { exportJwk, importJwk } from "../key-DnqhSgAv.js";
|
13
|
+
import { test } from "../testing-tWr1VQxx.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-DaUr3Il7.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-CbtuFbtg.js";
|
11
|
+
import { test } from "../testing-tWr1VQxx.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -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-DaUr3Il7.js";
|
7
|
+
import "../lookup-CbtuFbtg.js";
|
8
|
+
import { test } from "../testing-tWr1VQxx.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-CYnQRIXv.cjs');
|
6
|
+
const require_actor = require('../actor-CwZ2m5rG.cjs');
|
7
|
+
require('../lookup-D6dro5Au.cjs');
|
8
|
+
require('../key-DuXv64tg.cjs');
|
9
|
+
require('../http-CAusBl_3.cjs');
|
10
|
+
const require_authdocloader = require('../authdocloader-bsmVF6eO.cjs');
|
11
11
|
require('../runtime-C58AJWSv.cjs');
|
12
12
|
|
13
13
|
exports.FetchError = require_docloader.FetchError;
|
package/dist/runtime/mod.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import "../kv-63Cil1MD.cjs";
|
2
2
|
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, RemoteDocument, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-D-MrRyHl.cjs";
|
3
|
-
import { LanguageString } from "../vocab-
|
4
|
-
import "../http-
|
5
|
-
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "../mod-
|
3
|
+
import { LanguageString } from "../vocab-Dw1-yVGg.cjs";
|
4
|
+
import "../http-D-e6AFwR.cjs";
|
5
|
+
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "../mod-Cj1tHXBR.cjs";
|
6
6
|
export { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, LanguageString, RemoteDocument, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
package/dist/runtime/mod.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, RemoteDocument, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-CxWcuWqQ.js";
|
5
|
-
import { LanguageString } from "../vocab-
|
6
|
-
import "../http-
|
7
|
-
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "../mod-
|
5
|
+
import { LanguageString } from "../vocab-BI0Ak5lL.js";
|
6
|
+
import "../http-D6Uj2x2y.js";
|
7
|
+
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "../mod-CerN_Sza.js";
|
8
8
|
export { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, LanguageString, RemoteDocument, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
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-Czl3xV10.js";
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-DoMcqXsW.js";
|
7
|
+
import "../lookup-Dhm78GlK.js";
|
8
|
+
import "../key-BNJQQm3h.js";
|
9
|
+
import "../http-C_Qc2neP.js";
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-Cv_qEn1G.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,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-DaUr3Il7.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-CbtuFbtg.js";
|
11
|
+
import { test } from "../../testing-tWr1VQxx.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-DaUr3Il7.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-CbtuFbtg.js";
|
10
|
+
import { test } from "../testing-tWr1VQxx.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-DaUr3Il7.js";
|
7
|
+
import { doubleKnock } from "./http-CuS-d4U0.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-DaUr3Il7.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-
|
10
|
+
import "../lookup-CbtuFbtg.js";
|
11
|
+
import "../actor-D8gCwLzv.js";
|
12
|
+
import { exportJwk } from "../key-DnqhSgAv.js";
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-CuS-d4U0.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-tWr1VQxx.js";
|
15
15
|
import { assertExists, assertStringIncludes } from "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
21
|
-
import { esm_default } from "../esm-
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-D3_MDK7n.js";
|
21
|
+
import { esm_default } from "../esm-Dl5T1RNE.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-DaUr3Il7.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-
|
10
|
+
import "../lookup-CbtuFbtg.js";
|
11
|
+
import "../actor-D8gCwLzv.js";
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-DnqhSgAv.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-tWr1VQxx.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
17
17
|
import "../assert_not_equals-f3m3epl3.js";
|
18
18
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-D3_MDK7n.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-DaUr3Il7.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-
|
9
|
+
import "../lookup-CbtuFbtg.js";
|
10
|
+
import "../actor-D8gCwLzv.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-DnqhSgAv.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-Isot0tiW.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-tWr1VQxx.js";
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
16
16
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-D3_MDK7n.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-CYnQRIXv.cjs');
|
6
|
+
require('../actor-CwZ2m5rG.cjs');
|
7
|
+
require('../lookup-D6dro5Au.cjs');
|
8
|
+
const require_key = require('../key-DuXv64tg.cjs');
|
9
|
+
const require_http = require('../http-CAusBl_3.cjs');
|
10
|
+
const require_proof = require('../proof-ONNmhInb.cjs');
|
11
11
|
require('../sig-ByHXzqUi.cjs');
|
12
12
|
|
13
13
|
exports.attachSignature = require_proof.attachSignature;
|
package/dist/sig/mod.d.cts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import "../kv-63Cil1MD.cjs";
|
2
2
|
import "../docloader-D-MrRyHl.cjs";
|
3
|
-
import "../vocab-
|
4
|
-
import "../actor-
|
5
|
-
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
6
|
-
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-
|
7
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-
|
3
|
+
import "../vocab-Dw1-yVGg.cjs";
|
4
|
+
import "../actor-D6K058Tb.cjs";
|
5
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-D-e6AFwR.cjs";
|
6
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-BN_tO3cY.cjs";
|
7
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-Djzcw2ry.cjs";
|
8
8
|
export { CreateProofOptions, CreateSignatureOptions, DoesActorOwnKeyOptions, FetchKeyOptions, FetchKeyResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/mod.d.ts
CHANGED
@@ -2,9 +2,9 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import "../docloader-CxWcuWqQ.js";
|
5
|
-
import "../vocab-
|
6
|
-
import "../actor-
|
7
|
-
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
8
|
-
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-
|
9
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-
|
5
|
+
import "../vocab-BI0Ak5lL.js";
|
6
|
+
import "../actor-T6RyhRgk.js";
|
7
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-D6Uj2x2y.js";
|
8
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "../owner-hd9lvQcP.js";
|
9
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../mod-BhUKmBJD.js";
|
10
10
|
export { CreateProofOptions, CreateSignatureOptions, DoesActorOwnKeyOptions, FetchKeyOptions, FetchKeyResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|