@fedify/fedify 1.7.9 → 1.7.10

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.
Files changed (113) hide show
  1. package/dist/{actor-lW38sC2T.js → actor-C9RnX-Fl.js} +3 -3
  2. package/dist/{actor-BdEyRHSu.js → actor-m_MgQ1Da.js} +179 -179
  3. package/dist/{authdocloader-DNjankdO.js → authdocloader-7OXAs5XI.js} +3 -3
  4. package/dist/{authdocloader-DYTQwADG.js → authdocloader-cdK4XSRT.js} +3 -3
  5. package/dist/{builder-CngxHTRi.js → builder-C7nJE1zO.js} +3 -3
  6. package/dist/{client-BNeCIx9P.js → client-DXIsEekV.js} +1 -1
  7. package/dist/compat/transformers.test.d.ts +2 -1
  8. package/dist/compat/transformers.test.js +19 -18
  9. package/dist/{context-lumX0ZHV.js → context-Bts52fbz.js} +2 -2
  10. package/dist/{docloader-C2i2VJR7.js → docloader-BK2Fp3AJ.js} +2 -2
  11. package/dist/{docloader-BpoDr2rw.js → docloader-CgkbWVNz.js} +2 -2
  12. package/dist/federation/builder.test.d.ts +2 -1
  13. package/dist/federation/builder.test.js +6 -5
  14. package/dist/federation/collection.test.d.ts +2 -1
  15. package/dist/federation/collection.test.js +2 -1
  16. package/dist/federation/handler.test.d.ts +2 -1
  17. package/dist/federation/handler.test.js +21 -20
  18. package/dist/federation/inbox.test.d.ts +2 -1
  19. package/dist/federation/inbox.test.js +5 -4
  20. package/dist/federation/keycache.test.d.ts +2 -1
  21. package/dist/federation/keycache.test.js +5 -4
  22. package/dist/federation/kv.test.d.ts +2 -1
  23. package/dist/federation/kv.test.js +2 -1
  24. package/dist/federation/middleware.test.d.ts +2 -1
  25. package/dist/federation/middleware.test.js +20 -19
  26. package/dist/federation/mod.js +10 -10
  27. package/dist/federation/mq.test.d.ts +2 -1
  28. package/dist/federation/mq.test.js +2 -1
  29. package/dist/federation/retry.test.d.ts +2 -1
  30. package/dist/federation/retry.test.js +2 -1
  31. package/dist/federation/router.test.d.ts +2 -1
  32. package/dist/federation/router.test.js +2 -1
  33. package/dist/federation/send.test.d.ts +2 -1
  34. package/dist/federation/send.test.js +11 -10
  35. package/dist/{http-BiXP97Mg.js → http-CwQqD0nE.js} +3 -3
  36. package/dist/{http-Bf73Pc8n.js → http-D1IBucdD.js} +3 -3
  37. package/dist/{inbox-B6bABfWF.js → inbox-BrMkm2b5.js} +2 -2
  38. package/dist/{key-BkcDQGWw.js → key-C6phFgFq.js} +2 -2
  39. package/dist/{key-B4FI9Pmx.js → key-Do-Pud3s.js} +4 -4
  40. package/dist/{key-CVu3UHNk.js → key-DtQ4rLnr.js} +3 -3
  41. package/dist/{key-sU83wJ27.js → key-ZtjFeVO8.js} +5 -5
  42. package/dist/{keycache-CbYZZGcu.js → keycache-B_99o7Nj.js} +1 -1
  43. package/dist/{keys-DERJJq0n.js → keys-BgLpfFXK.js} +1 -1
  44. package/dist/{ld-DwQsszWL.js → ld-AzOj4-js.js} +3 -3
  45. package/dist/{lookup-Ck4rDA0d.js → lookup-CBbanOdu.js} +3 -3
  46. package/dist/{lookup-MomtMbVM.js → lookup-ChtUDlB-.js} +1 -1
  47. package/dist/{lookup-i_xNGJhe.js → lookup-DJgGrigh.js} +1 -1
  48. package/dist/{middleware-DtP_z9I6.js → middleware-BS_et69x.js} +15 -15
  49. package/dist/middleware-BVMzYv1x.js +33 -0
  50. package/dist/middleware-CnpuCK_K.js +17 -0
  51. package/dist/{middleware-BPdRnvp4.js → middleware-R0UobiAQ.js} +10 -10
  52. package/dist/mod.js +10 -10
  53. package/dist/nodeinfo/client.test.d.ts +2 -1
  54. package/dist/nodeinfo/client.test.js +4 -3
  55. package/dist/nodeinfo/handler.test.d.ts +2 -1
  56. package/dist/nodeinfo/handler.test.js +20 -19
  57. package/dist/nodeinfo/mod.js +2 -2
  58. package/dist/nodeinfo/semver.test.d.ts +2 -1
  59. package/dist/nodeinfo/semver.test.js +2 -1
  60. package/dist/nodeinfo/types.test.d.ts +2 -1
  61. package/dist/nodeinfo/types.test.js +2 -1
  62. package/dist/{owner-7iBuSVl4.js → owner-Ces3Cs3s.js} +3 -3
  63. package/dist/{proof-CtoF37-N.js → proof-BKV4HiE8.js} +3 -3
  64. package/dist/{proof-W7ADUBT9.js → proof-BOQF8Trx.js} +3 -3
  65. package/dist/runtime/authdocloader.test.d.ts +2 -1
  66. package/dist/runtime/authdocloader.test.js +10 -9
  67. package/dist/runtime/docloader.test.d.ts +2 -1
  68. package/dist/runtime/docloader.test.js +27 -2
  69. package/dist/runtime/key.test.d.ts +2 -1
  70. package/dist/runtime/key.test.js +7 -6
  71. package/dist/runtime/langstr.test.d.ts +2 -1
  72. package/dist/runtime/langstr.test.js +2 -1
  73. package/dist/runtime/mod.js +6 -6
  74. package/dist/runtime/multibase/multibase.test.d.ts +2 -1
  75. package/dist/runtime/multibase/multibase.test.js +2 -1
  76. package/dist/runtime/url.test.d.ts +2 -1
  77. package/dist/runtime/url.test.js +2 -1
  78. package/dist/{send-CaHCB-Kf.js → send-aAmnTqe8.js} +2 -2
  79. package/dist/sig/http.test.d.ts +2 -1
  80. package/dist/sig/http.test.js +9 -8
  81. package/dist/sig/key.test.d.ts +2 -1
  82. package/dist/sig/key.test.js +8 -7
  83. package/dist/sig/ld.test.d.ts +2 -1
  84. package/dist/sig/ld.test.js +9 -8
  85. package/dist/sig/mod.js +6 -6
  86. package/dist/sig/owner.test.d.ts +2 -1
  87. package/dist/sig/owner.test.js +10 -9
  88. package/dist/sig/proof.test.d.ts +2 -1
  89. package/dist/sig/proof.test.js +9 -8
  90. package/dist/testing/docloader.test.d.ts +2 -1
  91. package/dist/testing/docloader.test.js +2 -1
  92. package/dist/{types-CJqlYa9v.js → types-DBIKpLqH.js} +1 -1
  93. package/dist/vocab/actor.test.d.ts +2 -1
  94. package/dist/vocab/actor.test.js +6 -6
  95. package/dist/vocab/lookup.test.d.ts +2 -1
  96. package/dist/vocab/lookup.test.js +6 -5
  97. package/dist/vocab/mod.js +4 -4
  98. package/dist/vocab/type.test.d.ts +2 -1
  99. package/dist/vocab/type.test.js +4 -3
  100. package/dist/vocab/vocab.test.d.ts +2 -1
  101. package/dist/vocab/vocab.test.js +19 -18
  102. package/dist/{vocab-b9IZeAzb.js → vocab-BOerhowX.js} +178 -178
  103. package/dist/{vocab-C9CPkYQi.js → vocab-F6vbRsQh.js} +3 -3
  104. package/dist/webfinger/handler.test.d.ts +2 -1
  105. package/dist/webfinger/handler.test.js +20 -19
  106. package/dist/webfinger/lookup.test.d.ts +2 -1
  107. package/dist/webfinger/lookup.test.js +4 -3
  108. package/dist/webfinger/mod.js +2 -2
  109. package/dist/x/cfworkers.test.d.ts +2 -1
  110. package/dist/x/cfworkers.test.js +2 -1
  111. package/package.json +1 -1
  112. package/dist/middleware-BXEwpPLe.js +0 -17
  113. package/dist/middleware-DAbjdD1U.js +0 -33
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -36,4 +36,5 @@ test("util.inspect(LanguageString)", () => {
36
36
  assertEquals(util.inspect(langStr, { colors: false }), "<en> \"Hello, 'world'\"");
37
37
  });
38
38
 
39
- //#endregion
39
+ //#endregion
40
+ export { };
@@ -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-C2i2VJR7.js";
6
- import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-BdEyRHSu.js";
7
- import "../lookup-i_xNGJhe.js";
8
- import "../key-BkcDQGWw.js";
9
- import "../http-BiXP97Mg.js";
10
- import { getAuthenticatedDocumentLoader } from "../authdocloader-DYTQwADG.js";
5
+ import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-BK2Fp3AJ.js";
6
+ import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-m_MgQ1Da.js";
7
+ import "../lookup-DJgGrigh.js";
8
+ import "../key-C6phFgFq.js";
9
+ import "../http-CwQqD0nE.js";
10
+ import { getAuthenticatedDocumentLoader } from "../authdocloader-cdK4XSRT.js";
11
11
  import "../runtime-BSkOVUWM.js";
12
12
 
13
13
  export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -354,4 +354,5 @@ test("constants", async (t) => {
354
354
  });
355
355
  });
356
356
 
357
- //#endregion
357
+ //#endregion
358
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -41,4 +41,5 @@ test("expandIPv6Address()", () => {
41
41
  assertEquals(expandIPv6Address("2001:db8::1"), "2001:0db8:0000:0000:0000:0000:0000:0001");
42
42
  });
43
43
 
44
- //#endregion
44
+ //#endregion
45
+ export { };
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-BpoDr2rw.js";
7
- import { doubleKnock } from "./http-Bf73Pc8n.js";
6
+ import { deno_default } from "./docloader-CgkbWVNz.js";
7
+ import { doubleKnock } from "./http-D1IBucdD.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
10
10
 
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,16 +6,16 @@
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import "../multibase-DeCHcK8L.js";
12
- import { exportSpki } from "../vocab-b9IZeAzb.js";
12
+ import { exportSpki } from "../vocab-BOerhowX.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-ChtUDlB-.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-lW38sC2T.js";
17
- import { exportJwk } from "../key-CVu3UHNk.js";
18
- import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-Bf73Pc8n.js";
16
+ import "../actor-C9RnX-Fl.js";
17
+ import { exportJwk } from "../key-DtQ4rLnr.js";
18
+ import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-D1IBucdD.js";
19
19
  import { test } from "../testing-BZ0dJ4qn.js";
20
20
  import { assertExists, assertStringIncludes } from "../std__assert-vp0TKMS1.js";
21
21
  import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
@@ -23,7 +23,7 @@ import "../assert_is_error-nrwA1GeT.js";
23
23
  import "../assert_not_equals-Dc7y-V5Q.js";
24
24
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
25
25
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
26
- import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-DERJJq0n.js";
26
+ import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-BgLpfFXK.js";
27
27
  import { esm_default } from "../esm-Db4De7AS.js";
28
28
  import { encodeBase64 } from "byte-encodings/base64";
29
29
 
@@ -1183,4 +1183,5 @@ test("doubleKnock() regression test for redirect handling bug", async () => {
1183
1183
  esm_default.hardReset();
1184
1184
  });
1185
1185
 
1186
- //#endregion
1186
+ //#endregion
1187
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,15 +6,15 @@
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import "../assert-DmFG7ppO.js";
8
8
  import "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import "../multibase-DeCHcK8L.js";
12
- import { CryptographicKey, Multikey } from "../vocab-b9IZeAzb.js";
12
+ import { CryptographicKey, Multikey } from "../vocab-BOerhowX.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-ChtUDlB-.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-lW38sC2T.js";
17
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-CVu3UHNk.js";
16
+ import "../actor-C9RnX-Fl.js";
17
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-DtQ4rLnr.js";
18
18
  import { test } from "../testing-BZ0dJ4qn.js";
19
19
  import "../std__assert-vp0TKMS1.js";
20
20
  import { assertRejects } from "../assert_rejects-C-sxEMM5.js";
@@ -22,7 +22,7 @@ import "../assert_is_error-nrwA1GeT.js";
22
22
  import "../assert_not_equals-Dc7y-V5Q.js";
23
23
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
24
24
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
25
- import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-DERJJq0n.js";
25
+ import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-BgLpfFXK.js";
26
26
 
27
27
  //#region sig/key.test.ts
28
28
  test("validateCryptoKey()", async () => {
@@ -252,4 +252,5 @@ test("fetchKey()", async () => {
252
252
  });
253
253
  });
254
254
 
255
- //#endregion
255
+ //#endregion
256
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -5,22 +5,22 @@
5
5
 
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
- import "../docloader-BpoDr2rw.js";
8
+ import "../docloader-CgkbWVNz.js";
9
9
  import "../url-kTAI6_KP.js";
10
10
  import "../multibase-DeCHcK8L.js";
11
- import { CryptographicKey } from "../vocab-b9IZeAzb.js";
11
+ import { CryptographicKey } from "../vocab-BOerhowX.js";
12
12
  import "../langstr-DbWheeIS.js";
13
- import "../lookup-MomtMbVM.js";
13
+ import "../lookup-ChtUDlB-.js";
14
14
  import "../type-D2s5lmbZ.js";
15
- import "../actor-lW38sC2T.js";
16
- import { generateCryptoKeyPair } from "../key-CVu3UHNk.js";
17
- import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-DwQsszWL.js";
15
+ import "../actor-C9RnX-Fl.js";
16
+ import { generateCryptoKeyPair } from "../key-DtQ4rLnr.js";
17
+ import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-AzOj4-js.js";
18
18
  import { test } from "../testing-BZ0dJ4qn.js";
19
19
  import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
20
20
  import "../assert_is_error-nrwA1GeT.js";
21
21
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
22
22
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
23
- import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DERJJq0n.js";
23
+ import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-BgLpfFXK.js";
24
24
  import { encodeBase64 } from "byte-encodings/base64";
25
25
 
26
26
  //#region sig/ld.test.ts
@@ -229,4 +229,5 @@ test("verifyJsonLd()", async () => {
229
229
  assertFalse(verified2);
230
230
  });
231
231
 
232
- //#endregion
232
+ //#endregion
233
+ export { };
package/dist/sig/mod.js CHANGED
@@ -2,12 +2,12 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-C2i2VJR7.js";
6
- import "../actor-BdEyRHSu.js";
7
- import "../lookup-i_xNGJhe.js";
8
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-BkcDQGWw.js";
9
- import { signRequest, verifyRequest } from "../http-BiXP97Mg.js";
10
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-CtoF37-N.js";
5
+ import "../docloader-BK2Fp3AJ.js";
6
+ import "../actor-m_MgQ1Da.js";
7
+ import "../lookup-DJgGrigh.js";
8
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-C6phFgFq.js";
9
+ import { signRequest, verifyRequest } from "../http-CwQqD0nE.js";
10
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-BKV4HiE8.js";
11
11
  import "../sig-BXJO--F9.js";
12
12
 
13
13
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,17 +6,17 @@
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import "../multibase-DeCHcK8L.js";
12
- import { Create } from "../vocab-b9IZeAzb.js";
12
+ import { Create } from "../vocab-BOerhowX.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-ChtUDlB-.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-lW38sC2T.js";
17
- import "../key-CVu3UHNk.js";
18
- import { doesActorOwnKey, getKeyOwner } from "../owner-7iBuSVl4.js";
19
- import { lookupObject } from "../lookup-Ck4rDA0d.js";
16
+ import "../actor-C9RnX-Fl.js";
17
+ import "../key-DtQ4rLnr.js";
18
+ import { doesActorOwnKey, getKeyOwner } from "../owner-Ces3Cs3s.js";
19
+ import { lookupObject } from "../lookup-CBbanOdu.js";
20
20
  import { test } from "../testing-BZ0dJ4qn.js";
21
21
  import "../std__assert-vp0TKMS1.js";
22
22
  import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
@@ -24,7 +24,7 @@ import "../assert_is_error-nrwA1GeT.js";
24
24
  import "../assert_not_equals-Dc7y-V5Q.js";
25
25
  import "../assert_throws-Cn9C6Jur.js";
26
26
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
27
- import { rsaPublicKey1, rsaPublicKey2 } from "../keys-DERJJq0n.js";
27
+ import { rsaPublicKey1, rsaPublicKey2 } from "../keys-BgLpfFXK.js";
28
28
 
29
29
  //#region sig/owner.test.ts
30
30
  test("doesActorOwnKey()", async () => {
@@ -56,4 +56,5 @@ test("getKeyOwner()", async () => {
56
56
  assertEquals(noOwner2, null);
57
57
  });
58
58
 
59
- //#endregion
59
+ //#endregion
60
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,16 +6,16 @@
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import { decode } from "../multibase-DeCHcK8L.js";
12
- import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-b9IZeAzb.js";
12
+ import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-BOerhowX.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-ChtUDlB-.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-lW38sC2T.js";
17
- import "../key-CVu3UHNk.js";
18
- import { createProof, signObject, verifyObject, verifyProof } from "../proof-W7ADUBT9.js";
16
+ import "../actor-C9RnX-Fl.js";
17
+ import "../key-DtQ4rLnr.js";
18
+ import { createProof, signObject, verifyObject, verifyProof } from "../proof-BOQF8Trx.js";
19
19
  import { test } from "../testing-BZ0dJ4qn.js";
20
20
  import "../std__assert-vp0TKMS1.js";
21
21
  import { assertRejects } from "../assert_rejects-C-sxEMM5.js";
@@ -23,7 +23,7 @@ import "../assert_is_error-nrwA1GeT.js";
23
23
  import "../assert_not_equals-Dc7y-V5Q.js";
24
24
  import "../assert_throws-Cn9C6Jur.js";
25
25
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
26
- import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-DERJJq0n.js";
26
+ import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BgLpfFXK.js";
27
27
  import { decodeHex, encodeHex } from "byte-encodings/hex";
28
28
 
29
29
  //#region sig/proof.test.ts
@@ -272,4 +272,5 @@ test("verifyObject()", async () => {
272
272
  assertEquals(note.content, "Hello world");
273
273
  });
274
274
 
275
- //#endregion
275
+ //#endregion
276
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -20,4 +20,5 @@ test("mockDocumentLoader()", async () => {
20
20
  assertEquals(await response.document, { "https://example.com/prop/test": { "@value": "foo" } });
21
21
  });
22
22
 
23
- //#endregion
23
+ //#endregion
24
+ export { };
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { getUserAgent } from "./docloader-C2i2VJR7.js";
5
+ import { getUserAgent } from "./docloader-BK2Fp3AJ.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
 
8
8
  //#region nodeinfo/semver.ts
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -7,14 +7,14 @@ import { __export } from "../chunk-HsBuZ-b2.js";
7
7
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
8
8
  import { assert } from "../assert-DmFG7ppO.js";
9
9
  import "../assert_instance_of-CF09JHYM.js";
10
- import "../docloader-BpoDr2rw.js";
10
+ import "../docloader-CgkbWVNz.js";
11
11
  import "../url-kTAI6_KP.js";
12
12
  import "../multibase-DeCHcK8L.js";
13
- import { Application, Group, Organization, Person, Service } from "../vocab-b9IZeAzb.js";
13
+ import { Application, Group, Organization, Person, Service } from "../vocab-BOerhowX.js";
14
14
  import "../langstr-DbWheeIS.js";
15
- import "../lookup-MomtMbVM.js";
15
+ import "../lookup-ChtUDlB-.js";
16
16
  import "../type-D2s5lmbZ.js";
17
- import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-lW38sC2T.js";
17
+ import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-C9RnX-Fl.js";
18
18
  import { test } from "../testing-BZ0dJ4qn.js";
19
19
  import { assertStrictEquals } from "../std__assert-vp0TKMS1.js";
20
20
  import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
@@ -5382,7 +5382,6 @@ const safeNegativeInfinity = Number.NEGATIVE_INFINITY;
5382
5382
  const safePositiveInfinity = Number.POSITIVE_INFINITY;
5383
5383
  const safeNaN = NaN;
5384
5384
  function safeFloatToIndex(f, constraintsLabel) {
5385
- const conversionTrick = "you can convert any double to a 32-bit float by using `Math.fround(myDouble)`";
5386
5385
  const errorMessage = "fc.float constraints." + constraintsLabel + " must be a 32-bit float - you can convert any double to a 32-bit float by using `Math.fround(myDouble)`";
5387
5386
  if (safeNumberIsNaN(f) || safeMathFround(f) !== f) throw new Error(errorMessage);
5388
5387
  return floatToIndex(f);
@@ -5959,4 +5958,5 @@ test("normalizeActorHandle()", () => {
5959
5958
  assertThrows(() => normalizeActorHandle("@foo@bar.com@baz.com"));
5960
5959
  });
5961
5960
 
5962
- //#endregion
5961
+ //#endregion
5962
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,14 +6,14 @@
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import "../multibase-DeCHcK8L.js";
12
- import { Collection, Note, Object as Object$1, Person } from "../vocab-b9IZeAzb.js";
12
+ import { Collection, Note, Object as Object$1, Person } from "../vocab-BOerhowX.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-ChtUDlB-.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import { lookupObject, traverseCollection } from "../lookup-Ck4rDA0d.js";
16
+ import { lookupObject, traverseCollection } from "../lookup-CBbanOdu.js";
17
17
  import { test } from "../testing-BZ0dJ4qn.js";
18
18
  import "../std__assert-vp0TKMS1.js";
19
19
  import "../assert_rejects-C-sxEMM5.js";
@@ -118,4 +118,5 @@ test("traverseCollection()", async () => {
118
118
  ]);
119
119
  });
120
120
 
121
- //#endregion
121
+ //#endregion
122
+ export { };
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-C2i2VJR7.js";
6
- 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, 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, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-BdEyRHSu.js";
7
- import "../lookup-i_xNGJhe.js";
8
- import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-C9CPkYQi.js";
5
+ import "../docloader-BK2Fp3AJ.js";
6
+ 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, 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, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-m_MgQ1Da.js";
7
+ import "../lookup-DJgGrigh.js";
8
+ import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "../vocab-F6vbRsQh.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 };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -4,10 +4,10 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
- import "../docloader-BpoDr2rw.js";
7
+ import "../docloader-CgkbWVNz.js";
8
8
  import "../url-kTAI6_KP.js";
9
9
  import "../multibase-DeCHcK8L.js";
10
- import { Person } from "../vocab-b9IZeAzb.js";
10
+ import { Person } from "../vocab-BOerhowX.js";
11
11
  import "../langstr-DbWheeIS.js";
12
12
  import { getTypeId } from "../type-D2s5lmbZ.js";
13
13
  import { test } from "../testing-BZ0dJ4qn.js";
@@ -26,4 +26,5 @@ test("getTypeId()", () => {
26
26
  assertEquals(getTypeId(obj5), void 0);
27
27
  });
28
28
 
29
- //#endregion
29
+ //#endregion
30
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,10 +6,10 @@
6
6
  import { assertEquals, isWindows } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import { decode } from "../multibase-DeCHcK8L.js";
12
- import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-b9IZeAzb.js";
12
+ import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-BOerhowX.js";
13
13
  import { LanguageString } from "../langstr-DbWheeIS.js";
14
14
  import { test } from "../testing-BZ0dJ4qn.js";
15
15
  import "../std__assert-vp0TKMS1.js";
@@ -18,20 +18,20 @@ import "../assert_is_error-nrwA1GeT.js";
18
18
  import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
19
19
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
20
20
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
21
- import { ed25519PublicKey, rsaPublicKey1 } from "../keys-DERJJq0n.js";
21
+ import { ed25519PublicKey, rsaPublicKey1 } from "../keys-BgLpfFXK.js";
22
22
  import { pascalCase } from "@es-toolkit/es-toolkit";
23
23
  import { parseLanguageTag } from "@phensley/language-tag";
24
24
  import { Validator } from "@cfworker/json-schema";
25
25
  import { readFile, readdir } from "node:fs/promises";
26
26
  import { join } from "node:path";
27
27
 
28
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/assert_path.js
28
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/assert_path.js
29
29
  function assertPath(path) {
30
30
  if (typeof path !== "string") throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
31
31
  }
32
32
 
33
33
  //#endregion
34
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/from_file_url.js
34
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/from_file_url.js
35
35
  function assertArg$2(url) {
36
36
  url = url instanceof URL ? url : new URL(url);
37
37
  if (url.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
@@ -39,7 +39,7 @@ function assertArg$2(url) {
39
39
  }
40
40
 
41
41
  //#endregion
42
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/from_file_url.js
42
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/from_file_url.js
43
43
  /**
44
44
  * Converts a file URL to a path string.
45
45
  *
@@ -59,7 +59,7 @@ function assertArg$2(url) {
59
59
  }
60
60
 
61
61
  //#endregion
62
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
62
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/strip_trailing_separators.js
63
63
  function stripTrailingSeparators(segment, isSep) {
64
64
  if (segment.length <= 1) return segment;
65
65
  let end = segment.length;
@@ -69,18 +69,18 @@ function stripTrailingSeparators(segment, isSep) {
69
69
  }
70
70
 
71
71
  //#endregion
72
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/constants.js
72
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/constants.js
73
73
  const CHAR_DOT = 46;
74
74
  const CHAR_FORWARD_SLASH = 47;
75
75
 
76
76
  //#endregion
77
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/_util.js
77
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/_util.js
78
78
  function isPosixPathSeparator(code) {
79
79
  return code === CHAR_FORWARD_SLASH;
80
80
  }
81
81
 
82
82
  //#endregion
83
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/windows/from_file_url.js
83
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/windows/from_file_url.js
84
84
  /**
85
85
  * Converts a file URL to a path string.
86
86
  *
@@ -104,14 +104,14 @@ function isPosixPathSeparator(code) {
104
104
  }
105
105
 
106
106
  //#endregion
107
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/dirname.js
107
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/dirname.js
108
108
  function assertArg$1(path) {
109
109
  assertPath(path);
110
110
  if (path.length === 0) return ".";
111
111
  }
112
112
 
113
113
  //#endregion
114
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/dirname.js
114
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/dirname.js
115
115
  /**
116
116
  * Return the directory path of a `path`.
117
117
  *
@@ -155,7 +155,7 @@ function assertArg$1(path) {
155
155
  }
156
156
 
157
157
  //#endregion
158
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/from_file_url.js
158
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/from_file_url.js
159
159
  /**
160
160
  * Converts a file URL to a path string.
161
161
  *
@@ -180,14 +180,14 @@ function assertArg$1(path) {
180
180
  }
181
181
 
182
182
  //#endregion
183
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/normalize.js
183
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/normalize.js
184
184
  function assertArg(path) {
185
185
  assertPath(path);
186
186
  if (path.length === 0) return ".";
187
187
  }
188
188
 
189
189
  //#endregion
190
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/_common/normalize_string.js
190
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/_common/normalize_string.js
191
191
  function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
192
192
  let res = "";
193
193
  let lastSegmentLength = 0;
@@ -240,7 +240,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
240
240
  }
241
241
 
242
242
  //#endregion
243
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/normalize.js
243
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/normalize.js
244
244
  /**
245
245
  * Normalize the `path`, resolving `'..'` and `'.'` segments.
246
246
  * Note that resolving these segments does not necessarily mean that all will be eliminated.
@@ -288,7 +288,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
288
288
  }
289
289
 
290
290
  //#endregion
291
- //#region node_modules/.pnpm/@jsr+std__path@1.1.1/node_modules/@jsr/std__path/posix/join.js
291
+ //#region node_modules/.pnpm/@jsr+std__path@1.1.2/node_modules/@jsr/std__path/posix/join.js
292
292
  /**
293
293
  * Join all given a sequence of `paths`,then normalizes the resulting path.
294
294
  *
@@ -3303,4 +3303,5 @@ for (const typeUri in types) {
3303
3303
  });
3304
3304
  }
3305
3305
 
3306
- //#endregion
3306
+ //#endregion
3307
+ export { };