@fedify/relay 2.3.5 → 2.3.7
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-D810htEY.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-D810htEY.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";
|
|
@@ -25597,6 +25597,117 @@ const preloadedContexts = {
|
|
|
25597
25597
|
"@type": "@id"
|
|
25598
25598
|
}
|
|
25599
25599
|
} },
|
|
25600
|
+
"https://www.w3.org/ns/cid/v1": { "@context": {
|
|
25601
|
+
"@protected": true,
|
|
25602
|
+
"id": "@id",
|
|
25603
|
+
"type": "@type",
|
|
25604
|
+
"alsoKnownAs": {
|
|
25605
|
+
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
|
|
25606
|
+
"@type": "@id"
|
|
25607
|
+
},
|
|
25608
|
+
"assertionMethod": {
|
|
25609
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
25610
|
+
"@type": "@id",
|
|
25611
|
+
"@container": "@set"
|
|
25612
|
+
},
|
|
25613
|
+
"authentication": {
|
|
25614
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
25615
|
+
"@type": "@id",
|
|
25616
|
+
"@container": "@set"
|
|
25617
|
+
},
|
|
25618
|
+
"capabilityDelegation": {
|
|
25619
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
25620
|
+
"@type": "@id",
|
|
25621
|
+
"@container": "@set"
|
|
25622
|
+
},
|
|
25623
|
+
"capabilityInvocation": {
|
|
25624
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
25625
|
+
"@type": "@id",
|
|
25626
|
+
"@container": "@set"
|
|
25627
|
+
},
|
|
25628
|
+
"controller": {
|
|
25629
|
+
"@id": "https://w3id.org/security#controller",
|
|
25630
|
+
"@type": "@id"
|
|
25631
|
+
},
|
|
25632
|
+
"keyAgreement": {
|
|
25633
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
25634
|
+
"@type": "@id",
|
|
25635
|
+
"@container": "@set"
|
|
25636
|
+
},
|
|
25637
|
+
"service": {
|
|
25638
|
+
"@id": "https://www.w3.org/ns/did#service",
|
|
25639
|
+
"@type": "@id",
|
|
25640
|
+
"@context": {
|
|
25641
|
+
"@protected": true,
|
|
25642
|
+
"id": "@id",
|
|
25643
|
+
"type": "@type",
|
|
25644
|
+
"serviceEndpoint": {
|
|
25645
|
+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
|
|
25646
|
+
"@type": "@id"
|
|
25647
|
+
}
|
|
25648
|
+
}
|
|
25649
|
+
},
|
|
25650
|
+
"verificationMethod": {
|
|
25651
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
25652
|
+
"@type": "@id"
|
|
25653
|
+
},
|
|
25654
|
+
"Multikey": {
|
|
25655
|
+
"@id": "https://w3id.org/security#Multikey",
|
|
25656
|
+
"@context": {
|
|
25657
|
+
"@protected": true,
|
|
25658
|
+
"id": "@id",
|
|
25659
|
+
"type": "@type",
|
|
25660
|
+
"controller": {
|
|
25661
|
+
"@id": "https://w3id.org/security#controller",
|
|
25662
|
+
"@type": "@id"
|
|
25663
|
+
},
|
|
25664
|
+
"revoked": {
|
|
25665
|
+
"@id": "https://w3id.org/security#revoked",
|
|
25666
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25667
|
+
},
|
|
25668
|
+
"expires": {
|
|
25669
|
+
"@id": "https://w3id.org/security#expiration",
|
|
25670
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25671
|
+
},
|
|
25672
|
+
"publicKeyMultibase": {
|
|
25673
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
25674
|
+
"@type": "https://w3id.org/security#multibase"
|
|
25675
|
+
},
|
|
25676
|
+
"secretKeyMultibase": {
|
|
25677
|
+
"@id": "https://w3id.org/security#secretKeyMultibase",
|
|
25678
|
+
"@type": "https://w3id.org/security#multibase"
|
|
25679
|
+
}
|
|
25680
|
+
}
|
|
25681
|
+
},
|
|
25682
|
+
"JsonWebKey": {
|
|
25683
|
+
"@id": "https://w3id.org/security#JsonWebKey",
|
|
25684
|
+
"@context": {
|
|
25685
|
+
"@protected": true,
|
|
25686
|
+
"id": "@id",
|
|
25687
|
+
"type": "@type",
|
|
25688
|
+
"controller": {
|
|
25689
|
+
"@id": "https://w3id.org/security#controller",
|
|
25690
|
+
"@type": "@id"
|
|
25691
|
+
},
|
|
25692
|
+
"revoked": {
|
|
25693
|
+
"@id": "https://w3id.org/security#revoked",
|
|
25694
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25695
|
+
},
|
|
25696
|
+
"expires": {
|
|
25697
|
+
"@id": "https://w3id.org/security#expiration",
|
|
25698
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25699
|
+
},
|
|
25700
|
+
"publicKeyJwk": {
|
|
25701
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
25702
|
+
"@type": "@json"
|
|
25703
|
+
},
|
|
25704
|
+
"secretKeyJwk": {
|
|
25705
|
+
"@id": "https://w3id.org/security#secretKeyJwk",
|
|
25706
|
+
"@type": "@json"
|
|
25707
|
+
}
|
|
25708
|
+
}
|
|
25709
|
+
}
|
|
25710
|
+
} },
|
|
25600
25711
|
"https://w3id.org/fep/ef61": { "@context": {
|
|
25601
25712
|
"gateways": {
|
|
25602
25713
|
"@id": "https://w3id.org/fep/ef61/gateways",
|
|
@@ -25672,7 +25783,7 @@ const preloadedContexts = {
|
|
|
25672
25783
|
} }
|
|
25673
25784
|
};
|
|
25674
25785
|
var name = "@fedify/vocab-runtime";
|
|
25675
|
-
var version = "2.3.
|
|
25786
|
+
var version = "2.3.7";
|
|
25676
25787
|
const parametersNeedLowerCase = ["rel", "type"];
|
|
25677
25788
|
const regexpLinkWhitespace = /[\n\r\s\t]/;
|
|
25678
25789
|
function validateURI(uri) {
|
|
@@ -26231,6 +26342,7 @@ async function getRemoteDocument(url, response, fetch) {
|
|
|
26231
26342
|
* - <https://w3id.org/security/v1>
|
|
26232
26343
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
26233
26344
|
* - <https://www.w3.org/ns/did/v1>
|
|
26345
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
26234
26346
|
* - <https://w3id.org/security/multikey/v1>
|
|
26235
26347
|
* - <https://w3id.org/fep/ef61>
|
|
26236
26348
|
* - <https://purl.archive.org/socialweb/webfinger>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.7",
|
|
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.2.0",
|
|
53
|
-
"@fedify/
|
|
54
|
-
"@fedify/
|
|
53
|
+
"@fedify/fedify": "^2.3.7",
|
|
54
|
+
"@fedify/vocab": "2.3.7"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"tsdown": "^0.22.0",
|
|
58
58
|
"typescript": "^6.0.0",
|
|
59
59
|
"urlpattern-polyfill": "^10.1.0",
|
|
60
|
-
"@fedify/vocab-runtime": "^2.3.
|
|
60
|
+
"@fedify/vocab-runtime": "^2.3.7"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build:self": "tsdown",
|