@fedify/vocab 2.0.36-dev.2530 → 2.0.36-dev.2598

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.
Files changed (73) hide show
  1. package/deno.json +1 -1
  2. package/dist/mod.cjs +28 -32
  3. package/dist/mod.js +28 -32
  4. package/dist-tests/accept.yaml +1 -1
  5. package/dist-tests/activity.yaml +0 -1
  6. package/dist-tests/actor.test.mjs +2 -2
  7. package/dist-tests/add.yaml +1 -1
  8. package/dist-tests/announce.yaml +1 -1
  9. package/dist-tests/arrive.yaml +1 -1
  10. package/dist-tests/block.yaml +1 -1
  11. package/dist-tests/create.yaml +1 -1
  12. package/dist-tests/delete.yaml +1 -1
  13. package/dist-tests/{deno-B05_iH_G.mjs → deno-CNgGfAnV.mjs} +2 -2
  14. package/dist-tests/dislike.yaml +1 -1
  15. package/dist-tests/emojireact.yaml +1 -1
  16. package/dist-tests/flag.yaml +1 -1
  17. package/dist-tests/follow.yaml +0 -1
  18. package/dist-tests/ignore.yaml +1 -1
  19. package/dist-tests/intransitiveactivity.yaml +1 -1
  20. package/dist-tests/invite.yaml +1 -1
  21. package/dist-tests/join.yaml +1 -1
  22. package/dist-tests/leave.yaml +1 -1
  23. package/dist-tests/like.yaml +1 -1
  24. package/dist-tests/listen.yaml +1 -1
  25. package/dist-tests/lookup.test.mjs +2 -2
  26. package/dist-tests/move.yaml +1 -1
  27. package/dist-tests/offer.yaml +1 -1
  28. package/dist-tests/question.yaml +1 -1
  29. package/dist-tests/read.yaml +1 -1
  30. package/dist-tests/reject.yaml +1 -1
  31. package/dist-tests/remove.yaml +1 -1
  32. package/dist-tests/tentativeaccept.yaml +1 -1
  33. package/dist-tests/tentativereject.yaml +1 -1
  34. package/dist-tests/travel.yaml +1 -1
  35. package/dist-tests/type.test.mjs +1 -1
  36. package/dist-tests/undo.yaml +0 -1
  37. package/dist-tests/update.yaml +0 -1
  38. package/dist-tests/view.yaml +1 -1
  39. package/dist-tests/{vocab-ZYaaH8Qo.mjs → vocab-D5wtrNno.mjs} +27 -31
  40. package/dist-tests/vocab.test.mjs +18 -4
  41. package/package.json +4 -4
  42. package/src/accept.yaml +1 -1
  43. package/src/activity.yaml +0 -1
  44. package/src/add.yaml +1 -1
  45. package/src/announce.yaml +1 -1
  46. package/src/arrive.yaml +1 -1
  47. package/src/block.yaml +1 -1
  48. package/src/create.yaml +1 -1
  49. package/src/delete.yaml +1 -1
  50. package/src/dislike.yaml +1 -1
  51. package/src/emojireact.yaml +1 -1
  52. package/src/flag.yaml +1 -1
  53. package/src/follow.yaml +0 -1
  54. package/src/ignore.yaml +1 -1
  55. package/src/intransitiveactivity.yaml +1 -1
  56. package/src/invite.yaml +1 -1
  57. package/src/join.yaml +1 -1
  58. package/src/leave.yaml +1 -1
  59. package/src/like.yaml +1 -1
  60. package/src/listen.yaml +1 -1
  61. package/src/move.yaml +1 -1
  62. package/src/offer.yaml +1 -1
  63. package/src/question.yaml +1 -1
  64. package/src/read.yaml +1 -1
  65. package/src/reject.yaml +1 -1
  66. package/src/remove.yaml +1 -1
  67. package/src/tentativeaccept.yaml +1 -1
  68. package/src/tentativereject.yaml +1 -1
  69. package/src/travel.yaml +1 -1
  70. package/src/undo.yaml +0 -1
  71. package/src/update.yaml +0 -1
  72. package/src/view.yaml +1 -1
  73. package/src/vocab.test.ts +32 -2
@@ -10,7 +10,7 @@ description: |
10
10
  to be determined implicitly by context. The `origin` can be used to identify
11
11
  the context from which the `object` originated.
12
12
  defaultContext:
13
- - "https://w3id.org/identity/v1"
14
13
  - "https://www.w3.org/ns/activitystreams"
14
+ - "https://w3id.org/security/v1"
15
15
  - "https://w3id.org/security/data-integrity/v1"
16
16
  properties: []
@@ -9,8 +9,8 @@ description: |
9
9
 
10
10
  The `origin` typically has no defined meaning.
11
11
  defaultContext:
12
- - "https://w3id.org/identity/v1"
13
12
  - "https://www.w3.org/ns/activitystreams"
13
+ - "https://w3id.org/security/v1"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
15
  - toot: "http://joinmastodon.org/ns#"
16
16
  misskey: "https://misskey-hub.net/ns#"
@@ -9,7 +9,7 @@ description: |
9
9
  The `origin` can be used to identify the context from which the `actor` originated.
10
10
  The `target` typically has no defined meaning.
11
11
  defaultContext:
12
- - "https://w3id.org/identity/v1"
13
12
  - "https://www.w3.org/ns/activitystreams"
13
+ - "https://w3id.org/security/v1"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
15
  properties: []
@@ -10,7 +10,7 @@ description: |
10
10
  allow one user to block activities or content of other users. The `target`
11
11
  and `origin` typically have no defined meaning.
12
12
  defaultContext:
13
- - "https://w3id.org/identity/v1"
14
13
  - "https://www.w3.org/ns/activitystreams"
14
+ - "https://w3id.org/security/v1"
15
15
  - "https://w3id.org/security/data-integrity/v1"
16
16
  properties: []
@@ -6,8 +6,8 @@ extends: "https://www.w3.org/ns/activitystreams#Activity"
6
6
  entity: true
7
7
  description: Indicates that the `actor` has created the `object`.
8
8
  defaultContext:
9
- - "https://w3id.org/identity/v1"
10
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/security/v1"
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - toot: "http://joinmastodon.org/ns#"
13
13
  misskey: "https://misskey-hub.net/ns#"
@@ -8,8 +8,8 @@ description: |
8
8
  Indicates that the `actor` has deleted the `object`. If specified,
9
9
  the `origin` indicates the context from which the `object` was deleted.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  - toot: "http://joinmastodon.org/ns#"
15
15
  misskey: "https://misskey-hub.net/ns#"
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { C as __commonJSMin, T as __toESM } from "./vocab-ZYaaH8Qo.mjs";
3
+ import { C as __commonJSMin, T as __toESM } from "./vocab-D5wtrNno.mjs";
4
4
  //#region ../../node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js
5
5
  var require_glob_to_regexp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
6
  module.exports = function(glob, opts) {
@@ -1204,6 +1204,6 @@ var esm_default = new class FetchMock {
1204
1204
  //#endregion
1205
1205
  //#region deno.json
1206
1206
  var name = "@fedify/vocab";
1207
- var version = "2.0.36-dev.2530+fb03bc56";
1207
+ var version = "2.0.36-dev.2598+90504ae2";
1208
1208
  //#endregion
1209
1209
  export { version as n, esm_default as r, name as t };
@@ -6,8 +6,8 @@ extends: "https://www.w3.org/ns/activitystreams#Activity"
6
6
  entity: true
7
7
  description: Indicates that the `actor` dislikes the `object`.
8
8
  defaultContext:
9
- - "https://w3id.org/identity/v1"
10
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/security/v1"
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - toot: "http://joinmastodon.org/ns#"
13
13
  Emoji: "toot:Emoji"
@@ -7,8 +7,8 @@ entity: true
7
7
  description: |
8
8
  Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0).
9
9
  defaultContext:
10
- - "https://w3id.org/identity/v1"
11
10
  - "https://www.w3.org/ns/activitystreams"
11
+ - "https://w3id.org/security/v1"
12
12
  - "https://w3id.org/security/data-integrity/v1"
13
13
  - litepub: "http://litepub.social/ns#"
14
14
  toot: "http://joinmastodon.org/ns#"
@@ -9,7 +9,7 @@ description: |
9
9
  in the sense common to many social platforms as reporting content as being
10
10
  inappropriate for any number of reasons.
11
11
  defaultContext:
12
- - "https://w3id.org/identity/v1"
13
12
  - "https://www.w3.org/ns/activitystreams"
13
+ - "https://w3id.org/security/v1"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
15
  properties: []
@@ -10,7 +10,6 @@ description: |
10
10
  interested in any activity performed by or on the object. The `target` and
11
11
  `origin` typically have no defined meaning.
12
12
  defaultContext:
13
- - "https://w3id.org/identity/v1"
14
13
  - "https://www.w3.org/ns/activitystreams"
15
14
  - "https://w3id.org/security/v1"
16
15
  - "https://w3id.org/security/data-integrity/v1"
@@ -8,7 +8,7 @@ description: |
8
8
  Indicates that the `actor` is ignoring the `object`. The `target` and
9
9
  `origin` typically have no defined meaning.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -9,7 +9,7 @@ description: |
9
9
  representing intransitive actions. The `object` property is therefore
10
10
  inappropriate for these activities.
11
11
  defaultContext:
12
- - "https://w3id.org/identity/v1"
13
12
  - "https://www.w3.org/ns/activitystreams"
13
+ - "https://w3id.org/security/v1"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
15
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  A specialization of `Offer` in which the `actor` is extending an invitation
9
9
  for the `object` to the `target`.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  Indicates that the `actor` has joined the `object`.
9
9
  The `target` and `origin` typically have no defined meaning.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  Indicates that the `actor` has left the `object`.
9
9
  The `target` and `origin` typically have no meaning.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -8,8 +8,8 @@ description: |
8
8
  Indicates that the `actor` likes, recommends or endorses the `object`.
9
9
  The `target` and `origin` typically have no defined meaning.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  - toot: "http://joinmastodon.org/ns#"
15
15
  Emoji: "toot:Emoji"
@@ -6,7 +6,7 @@ extends: "https://www.w3.org/ns/activitystreams#Activity"
6
6
  entity: true
7
7
  description: Indicates that the `actor` has listened to the `object`.
8
8
  defaultContext:
9
- - "https://w3id.org/identity/v1"
10
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/security/v1"
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  properties: []
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { a as Collection, f as Note, g as Person, p as Object$1 } from "./vocab-ZYaaH8Qo.mjs";
4
- import { n as version, r as esm_default, t as name } from "./deno-B05_iH_G.mjs";
3
+ import { a as Collection, f as Note, g as Person, p as Object$1 } from "./vocab-D5wtrNno.mjs";
4
+ import { n as version, r as esm_default, t as name } from "./deno-CNgGfAnV.mjs";
5
5
  import { t as getTypeId } from "./type-Cf-vxmre.mjs";
6
6
  import { t as assertInstanceOf } from "./utils-CE8Dk5hm.mjs";
7
7
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -9,7 +9,7 @@ description: |
9
9
  If the `origin` or `target` are not specified,
10
10
  either can be determined by context.
11
11
  defaultContext:
12
- - "https://w3id.org/identity/v1"
13
12
  - "https://www.w3.org/ns/activitystreams"
13
+ - "https://w3id.org/security/v1"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
15
  properties: []
@@ -9,7 +9,7 @@ description: |
9
9
  If specified, the target indicates the entity to which
10
10
  the object is being offered.
11
11
  defaultContext:
12
- - "https://w3id.org/identity/v1"
13
12
  - "https://www.w3.org/ns/activitystreams"
13
+ - "https://w3id.org/security/v1"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
15
  properties: []
@@ -14,8 +14,8 @@ description: |
14
14
  used to express possible answers, but a Question object *must not* have both
15
15
  properties.
16
16
  defaultContext:
17
- - "https://w3id.org/identity/v1"
18
17
  - "https://www.w3.org/ns/activitystreams"
18
+ - "https://w3id.org/security/v1"
19
19
  - "https://w3id.org/security/data-integrity/v1"
20
20
  - toot: "http://joinmastodon.org/ns#"
21
21
  misskey: "https://misskey-hub.net/ns#"
@@ -7,7 +7,7 @@ entity: true
7
7
  description: |
8
8
  Indicates that the `actor` has read the `object`.
9
9
  defaultContext:
10
- - "https://w3id.org/identity/v1"
11
10
  - "https://www.w3.org/ns/activitystreams"
11
+ - "https://w3id.org/security/v1"
12
12
  - "https://w3id.org/security/data-integrity/v1"
13
13
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  Indicates that the `actor` is rejecting the `object`. The `target` and
9
9
  `origin` typically have no defined meaning.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  Indicates that the `actor` is removing the `object`. If specified,
9
9
  the `origin` indicates the context from which the `object` is being removed.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  A specialization of {@link Accept} indicating that
9
9
  the acceptance is tentative.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -8,7 +8,7 @@ description: |
8
8
  A specialization of {@link Reject} in which
9
9
  the rejection is considered tentative.
10
10
  defaultContext:
11
- - "https://w3id.org/identity/v1"
12
11
  - "https://www.w3.org/ns/activitystreams"
12
+ - "https://w3id.org/security/v1"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  properties: []
@@ -10,7 +10,7 @@ description: |
10
10
  If the `target` or `origin` are not specified,
11
11
  either can be determined by context.
12
12
  defaultContext:
13
- - "https://w3id.org/identity/v1"
14
13
  - "https://www.w3.org/ns/activitystreams"
14
+ - "https://w3id.org/security/v1"
15
15
  - "https://w3id.org/security/data-integrity/v1"
16
16
  properties: []
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { g as Person } from "./vocab-ZYaaH8Qo.mjs";
3
+ import { g as Person } from "./vocab-D5wtrNno.mjs";
4
4
  import { t as getTypeId } from "./type-Cf-vxmre.mjs";
5
5
  import { test } from "@fedify/fixture";
6
6
  import { deepStrictEqual } from "node:assert/strict";
@@ -13,7 +13,6 @@ description: |
13
13
 
14
14
  The `target` and `origin` typically have no defined meaning.
15
15
  defaultContext:
16
- - "https://w3id.org/identity/v1"
17
16
  - "https://www.w3.org/ns/activitystreams"
18
17
  - "https://w3id.org/security/v1"
19
18
  - "https://w3id.org/security/data-integrity/v1"
@@ -11,7 +11,6 @@ description: |
11
11
 
12
12
  The `target` and `origin` typically have no defined meaning.
13
13
  defaultContext:
14
- - "https://w3id.org/identity/v1"
15
14
  - "https://www.w3.org/ns/activitystreams"
16
15
  - "https://w3id.org/security/v1"
17
16
  - "https://w3id.org/security/data-integrity/v1"
@@ -7,7 +7,7 @@ entity: true
7
7
  description: |
8
8
  Indicates that the `actor` has viewed the object.
9
9
  defaultContext:
10
- - "https://w3id.org/identity/v1"
11
10
  - "https://www.w3.org/ns/activitystreams"
11
+ - "https://w3id.org/security/v1"
12
12
  - "https://w3id.org/security/data-integrity/v1"
13
13
  properties: []
@@ -7983,7 +7983,6 @@ var Activity = class Activity extends Object$1 {
7983
7983
  if (this.id != null) values["@id"] = this.id.href;
7984
7984
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
7985
7985
  const docContext = options.context ?? [
7986
- "https://w3id.org/identity/v1",
7987
7986
  "https://www.w3.org/ns/activitystreams",
7988
7987
  "https://w3id.org/security/v1",
7989
7988
  "https://w3id.org/security/data-integrity/v1"
@@ -8313,8 +8312,8 @@ var EmojiReact = class EmojiReact extends Activity {
8313
8312
  if (this.id != null) values["@id"] = this.id.href;
8314
8313
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
8315
8314
  const docContext = options.context ?? [
8316
- "https://w3id.org/identity/v1",
8317
8315
  "https://www.w3.org/ns/activitystreams",
8316
+ "https://w3id.org/security/v1",
8318
8317
  "https://w3id.org/security/data-integrity/v1",
8319
8318
  {
8320
8319
  "litepub": "http://litepub.social/ns#",
@@ -10634,8 +10633,8 @@ var Accept = class Accept extends Activity {
10634
10633
  if (this.id != null) values["@id"] = this.id.href;
10635
10634
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
10636
10635
  const docContext = options.context ?? [
10637
- "https://w3id.org/identity/v1",
10638
10636
  "https://www.w3.org/ns/activitystreams",
10637
+ "https://w3id.org/security/v1",
10639
10638
  "https://w3id.org/security/data-integrity/v1"
10640
10639
  ];
10641
10640
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -10788,8 +10787,8 @@ var Add = class Add extends Activity {
10788
10787
  if (this.id != null) values["@id"] = this.id.href;
10789
10788
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
10790
10789
  const docContext = options.context ?? [
10791
- "https://w3id.org/identity/v1",
10792
10790
  "https://www.w3.org/ns/activitystreams",
10791
+ "https://w3id.org/security/v1",
10793
10792
  "https://w3id.org/security/data-integrity/v1"
10794
10793
  ];
10795
10794
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -10940,8 +10939,8 @@ var Announce = class Announce extends Activity {
10940
10939
  if (this.id != null) values["@id"] = this.id.href;
10941
10940
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
10942
10941
  const docContext = options.context ?? [
10943
- "https://w3id.org/identity/v1",
10944
10942
  "https://www.w3.org/ns/activitystreams",
10943
+ "https://w3id.org/security/v1",
10945
10944
  "https://w3id.org/security/data-integrity/v1",
10946
10945
  {
10947
10946
  "toot": "http://joinmastodon.org/ns#",
@@ -14595,8 +14594,8 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
14595
14594
  if (this.id != null) values["@id"] = this.id.href;
14596
14595
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
14597
14596
  const docContext = options.context ?? [
14598
- "https://w3id.org/identity/v1",
14599
14597
  "https://www.w3.org/ns/activitystreams",
14598
+ "https://w3id.org/security/v1",
14600
14599
  "https://w3id.org/security/data-integrity/v1"
14601
14600
  ];
14602
14601
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -14750,8 +14749,8 @@ var Arrive = class Arrive extends IntransitiveActivity {
14750
14749
  if (this.id != null) values["@id"] = this.id.href;
14751
14750
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
14752
14751
  const docContext = options.context ?? [
14753
- "https://w3id.org/identity/v1",
14754
14752
  "https://www.w3.org/ns/activitystreams",
14753
+ "https://w3id.org/security/v1",
14755
14754
  "https://w3id.org/security/data-integrity/v1"
14756
14755
  ];
14757
14756
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -15567,8 +15566,8 @@ var Ignore = class Ignore extends Activity {
15567
15566
  if (this.id != null) values["@id"] = this.id.href;
15568
15567
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
15569
15568
  const docContext = options.context ?? [
15570
- "https://w3id.org/identity/v1",
15571
15569
  "https://www.w3.org/ns/activitystreams",
15570
+ "https://w3id.org/security/v1",
15572
15571
  "https://w3id.org/security/data-integrity/v1"
15573
15572
  ];
15574
15573
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -15721,8 +15720,8 @@ var Block = class Block extends Ignore {
15721
15720
  if (this.id != null) values["@id"] = this.id.href;
15722
15721
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
15723
15722
  const docContext = options.context ?? [
15724
- "https://w3id.org/identity/v1",
15725
15723
  "https://www.w3.org/ns/activitystreams",
15724
+ "https://w3id.org/security/v1",
15726
15725
  "https://w3id.org/security/data-integrity/v1"
15727
15726
  ];
15728
15727
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -19083,8 +19082,8 @@ var Create = class Create extends Activity {
19083
19082
  if (this.id != null) values["@id"] = this.id.href;
19084
19083
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
19085
19084
  const docContext = options.context ?? [
19086
- "https://w3id.org/identity/v1",
19087
19085
  "https://www.w3.org/ns/activitystreams",
19086
+ "https://w3id.org/security/v1",
19088
19087
  "https://w3id.org/security/data-integrity/v1",
19089
19088
  {
19090
19089
  "toot": "http://joinmastodon.org/ns#",
@@ -19254,8 +19253,8 @@ var Delete = class Delete extends Activity {
19254
19253
  if (this.id != null) values["@id"] = this.id.href;
19255
19254
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
19256
19255
  const docContext = options.context ?? [
19257
- "https://w3id.org/identity/v1",
19258
19256
  "https://www.w3.org/ns/activitystreams",
19257
+ "https://w3id.org/security/v1",
19259
19258
  "https://w3id.org/security/data-integrity/v1",
19260
19259
  {
19261
19260
  "toot": "http://joinmastodon.org/ns#",
@@ -19420,8 +19419,8 @@ var Dislike = class Dislike extends Activity {
19420
19419
  if (this.id != null) values["@id"] = this.id.href;
19421
19420
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
19422
19421
  const docContext = options.context ?? [
19423
- "https://w3id.org/identity/v1",
19424
19422
  "https://www.w3.org/ns/activitystreams",
19423
+ "https://w3id.org/security/v1",
19425
19424
  "https://w3id.org/security/data-integrity/v1",
19426
19425
  {
19427
19426
  "toot": "http://joinmastodon.org/ns#",
@@ -20184,8 +20183,8 @@ var Flag = class Flag extends Activity {
20184
20183
  if (this.id != null) values["@id"] = this.id.href;
20185
20184
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
20186
20185
  const docContext = options.context ?? [
20187
- "https://w3id.org/identity/v1",
20188
20186
  "https://www.w3.org/ns/activitystreams",
20187
+ "https://w3id.org/security/v1",
20189
20188
  "https://w3id.org/security/data-integrity/v1"
20190
20189
  ];
20191
20190
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -20337,7 +20336,6 @@ var Follow = class Follow extends Activity {
20337
20336
  if (this.id != null) values["@id"] = this.id.href;
20338
20337
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
20339
20338
  const docContext = options.context ?? [
20340
- "https://w3id.org/identity/v1",
20341
20339
  "https://www.w3.org/ns/activitystreams",
20342
20340
  "https://w3id.org/security/v1",
20343
20341
  "https://w3id.org/security/data-integrity/v1",
@@ -25093,8 +25091,8 @@ var Offer = class Offer extends Activity {
25093
25091
  if (this.id != null) values["@id"] = this.id.href;
25094
25092
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
25095
25093
  const docContext = options.context ?? [
25096
- "https://w3id.org/identity/v1",
25097
25094
  "https://www.w3.org/ns/activitystreams",
25095
+ "https://w3id.org/security/v1",
25098
25096
  "https://w3id.org/security/data-integrity/v1"
25099
25097
  ];
25100
25098
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -25245,8 +25243,8 @@ var Invite = class Invite extends Offer {
25245
25243
  if (this.id != null) values["@id"] = this.id.href;
25246
25244
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
25247
25245
  const docContext = options.context ?? [
25248
- "https://w3id.org/identity/v1",
25249
25246
  "https://www.w3.org/ns/activitystreams",
25247
+ "https://w3id.org/security/v1",
25250
25248
  "https://w3id.org/security/data-integrity/v1"
25251
25249
  ];
25252
25250
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -25396,8 +25394,8 @@ var Join = class Join extends Activity {
25396
25394
  if (this.id != null) values["@id"] = this.id.href;
25397
25395
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
25398
25396
  const docContext = options.context ?? [
25399
- "https://w3id.org/identity/v1",
25400
25397
  "https://www.w3.org/ns/activitystreams",
25398
+ "https://w3id.org/security/v1",
25401
25399
  "https://w3id.org/security/data-integrity/v1"
25402
25400
  ];
25403
25401
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -25547,8 +25545,8 @@ var Leave = class Leave extends Activity {
25547
25545
  if (this.id != null) values["@id"] = this.id.href;
25548
25546
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
25549
25547
  const docContext = options.context ?? [
25550
- "https://w3id.org/identity/v1",
25551
25548
  "https://www.w3.org/ns/activitystreams",
25549
+ "https://w3id.org/security/v1",
25552
25550
  "https://w3id.org/security/data-integrity/v1"
25553
25551
  ];
25554
25552
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -25698,8 +25696,8 @@ var Like = class Like extends Activity {
25698
25696
  if (this.id != null) values["@id"] = this.id.href;
25699
25697
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
25700
25698
  const docContext = options.context ?? [
25701
- "https://w3id.org/identity/v1",
25702
25699
  "https://www.w3.org/ns/activitystreams",
25700
+ "https://w3id.org/security/v1",
25703
25701
  "https://w3id.org/security/data-integrity/v1",
25704
25702
  {
25705
25703
  "toot": "http://joinmastodon.org/ns#",
@@ -25852,8 +25850,8 @@ var Listen = class Listen extends Activity {
25852
25850
  if (this.id != null) values["@id"] = this.id.href;
25853
25851
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
25854
25852
  const docContext = options.context ?? [
25855
- "https://w3id.org/identity/v1",
25856
25853
  "https://www.w3.org/ns/activitystreams",
25854
+ "https://w3id.org/security/v1",
25857
25855
  "https://w3id.org/security/data-integrity/v1"
25858
25856
  ];
25859
25857
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -26158,8 +26156,8 @@ var Move = class Move extends Activity {
26158
26156
  if (this.id != null) values["@id"] = this.id.href;
26159
26157
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
26160
26158
  const docContext = options.context ?? [
26161
- "https://w3id.org/identity/v1",
26162
26159
  "https://www.w3.org/ns/activitystreams",
26160
+ "https://w3id.org/security/v1",
26163
26161
  "https://w3id.org/security/data-integrity/v1"
26164
26162
  ];
26165
26163
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -35821,8 +35819,8 @@ var Question = class Question extends IntransitiveActivity {
35821
35819
  if (this.id != null) values["@id"] = this.id.href;
35822
35820
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
35823
35821
  const docContext = options.context ?? [
35824
- "https://w3id.org/identity/v1",
35825
35822
  "https://www.w3.org/ns/activitystreams",
35823
+ "https://w3id.org/security/v1",
35826
35824
  "https://w3id.org/security/data-integrity/v1",
35827
35825
  {
35828
35826
  "toot": "http://joinmastodon.org/ns#",
@@ -36085,8 +36083,8 @@ var Read = class Read extends Activity {
36085
36083
  if (this.id != null) values["@id"] = this.id.href;
36086
36084
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
36087
36085
  const docContext = options.context ?? [
36088
- "https://w3id.org/identity/v1",
36089
36086
  "https://www.w3.org/ns/activitystreams",
36087
+ "https://w3id.org/security/v1",
36090
36088
  "https://w3id.org/security/data-integrity/v1"
36091
36089
  ];
36092
36090
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -36236,8 +36234,8 @@ var Reject = class Reject extends Activity {
36236
36234
  if (this.id != null) values["@id"] = this.id.href;
36237
36235
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
36238
36236
  const docContext = options.context ?? [
36239
- "https://w3id.org/identity/v1",
36240
36237
  "https://www.w3.org/ns/activitystreams",
36238
+ "https://w3id.org/security/v1",
36241
36239
  "https://w3id.org/security/data-integrity/v1"
36242
36240
  ];
36243
36241
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -37231,8 +37229,8 @@ var Remove = class Remove extends Activity {
37231
37229
  if (this.id != null) values["@id"] = this.id.href;
37232
37230
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
37233
37231
  const docContext = options.context ?? [
37234
- "https://w3id.org/identity/v1",
37235
37232
  "https://www.w3.org/ns/activitystreams",
37233
+ "https://w3id.org/security/v1",
37236
37234
  "https://w3id.org/security/data-integrity/v1"
37237
37235
  ];
37238
37236
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -41165,8 +41163,8 @@ var TentativeAccept = class TentativeAccept extends Accept {
41165
41163
  if (this.id != null) values["@id"] = this.id.href;
41166
41164
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
41167
41165
  const docContext = options.context ?? [
41168
- "https://w3id.org/identity/v1",
41169
41166
  "https://www.w3.org/ns/activitystreams",
41167
+ "https://w3id.org/security/v1",
41170
41168
  "https://w3id.org/security/data-integrity/v1"
41171
41169
  ];
41172
41170
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -41316,8 +41314,8 @@ var TentativeReject = class TentativeReject extends Reject {
41316
41314
  if (this.id != null) values["@id"] = this.id.href;
41317
41315
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
41318
41316
  const docContext = options.context ?? [
41319
- "https://w3id.org/identity/v1",
41320
41317
  "https://www.w3.org/ns/activitystreams",
41318
+ "https://w3id.org/security/v1",
41321
41319
  "https://w3id.org/security/data-integrity/v1"
41322
41320
  ];
41323
41321
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -41674,8 +41672,8 @@ var Travel = class Travel extends IntransitiveActivity {
41674
41672
  if (this.id != null) values["@id"] = this.id.href;
41675
41673
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
41676
41674
  const docContext = options.context ?? [
41677
- "https://w3id.org/identity/v1",
41678
41675
  "https://www.w3.org/ns/activitystreams",
41676
+ "https://w3id.org/security/v1",
41679
41677
  "https://w3id.org/security/data-integrity/v1"
41680
41678
  ];
41681
41679
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
@@ -41830,7 +41828,6 @@ var Undo = class Undo extends Activity {
41830
41828
  if (this.id != null) values["@id"] = this.id.href;
41831
41829
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
41832
41830
  const docContext = options.context ?? [
41833
- "https://w3id.org/identity/v1",
41834
41831
  "https://www.w3.org/ns/activitystreams",
41835
41832
  "https://w3id.org/security/v1",
41836
41833
  "https://w3id.org/security/data-integrity/v1",
@@ -41993,7 +41990,6 @@ var Update = class Update extends Activity {
41993
41990
  if (this.id != null) values["@id"] = this.id.href;
41994
41991
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
41995
41992
  const docContext = options.context ?? [
41996
- "https://w3id.org/identity/v1",
41997
41993
  "https://www.w3.org/ns/activitystreams",
41998
41994
  "https://w3id.org/security/v1",
41999
41995
  "https://w3id.org/security/data-integrity/v1",
@@ -42349,8 +42345,8 @@ var View = class View extends Activity {
42349
42345
  if (this.id != null) values["@id"] = this.id.href;
42350
42346
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
42351
42347
  const docContext = options.context ?? [
42352
- "https://w3id.org/identity/v1",
42353
42348
  "https://www.w3.org/ns/activitystreams",
42349
+ "https://w3id.org/security/v1",
42354
42350
  "https://w3id.org/security/data-integrity/v1"
42355
42351
  ];
42356
42352
  const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });