@fedify/fedify 1.7.14 → 1.7.15
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-Dx5YX74F.d.ts → actor.d.ts} +2 -2
- package/dist/{actor-y7shp0CR.js → actor.js} +4 -4
- package/dist/{assert-C-mZuSQl.js → assert.js} +1 -1
- package/dist/{assert_instance_of-lS0Jr2iu.js → assert_instance_of.js} +1 -1
- package/dist/{assert_is_error-CIYFACrT.js → assert_is_error.js} +1 -1
- package/dist/{assert_not_equals-C1azCAB0.js → assert_not_equals.js} +1 -1
- package/dist/{assert_rejects-Bkh5lA1a.js → assert_rejects.js} +2 -2
- package/dist/{assert_throws-CmpfkWEM.js → assert_throws.js} +2 -2
- package/dist/{authdocloader-C0JcfxUs.js → authdocloader.js} +4 -4
- package/dist/{builder-DaECqbbT.js → builder.js} +5 -5
- package/dist/{client-wKLuY12i.d.ts → client.d.ts} +1 -1
- package/dist/{client-dfu57WLy.js → client.js} +2 -2
- package/dist/compat/{mod-Bwqav33K.d.ts → mod.d.ts} +2 -2
- package/dist/compat/mod.js +1 -1
- package/dist/compat/transformers.test.js +30 -30
- package/dist/{context-CW_8R4BH.d.ts → context.d.ts} +10 -10
- package/dist/{context-nxDPfAiA.js → context.js} +4 -4
- package/dist/{docloader-D_MGP37Q.d.ts → docloader.d.ts} +1 -1
- package/dist/{docloader-sGz4vcrK.js → docloader.js} +2 -2
- package/dist/{esm-BRXvTSrx.js → esm.js} +1 -1
- package/dist/federation/builder.test.js +17 -17
- package/dist/federation/collection.test.js +8 -8
- package/dist/federation/handler.test.js +36 -36
- package/dist/federation/inbox.test.js +11 -11
- package/dist/federation/keycache.test.js +12 -12
- package/dist/federation/kv.test.js +8 -8
- package/dist/federation/middleware.test.js +39 -39
- package/dist/federation/{mod-DvlLc8Ru.d.ts → mod.d.ts} +3 -3
- package/dist/federation/mod.js +11 -11
- package/dist/federation/mq.test.js +10 -10
- package/dist/federation/retry.test.js +5 -5
- package/dist/federation/router.test.js +9 -9
- package/dist/federation/send.test.js +23 -23
- package/dist/{http-DFZRNfDP.d.ts → http.d.ts} +2 -2
- package/dist/{http-BhES0Sg9.js → http.js} +3 -3
- package/dist/{inbox-Z_QlSGYN.js → inbox.js} +3 -3
- package/dist/key.js +16 -0
- package/dist/{key-bMrDyA2T.js → key2.js} +3 -3
- package/dist/{keycache-B5Rr8Lbc.js → keycache.js} +1 -1
- package/dist/{keys-DK4k1R8e.js → keys.js} +1 -1
- package/dist/{ld--auFISy7.js → ld.js} +4 -4
- package/dist/{lookup-CqI9jhXo.d.ts → lookup.d.ts} +1 -1
- package/dist/{lookup-Bq8vhIG4.js → lookup.js} +2 -2
- package/dist/{lookup-cHV4n1IB.js → lookup2.js} +4 -4
- package/dist/{middleware-B7p-onxQ.js → middleware.js} +20 -20
- package/dist/middleware2.js +32 -0
- package/dist/{mod-DMn4Bxyg.d.ts → mod.d.ts} +17 -17
- package/dist/mod.js +11 -11
- package/dist/{mod-DjGYGrBd.d.ts → mod2.d.ts} +2 -2
- package/dist/{mod-BEZy4WHZ.d.ts → mod3.d.ts} +3 -3
- package/dist/nodeinfo/client.test.js +12 -12
- package/dist/nodeinfo/handler.test.js +34 -34
- package/dist/nodeinfo/{mod--upgPcaX.d.ts → mod.d.ts} +1 -1
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +8 -8
- package/dist/nodeinfo/types.test.js +9 -9
- package/dist/{owner-CewLNqWO.d.ts → owner.d.ts} +3 -3
- package/dist/{owner-DkTRLQAV.js → owner.js} +3 -3
- package/dist/{proof-DT_xxRPF.js → proof.js} +4 -4
- package/dist/runtime/authdocloader.test.js +20 -20
- package/dist/runtime/docloader.test.js +13 -13
- package/dist/runtime/key.test.js +15 -15
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/{mod-BaH1vtHp.d.ts → mod.d.ts} +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +7 -7
- package/dist/{send-axIyQX2p.js → send.js} +2 -2
- package/dist/sig/http.test.js +20 -20
- package/dist/sig/key.test.js +17 -17
- package/dist/sig/ld.test.js +18 -18
- package/dist/sig/{mod-BmJQTnPT.d.ts → mod.d.ts} +3 -3
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +20 -20
- package/dist/sig/proof.test.js +19 -19
- package/dist/{std__assert-BdP_WkD-.js → std__assert.js} +1 -1
- package/dist/testing/docloader.test.js +8 -8
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-qaAD4B0t.js → testing.js} +1 -1
- package/dist/{types-CB_2uuCA.js → types.js} +1 -1
- package/dist/vocab/actor.test.js +16 -16
- package/dist/vocab/lookup.test.js +17 -17
- package/dist/vocab/{mod-BkXGAYkx.d.ts → mod.d.ts} +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +9 -9
- package/dist/vocab/vocab.test.js +17 -17
- package/dist/{vocab-DoBcp8ow.d.ts → vocab.d.ts} +1 -1
- package/dist/{vocab-DCHRuBGF.js → vocab.js} +181 -181
- package/dist/webfinger/handler.test.js +34 -34
- package/dist/webfinger/lookup.test.js +11 -11
- package/dist/webfinger/{mod-B1UhCvlL.d.ts → mod.d.ts} +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/{cfworkers-BIcR64Sf.d.ts → cfworkers.d.ts} +2 -2
- package/dist/x/cfworkers.test.js +7 -7
- package/dist/x/{hono-DmQmp8wi.d.ts → hono.d.ts} +1 -1
- package/dist/x/{sveltekit-Cvh0XnN4.d.ts → sveltekit.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/actor-OYVgkiZG.js +0 -34789
- package/dist/authdocloader-C2krvRo1.js +0 -49
- package/dist/docloader-BU25UQLB.js +0 -4478
- package/dist/http-DRePVWfE.js +0 -788
- package/dist/key-CJuc1GE1.js +0 -10
- package/dist/key-D2HZrCxh.js +0 -257
- package/dist/key-eP5Yk7hl.js +0 -16
- package/dist/lookup-4uc2jh52.js +0 -127
- package/dist/middleware-72Tuh6Iw.js +0 -17
- package/dist/middleware-DB3BUysJ.js +0 -32
- package/dist/middleware-QJjRfjjc.js +0 -3519
- package/dist/proof-D4HXHDPz.js +0 -577
- package/dist/types-Bk4b1bGc.js +0 -445
- package/dist/vocab-sMuiKIWm.js +0 -168
- /package/dist/{assert_equals-Dy0MG_Zw.js → assert_equals.js} +0 -0
- /package/dist/{chunk-DvTpRkcT.js → chunk.js} +0 -0
- /package/dist/{collection-XNLQhehO.js → collection.js} +0 -0
- /package/dist/compat/{transformers.test-DnJbd34u.d.ts → transformers.test.d.ts} +0 -0
- /package/dist/{denokv-NcJeZ6rP.js → denokv.js} +0 -0
- /package/dist/{docloader-BDSHZfTJ.js → docloader2.js} +0 -0
- /package/dist/federation/{builder.test-Bpt6NOZ6.d.ts → builder.test.d.ts} +0 -0
- /package/dist/federation/{collection.test-DKJ6JOZz.d.ts → collection.test.d.ts} +0 -0
- /package/dist/federation/{handler.test-BMT7uLC0.d.ts → handler.test.d.ts} +0 -0
- /package/dist/federation/{inbox.test-Do6i02Qp.d.ts → inbox.test.d.ts} +0 -0
- /package/dist/federation/{keycache.test-BT83IPZY.d.ts → keycache.test.d.ts} +0 -0
- /package/dist/federation/{kv.test-kFzzF2VN.d.ts → kv.test.d.ts} +0 -0
- /package/dist/federation/{middleware.test-B1R4_e3-.d.ts → middleware.test.d.ts} +0 -0
- /package/dist/federation/{mq.test-l79EQQOe.d.ts → mq.test.d.ts} +0 -0
- /package/dist/federation/{retry.test-BqS50VCX.d.ts → retry.test.d.ts} +0 -0
- /package/dist/federation/{router.test-CYQl4po-.d.ts → router.test.d.ts} +0 -0
- /package/dist/federation/{send.test-COUnNUzv.d.ts → send.test.d.ts} +0 -0
- /package/dist/{kv-CKqSUxHd.d.ts → kv.d.ts} +0 -0
- /package/dist/{kv-QeuZ51go.js → kv.js} +0 -0
- /package/dist/{langstr-pFHBDU4y.js → langstr.js} +0 -0
- /package/dist/{mq-Cgfbl44M.d.ts → mq.d.ts} +0 -0
- /package/dist/{multibase-DBcKTV2a.js → multibase.js} +0 -0
- /package/dist/nodeinfo/{client.test-CZLe79hL.d.ts → client.test.d.ts} +0 -0
- /package/dist/nodeinfo/{handler.test-B-EDZ_hK.d.ts → handler.test.d.ts} +0 -0
- /package/dist/nodeinfo/{semver.test-BEuuQSEM.d.ts → semver.test.d.ts} +0 -0
- /package/dist/nodeinfo/{types.test-B5AT89WV.d.ts → types.test.d.ts} +0 -0
- /package/dist/{retry-BQet39_l.js → retry.js} +0 -0
- /package/dist/{router-BuDkN4RQ.js → router.js} +0 -0
- /package/dist/runtime/{authdocloader.test-hCRKzn9v.d.ts → authdocloader.test.d.ts} +0 -0
- /package/dist/runtime/{docloader.test-CVd7i_5h.d.ts → docloader.test.d.ts} +0 -0
- /package/dist/runtime/{key.test-DBsILYSD.d.ts → key.test.d.ts} +0 -0
- /package/dist/runtime/{langstr.test-CiKxuuRY.d.ts → langstr.test.d.ts} +0 -0
- /package/dist/runtime/multibase/{multibase.test-Brh6gPBP.d.ts → multibase.test.d.ts} +0 -0
- /package/dist/runtime/{url.test-DlRqkU2j.d.ts → url.test.d.ts} +0 -0
- /package/dist/{semver-D9d-VO-_.js → semver.js} +0 -0
- /package/dist/sig/{http.test-BpXNAWNI.d.ts → http.test.d.ts} +0 -0
- /package/dist/sig/{key.test-B2iLIugy.d.ts → key.test.d.ts} +0 -0
- /package/dist/sig/{ld.test-D-cI70Gw.d.ts → ld.test.d.ts} +0 -0
- /package/dist/sig/{owner.test-B_YRjMPj.d.ts → owner.test.d.ts} +0 -0
- /package/dist/sig/{proof.test-BagEM_-4.d.ts → proof.test.d.ts} +0 -0
- /package/dist/testing/{docloader.test-lrzf6sDZ.d.ts → docloader.test.d.ts} +0 -0
- /package/dist/testing/{mod-3uM8ZvS7.d.ts → mod.d.ts} +0 -0
- /package/dist/{transformers-CFSWUhNi.js → transformers.js} +0 -0
- /package/dist/{type-DFsmi-p1.js → type.js} +0 -0
- /package/dist/{url-BdNvnK9P.js → url.js} +0 -0
- /package/dist/vocab/{actor.test-ClC-iVWk.d.ts → actor.test.d.ts} +0 -0
- /package/dist/vocab/{lookup.test-Cq1I-27w.d.ts → lookup.test.d.ts} +0 -0
- /package/dist/vocab/{type.test-bfFiYGcs.d.ts → type.test.d.ts} +0 -0
- /package/dist/vocab/{vocab.test-h-ZTisfu.d.ts → vocab.test.d.ts} +0 -0
- /package/dist/webfinger/{handler.test-DiUeEDDD.d.ts → handler.test.d.ts} +0 -0
- /package/dist/webfinger/{lookup.test-D9onm3U3.d.ts → lookup.test.d.ts} +0 -0
- /package/dist/x/{cfworkers.test-KXHlJ29z.d.ts → cfworkers.test.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { a as signRequest, c as FetchKeyResult, d as fetchKey, f as generateCryptoKeyPair, i as VerifyRequestOptions, l as KeyCache, n as HttpMessageSignaturesSpecDeterminer, o as verifyRequest, p as importJwk, r as SignRequestOptions, s as FetchKeyOptions, t as HttpMessageSignaturesSpec, u as exportJwk } from "../http
|
|
4
|
-
import { i as getKeyOwner, n as GetKeyOwnerOptions, r as doesActorOwnKey, t as DoesActorOwnKeyOptions } from "../owner
|
|
5
|
-
import { _ as verifyJsonLd, a as createProof, c as verifyProof, d as VerifyJsonLdOptions, f as VerifySignatureOptions, g as signJsonLd, h as detachSignature, i as VerifyProofOptions, l as CreateSignatureOptions, m as createSignature, n as SignObjectOptions, o as signObject, p as attachSignature, r as VerifyObjectOptions, s as verifyObject, t as CreateProofOptions, u as SignJsonLdOptions, v as verifySignature } from "../
|
|
3
|
+
import { a as signRequest, c as FetchKeyResult, d as fetchKey, f as generateCryptoKeyPair, i as VerifyRequestOptions, l as KeyCache, n as HttpMessageSignaturesSpecDeterminer, o as verifyRequest, p as importJwk, r as SignRequestOptions, s as FetchKeyOptions, t as HttpMessageSignaturesSpec, u as exportJwk } from "../http.js";
|
|
4
|
+
import { i as getKeyOwner, n as GetKeyOwnerOptions, r as doesActorOwnKey, t as DoesActorOwnKeyOptions } from "../owner.js";
|
|
5
|
+
import { _ as verifyJsonLd, a as createProof, c as verifyProof, d as VerifyJsonLdOptions, f as VerifySignatureOptions, g as signJsonLd, h as detachSignature, i as VerifyProofOptions, l as CreateSignatureOptions, m as createSignature, n as SignObjectOptions, o as signObject, p as attachSignature, r as VerifyObjectOptions, s as verifyObject, t as CreateProofOptions, u as SignJsonLdOptions, v as verifySignature } from "../mod3.js";
|
|
6
6
|
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.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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 { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../
|
|
9
|
-
import { n as signRequest, r as verifyRequest } from "../http
|
|
10
|
-
import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "../proof
|
|
5
|
+
import "../docloader.js";
|
|
6
|
+
import "../actor.js";
|
|
7
|
+
import "../lookup.js";
|
|
8
|
+
import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key2.js";
|
|
9
|
+
import { n as signRequest, r as verifyRequest } from "../http.js";
|
|
10
|
+
import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "../proof.js";
|
|
11
11
|
|
|
12
12
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { t as assertEquals } from "../assert_equals
|
|
8
|
-
import { t as assert } from "../assert
|
|
9
|
-
import "../docloader
|
|
10
|
-
import "../url
|
|
11
|
-
import "../multibase
|
|
12
|
-
import { a as Create } from "../vocab
|
|
13
|
-
import "../langstr
|
|
14
|
-
import "../lookup
|
|
15
|
-
import "../actor
|
|
16
|
-
import "../
|
|
17
|
-
import { n as getKeyOwner, t as doesActorOwnKey } from "../owner
|
|
18
|
-
import { t as lookupObject } from "../
|
|
19
|
-
import { t as test } from "../testing
|
|
20
|
-
import "../std__assert
|
|
21
|
-
import { n as assertFalse } from "../assert_rejects
|
|
22
|
-
import "../assert_is_error
|
|
23
|
-
import "../assert_throws
|
|
24
|
-
import { t as mockDocumentLoader } from "../
|
|
25
|
-
import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import { t as assert } from "../assert.js";
|
|
9
|
+
import "../docloader.js";
|
|
10
|
+
import "../url.js";
|
|
11
|
+
import "../multibase.js";
|
|
12
|
+
import { a as Create } from "../vocab.js";
|
|
13
|
+
import "../langstr.js";
|
|
14
|
+
import "../lookup.js";
|
|
15
|
+
import "../actor.js";
|
|
16
|
+
import "../key2.js";
|
|
17
|
+
import { n as getKeyOwner, t as doesActorOwnKey } from "../owner.js";
|
|
18
|
+
import { t as lookupObject } from "../lookup2.js";
|
|
19
|
+
import { t as test } from "../testing.js";
|
|
20
|
+
import "../std__assert.js";
|
|
21
|
+
import { n as assertFalse } from "../assert_rejects.js";
|
|
22
|
+
import "../assert_is_error.js";
|
|
23
|
+
import "../assert_throws.js";
|
|
24
|
+
import { t as mockDocumentLoader } from "../docloader2.js";
|
|
25
|
+
import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys.js";
|
|
26
26
|
|
|
27
27
|
//#region sig/owner.test.ts
|
|
28
28
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { t as assertEquals } from "../assert_equals
|
|
8
|
-
import { t as assertInstanceOf } from "../assert_instance_of
|
|
9
|
-
import "../docloader
|
|
10
|
-
import "../url
|
|
11
|
-
import { t as decode } from "../multibase
|
|
12
|
-
import { C as Place, a as Create, g as Note, h as Multikey, j as importMultibaseKey, s as DataIntegrityProof } from "../vocab
|
|
13
|
-
import "../langstr
|
|
14
|
-
import "../lookup
|
|
15
|
-
import "../actor
|
|
16
|
-
import "../
|
|
17
|
-
import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof
|
|
18
|
-
import { t as test } from "../testing
|
|
19
|
-
import "../std__assert
|
|
20
|
-
import { t as assertRejects } from "../assert_rejects
|
|
21
|
-
import "../assert_is_error
|
|
22
|
-
import "../assert_throws
|
|
23
|
-
import { t as mockDocumentLoader } from "../
|
|
24
|
-
import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import { t as assertInstanceOf } from "../assert_instance_of.js";
|
|
9
|
+
import "../docloader.js";
|
|
10
|
+
import "../url.js";
|
|
11
|
+
import { t as decode } from "../multibase.js";
|
|
12
|
+
import { C as Place, a as Create, g as Note, h as Multikey, j as importMultibaseKey, s as DataIntegrityProof } from "../vocab.js";
|
|
13
|
+
import "../langstr.js";
|
|
14
|
+
import "../lookup.js";
|
|
15
|
+
import "../actor.js";
|
|
16
|
+
import "../key2.js";
|
|
17
|
+
import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof.js";
|
|
18
|
+
import { t as test } from "../testing.js";
|
|
19
|
+
import "../std__assert.js";
|
|
20
|
+
import { t as assertRejects } from "../assert_rejects.js";
|
|
21
|
+
import "../assert_is_error.js";
|
|
22
|
+
import "../assert_throws.js";
|
|
23
|
+
import { t as mockDocumentLoader } from "../docloader2.js";
|
|
24
|
+
import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys.js";
|
|
25
25
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
26
26
|
|
|
27
27
|
//#region sig/proof.test.ts
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { a as diff, i as diffStr, o as buildMessage, r as format, s as red, u as AssertionError } from "./assert_equals
|
|
6
|
+
import { a as diff, i as diffStr, o as buildMessage, r as format, s as red, u as AssertionError } from "./assert_equals.js";
|
|
7
7
|
|
|
8
8
|
//#region node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js
|
|
9
9
|
/**
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { t as assertEquals } from "../assert_equals
|
|
8
|
-
import { t as test } from "../testing
|
|
9
|
-
import "../std__assert
|
|
10
|
-
import "../assert_rejects
|
|
11
|
-
import "../assert_is_error
|
|
12
|
-
import "../assert_throws
|
|
13
|
-
import { t as mockDocumentLoader } from "../
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import { t as test } from "../testing.js";
|
|
9
|
+
import "../std__assert.js";
|
|
10
|
+
import "../assert_rejects.js";
|
|
11
|
+
import "../assert_is_error.js";
|
|
12
|
+
import "../assert_throws.js";
|
|
13
|
+
import { t as mockDocumentLoader } from "../docloader2.js";
|
|
14
14
|
|
|
15
15
|
//#region testing/docloader.test.ts
|
|
16
16
|
test("mockDocumentLoader()", async () => {
|
package/dist/testing/mod.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { n as testDefinitions, t as test } from "../testing
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { n as testDefinitions, t as test } from "../testing.js";
|
|
8
8
|
|
|
9
9
|
export { test, testDefinitions };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { r as __require } from "./chunk
|
|
6
|
+
import { r as __require } from "./chunk.js";
|
|
7
7
|
import { configure, getConsoleSink, reset } from "@logtape/logtape";
|
|
8
8
|
|
|
9
9
|
//#region testing/mod.ts
|
package/dist/vocab/actor.test.js
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { n as __export } from "../chunk
|
|
7
|
-
import { t as assertEquals } from "../assert_equals
|
|
8
|
-
import { t as assert$1 } from "../assert
|
|
9
|
-
import "../docloader
|
|
10
|
-
import "../url
|
|
11
|
-
import "../multibase
|
|
12
|
-
import { S as Person, T as Service, r as Application, u as Group, x as Organization } from "../vocab
|
|
13
|
-
import "../langstr
|
|
14
|
-
import "../lookup
|
|
15
|
-
import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "../actor
|
|
16
|
-
import { t as test } from "../testing
|
|
17
|
-
import { n as assertStrictEquals } from "../std__assert
|
|
18
|
-
import { n as assertFalse, t as assertRejects } from "../assert_rejects
|
|
19
|
-
import "../assert_is_error
|
|
20
|
-
import { t as assertThrows } from "../assert_throws
|
|
21
|
-
import { t as esm_default } from "../esm
|
|
6
|
+
import { n as __export } from "../chunk.js";
|
|
7
|
+
import { t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import { t as assert$1 } from "../assert.js";
|
|
9
|
+
import "../docloader.js";
|
|
10
|
+
import "../url.js";
|
|
11
|
+
import "../multibase.js";
|
|
12
|
+
import { S as Person, T as Service, r as Application, u as Group, x as Organization } from "../vocab.js";
|
|
13
|
+
import "../langstr.js";
|
|
14
|
+
import "../lookup.js";
|
|
15
|
+
import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "../actor.js";
|
|
16
|
+
import { t as test } from "../testing.js";
|
|
17
|
+
import { n as assertStrictEquals } from "../std__assert.js";
|
|
18
|
+
import { n as assertFalse, t as assertRejects } from "../assert_rejects.js";
|
|
19
|
+
import "../assert_is_error.js";
|
|
20
|
+
import { t as assertThrows } from "../assert_throws.js";
|
|
21
|
+
import { t as esm_default } from "../esm.js";
|
|
22
22
|
|
|
23
23
|
//#region node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
|
24
24
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { t as assertEquals } from "../assert_equals
|
|
8
|
-
import { t as assertInstanceOf } from "../assert_instance_of
|
|
9
|
-
import "../docloader
|
|
10
|
-
import "../url
|
|
11
|
-
import "../multibase
|
|
12
|
-
import { S as Person, _ as Object$1, g as Note, i as Collection } from "../vocab
|
|
13
|
-
import "../langstr
|
|
14
|
-
import "../lookup
|
|
15
|
-
import { n as traverseCollection, t as lookupObject } from "../
|
|
16
|
-
import { t as test } from "../testing
|
|
17
|
-
import "../std__assert
|
|
18
|
-
import "../assert_rejects
|
|
19
|
-
import "../assert_is_error
|
|
20
|
-
import "../assert_throws
|
|
21
|
-
import { t as mockDocumentLoader } from "../
|
|
22
|
-
import { t as esm_default } from "../esm
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import { t as assertInstanceOf } from "../assert_instance_of.js";
|
|
9
|
+
import "../docloader.js";
|
|
10
|
+
import "../url.js";
|
|
11
|
+
import "../multibase.js";
|
|
12
|
+
import { S as Person, _ as Object$1, g as Note, i as Collection } from "../vocab.js";
|
|
13
|
+
import "../langstr.js";
|
|
14
|
+
import "../lookup.js";
|
|
15
|
+
import { n as traverseCollection, t as lookupObject } from "../lookup2.js";
|
|
16
|
+
import { t as test } from "../testing.js";
|
|
17
|
+
import "../std__assert.js";
|
|
18
|
+
import "../assert_rejects.js";
|
|
19
|
+
import "../assert_is_error.js";
|
|
20
|
+
import "../assert_throws.js";
|
|
21
|
+
import { t as mockDocumentLoader } from "../docloader2.js";
|
|
22
|
+
import { t as esm_default } from "../esm.js";
|
|
23
23
|
|
|
24
24
|
//#region vocab/lookup.test.ts
|
|
25
25
|
test("lookupObject()", async (t) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { $ as Read, A as Image, B as Multikey, C as Event, D as Group, E as Follow, F as Like, G as OrderedCollectionPage, H as Object$1, I as Link, J as Person, K as Organization, L as Listen, M as Invite, N as Join, O as Hashtag, P as Leave, Q as Question, R as Mention, S as Endpoints, T as Flag, U as Offer, V as Note, W as OrderedCollection, X as Profile, Y as Place, Z as PropertyValue, _ as DidService, a as Application, at as TentativeAccept, b as Emoji, c as Audio, ct as Travel, d as Collection, dt as Video, et as Reject, f as CollectionPage, ft as View, g as Delete, h as DataIntegrityProof, i as Announce, it as Source, j as IntransitiveActivity, k as Ignore, l as Block, lt as Undo, m as CryptographicKey, n as Activity, nt as Remove, o as Arrive, ot as TentativeReject, p as Create, q as Page, r as Add, rt as Service, s as Article, st as Tombstone, t as Accept, tt as Relationship, u as ChatMessage, ut as Update, v as Dislike, w as Export, x as EmojiReact, y as Document, z as Move } from "../vocab
|
|
4
|
-
import { a as Recipient, c as getActorTypeName, i as NormalizeActorHandleOptions, l as isActor, n as ActorTypeName, o as getActorClassByTypeName, r as GetActorHandleOptions, s as getActorHandle, t as Actor, u as normalizeActorHandle } from "../actor
|
|
5
|
-
import { a as lookupObject, i as TraverseCollectionOptions, n as PUBLIC_COLLECTION, o as traverseCollection, r as LookupObjectOptions, t as getTypeId } from "../
|
|
3
|
+
import { $ as Read, A as Image, B as Multikey, C as Event, D as Group, E as Follow, F as Like, G as OrderedCollectionPage, H as Object$1, I as Link, J as Person, K as Organization, L as Listen, M as Invite, N as Join, O as Hashtag, P as Leave, Q as Question, R as Mention, S as Endpoints, T as Flag, U as Offer, V as Note, W as OrderedCollection, X as Profile, Y as Place, Z as PropertyValue, _ as DidService, a as Application, at as TentativeAccept, b as Emoji, c as Audio, ct as Travel, d as Collection, dt as Video, et as Reject, f as CollectionPage, ft as View, g as Delete, h as DataIntegrityProof, i as Announce, it as Source, j as IntransitiveActivity, k as Ignore, l as Block, lt as Undo, m as CryptographicKey, n as Activity, nt as Remove, o as Arrive, ot as TentativeReject, p as Create, q as Page, r as Add, rt as Service, s as Article, st as Tombstone, t as Accept, tt as Relationship, u as ChatMessage, ut as Update, v as Dislike, w as Export, x as EmojiReact, y as Document, z as Move } from "../vocab.js";
|
|
4
|
+
import { a as Recipient, c as getActorTypeName, i as NormalizeActorHandleOptions, l as isActor, n as ActorTypeName, o as getActorClassByTypeName, r as GetActorHandleOptions, s as getActorHandle, t as Actor, u as normalizeActorHandle } from "../actor.js";
|
|
5
|
+
import { a as lookupObject, i as TraverseCollectionOptions, n as PUBLIC_COLLECTION, o as traverseCollection, r as LookupObjectOptions, t as getTypeId } from "../mod2.js";
|
|
6
6
|
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, lookupObject, normalizeActorHandle, traverseCollection };
|
package/dist/vocab/mod.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../docloader
|
|
6
|
-
import { $ as Person, A as Flag, B as Like, C as Dislike, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, w as Document, x as Delete, y as CryptographicKey, z as Leave } from "../actor
|
|
7
|
-
import "../lookup
|
|
8
|
-
import { n as lookupObject, r as traverseCollection, t as PUBLIC_COLLECTION } from "../vocab
|
|
5
|
+
import "../docloader.js";
|
|
6
|
+
import { $ as Person, A as Flag, B as Like, C as Dislike, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, w as Document, x as Delete, y as CryptographicKey, z as Leave } from "../actor.js";
|
|
7
|
+
import "../lookup.js";
|
|
8
|
+
import { n as lookupObject, r as traverseCollection, t as PUBLIC_COLLECTION } from "../vocab.js";
|
|
9
9
|
|
|
10
10
|
export { 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, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, lookupObject, normalizeActorHandle, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { t as assertEquals } from "../assert_equals
|
|
8
|
-
import "../docloader
|
|
9
|
-
import "../url
|
|
10
|
-
import "../multibase
|
|
11
|
-
import { S as Person } from "../vocab
|
|
12
|
-
import "../langstr
|
|
13
|
-
import { t as getTypeId } from "../type
|
|
14
|
-
import { t as test } from "../testing
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import "../docloader.js";
|
|
9
|
+
import "../url.js";
|
|
10
|
+
import "../multibase.js";
|
|
11
|
+
import { S as Person } from "../vocab.js";
|
|
12
|
+
import "../langstr.js";
|
|
13
|
+
import { t as getTypeId } from "../type.js";
|
|
14
|
+
import { t as test } from "../testing.js";
|
|
15
15
|
|
|
16
16
|
//#region vocab/type.test.ts
|
|
17
17
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../chunk
|
|
7
|
-
import { n as isWindows, t as assertEquals } from "../assert_equals
|
|
8
|
-
import { t as assert } from "../assert
|
|
9
|
-
import { t as assertInstanceOf } from "../assert_instance_of
|
|
10
|
-
import "../docloader
|
|
11
|
-
import "../url
|
|
12
|
-
import { t as decode } from "../multibase
|
|
13
|
-
import { C as Place, E as Source, O as vocab_exports, S as Person, _ as Object$1, a as Create, b as OrderedCollectionPage, d as Hashtag, g as Note, l as Follow, m as Link, n as Announce, o as CryptographicKey, t as Activity, w as Question } from "../vocab
|
|
14
|
-
import { t as LanguageString } from "../langstr
|
|
15
|
-
import { t as test } from "../testing
|
|
16
|
-
import "../std__assert
|
|
17
|
-
import { n as assertFalse, t as assertRejects } from "../assert_rejects
|
|
18
|
-
import "../assert_is_error
|
|
19
|
-
import { t as assertNotEquals } from "../assert_not_equals
|
|
20
|
-
import { t as assertThrows } from "../assert_throws
|
|
21
|
-
import { t as mockDocumentLoader } from "../
|
|
22
|
-
import { o as rsaPublicKey1, r as ed25519PublicKey } from "../keys
|
|
6
|
+
import "../chunk.js";
|
|
7
|
+
import { n as isWindows, t as assertEquals } from "../assert_equals.js";
|
|
8
|
+
import { t as assert } from "../assert.js";
|
|
9
|
+
import { t as assertInstanceOf } from "../assert_instance_of.js";
|
|
10
|
+
import "../docloader.js";
|
|
11
|
+
import "../url.js";
|
|
12
|
+
import { t as decode } from "../multibase.js";
|
|
13
|
+
import { C as Place, E as Source, O as vocab_exports, S as Person, _ as Object$1, a as Create, b as OrderedCollectionPage, d as Hashtag, g as Note, l as Follow, m as Link, n as Announce, o as CryptographicKey, t as Activity, w as Question } from "../vocab.js";
|
|
14
|
+
import { t as LanguageString } from "../langstr.js";
|
|
15
|
+
import { t as test } from "../testing.js";
|
|
16
|
+
import "../std__assert.js";
|
|
17
|
+
import { n as assertFalse, t as assertRejects } from "../assert_rejects.js";
|
|
18
|
+
import "../assert_is_error.js";
|
|
19
|
+
import { t as assertNotEquals } from "../assert_not_equals.js";
|
|
20
|
+
import { t as assertThrows } from "../assert_throws.js";
|
|
21
|
+
import { t as mockDocumentLoader } from "../docloader2.js";
|
|
22
|
+
import { o as rsaPublicKey1, r as ed25519PublicKey } from "../keys.js";
|
|
23
23
|
import { pascalCase } from "@es-toolkit/es-toolkit";
|
|
24
24
|
import { parseLanguageTag } from "@phensley/language-tag";
|
|
25
25
|
import { Validator } from "@cfworker/json-schema";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { n as DocumentLoader } from "./docloader
|
|
3
|
+
import { n as DocumentLoader } from "./docloader.js";
|
|
4
4
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
|
5
5
|
import { LanguageTag } from "@phensley/language-tag";
|
|
6
6
|
|