@fedify/vocab 2.4.0-dev.2200 → 2.4.0-dev.2219

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/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.2200+e588a43c";
15
+ var version = "2.4.0-dev.2219+eb70f060";
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.2200+e588a43c";
11
+ var version = "2.4.0-dev.2219+eb70f060";
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-DpiCg-SX.mjs";
5
+ import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-DzLs-X1G.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-DREFkWhj.mjs";
5
+ import { n as traverseCollection, t as lookupObject } from "./lookup-DckWWZgA.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-DpiCg-SX.mjs";
4
+ import { i as isActor, o as name, s as version } from "./actor-DzLs-X1G.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-DREFkWhj.mjs";
5
+ import { n as traverseCollection, t as lookupObject } from "./lookup-DckWWZgA.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-DpiCg-SX.mjs";
6
- import { t as lookupObject } from "./lookup-DREFkWhj.mjs";
5
+ import { n as getActorHandle } from "./actor-DzLs-X1G.mjs";
6
+ import { t as lookupObject } from "./lookup-DckWWZgA.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-DpiCg-SX.mjs";
5
- import "./lookup-DREFkWhj.mjs";
4
+ import "./actor-DzLs-X1G.mjs";
5
+ import "./lookup-DckWWZgA.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.2200+e588a43c",
3
+ "version": "2.4.0-dev.2219+eb70f060",
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.2200+e588a43c",
47
- "@fedify/webfinger": "2.4.0-dev.2200+e588a43c",
48
- "@fedify/vocab-runtime": "2.4.0-dev.2200+e588a43c"
46
+ "@fedify/webfinger": "2.4.0-dev.2219+eb70f060",
47
+ "@fedify/vocab-tools": "2.4.0-dev.2219+eb70f060",
48
+ "@fedify/vocab-runtime": "2.4.0-dev.2219+eb70f060"
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
  }
package/src/mod.ts CHANGED
@@ -58,7 +58,16 @@ export * from "./type.ts";
58
58
  export * from "./vocab.ts";
59
59
  export { LanguageString } from "@fedify/vocab-runtime";
60
60
  export type {
61
+ Decimal,
61
62
  DocumentLoader,
63
+ DocumentLoaderOptions,
62
64
  GetUserAgentOptions,
65
+ Json,
66
+ PortableObjectReferrer,
67
+ PortableObjectVerification,
68
+ PortableObjectVerifier,
69
+ PortableObjectVerifierOptions,
70
+ PropertyPreprocessor,
71
+ PropertyPreprocessorContext,
63
72
  RemoteDocument,
64
73
  } from "@fedify/vocab-runtime";