@fedify/vocab 2.4.0-dev.2193 → 2.4.0-dev.2212

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab",
3
- "version": "2.4.0-dev.2193+402149b5",
3
+ "version": "2.4.0-dev.2212+26ce9858",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts"
package/dist/mod.cjs CHANGED
@@ -36,7 +36,7 @@ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
36
36
  let es_toolkit = require("es-toolkit");
37
37
  //#region deno.json
38
38
  var name = "@fedify/vocab";
39
- var version = "2.4.0-dev.2193+402149b5";
39
+ var version = "2.4.0-dev.2212+26ce9858";
40
40
  //#endregion
41
41
  //#region src/type.ts
42
42
  function getTypeId(object) {
package/dist/mod.d.cts CHANGED
@@ -24128,6 +24128,15 @@ interface Recipient {
24128
24128
  */
24129
24129
  readonly sharedInbox: URL | null;
24130
24130
  } | null;
24131
+ /**
24132
+ * The [FEP-ef61] gateways of the actor, in order, if it is a portable actor.
24133
+ * Activities to a portable inbox, i.e., an `ap:` or `ap+ef61:` URI, are
24134
+ * delivered to the inbox's compatible identifier on one of these gateways.
24135
+ *
24136
+ * [FEP-ef61]: https://w3id.org/fep/ef61
24137
+ * @since 2.4.0
24138
+ */
24139
+ readonly gateways?: readonly URL[];
24131
24140
  }
24132
24141
  //#endregion
24133
24142
  //#region src/constants.d.ts
package/dist/mod.d.ts CHANGED
@@ -24128,6 +24128,15 @@ interface Recipient {
24128
24128
  */
24129
24129
  readonly sharedInbox: URL | null;
24130
24130
  } | null;
24131
+ /**
24132
+ * The [FEP-ef61] gateways of the actor, in order, if it is a portable actor.
24133
+ * Activities to a portable inbox, i.e., an `ap:` or `ap+ef61:` URI, are
24134
+ * delivered to the inbox's compatible identifier on one of these gateways.
24135
+ *
24136
+ * [FEP-ef61]: https://w3id.org/fep/ef61
24137
+ * @since 2.4.0
24138
+ */
24139
+ readonly gateways?: readonly URL[];
24131
24140
  }
24132
24141
  //#endregion
24133
24142
  //#region src/constants.d.ts
package/dist/mod.js CHANGED
@@ -12,7 +12,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
12
12
  import { delay } from "es-toolkit";
13
13
  //#region deno.json
14
14
  var name = "@fedify/vocab";
15
- var version = "2.4.0-dev.2193+402149b5";
15
+ var version = "2.4.0-dev.2212+26ce9858";
16
16
  //#endregion
17
17
  //#region src/type.ts
18
18
  function getTypeId(object) {
@@ -8,7 +8,7 @@ import { SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { domainToASCII, domainToUnicode } from "node:url";
9
9
  //#region deno.json
10
10
  var name = "@fedify/vocab";
11
- var version = "2.4.0-dev.2193+402149b5";
11
+ var version = "2.4.0-dev.2212+26ce9858";
12
12
  //#endregion
13
13
  //#region src/actor.ts
14
14
  const ACTOR_DISCOVERY_HISTOGRAM_BUCKETS = [
@@ -2,7 +2,7 @@ import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
3
  import { F as Person, P as Organization, Q as __exportAll, U as Service, a as Application, b as Group } from "./vocab-D3C791xF.mjs";
4
4
  import { t as esm_default } from "./esm-2_Uqq_my.mjs";
5
- import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-u0ukXNQg.mjs";
5
+ import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-7Xm1KPAy.mjs";
6
6
  import { createTestMeterProvider, test } from "@fedify/fixture";
7
7
  import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
8
8
  //#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
@@ -2,7 +2,7 @@ import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
3
  import { F as Person, M as OrderedCollection, S as Image, c as CollectionPage, k as Note, s as Collection, u as Create } from "./vocab-D3C791xF.mjs";
4
4
  import { t as esm_default } from "./esm-2_Uqq_my.mjs";
5
- import { n as traverseCollection, t as lookupObject } from "./lookup-BUwsSYSx.mjs";
5
+ import { n as traverseCollection, t as lookupObject } from "./lookup-CCfy8R2M.mjs";
6
6
  import { t as assertInstanceOf } from "./utils-Df2odC27.mjs";
7
7
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
8
8
  import { deepStrictEqual, ok, rejects } from "node:assert/strict";
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
3
  import { A as Object$1 } from "./vocab-D3C791xF.mjs";
4
- import { i as isActor, o as name, s as version } from "./actor-u0ukXNQg.mjs";
4
+ import { i as isActor, o as name, s as version } from "./actor-7Xm1KPAy.mjs";
5
5
  import { t as getTypeId } from "./type-BMdjm4Eg.mjs";
6
6
  import { canonicalizePortableUri, formatIri, getDocumentLoader, haveSameFe34Origin, haveSameIriOrigin, parseIri } from "@fedify/vocab-runtime";
7
7
  import { lookupWebFinger } from "@fedify/webfinger";
@@ -2,7 +2,7 @@ import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
3
  import { A as Object$1, F as Person, k as Note, s as Collection } from "./vocab-D3C791xF.mjs";
4
4
  import { t as esm_default } from "./esm-2_Uqq_my.mjs";
5
- import { n as traverseCollection, t as lookupObject } from "./lookup-BUwsSYSx.mjs";
5
+ import { n as traverseCollection, t as lookupObject } from "./lookup-CCfy8R2M.mjs";
6
6
  import { t as assertInstanceOf } from "./utils-Df2odC27.mjs";
7
7
  import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
8
8
  import { deepStrictEqual, equal, ok, rejects } from "node:assert/strict";
@@ -2,8 +2,8 @@ import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
3
  import { F as Person } from "./vocab-D3C791xF.mjs";
4
4
  import { t as esm_default } from "./esm-2_Uqq_my.mjs";
5
- import { n as getActorHandle } from "./actor-u0ukXNQg.mjs";
6
- import { t as lookupObject } from "./lookup-BUwsSYSx.mjs";
5
+ import { n as getActorHandle } from "./actor-7Xm1KPAy.mjs";
6
+ import { t as lookupObject } from "./lookup-CCfy8R2M.mjs";
7
7
  import { t as assertInstanceOf } from "./utils-Df2odC27.mjs";
8
8
  import { mockDocumentLoader, test } from "@fedify/fixture";
9
9
  import { deepStrictEqual, equal, rejects } from "node:assert/strict";
@@ -1,8 +1,8 @@
1
1
  import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
3
  import { A as Object$1, E as Link, F as Person, K as Translation, L as PropertyValue, P as Organization, U as Service, a as Application, b as Group, k as Note, o as Article, q as Update, s as Collection, u as Create } from "./vocab-D3C791xF.mjs";
4
- import "./actor-u0ukXNQg.mjs";
5
- import "./lookup-BUwsSYSx.mjs";
4
+ import "./actor-7Xm1KPAy.mjs";
5
+ import "./lookup-CCfy8R2M.mjs";
6
6
  import { test } from "@fedify/fixture";
7
7
  import { deepStrictEqual, ok, rejects } from "node:assert/strict";
8
8
  import { LanguageString as LanguageString$1, getDocumentLoader, preloadedContexts } from "@fedify/vocab-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab",
3
- "version": "2.4.0-dev.2193+402149b5",
3
+ "version": "2.4.0-dev.2212+26ce9858",
4
4
  "homepage": "https://fedify.dev/",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,9 +43,9 @@
43
43
  "jsonld": "^9.0.0",
44
44
  "pkijs": "^3.3.3",
45
45
  "temporal-polyfill": "^1.0.1",
46
- "@fedify/vocab-tools": "2.4.0-dev.2193+402149b5",
47
- "@fedify/vocab-runtime": "2.4.0-dev.2193+402149b5",
48
- "@fedify/webfinger": "2.4.0-dev.2193+402149b5"
46
+ "@fedify/vocab-tools": "2.4.0-dev.2212+26ce9858",
47
+ "@fedify/webfinger": "2.4.0-dev.2212+26ce9858",
48
+ "@fedify/vocab-runtime": "2.4.0-dev.2212+26ce9858"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^24.12.2",
package/src/actor.ts CHANGED
@@ -541,4 +541,14 @@ export interface Recipient {
541
541
  */
542
542
  readonly sharedInbox: URL | null;
543
543
  } | null;
544
+
545
+ /**
546
+ * The [FEP-ef61] gateways of the actor, in order, if it is a portable actor.
547
+ * Activities to a portable inbox, i.e., an `ap:` or `ap+ef61:` URI, are
548
+ * delivered to the inbox's compatible identifier on one of these gateways.
549
+ *
550
+ * [FEP-ef61]: https://w3id.org/fep/ef61
551
+ * @since 2.4.0
552
+ */
553
+ readonly gateways?: readonly URL[];
544
554
  }