@fedify/relay 2.0.13 → 2.0.14

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.
@@ -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-NRoXl9yB.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-C9_YUPoa.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";
@@ -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-NRoXl9yB.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-C9_YUPoa.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";
@@ -21238,6 +21238,34 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
21238
21238
  require_build$1();
21239
21239
  require_build();
21240
21240
  var import_src = /* @__PURE__ */ __toESM(require_src(), 1);
21241
+ var join_lemmy_default = { "@context": ["https://w3id.org/security/v1", {
21242
+ "as": "https://www.w3.org/ns/activitystreams#",
21243
+ "lemmy": "https://join-lemmy.org/ns#",
21244
+ "litepub": "http://litepub.social/ns#",
21245
+ "pt": "https://joinpeertube.org/ns#",
21246
+ "sc": "http://schema.org/",
21247
+ "mastodon": "http://joinmastodon.org/ns#",
21248
+ "ChatMessage": "litepub:ChatMessage",
21249
+ "commentsEnabled": "pt:commentsEnabled",
21250
+ "sensitive": "as:sensitive",
21251
+ "matrixUserId": "lemmy:matrixUserId",
21252
+ "postingRestrictedToMods": "lemmy:postingRestrictedToMods",
21253
+ "removeData": "lemmy:removeData",
21254
+ "stickied": "lemmy:stickied",
21255
+ "moderators": {
21256
+ "@type": "@id",
21257
+ "@id": "lemmy:moderators"
21258
+ },
21259
+ "expires": "as:endTime",
21260
+ "distinguished": "lemmy:distinguished",
21261
+ "language": "sc:inLanguage",
21262
+ "identifier": "sc:identifier",
21263
+ "Hashtag": "as:Hashtag",
21264
+ "featured": {
21265
+ "@type": "@id",
21266
+ "@id": "mastodon:featured"
21267
+ }
21268
+ }] };
21241
21269
  const preloadedContexts = {
21242
21270
  "https://www.w3.org/ns/activitystreams": { "@context": {
21243
21271
  "@vocab": "_:",
@@ -25457,6 +25485,7 @@ const preloadedContexts = {
25457
25485
  "@type": "@id"
25458
25486
  }
25459
25487
  } },
25488
+ "https://join-lemmy.org/context.json": join_lemmy_default,
25460
25489
  "http://joinmastodon.org/ns": { "@context": {
25461
25490
  "toot": "http://joinmastodon.org/ns#",
25462
25491
  "Emoji": "toot:Emoji",
@@ -25485,7 +25514,7 @@ const preloadedContexts = {
25485
25514
  } }
25486
25515
  };
25487
25516
  var name = "@fedify/vocab-runtime";
25488
- var version = "2.0.13";
25517
+ var version = "2.0.14";
25489
25518
  const parametersNeedLowerCase = ["rel", "type"];
25490
25519
  const regexpLinkWhitespace = /[\n\r\s\t]/;
25491
25520
  function validateURI(uri) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/relay",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
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.0",
53
- "@fedify/fedify": "^2.0.13",
54
- "@fedify/vocab": "2.0.13"
53
+ "@fedify/vocab": "2.0.14",
54
+ "@fedify/fedify": "^2.0.14"
55
55
  },
56
56
  "devDependencies": {
57
57
  "tsdown": "^0.21.6",
58
58
  "typescript": "^5.9.2",
59
59
  "urlpattern-polyfill": "^10.1.0",
60
- "@fedify/vocab-runtime": "^2.0.13"
60
+ "@fedify/vocab-runtime": "^2.0.14"
61
61
  },
62
62
  "scripts": {
63
63
  "build:self": "tsdown",