@fedify/relay 2.1.20 → 2.1.22
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/litepub.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-
|
|
4
|
+
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-CxInUuK_.js";
|
|
5
5
|
import { MemoryKvStore, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { Accept, Announce, Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
|
package/dist/mastodon.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-
|
|
4
|
+
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-CxInUuK_.js";
|
|
5
5
|
import { MemoryKvStore, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
|
|
@@ -21615,6 +21615,117 @@ var activitystreams_default = { "@context": {
|
|
|
21615
21615
|
"@type": "@id"
|
|
21616
21616
|
}
|
|
21617
21617
|
} };
|
|
21618
|
+
var cid_v1_default = { "@context": {
|
|
21619
|
+
"@protected": true,
|
|
21620
|
+
"id": "@id",
|
|
21621
|
+
"type": "@type",
|
|
21622
|
+
"alsoKnownAs": {
|
|
21623
|
+
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
|
|
21624
|
+
"@type": "@id"
|
|
21625
|
+
},
|
|
21626
|
+
"assertionMethod": {
|
|
21627
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
21628
|
+
"@type": "@id",
|
|
21629
|
+
"@container": "@set"
|
|
21630
|
+
},
|
|
21631
|
+
"authentication": {
|
|
21632
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
21633
|
+
"@type": "@id",
|
|
21634
|
+
"@container": "@set"
|
|
21635
|
+
},
|
|
21636
|
+
"capabilityDelegation": {
|
|
21637
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
21638
|
+
"@type": "@id",
|
|
21639
|
+
"@container": "@set"
|
|
21640
|
+
},
|
|
21641
|
+
"capabilityInvocation": {
|
|
21642
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
21643
|
+
"@type": "@id",
|
|
21644
|
+
"@container": "@set"
|
|
21645
|
+
},
|
|
21646
|
+
"controller": {
|
|
21647
|
+
"@id": "https://w3id.org/security#controller",
|
|
21648
|
+
"@type": "@id"
|
|
21649
|
+
},
|
|
21650
|
+
"keyAgreement": {
|
|
21651
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
21652
|
+
"@type": "@id",
|
|
21653
|
+
"@container": "@set"
|
|
21654
|
+
},
|
|
21655
|
+
"service": {
|
|
21656
|
+
"@id": "https://www.w3.org/ns/did#service",
|
|
21657
|
+
"@type": "@id",
|
|
21658
|
+
"@context": {
|
|
21659
|
+
"@protected": true,
|
|
21660
|
+
"id": "@id",
|
|
21661
|
+
"type": "@type",
|
|
21662
|
+
"serviceEndpoint": {
|
|
21663
|
+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
|
|
21664
|
+
"@type": "@id"
|
|
21665
|
+
}
|
|
21666
|
+
}
|
|
21667
|
+
},
|
|
21668
|
+
"verificationMethod": {
|
|
21669
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
21670
|
+
"@type": "@id"
|
|
21671
|
+
},
|
|
21672
|
+
"Multikey": {
|
|
21673
|
+
"@id": "https://w3id.org/security#Multikey",
|
|
21674
|
+
"@context": {
|
|
21675
|
+
"@protected": true,
|
|
21676
|
+
"id": "@id",
|
|
21677
|
+
"type": "@type",
|
|
21678
|
+
"controller": {
|
|
21679
|
+
"@id": "https://w3id.org/security#controller",
|
|
21680
|
+
"@type": "@id"
|
|
21681
|
+
},
|
|
21682
|
+
"revoked": {
|
|
21683
|
+
"@id": "https://w3id.org/security#revoked",
|
|
21684
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
21685
|
+
},
|
|
21686
|
+
"expires": {
|
|
21687
|
+
"@id": "https://w3id.org/security#expiration",
|
|
21688
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
21689
|
+
},
|
|
21690
|
+
"publicKeyMultibase": {
|
|
21691
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
21692
|
+
"@type": "https://w3id.org/security#multibase"
|
|
21693
|
+
},
|
|
21694
|
+
"secretKeyMultibase": {
|
|
21695
|
+
"@id": "https://w3id.org/security#secretKeyMultibase",
|
|
21696
|
+
"@type": "https://w3id.org/security#multibase"
|
|
21697
|
+
}
|
|
21698
|
+
}
|
|
21699
|
+
},
|
|
21700
|
+
"JsonWebKey": {
|
|
21701
|
+
"@id": "https://w3id.org/security#JsonWebKey",
|
|
21702
|
+
"@context": {
|
|
21703
|
+
"@protected": true,
|
|
21704
|
+
"id": "@id",
|
|
21705
|
+
"type": "@type",
|
|
21706
|
+
"controller": {
|
|
21707
|
+
"@id": "https://w3id.org/security#controller",
|
|
21708
|
+
"@type": "@id"
|
|
21709
|
+
},
|
|
21710
|
+
"revoked": {
|
|
21711
|
+
"@id": "https://w3id.org/security#revoked",
|
|
21712
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
21713
|
+
},
|
|
21714
|
+
"expires": {
|
|
21715
|
+
"@id": "https://w3id.org/security#expiration",
|
|
21716
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
21717
|
+
},
|
|
21718
|
+
"publicKeyJwk": {
|
|
21719
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
21720
|
+
"@type": "@json"
|
|
21721
|
+
},
|
|
21722
|
+
"secretKeyJwk": {
|
|
21723
|
+
"@id": "https://w3id.org/security#secretKeyJwk",
|
|
21724
|
+
"@type": "@json"
|
|
21725
|
+
}
|
|
21726
|
+
}
|
|
21727
|
+
}
|
|
21728
|
+
} };
|
|
21618
21729
|
var did_v1_default = { "@context": {
|
|
21619
21730
|
"@protected": true,
|
|
21620
21731
|
"id": "@id",
|
|
@@ -21704,6 +21815,14 @@ var fep_5711_default = { "@context": {
|
|
|
21704
21815
|
"@type": "@id"
|
|
21705
21816
|
}
|
|
21706
21817
|
} };
|
|
21818
|
+
var fep_ef61_default = { "@context": {
|
|
21819
|
+
"gateways": {
|
|
21820
|
+
"@id": "https://w3id.org/fep/ef61/gateways",
|
|
21821
|
+
"@type": "@id",
|
|
21822
|
+
"@container": "@list"
|
|
21823
|
+
},
|
|
21824
|
+
"digestMultibase": "https://www.w3.org/ns/credentials/v2#digestMultibase"
|
|
21825
|
+
} };
|
|
21707
21826
|
var gotosocial_default = { "@context": {
|
|
21708
21827
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
21709
21828
|
"gts": "https://gotosocial.org/ns#",
|
|
@@ -21996,18 +22115,12 @@ var miscellany_default = { "@context": {
|
|
|
21996
22115
|
"as": "https://www.w3.org/ns/activitystreams#",
|
|
21997
22116
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
21998
22117
|
"Hashtag": "as:Hashtag",
|
|
21999
|
-
"manuallyApprovesFollowers": {
|
|
22000
|
-
"@id": "as:manuallyApprovesFollowers",
|
|
22001
|
-
"@type": "xsd:boolean"
|
|
22002
|
-
},
|
|
22118
|
+
"manuallyApprovesFollowers": { "@id": "as:manuallyApprovesFollowers" },
|
|
22003
22119
|
"movedTo": {
|
|
22004
22120
|
"@id": "as:movedTo",
|
|
22005
22121
|
"@type": "@id"
|
|
22006
22122
|
},
|
|
22007
|
-
"sensitive": {
|
|
22008
|
-
"@id": "as:sensitive",
|
|
22009
|
-
"@type": "xsd:boolean"
|
|
22010
|
-
}
|
|
22123
|
+
"sensitive": { "@id": "as:sensitive" }
|
|
22011
22124
|
} };
|
|
22012
22125
|
var schemaorg_default = { "@context": {
|
|
22013
22126
|
"type": "@type",
|
|
@@ -25592,12 +25705,14 @@ const preloadedContexts = {
|
|
|
25592
25705
|
"http://schema.org/": schemaorg_default,
|
|
25593
25706
|
"https://gotosocial.org/ns": gotosocial_default,
|
|
25594
25707
|
"https://w3id.org/fep/5711": fep_5711_default,
|
|
25708
|
+
"https://www.w3.org/ns/cid/v1": cid_v1_default,
|
|
25709
|
+
"https://w3id.org/fep/ef61": fep_ef61_default,
|
|
25595
25710
|
"https://join-lemmy.org/context.json": join_lemmy_default,
|
|
25596
25711
|
"http://joinmastodon.org/ns": joinmastodon_default,
|
|
25597
25712
|
"https://purl.archive.org/miscellany": miscellany_default
|
|
25598
25713
|
};
|
|
25599
25714
|
var name = "@fedify/vocab-runtime";
|
|
25600
|
-
var version = "2.1.
|
|
25715
|
+
var version = "2.1.22";
|
|
25601
25716
|
const parametersNeedLowerCase = ["rel", "type"];
|
|
25602
25717
|
const regexpLinkWhitespace = /[\n\r\s\t]/;
|
|
25603
25718
|
function validateURI(uri) {
|
|
@@ -26156,7 +26271,9 @@ async function getRemoteDocument(url, response, fetch) {
|
|
|
26156
26271
|
* - <https://w3id.org/security/v1>
|
|
26157
26272
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
26158
26273
|
* - <https://www.w3.org/ns/did/v1>
|
|
26274
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
26159
26275
|
* - <https://w3id.org/security/multikey/v1>
|
|
26276
|
+
* - <https://w3id.org/fep/ef61>
|
|
26160
26277
|
* - <https://purl.archive.org/socialweb/webfinger>
|
|
26161
26278
|
* - <http://schema.org/>
|
|
26162
26279
|
* @param options Options for the document loader.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.22",
|
|
4
4
|
"description": "ActivityPub relay support for Fedify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Fedify",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@js-temporal/polyfill": "^0.5.1",
|
|
52
52
|
"@logtape/logtape": "^2.0.5",
|
|
53
|
-
"@fedify/fedify": "^2.1.
|
|
54
|
-
"@fedify/vocab": "2.1.
|
|
53
|
+
"@fedify/fedify": "^2.1.22",
|
|
54
|
+
"@fedify/vocab": "2.1.22"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"tsdown": "^0.21.6",
|
|
58
58
|
"typescript": "^6.0.0",
|
|
59
59
|
"urlpattern-polyfill": "^10.1.0",
|
|
60
|
-
"@fedify/vocab-runtime": "^2.1.
|
|
60
|
+
"@fedify/vocab-runtime": "^2.1.22"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build:self": "tsdown",
|