@fedify/fedify 2.0.0-dev.12 → 2.0.0-dev.148
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/LICENSE +1 -1
- package/README.md +32 -21
- package/dist/{actor-_9UN5RVT.cjs → actor-C9zpoWaz.cjs} +185 -185
- package/dist/{actor-rOm0sXHU.js → actor-CDJsk2cL.js} +4 -1
- package/dist/{actor-C-FuEZU4.js → actor-CN7b3VNC.js} +185 -185
- package/dist/{assert-MZs1qjMx.js → assert-Dp5_aoAs.js} +1 -1
- package/dist/{assert_instance_of-DHz7EHNU.js → assert_instance_of-D1m8F7x0.js} +1 -1
- package/dist/{assert_not_equals-C80BG-_5.js → assert_not_equals-B2R_8p36.js} +1 -1
- package/dist/{assert_rejects-Ce45JcFg.js → assert_rejects-BoKYY0g1.js} +2 -2
- package/dist/{assert_throws-BNXdRGWP.js → assert_throws-DjkXin1a.js} +1 -1
- package/dist/{builder-hArjoWjW.js → builder-sNAekxA0.js} +5 -3
- package/dist/chunk-HsBuZ-b2.js +41 -0
- package/dist/{client-pY7-3icS.js → client-CD87uCL_.js} +1 -1
- package/dist/compat/mod.d.cts +3 -3
- package/dist/compat/mod.d.ts +3 -3
- package/dist/compat/transformers.test.js +29 -24
- package/dist/context-By1PvkXu.js +109 -0
- package/dist/{context-PxGADCsD.d.cts → context-DBQ7nMCw.d.cts} +1 -1
- package/dist/{context-V-XS2_6O.d.ts → context-mM0Nu5yo.d.ts} +1 -1
- package/dist/deno-4flJ39CF.js +131 -0
- package/dist/{testing-D-nLIHkh.js → dist-lStjlyET.js} +73 -113
- package/dist/{docloader-CE1lRhEV.js → docloader-56fs8u4N.js} +3 -3
- package/dist/{esm-BEFbR5eN.js → esm-B52TuumP.js} +1 -1
- package/dist/federation/builder.test.js +15 -12
- package/dist/federation/collection.test.js +9 -10
- package/dist/federation/handler.test.js +35 -30
- package/dist/federation/idempotency.test.js +34 -29
- package/dist/federation/inbox.test.js +7 -5
- package/dist/federation/keycache.test.js +7 -7
- package/dist/federation/kv.test.js +63 -10
- package/dist/federation/middleware.test.js +38 -33
- package/dist/federation/mod.cjs +8 -8
- package/dist/federation/mod.d.cts +3 -3
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +8 -8
- package/dist/federation/mq.test.js +12 -13
- package/dist/federation/negotiation.test.js +9 -10
- package/dist/federation/retry.test.js +4 -5
- package/dist/federation/router.test.js +9 -9
- package/dist/federation/send.test.js +19 -17
- package/dist/{federation-CRpdnOMS.cjs → federation-CoW-KDKv.cjs} +22 -0
- package/dist/{federation-jcR8-ZxP.js → federation-D0hkM4T7.js} +22 -0
- package/dist/{http-Bmx7ea3F.js → http-Zo_IIAIm.js} +3 -2
- package/dist/{http-Q_l4fCEE.js → http-df2tmadG.js} +2 -2
- package/dist/{http-So5V_Tgv.cjs → http-ntobMx1O.cjs} +2 -2
- package/dist/{inbox-B9PjFn2S.js → inbox-EbZ68wVh.js} +3 -1
- package/dist/{key-khQpfFdw.js → key-CVwsdpBG.js} +4 -3
- package/dist/{keycache-BU3fsZFa.js → keycache-Brygl5RE.js} +1 -1
- package/dist/{keys-BaMFfIdL.js → keys-CFhJaqfk.js} +1 -1
- package/dist/{kv-BKNZ-Tb-.d.ts → kv-BpJND1Hr.d.ts} +30 -1
- package/dist/{kv-CRZrzyXm.js → kv-DaWUKuhD.js} +22 -0
- package/dist/{kv-Bxr0Q87_.d.cts → kv-cD_d4hg-.d.cts} +30 -1
- package/dist/{kv-cache-DN9pfMBe.js → kv-cache-C6NrTtII.js} +14 -1
- package/dist/{kv-cache-X2ggcnHI.cjs → kv-cache-C8wVlF6T.cjs} +1 -1
- package/dist/{kv-cache-R1oW382l.js → kv-cache-CWZfiB_6.js} +1 -1
- package/dist/{ld-BLMebnep.js → ld-BCG9onip.js} +5 -3
- package/dist/{lookup-CtC3x1M6.js → lookup-BW_NBcFP.js} +12 -10
- package/dist/lookup-DHL4lalh.js +133 -0
- package/dist/{lookup-CLaDFNx1.cjs → lookup-Dyt4n8ZN.cjs} +12 -10
- package/dist/lookup-wr524AFq.js +230 -0
- package/dist/middleware-B0GQ0wYj.js +31 -0
- package/dist/middleware-D1eO1L5w.js +15 -0
- package/dist/{middleware-DFLterpx.cjs → middleware-DPMTGtOK.cjs} +7 -7
- package/dist/{middleware-C3ml59Hp.js → middleware-De9qUrT0.js} +23 -18
- package/dist/{middleware-Bda2JO66.js → middleware-DluCN-U-.js} +7 -7
- package/dist/middleware-DwZlzo7h.cjs +15 -0
- package/dist/{mod-aAE2wOWV.d.ts → mod-CAdoBu0x.d.ts} +1 -1
- package/dist/{mod-BoRKfJPE.d.cts → mod-Dy2fJtmN.d.cts} +1 -1
- package/dist/{mod-Cdo6SYlJ.d.ts → mod-GetHzY6F.d.ts} +1 -1
- package/dist/{mod-DMpuiKXi.d.cts → mod-fxr25Gv7.d.cts} +1 -1
- package/dist/mod.cjs +8 -8
- package/dist/mod.d.cts +5 -5
- package/dist/mod.d.ts +5 -5
- package/dist/mod.js +8 -8
- package/dist/nodeinfo/client.test.js +10 -11
- package/dist/nodeinfo/handler.test.js +34 -28
- package/dist/nodeinfo/types.test.js +9 -10
- package/dist/otel/exporter.test.js +899 -0
- package/dist/otel/mod.cjs +262 -0
- package/dist/otel/mod.d.cts +230 -0
- package/dist/otel/mod.d.ts +232 -0
- package/dist/otel/mod.js +261 -0
- package/dist/{owner-XzzTSr4S.js → owner-gQW9WlbQ.js} +3 -2
- package/dist/{proof-C9sfVit1.js → proof-BCEIPcIs.js} +4 -2
- package/dist/{proof-B-qOSAuQ.js → proof-DTQVwGH4.js} +3 -3
- package/dist/{proof-BzJkFBBF.cjs → proof-DashjJxi.cjs} +3 -3
- package/dist/router-CVRQXlZi.js +118 -0
- package/dist/{send-yEkZlxzW.js → send-DUnZeDiy.js} +2 -2
- package/dist/sig/http.test.js +17 -14
- package/dist/sig/key.test.js +15 -12
- package/dist/sig/ld.test.js +13 -10
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +17 -14
- package/dist/sig/proof.test.js +16 -13
- package/dist/{std__assert-DWivtrGR.js → std__assert-Cm-MfI66.js} +1 -1
- package/dist/testing/mod.d.ts +2 -7
- package/dist/testing/mod.js +9 -3
- package/dist/type-BSNcIxTd.js +14 -0
- package/dist/utils/docloader.test.js +18 -15
- package/dist/utils/kv-cache.test.js +5 -3
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.d.cts +2 -2
- package/dist/utils/mod.d.ts +2 -2
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +15 -11
- package/dist/vocab/lookup.test.js +14 -11
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +4 -3
- package/dist/vocab/vocab.test.js +166 -165
- package/dist/{vocab-axlR_8k0.js → vocab-B3OHEs0d.js} +2 -2
- package/dist/{lookup-C7SSHgK7.js → vocab-DAAAeCmt.js} +188 -800
- package/dist/{vocab-C96aggZM.cjs → vocab-Dli8kmX2.cjs} +2 -2
- package/dist/webfinger/handler.test.js +34 -28
- package/dist/webfinger/lookup.test.js +11 -10
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/package.json +22 -13
- package/dist/fixtures/activitypub.academy/users/brauca_darradiul.json +0 -83
- package/dist/fixtures/example.com/announce.json +0 -6
- package/dist/fixtures/example.com/collection.json +0 -19
- package/dist/fixtures/example.com/create.json +0 -6
- package/dist/fixtures/example.com/cross-origin-actor.json +0 -6
- package/dist/fixtures/example.com/hong-gildong.json +0 -11
- package/dist/fixtures/example.com/invite.json +0 -7
- package/dist/fixtures/example.com/key.json +0 -7
- package/dist/fixtures/example.com/key2.json +0 -6
- package/dist/fixtures/example.com/object.json +0 -6
- package/dist/fixtures/example.com/orderedcollectionpage.json +0 -24
- package/dist/fixtures/example.com/paged/a.json +0 -13
- package/dist/fixtures/example.com/paged/b.json +0 -16
- package/dist/fixtures/example.com/paged-collection.json +0 -6
- package/dist/fixtures/example.com/person.json +0 -22
- package/dist/fixtures/example.com/person2.json +0 -40
- package/dist/fixtures/example.com/test.json +0 -5
- package/dist/fixtures/example.com/users/handle.json +0 -16
- package/dist/fixtures/example.com/wrong-type.json +0 -3
- package/dist/fixtures/media.example.com/avatars/test-avatar.jpg.json +0 -6
- package/dist/fixtures/oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd.json +0 -24
- package/dist/fixtures/remote.domain/users/bob.json +0 -20
- package/dist/fixtures/server.example/users/alice.json +0 -20
- package/dist/fixtures/w3id.org/identity/v1.json +0 -152
- package/dist/fixtures/w3id.org/security/data-integrity/v1.json +0 -74
- package/dist/fixtures/w3id.org/security/multikey/v1.json +0 -35
- package/dist/fixtures/w3id.org/security/v1.json +0 -50
- package/dist/fixtures/wizard.casa/users/hongminhee.json +0 -69
- package/dist/fixtures/www.w3.org/ns/activitystreams.json +0 -379
- package/dist/fixtures/www.w3.org/ns/did/v1.json +0 -58
- package/dist/middleware-BYBwqvTv.cjs +0 -15
- package/dist/middleware-DC7h2qq-.js +0 -26
- package/dist/middleware-mQR2SM7T.js +0 -15
- package/dist/otel-1BmGPuZc.js +0 -64
- package/dist/src/vocab/accept.yaml +0 -15
- package/dist/src/vocab/activity.yaml +0 -98
- package/dist/src/vocab/add.yaml +0 -16
- package/dist/src/vocab/announce.yaml +0 -30
- package/dist/src/vocab/application.yaml +0 -324
- package/dist/src/vocab/arrive.yaml +0 -15
- package/dist/src/vocab/article.yaml +0 -46
- package/dist/src/vocab/audio.yaml +0 -11
- package/dist/src/vocab/block.yaml +0 -16
- package/dist/src/vocab/chatmessage.yaml +0 -50
- package/dist/src/vocab/collection.yaml +0 -154
- package/dist/src/vocab/collectionpage.yaml +0 -55
- package/dist/src/vocab/create.yaml +0 -28
- package/dist/src/vocab/dataintegrityproof.yaml +0 -56
- package/dist/src/vocab/delete.yaml +0 -27
- package/dist/src/vocab/didservice.yaml +0 -22
- package/dist/src/vocab/dislike.yaml +0 -14
- package/dist/src/vocab/document.yaml +0 -31
- package/dist/src/vocab/emoji.yaml +0 -12
- package/dist/src/vocab/emojireact.yaml +0 -17
- package/dist/src/vocab/endpoints.yaml +0 -85
- package/dist/src/vocab/event.yaml +0 -11
- package/dist/src/vocab/export.yaml +0 -9
- package/dist/src/vocab/flag.yaml +0 -15
- package/dist/src/vocab/follow.yaml +0 -19
- package/dist/src/vocab/group.yaml +0 -324
- package/dist/src/vocab/hashtag.yaml +0 -14
- package/dist/src/vocab/ignore.yaml +0 -14
- package/dist/src/vocab/image.yaml +0 -9
- package/dist/src/vocab/intransitiveactivity.yaml +0 -15
- package/dist/src/vocab/invite.yaml +0 -14
- package/dist/src/vocab/join.yaml +0 -14
- package/dist/src/vocab/key.yaml +0 -28
- package/dist/src/vocab/leave.yaml +0 -14
- package/dist/src/vocab/like.yaml +0 -16
- package/dist/src/vocab/link.yaml +0 -101
- package/dist/src/vocab/listen.yaml +0 -12
- package/dist/src/vocab/mention.yaml +0 -9
- package/dist/src/vocab/move.yaml +0 -15
- package/dist/src/vocab/multikey.yaml +0 -36
- package/dist/src/vocab/note.yaml +0 -48
- package/dist/src/vocab/object.yaml +0 -404
- package/dist/src/vocab/offer.yaml +0 -15
- package/dist/src/vocab/orderedcollection.yaml +0 -39
- package/dist/src/vocab/orderedcollectionpage.yaml +0 -50
- package/dist/src/vocab/organization.yaml +0 -324
- package/dist/src/vocab/page.yaml +0 -11
- package/dist/src/vocab/person.yaml +0 -324
- package/dist/src/vocab/place.yaml +0 -75
- package/dist/src/vocab/profile.yaml +0 -26
- package/dist/src/vocab/propertyvalue.yaml +0 -32
- package/dist/src/vocab/question.yaml +0 -103
- package/dist/src/vocab/read.yaml +0 -13
- package/dist/src/vocab/reject.yaml +0 -14
- package/dist/src/vocab/relationship.yaml +0 -52
- package/dist/src/vocab/remove.yaml +0 -14
- package/dist/src/vocab/service.yaml +0 -324
- package/dist/src/vocab/source.yaml +0 -26
- package/dist/src/vocab/tentativeaccept.yaml +0 -14
- package/dist/src/vocab/tentativereject.yaml +0 -14
- package/dist/src/vocab/tombstone.yaml +0 -24
- package/dist/src/vocab/travel.yaml +0 -16
- package/dist/src/vocab/undo.yaml +0 -26
- package/dist/src/vocab/update.yaml +0 -58
- package/dist/src/vocab/video.yaml +0 -11
- package/dist/src/vocab/view.yaml +0 -13
- package/dist/testing/docloader.test.js +0 -22
- /package/dist/{assert_equals-DSbWqCm3.js → assert_equals-Gbplq4lg.js} +0 -0
- /package/dist/{collection-BzWsN9pB.js → collection-CrkRM5Ep.js} +0 -0
- /package/dist/{negotiation-C4nFufNk.js → negotiation-B4NJHk1f.js} +0 -0
- /package/dist/{testing/docloader.test.d.ts → otel/exporter.test.d.ts} +0 -0
- /package/dist/{retry-CfF8Gn4d.js → retry-Bz5pP75o.js} +0 -0
- /package/dist/{types-C2XVl6gj.js → types-D2jhK2VG.js} +0 -0
package/dist/sig/http.test.js
CHANGED
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import { assert } from "../assert-
|
|
9
|
-
import "../assert_instance_of-
|
|
10
|
-
import "../
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import "../
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
6
|
+
import { mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import { assert } from "../assert-Dp5_aoAs.js";
|
|
9
|
+
import "../assert_instance_of-D1m8F7x0.js";
|
|
10
|
+
import "../deno-4flJ39CF.js";
|
|
11
|
+
import "../vocab-DAAAeCmt.js";
|
|
12
|
+
import "../lookup-DHL4lalh.js";
|
|
13
|
+
import "../type-BSNcIxTd.js";
|
|
14
|
+
import "../actor-CDJsk2cL.js";
|
|
15
|
+
import { exportJwk } from "../key-CVwsdpBG.js";
|
|
16
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-Zo_IIAIm.js";
|
|
17
|
+
import { assertExists, assertStringIncludes } from "../std__assert-Cm-MfI66.js";
|
|
18
|
+
import { assertFalse, assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
19
|
+
import { assertThrows } from "../assert_throws-DjkXin1a.js";
|
|
20
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
21
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-CFhJaqfk.js";
|
|
22
|
+
import { esm_default } from "../esm-B52TuumP.js";
|
|
20
23
|
import { exportSpki } from "@fedify/vocab-runtime";
|
|
21
24
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
22
25
|
|
package/dist/sig/key.test.js
CHANGED
|
@@ -3,18 +3,21 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import "../assert-
|
|
9
|
-
import "../assert_instance_of-
|
|
10
|
-
import "../
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import "../
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import "../
|
|
17
|
-
import {
|
|
6
|
+
import { mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import "../assert-Dp5_aoAs.js";
|
|
9
|
+
import "../assert_instance_of-D1m8F7x0.js";
|
|
10
|
+
import "../deno-4flJ39CF.js";
|
|
11
|
+
import { CryptographicKey, Multikey } from "../vocab-DAAAeCmt.js";
|
|
12
|
+
import "../lookup-DHL4lalh.js";
|
|
13
|
+
import "../type-BSNcIxTd.js";
|
|
14
|
+
import "../actor-CDJsk2cL.js";
|
|
15
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-CVwsdpBG.js";
|
|
16
|
+
import "../std__assert-Cm-MfI66.js";
|
|
17
|
+
import { assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
18
|
+
import { assertThrows } from "../assert_throws-DjkXin1a.js";
|
|
19
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
20
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-CFhJaqfk.js";
|
|
18
21
|
|
|
19
22
|
//#region src/sig/key.test.ts
|
|
20
23
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
|
@@ -3,16 +3,19 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import { assert } from "../assert-
|
|
9
|
-
import "../
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
6
|
+
import { mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import { assert } from "../assert-Dp5_aoAs.js";
|
|
9
|
+
import "../deno-4flJ39CF.js";
|
|
10
|
+
import { CryptographicKey } from "../vocab-DAAAeCmt.js";
|
|
11
|
+
import "../lookup-DHL4lalh.js";
|
|
12
|
+
import "../type-BSNcIxTd.js";
|
|
13
|
+
import "../actor-CDJsk2cL.js";
|
|
14
|
+
import { generateCryptoKeyPair } from "../key-CVwsdpBG.js";
|
|
15
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-BCG9onip.js";
|
|
16
|
+
import { assertFalse, assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
17
|
+
import { assertThrows } from "../assert_throws-DjkXin1a.js";
|
|
18
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-CFhJaqfk.js";
|
|
16
19
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
17
20
|
|
|
18
21
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../lookup-
|
|
6
|
-
require('../actor-
|
|
7
|
-
const require_http = require('../http-
|
|
8
|
-
const require_proof = require('../proof-
|
|
5
|
+
require('../lookup-Dyt4n8ZN.cjs');
|
|
6
|
+
require('../actor-C9zpoWaz.cjs');
|
|
7
|
+
const require_http = require('../http-ntobMx1O.cjs');
|
|
8
|
+
const require_proof = require('../proof-DashjJxi.cjs');
|
|
9
9
|
require('../sig-YYj5tCnr.cjs');
|
|
10
10
|
|
|
11
11
|
exports.attachSignature = require_proof.attachSignature;
|
package/dist/sig/mod.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../lookup-
|
|
6
|
-
import "../actor-
|
|
7
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
|
8
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
|
5
|
+
import "../lookup-BW_NBcFP.js";
|
|
6
|
+
import "../actor-CN7b3VNC.js";
|
|
7
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-df2tmadG.js";
|
|
8
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-DTQVwGH4.js";
|
|
9
9
|
import "../sig-C34-oHBl.js";
|
|
10
10
|
|
|
11
11
|
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,20 +3,23 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import { assert } from "../assert-
|
|
9
|
-
import "../assert_instance_of-
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import "../
|
|
15
|
-
import
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
6
|
+
import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import { assert } from "../assert-Dp5_aoAs.js";
|
|
9
|
+
import "../assert_instance_of-D1m8F7x0.js";
|
|
10
|
+
import "../deno-4flJ39CF.js";
|
|
11
|
+
import { Create, CryptographicKey } from "../vocab-DAAAeCmt.js";
|
|
12
|
+
import "../lookup-DHL4lalh.js";
|
|
13
|
+
import "../type-BSNcIxTd.js";
|
|
14
|
+
import "../actor-CDJsk2cL.js";
|
|
15
|
+
import "../key-CVwsdpBG.js";
|
|
16
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-gQW9WlbQ.js";
|
|
17
|
+
import { lookupObject } from "../lookup-wr524AFq.js";
|
|
18
|
+
import "../std__assert-Cm-MfI66.js";
|
|
19
|
+
import { assertFalse } from "../assert_rejects-BoKYY0g1.js";
|
|
20
|
+
import "../assert_throws-DjkXin1a.js";
|
|
21
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
22
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-CFhJaqfk.js";
|
|
20
23
|
|
|
21
24
|
//#region src/sig/owner.test.ts
|
|
22
25
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
|
@@ -3,19 +3,22 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import "../assert-
|
|
9
|
-
import { assertInstanceOf } from "../assert_instance_of-
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import "../
|
|
15
|
-
import
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import {
|
|
6
|
+
import { mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import "../assert-Dp5_aoAs.js";
|
|
9
|
+
import { assertInstanceOf } from "../assert_instance_of-D1m8F7x0.js";
|
|
10
|
+
import "../deno-4flJ39CF.js";
|
|
11
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../vocab-DAAAeCmt.js";
|
|
12
|
+
import "../lookup-DHL4lalh.js";
|
|
13
|
+
import "../type-BSNcIxTd.js";
|
|
14
|
+
import "../actor-CDJsk2cL.js";
|
|
15
|
+
import "../key-CVwsdpBG.js";
|
|
16
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-BCEIPcIs.js";
|
|
17
|
+
import "../std__assert-Cm-MfI66.js";
|
|
18
|
+
import { assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
19
|
+
import "../assert_throws-DjkXin1a.js";
|
|
20
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
21
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-CFhJaqfk.js";
|
|
19
22
|
import { decodeMultibase, importMultibaseKey } from "@fedify/vocab-runtime";
|
|
20
23
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
21
24
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { AssertionError, buildMessage, diff, diffStr, format, red } from "./assert_equals-
|
|
6
|
+
import { AssertionError, buildMessage, diff, diffStr, format, red } from "./assert_equals-Gbplq4lg.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
|
/**
|
package/dist/testing/mod.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
import { DocumentLoader, GetUserAgentOptions, LanguageString } from "@fedify/vocab-runtime";
|
|
5
5
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
|
6
|
+
export * from "@fedify/fixture";
|
|
6
7
|
|
|
7
8
|
//#region src/nodeinfo/types.d.ts
|
|
8
9
|
/**
|
|
@@ -8985,10 +8986,4 @@ declare function createInboxContext<TContextData>(args: Partial<InboxContext<TCo
|
|
|
8985
8986
|
federation: Federation<TContextData>;
|
|
8986
8987
|
}): InboxContext<TContextData>;
|
|
8987
8988
|
//#endregion
|
|
8988
|
-
|
|
8989
|
-
declare const testDefinitions: Deno.TestDefinition[];
|
|
8990
|
-
declare function test(options: Deno.TestDefinition): void;
|
|
8991
|
-
declare function test(name: string, fn: (t: Deno.TestContext) => void | Promise<void>): void;
|
|
8992
|
-
declare function test(name: string, options: Omit<Deno.TestDefinition, "fn" | "name">, fn: (t: Deno.TestContext) => void | Promise<void>): void;
|
|
8993
|
-
//#endregion
|
|
8994
|
-
export { createInboxContext, createRequestContext, test, testDefinitions };
|
|
8989
|
+
export { createInboxContext, createRequestContext };
|
package/dist/testing/mod.js
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../
|
|
7
|
-
import
|
|
6
|
+
import { TestSpanExporter, createTestTracerProvider, mockDocumentLoader, test, testDefinitions } from "../dist-lStjlyET.js";
|
|
7
|
+
import "../deno-4flJ39CF.js";
|
|
8
|
+
import "../router-CVRQXlZi.js";
|
|
9
|
+
import "../vocab-DAAAeCmt.js";
|
|
10
|
+
import "../lookup-DHL4lalh.js";
|
|
11
|
+
import "../type-BSNcIxTd.js";
|
|
12
|
+
import "../lookup-wr524AFq.js";
|
|
13
|
+
import { createInboxContext, createRequestContext } from "../context-By1PvkXu.js";
|
|
8
14
|
|
|
9
|
-
export { createInboxContext, createRequestContext, test, testDefinitions };
|
|
15
|
+
export { TestSpanExporter, createInboxContext, createRequestContext, createTestTracerProvider, mockDocumentLoader, test, testDefinitions };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
4
|
+
globalThis.addEventListener = () => {};
|
|
5
|
+
|
|
6
|
+
//#region src/vocab/type.ts
|
|
7
|
+
function getTypeId(object) {
|
|
8
|
+
if (object == null) return object;
|
|
9
|
+
const cls = object.constructor;
|
|
10
|
+
return cls.typeId;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { getTypeId };
|
|
@@ -3,21 +3,24 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import "../assert-
|
|
9
|
-
import "../assert_instance_of-
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import "../
|
|
16
|
-
import {
|
|
17
|
-
import "../
|
|
18
|
-
import "../
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
6
|
+
import { mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import "../assert-Dp5_aoAs.js";
|
|
9
|
+
import "../assert_instance_of-D1m8F7x0.js";
|
|
10
|
+
import "../deno-4flJ39CF.js";
|
|
11
|
+
import "../vocab-DAAAeCmt.js";
|
|
12
|
+
import "../lookup-DHL4lalh.js";
|
|
13
|
+
import "../type-BSNcIxTd.js";
|
|
14
|
+
import "../actor-CDJsk2cL.js";
|
|
15
|
+
import "../key-CVwsdpBG.js";
|
|
16
|
+
import { verifyRequest } from "../http-Zo_IIAIm.js";
|
|
17
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-56fs8u4N.js";
|
|
18
|
+
import "../std__assert-Cm-MfI66.js";
|
|
19
|
+
import { assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
20
|
+
import "../assert_throws-DjkXin1a.js";
|
|
21
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
22
|
+
import { rsaPrivateKey2 } from "../keys-CFhJaqfk.js";
|
|
23
|
+
import { esm_default } from "../esm-B52TuumP.js";
|
|
21
24
|
import { UrlError } from "@fedify/vocab-runtime";
|
|
22
25
|
|
|
23
26
|
//#region src/utils/docloader.test.ts
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "../
|
|
7
|
-
import { MockKvStore, kvCache } from "../kv-cache-
|
|
8
|
-
import { mockDocumentLoader, test } from "../testing-D-nLIHkh.js";
|
|
6
|
+
import { mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { MockKvStore, kvCache } from "../kv-cache-C6NrTtII.js";
|
|
9
8
|
import { preloadedContexts } from "@fedify/vocab-runtime";
|
|
10
9
|
import { deepStrictEqual, throws } from "node:assert";
|
|
11
10
|
|
|
@@ -125,6 +124,9 @@ test("kvCache()", async (t) => {
|
|
|
125
124
|
delete(_key) {
|
|
126
125
|
throw new Error("Failed to delete key");
|
|
127
126
|
}
|
|
127
|
+
async *list(_prefix) {
|
|
128
|
+
throw new Error("Failed to list keys");
|
|
129
|
+
}
|
|
128
130
|
}
|
|
129
131
|
const loader = kvCache({
|
|
130
132
|
kv: new KvStoreThrowsException(),
|
package/dist/utils/mod.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../lookup-
|
|
6
|
-
require('../actor-
|
|
7
|
-
require('../http-
|
|
8
|
-
const require_kv_cache = require('../kv-cache-
|
|
5
|
+
require('../lookup-Dyt4n8ZN.cjs');
|
|
6
|
+
require('../actor-C9zpoWaz.cjs');
|
|
7
|
+
require('../http-ntobMx1O.cjs');
|
|
8
|
+
const require_kv_cache = require('../kv-cache-C8wVlF6T.cjs');
|
|
9
9
|
require('../utils-DyRU1gdZ.cjs');
|
|
10
10
|
|
|
11
11
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../vocab-CeDBzu-f.cjs";
|
|
2
2
|
import "../http-M8k5mKc0.cjs";
|
|
3
|
-
import "../kv-
|
|
4
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
3
|
+
import "../kv-cD_d4hg-.cjs";
|
|
4
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-fxr25Gv7.cjs";
|
|
5
5
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../vocab-BCWe1Ih5.js";
|
|
4
4
|
import "../http-BbO0ejuk.js";
|
|
5
|
-
import "../kv-
|
|
6
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
|
5
|
+
import "../kv-BpJND1Hr.js";
|
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-CAdoBu0x.js";
|
|
7
7
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../lookup-
|
|
6
|
-
import "../actor-
|
|
7
|
-
import "../http-
|
|
8
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-
|
|
5
|
+
import "../lookup-BW_NBcFP.js";
|
|
6
|
+
import "../actor-CN7b3VNC.js";
|
|
7
|
+
import "../http-df2tmadG.js";
|
|
8
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-CWZfiB_6.js";
|
|
9
9
|
import "../utils-D-Va7aXC.js";
|
|
10
10
|
|
|
11
11
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/vocab/actor.test.js
CHANGED
|
@@ -3,17 +3,21 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "../
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import "../
|
|
16
|
-
import {
|
|
6
|
+
import { __export } from "../chunk-HsBuZ-b2.js";
|
|
7
|
+
import { test } from "../dist-lStjlyET.js";
|
|
8
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
9
|
+
import { assert } from "../assert-Dp5_aoAs.js";
|
|
10
|
+
import "../assert_instance_of-D1m8F7x0.js";
|
|
11
|
+
import "../deno-4flJ39CF.js";
|
|
12
|
+
import { Application, Group, Organization, Person, Service } from "../vocab-DAAAeCmt.js";
|
|
13
|
+
import "../lookup-DHL4lalh.js";
|
|
14
|
+
import "../type-BSNcIxTd.js";
|
|
15
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-CDJsk2cL.js";
|
|
16
|
+
import { assertStrictEquals } from "../std__assert-Cm-MfI66.js";
|
|
17
|
+
import { assertFalse, assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
18
|
+
import { assertThrows } from "../assert_throws-DjkXin1a.js";
|
|
19
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
20
|
+
import { esm_default } from "../esm-B52TuumP.js";
|
|
17
21
|
|
|
18
22
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
|
19
23
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
|
@@ -3,17 +3,20 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import { assert } from "../assert-
|
|
9
|
-
import { assertInstanceOf } from "../assert_instance_of-
|
|
10
|
-
import
|
|
11
|
-
import "../
|
|
12
|
-
import
|
|
13
|
-
import "../
|
|
14
|
-
import "../
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
6
|
+
import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import { assert } from "../assert-Dp5_aoAs.js";
|
|
9
|
+
import { assertInstanceOf } from "../assert_instance_of-D1m8F7x0.js";
|
|
10
|
+
import "../deno-4flJ39CF.js";
|
|
11
|
+
import { Collection, Note, Object as Object$1, Person } from "../vocab-DAAAeCmt.js";
|
|
12
|
+
import "../lookup-DHL4lalh.js";
|
|
13
|
+
import "../type-BSNcIxTd.js";
|
|
14
|
+
import { lookupObject, traverseCollection } from "../lookup-wr524AFq.js";
|
|
15
|
+
import "../std__assert-Cm-MfI66.js";
|
|
16
|
+
import { assertRejects } from "../assert_rejects-BoKYY0g1.js";
|
|
17
|
+
import "../assert_throws-DjkXin1a.js";
|
|
18
|
+
import "../assert_not_equals-B2R_8p36.js";
|
|
19
|
+
import { esm_default } from "../esm-B52TuumP.js";
|
|
17
20
|
|
|
18
21
|
//#region src/vocab/lookup.test.ts
|
|
19
22
|
test("lookupObject()", {
|
package/dist/vocab/mod.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
4
4
|
|
|
5
|
-
require('../lookup-
|
|
6
|
-
const require_actor = require('../actor-
|
|
7
|
-
const require_vocab = require('../vocab-
|
|
5
|
+
require('../lookup-Dyt4n8ZN.cjs');
|
|
6
|
+
const require_actor = require('../actor-C9zpoWaz.cjs');
|
|
7
|
+
const require_vocab = require('../vocab-Dli8kmX2.cjs');
|
|
8
8
|
|
|
9
9
|
exports.Accept = require_actor.Accept;
|
|
10
10
|
exports.Activity = require_actor.Activity;
|
package/dist/vocab/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 "../lookup-
|
|
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-
|
|
7
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-
|
|
5
|
+
import "../lookup-BW_NBcFP.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-CN7b3VNC.js";
|
|
7
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-B3OHEs0d.js";
|
|
8
8
|
|
|
9
9
|
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, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { assertEquals } from "../assert_equals-
|
|
8
|
-
import {
|
|
6
|
+
import { test } from "../dist-lStjlyET.js";
|
|
7
|
+
import { assertEquals } from "../assert_equals-Gbplq4lg.js";
|
|
8
|
+
import { Person } from "../vocab-DAAAeCmt.js";
|
|
9
|
+
import { getTypeId } from "../type-BSNcIxTd.js";
|
|
9
10
|
|
|
10
11
|
//#region src/vocab/type.test.ts
|
|
11
12
|
test("getTypeId()", () => {
|