@fedify/relay 2.4.0-dev.1873 → 2.4.0-dev.1889
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 +1 -1
- package/dist/mastodon.test.js +1 -1
- package/dist/mod.d.cts +1 -1
- package/dist/mod.d.ts +1 -1
- package/dist/{types-BhPbP0kO.js → types-DSxaQv3g.js} +113 -1
- package/package.json +4 -4
package/dist/litepub.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "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-DSxaQv3g.js";
|
|
5
5
|
import { MemoryKvStore, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { deepStrictEqual, ok, strictEqual } from "node:assert";
|
package/dist/mastodon.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "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-DSxaQv3g.js";
|
|
5
5
|
import { MemoryKvStore, signJsonLd, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { deepStrictEqual, ok, strictEqual } from "node:assert";
|
package/dist/mod.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { Context, KvStore, MessageQueue } from "@fedify/fedify";
|
|
3
3
|
import { Actor } from "@fedify/vocab";
|
|
4
|
-
//#region ../vocab-runtime/dist/docloader-
|
|
4
|
+
//#region ../vocab-runtime/dist/docloader-Dr8wEkif.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Options for making `User-Agent` string.
|
|
7
7
|
* @see {@link getUserAgent}
|
package/dist/mod.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { Context, KvStore, MessageQueue } from "@fedify/fedify";
|
|
3
3
|
import { Actor } from "@fedify/vocab";
|
|
4
|
-
//#region ../vocab-runtime/dist/docloader-
|
|
4
|
+
//#region ../vocab-runtime/dist/docloader-Dr8wEkif.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Options for making `User-Agent` string.
|
|
7
7
|
* @see {@link getUserAgent}
|
|
@@ -25888,6 +25888,117 @@ const preloadedContexts = {
|
|
|
25888
25888
|
"@type": "@id"
|
|
25889
25889
|
}
|
|
25890
25890
|
} },
|
|
25891
|
+
"https://www.w3.org/ns/cid/v1": { "@context": {
|
|
25892
|
+
"@protected": true,
|
|
25893
|
+
"id": "@id",
|
|
25894
|
+
"type": "@type",
|
|
25895
|
+
"alsoKnownAs": {
|
|
25896
|
+
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
|
|
25897
|
+
"@type": "@id"
|
|
25898
|
+
},
|
|
25899
|
+
"assertionMethod": {
|
|
25900
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
25901
|
+
"@type": "@id",
|
|
25902
|
+
"@container": "@set"
|
|
25903
|
+
},
|
|
25904
|
+
"authentication": {
|
|
25905
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
25906
|
+
"@type": "@id",
|
|
25907
|
+
"@container": "@set"
|
|
25908
|
+
},
|
|
25909
|
+
"capabilityDelegation": {
|
|
25910
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
25911
|
+
"@type": "@id",
|
|
25912
|
+
"@container": "@set"
|
|
25913
|
+
},
|
|
25914
|
+
"capabilityInvocation": {
|
|
25915
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
25916
|
+
"@type": "@id",
|
|
25917
|
+
"@container": "@set"
|
|
25918
|
+
},
|
|
25919
|
+
"controller": {
|
|
25920
|
+
"@id": "https://w3id.org/security#controller",
|
|
25921
|
+
"@type": "@id"
|
|
25922
|
+
},
|
|
25923
|
+
"keyAgreement": {
|
|
25924
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
25925
|
+
"@type": "@id",
|
|
25926
|
+
"@container": "@set"
|
|
25927
|
+
},
|
|
25928
|
+
"service": {
|
|
25929
|
+
"@id": "https://www.w3.org/ns/did#service",
|
|
25930
|
+
"@type": "@id",
|
|
25931
|
+
"@context": {
|
|
25932
|
+
"@protected": true,
|
|
25933
|
+
"id": "@id",
|
|
25934
|
+
"type": "@type",
|
|
25935
|
+
"serviceEndpoint": {
|
|
25936
|
+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
|
|
25937
|
+
"@type": "@id"
|
|
25938
|
+
}
|
|
25939
|
+
}
|
|
25940
|
+
},
|
|
25941
|
+
"verificationMethod": {
|
|
25942
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
25943
|
+
"@type": "@id"
|
|
25944
|
+
},
|
|
25945
|
+
"Multikey": {
|
|
25946
|
+
"@id": "https://w3id.org/security#Multikey",
|
|
25947
|
+
"@context": {
|
|
25948
|
+
"@protected": true,
|
|
25949
|
+
"id": "@id",
|
|
25950
|
+
"type": "@type",
|
|
25951
|
+
"controller": {
|
|
25952
|
+
"@id": "https://w3id.org/security#controller",
|
|
25953
|
+
"@type": "@id"
|
|
25954
|
+
},
|
|
25955
|
+
"revoked": {
|
|
25956
|
+
"@id": "https://w3id.org/security#revoked",
|
|
25957
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25958
|
+
},
|
|
25959
|
+
"expires": {
|
|
25960
|
+
"@id": "https://w3id.org/security#expiration",
|
|
25961
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25962
|
+
},
|
|
25963
|
+
"publicKeyMultibase": {
|
|
25964
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
25965
|
+
"@type": "https://w3id.org/security#multibase"
|
|
25966
|
+
},
|
|
25967
|
+
"secretKeyMultibase": {
|
|
25968
|
+
"@id": "https://w3id.org/security#secretKeyMultibase",
|
|
25969
|
+
"@type": "https://w3id.org/security#multibase"
|
|
25970
|
+
}
|
|
25971
|
+
}
|
|
25972
|
+
},
|
|
25973
|
+
"JsonWebKey": {
|
|
25974
|
+
"@id": "https://w3id.org/security#JsonWebKey",
|
|
25975
|
+
"@context": {
|
|
25976
|
+
"@protected": true,
|
|
25977
|
+
"id": "@id",
|
|
25978
|
+
"type": "@type",
|
|
25979
|
+
"controller": {
|
|
25980
|
+
"@id": "https://w3id.org/security#controller",
|
|
25981
|
+
"@type": "@id"
|
|
25982
|
+
},
|
|
25983
|
+
"revoked": {
|
|
25984
|
+
"@id": "https://w3id.org/security#revoked",
|
|
25985
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25986
|
+
},
|
|
25987
|
+
"expires": {
|
|
25988
|
+
"@id": "https://w3id.org/security#expiration",
|
|
25989
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
25990
|
+
},
|
|
25991
|
+
"publicKeyJwk": {
|
|
25992
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
25993
|
+
"@type": "@json"
|
|
25994
|
+
},
|
|
25995
|
+
"secretKeyJwk": {
|
|
25996
|
+
"@id": "https://w3id.org/security#secretKeyJwk",
|
|
25997
|
+
"@type": "@json"
|
|
25998
|
+
}
|
|
25999
|
+
}
|
|
26000
|
+
}
|
|
26001
|
+
} },
|
|
25891
26002
|
"https://w3id.org/fep/ef61": { "@context": {
|
|
25892
26003
|
"gateways": {
|
|
25893
26004
|
"@id": "https://w3id.org/fep/ef61/gateways",
|
|
@@ -25963,7 +26074,7 @@ const preloadedContexts = {
|
|
|
25963
26074
|
} }
|
|
25964
26075
|
};
|
|
25965
26076
|
var name = "@fedify/vocab-runtime";
|
|
25966
|
-
var version = "2.4.0-dev.
|
|
26077
|
+
var version = "2.4.0-dev.1889+70cfc7ff";
|
|
25967
26078
|
const parametersNeedLowerCase = ["rel", "type"];
|
|
25968
26079
|
const regexpLinkWhitespace = /[\n\r\s\t]/;
|
|
25969
26080
|
function validateURI(uri) {
|
|
@@ -26390,6 +26501,7 @@ async function getRemoteDocument(url, response, fetch) {
|
|
|
26390
26501
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
26391
26502
|
* - <https://w3id.org/security/data-integrity/v2>
|
|
26392
26503
|
* - <https://www.w3.org/ns/did/v1>
|
|
26504
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
26393
26505
|
* - <https://w3id.org/security/multikey/v1>
|
|
26394
26506
|
* - <https://w3id.org/fep/ef61>
|
|
26395
26507
|
* - <https://purl.archive.org/socialweb/webfinger>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.4.0-dev.
|
|
3
|
+
"version": "2.4.0-dev.1889+70cfc7ff",
|
|
4
4
|
"description": "ActivityPub relay support for Fedify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Fedify",
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@logtape/logtape": "^2.2.0",
|
|
49
49
|
"temporal-polyfill": "^1.0.1",
|
|
50
|
-
"@fedify/vocab": "2.4.0-dev.
|
|
51
|
-
"@fedify/fedify": "^2.4.0-dev.
|
|
50
|
+
"@fedify/vocab": "2.4.0-dev.1889+70cfc7ff",
|
|
51
|
+
"@fedify/fedify": "^2.4.0-dev.1889+70cfc7ff"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"tsdown": "^0.22.0",
|
|
55
55
|
"typescript": "^6.0.0",
|
|
56
56
|
"urlpattern-polyfill": "^10.1.0",
|
|
57
|
-
"@fedify/vocab-runtime": "^2.4.0-dev.
|
|
57
|
+
"@fedify/vocab-runtime": "^2.4.0-dev.1889+70cfc7ff"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build:self": "tsdown",
|