@fedify/vocab 2.4.1 → 2.4.2-dev.2357

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.1";
15
+ var version = "2.4.2-dev.2357+064a9794";
16
16
  //#endregion
17
17
  //#region src/type.ts
18
18
  function getTypeId(object) {
@@ -660,6 +660,19 @@ var Object$1 = class Object$1 {
660
660
  /**
661
661
  * Clones this instance, optionally updating it with the given values.
662
662
  *
663
+ * This is a shallow copy: property arrays are copied, but nested objects
664
+ * and URLs are shared with this instance. Dereferencing accessors can cache
665
+ * fetched objects in the instance whose accessor is called. Hydrating a
666
+ * shared nested object through the clone can affect the original as well,
667
+ * and can change JSON-LD output when either is embedded in another
668
+ * object. Hydrating a top-level property of the clone does not update this
669
+ * instance's property.
670
+ *
671
+ * To resolve properties without sharing nested objects, serialize and
672
+ * re-parse the instance before hydration rather than using this method.
673
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
674
+ * for details, including how cached JSON-LD affects serialization.
675
+ *
663
676
  * A clone never inherits a signed JSON-LD representation retained by
664
677
  * `signObject()`: the clone may differ from the document that the proof
665
678
  * covers, so embedding the original secured JSON in a parent document
@@ -990,7 +1003,7 @@ var Object$1 = class Object$1 {
990
1003
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
991
1004
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
992
1005
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
993
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1006
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
994
1007
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
995
1008
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
996
1009
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1247,7 +1260,7 @@ var Object$1 = class Object$1 {
1247
1260
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1248
1261
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1249
1262
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1250
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1263
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
1251
1264
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1252
1265
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1253
1266
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1599,7 +1612,7 @@ var Object$1 = class Object$1 {
1599
1612
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1600
1613
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1601
1614
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1602
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1615
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
1603
1616
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1604
1617
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1605
1618
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1919,7 +1932,7 @@ var Object$1 = class Object$1 {
1919
1932
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1920
1933
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1921
1934
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1922
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1935
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
1923
1936
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1924
1937
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1925
1938
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2191,7 +2204,7 @@ var Object$1 = class Object$1 {
2191
2204
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2192
2205
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2193
2206
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2194
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2207
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2195
2208
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2196
2209
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2197
2210
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2431,7 +2444,7 @@ var Object$1 = class Object$1 {
2431
2444
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2432
2445
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2433
2446
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2434
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2447
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2435
2448
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2436
2449
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2437
2450
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2750,7 +2763,7 @@ var Object$1 = class Object$1 {
2750
2763
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2751
2764
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2752
2765
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2753
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2766
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2754
2767
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2755
2768
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2756
2769
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3069,7 +3082,7 @@ var Object$1 = class Object$1 {
3069
3082
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3070
3083
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3071
3084
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3072
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
3085
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
3073
3086
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3074
3087
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3075
3088
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3380,7 +3393,7 @@ var Object$1 = class Object$1 {
3380
3393
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3381
3394
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3382
3395
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3383
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
3396
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
3384
3397
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3385
3398
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3386
3399
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3691,7 +3704,7 @@ var Object$1 = class Object$1 {
3691
3704
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3692
3705
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3693
3706
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3694
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
3707
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
3695
3708
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3696
3709
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3697
3710
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4007,7 +4020,7 @@ var Object$1 = class Object$1 {
4007
4020
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4008
4021
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4009
4022
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4010
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4023
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4011
4024
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4012
4025
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4013
4026
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4233,7 +4246,7 @@ var Object$1 = class Object$1 {
4233
4246
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4234
4247
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4235
4248
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4236
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4249
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4237
4250
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4238
4251
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4239
4252
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4465,7 +4478,7 @@ var Object$1 = class Object$1 {
4465
4478
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4466
4479
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4467
4480
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4468
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4481
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4469
4482
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4470
4483
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4471
4484
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4697,7 +4710,7 @@ var Object$1 = class Object$1 {
4697
4710
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4698
4711
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4699
4712
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4700
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4713
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4701
4714
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4702
4715
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4703
4716
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4947,7 +4960,7 @@ var Object$1 = class Object$1 {
4947
4960
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4948
4961
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4949
4962
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4950
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4963
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4951
4964
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4952
4965
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4953
4966
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5209,7 +5222,7 @@ var Object$1 = class Object$1 {
5209
5222
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5210
5223
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5211
5224
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5212
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5225
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5213
5226
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5214
5227
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5215
5228
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5509,7 +5522,7 @@ var Object$1 = class Object$1 {
5509
5522
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5510
5523
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5511
5524
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5512
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5525
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5513
5526
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5514
5527
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5515
5528
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5809,7 +5822,7 @@ var Object$1 = class Object$1 {
5809
5822
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5810
5823
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5811
5824
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5812
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5825
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5813
5826
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5814
5827
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5815
5828
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6109,7 +6122,7 @@ var Object$1 = class Object$1 {
6109
6122
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6110
6123
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6111
6124
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6112
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
6125
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6113
6126
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6114
6127
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6115
6128
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6446,7 +6459,7 @@ var Object$1 = class Object$1 {
6446
6459
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6447
6460
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6448
6461
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6449
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
6462
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6450
6463
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6451
6464
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6452
6465
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6769,7 +6782,7 @@ var Object$1 = class Object$1 {
6769
6782
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6770
6783
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6771
6784
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6772
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
6785
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6773
6786
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6774
6787
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6775
6788
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6995,7 +7008,7 @@ var Object$1 = class Object$1 {
6995
7008
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6996
7009
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6997
7010
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6998
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
7011
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6999
7012
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7000
7013
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7001
7014
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7221,7 +7234,7 @@ var Object$1 = class Object$1 {
7221
7234
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7222
7235
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7223
7236
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7224
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
7237
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
7225
7238
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7226
7239
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7227
7240
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8386,7 +8399,7 @@ var Object$1 = class Object$1 {
8386
8399
  * @throws {TypeError} If the given `json` is invalid.
8387
8400
  */
8388
8401
  static async fromJsonLd(json, options = {}) {
8389
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
8402
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
8390
8403
  try {
8391
8404
  const object = await this.__fromJsonLd__Object__(json, span, options);
8392
8405
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10045,6 +10058,19 @@ var Emoji = class Emoji extends Object$1 {
10045
10058
  /**
10046
10059
  * Clones this instance, optionally updating it with the given values.
10047
10060
  *
10061
+ * This is a shallow copy: property arrays are copied, but nested objects
10062
+ * and URLs are shared with this instance. Dereferencing accessors can cache
10063
+ * fetched objects in the instance whose accessor is called. Hydrating a
10064
+ * shared nested object through the clone can affect the original as well,
10065
+ * and can change JSON-LD output when either is embedded in another
10066
+ * object. Hydrating a top-level property of the clone does not update this
10067
+ * instance's property.
10068
+ *
10069
+ * To resolve properties without sharing nested objects, serialize and
10070
+ * re-parse the instance before hydration rather than using this method.
10071
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
10072
+ * for details, including how cached JSON-LD affects serialization.
10073
+ *
10048
10074
  * A clone never inherits a signed JSON-LD representation retained by
10049
10075
  * `signObject()`: the clone may differ from the document that the proof
10050
10076
  * covers, so embedding the original secured JSON in a parent document
@@ -10147,7 +10173,7 @@ var Emoji = class Emoji extends Object$1 {
10147
10173
  * @throws {TypeError} If the given `json` is invalid.
10148
10174
  */
10149
10175
  static async fromJsonLd(json, options = {}) {
10150
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
10176
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
10151
10177
  try {
10152
10178
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
10153
10179
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10268,6 +10294,19 @@ var ChatMessage = class ChatMessage extends Object$1 {
10268
10294
  /**
10269
10295
  * Clones this instance, optionally updating it with the given values.
10270
10296
  *
10297
+ * This is a shallow copy: property arrays are copied, but nested objects
10298
+ * and URLs are shared with this instance. Dereferencing accessors can cache
10299
+ * fetched objects in the instance whose accessor is called. Hydrating a
10300
+ * shared nested object through the clone can affect the original as well,
10301
+ * and can change JSON-LD output when either is embedded in another
10302
+ * object. Hydrating a top-level property of the clone does not update this
10303
+ * instance's property.
10304
+ *
10305
+ * To resolve properties without sharing nested objects, serialize and
10306
+ * re-parse the instance before hydration rather than using this method.
10307
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
10308
+ * for details, including how cached JSON-LD affects serialization.
10309
+ *
10271
10310
  * A clone never inherits a signed JSON-LD representation retained by
10272
10311
  * `signObject()`: the clone may differ from the document that the proof
10273
10312
  * covers, so embedding the original secured JSON in a parent document
@@ -10309,7 +10348,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10309
10348
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10310
10349
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10311
10350
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10312
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
10351
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
10313
10352
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10314
10353
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10315
10354
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10552,7 +10591,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10552
10591
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10553
10592
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10554
10593
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10555
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
10594
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
10556
10595
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10557
10596
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10558
10597
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10972,7 +11011,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10972
11011
  * @throws {TypeError} If the given `json` is invalid.
10973
11012
  */
10974
11013
  static async fromJsonLd(json, options = {}) {
10975
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
11014
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
10976
11015
  try {
10977
11016
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
10978
11017
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11229,6 +11268,19 @@ var Activity = class Activity extends Object$1 {
11229
11268
  /**
11230
11269
  * Clones this instance, optionally updating it with the given values.
11231
11270
  *
11271
+ * This is a shallow copy: property arrays are copied, but nested objects
11272
+ * and URLs are shared with this instance. Dereferencing accessors can cache
11273
+ * fetched objects in the instance whose accessor is called. Hydrating a
11274
+ * shared nested object through the clone can affect the original as well,
11275
+ * and can change JSON-LD output when either is embedded in another
11276
+ * object. Hydrating a top-level property of the clone does not update this
11277
+ * instance's property.
11278
+ *
11279
+ * To resolve properties without sharing nested objects, serialize and
11280
+ * re-parse the instance before hydration rather than using this method.
11281
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
11282
+ * for details, including how cached JSON-LD affects serialization.
11283
+ *
11232
11284
  * A clone never inherits a signed JSON-LD representation retained by
11233
11285
  * `signObject()`: the clone may differ from the document that the proof
11234
11286
  * covers, so embedding the original secured JSON in a parent document
@@ -11339,7 +11391,7 @@ var Activity = class Activity extends Object$1 {
11339
11391
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11340
11392
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11341
11393
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11342
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
11394
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
11343
11395
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11344
11396
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11345
11397
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11691,7 +11743,7 @@ var Activity = class Activity extends Object$1 {
11691
11743
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11692
11744
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11693
11745
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11694
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
11746
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
11695
11747
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11696
11748
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11697
11749
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11993,7 +12045,7 @@ var Activity = class Activity extends Object$1 {
11993
12045
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11994
12046
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11995
12047
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11996
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12048
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
11997
12049
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11998
12050
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11999
12051
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12301,7 +12353,7 @@ var Activity = class Activity extends Object$1 {
12301
12353
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12302
12354
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12303
12355
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12304
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12356
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
12305
12357
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12306
12358
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12307
12359
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12603,7 +12655,7 @@ var Activity = class Activity extends Object$1 {
12603
12655
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12604
12656
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12605
12657
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12606
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12658
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
12607
12659
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12608
12660
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12609
12661
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12907,7 +12959,7 @@ var Activity = class Activity extends Object$1 {
12907
12959
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12908
12960
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12909
12961
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12910
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12962
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
12911
12963
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12912
12964
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12913
12965
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -13340,7 +13392,7 @@ var Activity = class Activity extends Object$1 {
13340
13392
  * @throws {TypeError} If the given `json` is invalid.
13341
13393
  */
13342
13394
  static async fromJsonLd(json, options = {}) {
13343
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
13395
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
13344
13396
  try {
13345
13397
  const object = await this.__fromJsonLd__Activity__(json, span, options);
13346
13398
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13652,6 +13704,19 @@ var EmojiReact = class EmojiReact extends Activity {
13652
13704
  /**
13653
13705
  * Clones this instance, optionally updating it with the given values.
13654
13706
  *
13707
+ * This is a shallow copy: property arrays are copied, but nested objects
13708
+ * and URLs are shared with this instance. Dereferencing accessors can cache
13709
+ * fetched objects in the instance whose accessor is called. Hydrating a
13710
+ * shared nested object through the clone can affect the original as well,
13711
+ * and can change JSON-LD output when either is embedded in another
13712
+ * object. Hydrating a top-level property of the clone does not update this
13713
+ * instance's property.
13714
+ *
13715
+ * To resolve properties without sharing nested objects, serialize and
13716
+ * re-parse the instance before hydration rather than using this method.
13717
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
13718
+ * for details, including how cached JSON-LD affects serialization.
13719
+ *
13655
13720
  * A clone never inherits a signed JSON-LD representation retained by
13656
13721
  * `signObject()`: the clone may differ from the document that the proof
13657
13722
  * covers, so embedding the original secured JSON in a parent document
@@ -13748,7 +13813,7 @@ var EmojiReact = class EmojiReact extends Activity {
13748
13813
  * @throws {TypeError} If the given `json` is invalid.
13749
13814
  */
13750
13815
  static async fromJsonLd(json, options = {}) {
13751
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
13816
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
13752
13817
  try {
13753
13818
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
13754
13819
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13908,6 +13973,19 @@ var PropertyValue = class {
13908
13973
  /**
13909
13974
  * Clones this instance, optionally updating it with the given values.
13910
13975
  *
13976
+ * This is a shallow copy: property arrays are copied, but nested objects
13977
+ * and URLs are shared with this instance. Dereferencing accessors can cache
13978
+ * fetched objects in the instance whose accessor is called. Hydrating a
13979
+ * shared nested object through the clone can affect the original as well,
13980
+ * and can change JSON-LD output when either is embedded in another
13981
+ * object. Hydrating a top-level property of the clone does not update this
13982
+ * instance's property.
13983
+ *
13984
+ * To resolve properties without sharing nested objects, serialize and
13985
+ * re-parse the instance before hydration rather than using this method.
13986
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
13987
+ * for details, including how cached JSON-LD affects serialization.
13988
+ *
13911
13989
  * A clone never inherits a signed JSON-LD representation retained by
13912
13990
  * `signObject()`: the clone may differ from the document that the proof
13913
13991
  * covers, so embedding the original secured JSON in a parent document
@@ -14072,7 +14150,7 @@ var PropertyValue = class {
14072
14150
  * @throws {TypeError} If the given `json` is invalid.
14073
14151
  */
14074
14152
  static async fromJsonLd(json, options = {}) {
14075
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
14153
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
14076
14154
  try {
14077
14155
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
14078
14156
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14267,6 +14345,19 @@ var Measure = class {
14267
14345
  /**
14268
14346
  * Clones this instance, optionally updating it with the given values.
14269
14347
  *
14348
+ * This is a shallow copy: property arrays are copied, but nested objects
14349
+ * and URLs are shared with this instance. Dereferencing accessors can cache
14350
+ * fetched objects in the instance whose accessor is called. Hydrating a
14351
+ * shared nested object through the clone can affect the original as well,
14352
+ * and can change JSON-LD output when either is embedded in another
14353
+ * object. Hydrating a top-level property of the clone does not update this
14354
+ * instance's property.
14355
+ *
14356
+ * To resolve properties without sharing nested objects, serialize and
14357
+ * re-parse the instance before hydration rather than using this method.
14358
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
14359
+ * for details, including how cached JSON-LD affects serialization.
14360
+ *
14270
14361
  * A clone never inherits a signed JSON-LD representation retained by
14271
14362
  * `signObject()`: the clone may differ from the document that the proof
14272
14363
  * covers, so embedding the original secured JSON in a parent document
@@ -14422,7 +14513,7 @@ var Measure = class {
14422
14513
  * @throws {TypeError} If the given `json` is invalid.
14423
14514
  */
14424
14515
  static async fromJsonLd(json, options = {}) {
14425
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
14516
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
14426
14517
  try {
14427
14518
  const object = await this.__fromJsonLd__Measure__(json, span, options);
14428
14519
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14579,6 +14670,19 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14579
14670
  /**
14580
14671
  * Clones this instance, optionally updating it with the given values.
14581
14672
  *
14673
+ * This is a shallow copy: property arrays are copied, but nested objects
14674
+ * and URLs are shared with this instance. Dereferencing accessors can cache
14675
+ * fetched objects in the instance whose accessor is called. Hydrating a
14676
+ * shared nested object through the clone can affect the original as well,
14677
+ * and can change JSON-LD output when either is embedded in another
14678
+ * object. Hydrating a top-level property of the clone does not update this
14679
+ * instance's property.
14680
+ *
14681
+ * To resolve properties without sharing nested objects, serialize and
14682
+ * re-parse the instance before hydration rather than using this method.
14683
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
14684
+ * for details, including how cached JSON-LD affects serialization.
14685
+ *
14582
14686
  * A clone never inherits a signed JSON-LD representation retained by
14583
14687
  * `signObject()`: the clone may differ from the document that the proof
14584
14688
  * covers, so embedding the original secured JSON in a parent document
@@ -14617,7 +14721,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14617
14721
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14618
14722
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14619
14723
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14620
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
14724
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
14621
14725
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14622
14726
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14623
14727
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -14843,7 +14947,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14843
14947
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14844
14948
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14845
14949
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14846
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
14950
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
14847
14951
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14848
14952
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14849
14953
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -15190,7 +15294,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
15190
15294
  * @throws {TypeError} If the given `json` is invalid.
15191
15295
  */
15192
15296
  static async fromJsonLd(json, options = {}) {
15193
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
15297
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
15194
15298
  try {
15195
15299
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
15196
15300
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15355,6 +15459,19 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
15355
15459
  /**
15356
15460
  * Clones this instance, optionally updating it with the given values.
15357
15461
  *
15462
+ * This is a shallow copy: property arrays are copied, but nested objects
15463
+ * and URLs are shared with this instance. Dereferencing accessors can cache
15464
+ * fetched objects in the instance whose accessor is called. Hydrating a
15465
+ * shared nested object through the clone can affect the original as well,
15466
+ * and can change JSON-LD output when either is embedded in another
15467
+ * object. Hydrating a top-level property of the clone does not update this
15468
+ * instance's property.
15469
+ *
15470
+ * To resolve properties without sharing nested objects, serialize and
15471
+ * re-parse the instance before hydration rather than using this method.
15472
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
15473
+ * for details, including how cached JSON-LD affects serialization.
15474
+ *
15358
15475
  * A clone never inherits a signed JSON-LD representation retained by
15359
15476
  * `signObject()`: the clone may differ from the document that the proof
15360
15477
  * covers, so embedding the original secured JSON in a parent document
@@ -15445,7 +15562,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
15445
15562
  * @throws {TypeError} If the given `json` is invalid.
15446
15563
  */
15447
15564
  static async fromJsonLd(json, options = {}) {
15448
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
15565
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
15449
15566
  try {
15450
15567
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
15451
15568
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15620,6 +15737,19 @@ var InteractionPolicy = class {
15620
15737
  /**
15621
15738
  * Clones this instance, optionally updating it with the given values.
15622
15739
  *
15740
+ * This is a shallow copy: property arrays are copied, but nested objects
15741
+ * and URLs are shared with this instance. Dereferencing accessors can cache
15742
+ * fetched objects in the instance whose accessor is called. Hydrating a
15743
+ * shared nested object through the clone can affect the original as well,
15744
+ * and can change JSON-LD output when either is embedded in another
15745
+ * object. Hydrating a top-level property of the clone does not update this
15746
+ * instance's property.
15747
+ *
15748
+ * To resolve properties without sharing nested objects, serialize and
15749
+ * re-parse the instance before hydration rather than using this method.
15750
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
15751
+ * for details, including how cached JSON-LD affects serialization.
15752
+ *
15623
15753
  * A clone never inherits a signed JSON-LD representation retained by
15624
15754
  * `signObject()`: the clone may differ from the document that the proof
15625
15755
  * covers, so embedding the original secured JSON in a parent document
@@ -15825,7 +15955,7 @@ var InteractionPolicy = class {
15825
15955
  * @throws {TypeError} If the given `json` is invalid.
15826
15956
  */
15827
15957
  static async fromJsonLd(json, options = {}) {
15828
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
15958
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
15829
15959
  try {
15830
15960
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
15831
15961
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16116,6 +16246,19 @@ var InteractionRule = class {
16116
16246
  /**
16117
16247
  * Clones this instance, optionally updating it with the given values.
16118
16248
  *
16249
+ * This is a shallow copy: property arrays are copied, but nested objects
16250
+ * and URLs are shared with this instance. Dereferencing accessors can cache
16251
+ * fetched objects in the instance whose accessor is called. Hydrating a
16252
+ * shared nested object through the clone can affect the original as well,
16253
+ * and can change JSON-LD output when either is embedded in another
16254
+ * object. Hydrating a top-level property of the clone does not update this
16255
+ * instance's property.
16256
+ *
16257
+ * To resolve properties without sharing nested objects, serialize and
16258
+ * re-parse the instance before hydration rather than using this method.
16259
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
16260
+ * for details, including how cached JSON-LD affects serialization.
16261
+ *
16119
16262
  * A clone never inherits a signed JSON-LD representation retained by
16120
16263
  * `signObject()`: the clone may differ from the document that the proof
16121
16264
  * covers, so embedding the original secured JSON in a parent document
@@ -16264,7 +16407,7 @@ var InteractionRule = class {
16264
16407
  * @throws {TypeError} If the given `json` is invalid.
16265
16408
  */
16266
16409
  static async fromJsonLd(json, options = {}) {
16267
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
16410
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
16268
16411
  try {
16269
16412
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
16270
16413
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16422,6 +16565,19 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16422
16565
  /**
16423
16566
  * Clones this instance, optionally updating it with the given values.
16424
16567
  *
16568
+ * This is a shallow copy: property arrays are copied, but nested objects
16569
+ * and URLs are shared with this instance. Dereferencing accessors can cache
16570
+ * fetched objects in the instance whose accessor is called. Hydrating a
16571
+ * shared nested object through the clone can affect the original as well,
16572
+ * and can change JSON-LD output when either is embedded in another
16573
+ * object. Hydrating a top-level property of the clone does not update this
16574
+ * instance's property.
16575
+ *
16576
+ * To resolve properties without sharing nested objects, serialize and
16577
+ * re-parse the instance before hydration rather than using this method.
16578
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
16579
+ * for details, including how cached JSON-LD affects serialization.
16580
+ *
16425
16581
  * A clone never inherits a signed JSON-LD representation retained by
16426
16582
  * `signObject()`: the clone may differ from the document that the proof
16427
16583
  * covers, so embedding the original secured JSON in a parent document
@@ -16460,7 +16616,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16460
16616
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16461
16617
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16462
16618
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16463
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
16619
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
16464
16620
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16465
16621
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16466
16622
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -16686,7 +16842,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16686
16842
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16687
16843
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16688
16844
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16689
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
16845
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
16690
16846
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16691
16847
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16692
16848
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -17033,7 +17189,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
17033
17189
  * @throws {TypeError} If the given `json` is invalid.
17034
17190
  */
17035
17191
  static async fromJsonLd(json, options = {}) {
17036
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
17192
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
17037
17193
  try {
17038
17194
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
17039
17195
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17197,6 +17353,19 @@ var LikeRequest = class LikeRequest extends Activity {
17197
17353
  /**
17198
17354
  * Clones this instance, optionally updating it with the given values.
17199
17355
  *
17356
+ * This is a shallow copy: property arrays are copied, but nested objects
17357
+ * and URLs are shared with this instance. Dereferencing accessors can cache
17358
+ * fetched objects in the instance whose accessor is called. Hydrating a
17359
+ * shared nested object through the clone can affect the original as well,
17360
+ * and can change JSON-LD output when either is embedded in another
17361
+ * object. Hydrating a top-level property of the clone does not update this
17362
+ * instance's property.
17363
+ *
17364
+ * To resolve properties without sharing nested objects, serialize and
17365
+ * re-parse the instance before hydration rather than using this method.
17366
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
17367
+ * for details, including how cached JSON-LD affects serialization.
17368
+ *
17200
17369
  * A clone never inherits a signed JSON-LD representation retained by
17201
17370
  * `signObject()`: the clone may differ from the document that the proof
17202
17371
  * covers, so embedding the original secured JSON in a parent document
@@ -17287,7 +17456,7 @@ var LikeRequest = class LikeRequest extends Activity {
17287
17456
  * @throws {TypeError} If the given `json` is invalid.
17288
17457
  */
17289
17458
  static async fromJsonLd(json, options = {}) {
17290
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
17459
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
17291
17460
  try {
17292
17461
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
17293
17462
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17408,6 +17577,19 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17408
17577
  /**
17409
17578
  * Clones this instance, optionally updating it with the given values.
17410
17579
  *
17580
+ * This is a shallow copy: property arrays are copied, but nested objects
17581
+ * and URLs are shared with this instance. Dereferencing accessors can cache
17582
+ * fetched objects in the instance whose accessor is called. Hydrating a
17583
+ * shared nested object through the clone can affect the original as well,
17584
+ * and can change JSON-LD output when either is embedded in another
17585
+ * object. Hydrating a top-level property of the clone does not update this
17586
+ * instance's property.
17587
+ *
17588
+ * To resolve properties without sharing nested objects, serialize and
17589
+ * re-parse the instance before hydration rather than using this method.
17590
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
17591
+ * for details, including how cached JSON-LD affects serialization.
17592
+ *
17411
17593
  * A clone never inherits a signed JSON-LD representation retained by
17412
17594
  * `signObject()`: the clone may differ from the document that the proof
17413
17595
  * covers, so embedding the original secured JSON in a parent document
@@ -17446,7 +17628,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17446
17628
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17447
17629
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17448
17630
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17449
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
17631
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
17450
17632
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
17451
17633
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17452
17634
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -17672,7 +17854,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17672
17854
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17673
17855
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17674
17856
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17675
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
17857
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
17676
17858
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
17677
17859
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17678
17860
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18019,7 +18201,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
18019
18201
  * @throws {TypeError} If the given `json` is invalid.
18020
18202
  */
18021
18203
  static async fromJsonLd(json, options = {}) {
18022
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
18204
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
18023
18205
  try {
18024
18206
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
18025
18207
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18183,6 +18365,19 @@ var ReplyRequest = class ReplyRequest extends Activity {
18183
18365
  /**
18184
18366
  * Clones this instance, optionally updating it with the given values.
18185
18367
  *
18368
+ * This is a shallow copy: property arrays are copied, but nested objects
18369
+ * and URLs are shared with this instance. Dereferencing accessors can cache
18370
+ * fetched objects in the instance whose accessor is called. Hydrating a
18371
+ * shared nested object through the clone can affect the original as well,
18372
+ * and can change JSON-LD output when either is embedded in another
18373
+ * object. Hydrating a top-level property of the clone does not update this
18374
+ * instance's property.
18375
+ *
18376
+ * To resolve properties without sharing nested objects, serialize and
18377
+ * re-parse the instance before hydration rather than using this method.
18378
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
18379
+ * for details, including how cached JSON-LD affects serialization.
18380
+ *
18186
18381
  * A clone never inherits a signed JSON-LD representation retained by
18187
18382
  * `signObject()`: the clone may differ from the document that the proof
18188
18383
  * covers, so embedding the original secured JSON in a parent document
@@ -18273,7 +18468,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
18273
18468
  * @throws {TypeError} If the given `json` is invalid.
18274
18469
  */
18275
18470
  static async fromJsonLd(json, options = {}) {
18276
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
18471
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
18277
18472
  try {
18278
18473
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
18279
18474
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18394,6 +18589,19 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18394
18589
  /**
18395
18590
  * Clones this instance, optionally updating it with the given values.
18396
18591
  *
18592
+ * This is a shallow copy: property arrays are copied, but nested objects
18593
+ * and URLs are shared with this instance. Dereferencing accessors can cache
18594
+ * fetched objects in the instance whose accessor is called. Hydrating a
18595
+ * shared nested object through the clone can affect the original as well,
18596
+ * and can change JSON-LD output when either is embedded in another
18597
+ * object. Hydrating a top-level property of the clone does not update this
18598
+ * instance's property.
18599
+ *
18600
+ * To resolve properties without sharing nested objects, serialize and
18601
+ * re-parse the instance before hydration rather than using this method.
18602
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
18603
+ * for details, including how cached JSON-LD affects serialization.
18604
+ *
18397
18605
  * A clone never inherits a signed JSON-LD representation retained by
18398
18606
  * `signObject()`: the clone may differ from the document that the proof
18399
18607
  * covers, so embedding the original secured JSON in a parent document
@@ -18432,7 +18640,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18432
18640
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18433
18641
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18434
18642
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18435
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
18643
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
18436
18644
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18437
18645
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18438
18646
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18657,7 +18865,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18657
18865
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18658
18866
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18659
18867
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18660
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
18868
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
18661
18869
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18662
18870
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18663
18871
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -19006,7 +19214,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
19006
19214
  * @throws {TypeError} If the given `json` is invalid.
19007
19215
  */
19008
19216
  static async fromJsonLd(json, options = {}) {
19009
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
19217
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
19010
19218
  try {
19011
19219
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
19012
19220
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19170,6 +19378,19 @@ var QuoteRequest = class QuoteRequest extends Activity {
19170
19378
  /**
19171
19379
  * Clones this instance, optionally updating it with the given values.
19172
19380
  *
19381
+ * This is a shallow copy: property arrays are copied, but nested objects
19382
+ * and URLs are shared with this instance. Dereferencing accessors can cache
19383
+ * fetched objects in the instance whose accessor is called. Hydrating a
19384
+ * shared nested object through the clone can affect the original as well,
19385
+ * and can change JSON-LD output when either is embedded in another
19386
+ * object. Hydrating a top-level property of the clone does not update this
19387
+ * instance's property.
19388
+ *
19389
+ * To resolve properties without sharing nested objects, serialize and
19390
+ * re-parse the instance before hydration rather than using this method.
19391
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
19392
+ * for details, including how cached JSON-LD affects serialization.
19393
+ *
19173
19394
  * A clone never inherits a signed JSON-LD representation retained by
19174
19395
  * `signObject()`: the clone may differ from the document that the proof
19175
19396
  * covers, so embedding the original secured JSON in a parent document
@@ -19290,7 +19511,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
19290
19511
  * @throws {TypeError} If the given `json` is invalid.
19291
19512
  */
19292
19513
  static async fromJsonLd(json, options = {}) {
19293
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
19514
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
19294
19515
  try {
19295
19516
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
19296
19517
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19483,6 +19704,19 @@ var Translation = class {
19483
19704
  /**
19484
19705
  * Clones this instance, optionally updating it with the given values.
19485
19706
  *
19707
+ * This is a shallow copy: property arrays are copied, but nested objects
19708
+ * and URLs are shared with this instance. Dereferencing accessors can cache
19709
+ * fetched objects in the instance whose accessor is called. Hydrating a
19710
+ * shared nested object through the clone can affect the original as well,
19711
+ * and can change JSON-LD output when either is embedded in another
19712
+ * object. Hydrating a top-level property of the clone does not update this
19713
+ * instance's property.
19714
+ *
19715
+ * To resolve properties without sharing nested objects, serialize and
19716
+ * re-parse the instance before hydration rather than using this method.
19717
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
19718
+ * for details, including how cached JSON-LD affects serialization.
19719
+ *
19486
19720
  * A clone never inherits a signed JSON-LD representation retained by
19487
19721
  * `signObject()`: the clone may differ from the document that the proof
19488
19722
  * covers, so embedding the original secured JSON in a parent document
@@ -19552,7 +19786,7 @@ var Translation = class {
19552
19786
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19553
19787
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19554
19788
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19555
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
19789
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
19556
19790
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
19557
19791
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
19558
19792
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20141,7 +20375,7 @@ var Translation = class {
20141
20375
  * @throws {TypeError} If the given `json` is invalid.
20142
20376
  */
20143
20377
  static async fromJsonLd(json, options = {}) {
20144
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
20378
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
20145
20379
  try {
20146
20380
  const object = await this.__fromJsonLd__Translation__(json, span, options);
20147
20381
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20394,6 +20628,19 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20394
20628
  /**
20395
20629
  * Clones this instance, optionally updating it with the given values.
20396
20630
  *
20631
+ * This is a shallow copy: property arrays are copied, but nested objects
20632
+ * and URLs are shared with this instance. Dereferencing accessors can cache
20633
+ * fetched objects in the instance whose accessor is called. Hydrating a
20634
+ * shared nested object through the clone can affect the original as well,
20635
+ * and can change JSON-LD output when either is embedded in another
20636
+ * object. Hydrating a top-level property of the clone does not update this
20637
+ * instance's property.
20638
+ *
20639
+ * To resolve properties without sharing nested objects, serialize and
20640
+ * re-parse the instance before hydration rather than using this method.
20641
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
20642
+ * for details, including how cached JSON-LD affects serialization.
20643
+ *
20397
20644
  * A clone never inherits a signed JSON-LD representation retained by
20398
20645
  * `signObject()`: the clone may differ from the document that the proof
20399
20646
  * covers, so embedding the original secured JSON in a parent document
@@ -20432,7 +20679,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20432
20679
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20433
20680
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20434
20681
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20435
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
20682
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
20436
20683
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20437
20684
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20438
20685
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20657,7 +20904,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20657
20904
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20658
20905
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20659
20906
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20660
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
20907
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
20661
20908
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20662
20909
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20663
20910
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21006,7 +21253,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
21006
21253
  * @throws {TypeError} If the given `json` is invalid.
21007
21254
  */
21008
21255
  static async fromJsonLd(json, options = {}) {
21009
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
21256
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
21010
21257
  try {
21011
21258
  const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
21012
21259
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21167,6 +21414,19 @@ var FeatureRequest = class FeatureRequest extends Activity {
21167
21414
  /**
21168
21415
  * Clones this instance, optionally updating it with the given values.
21169
21416
  *
21417
+ * This is a shallow copy: property arrays are copied, but nested objects
21418
+ * and URLs are shared with this instance. Dereferencing accessors can cache
21419
+ * fetched objects in the instance whose accessor is called. Hydrating a
21420
+ * shared nested object through the clone can affect the original as well,
21421
+ * and can change JSON-LD output when either is embedded in another
21422
+ * object. Hydrating a top-level property of the clone does not update this
21423
+ * instance's property.
21424
+ *
21425
+ * To resolve properties without sharing nested objects, serialize and
21426
+ * re-parse the instance before hydration rather than using this method.
21427
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
21428
+ * for details, including how cached JSON-LD affects serialization.
21429
+ *
21170
21430
  * A clone never inherits a signed JSON-LD representation retained by
21171
21431
  * `signObject()`: the clone may differ from the document that the proof
21172
21432
  * covers, so embedding the original secured JSON in a parent document
@@ -21258,7 +21518,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
21258
21518
  * @throws {TypeError} If the given `json` is invalid.
21259
21519
  */
21260
21520
  static async fromJsonLd(json, options = {}) {
21261
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
21521
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
21262
21522
  try {
21263
21523
  const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
21264
21524
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21439,6 +21699,19 @@ var Collection = class Collection extends Object$1 {
21439
21699
  /**
21440
21700
  * Clones this instance, optionally updating it with the given values.
21441
21701
  *
21702
+ * This is a shallow copy: property arrays are copied, but nested objects
21703
+ * and URLs are shared with this instance. Dereferencing accessors can cache
21704
+ * fetched objects in the instance whose accessor is called. Hydrating a
21705
+ * shared nested object through the clone can affect the original as well,
21706
+ * and can change JSON-LD output when either is embedded in another
21707
+ * object. Hydrating a top-level property of the clone does not update this
21708
+ * instance's property.
21709
+ *
21710
+ * To resolve properties without sharing nested objects, serialize and
21711
+ * re-parse the instance before hydration rather than using this method.
21712
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
21713
+ * for details, including how cached JSON-LD affects serialization.
21714
+ *
21442
21715
  * A clone never inherits a signed JSON-LD representation retained by
21443
21716
  * `signObject()`: the clone may differ from the document that the proof
21444
21717
  * covers, so embedding the original secured JSON in a parent document
@@ -21550,7 +21823,7 @@ var Collection = class Collection extends Object$1 {
21550
21823
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21551
21824
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21552
21825
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21553
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
21826
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
21554
21827
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21555
21828
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21556
21829
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21776,7 +22049,7 @@ var Collection = class Collection extends Object$1 {
21776
22049
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21777
22050
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21778
22051
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21779
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22052
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
21780
22053
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21781
22054
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21782
22055
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22002,7 +22275,7 @@ var Collection = class Collection extends Object$1 {
22002
22275
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22003
22276
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22004
22277
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22005
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22278
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22006
22279
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22007
22280
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22008
22281
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22228,7 +22501,7 @@ var Collection = class Collection extends Object$1 {
22228
22501
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22229
22502
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22230
22503
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22231
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22504
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22232
22505
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22233
22506
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22234
22507
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22469,7 +22742,7 @@ var Collection = class Collection extends Object$1 {
22469
22742
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22470
22743
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22471
22744
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22472
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22745
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22473
22746
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22474
22747
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22475
22748
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22694,7 +22967,7 @@ var Collection = class Collection extends Object$1 {
22694
22967
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22695
22968
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22696
22969
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22697
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22970
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22698
22971
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22699
22972
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22700
22973
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22919,7 +23192,7 @@ var Collection = class Collection extends Object$1 {
22919
23192
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22920
23193
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22921
23194
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22922
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23195
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22923
23196
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22924
23197
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22925
23198
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23144,7 +23417,7 @@ var Collection = class Collection extends Object$1 {
23144
23417
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23145
23418
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23146
23419
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23147
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23420
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23148
23421
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23149
23422
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23150
23423
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23369,7 +23642,7 @@ var Collection = class Collection extends Object$1 {
23369
23642
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23370
23643
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23371
23644
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23372
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23645
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23373
23646
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23374
23647
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23375
23648
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23594,7 +23867,7 @@ var Collection = class Collection extends Object$1 {
23594
23867
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23595
23868
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23596
23869
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23597
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23870
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23598
23871
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23599
23872
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23600
23873
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23819,7 +24092,7 @@ var Collection = class Collection extends Object$1 {
23819
24092
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23820
24093
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23821
24094
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23822
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
24095
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23823
24096
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23824
24097
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23825
24098
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24044,7 +24317,7 @@ var Collection = class Collection extends Object$1 {
24044
24317
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24045
24318
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24046
24319
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24047
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
24320
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
24048
24321
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
24049
24322
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24050
24323
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24679,7 +24952,7 @@ var Collection = class Collection extends Object$1 {
24679
24952
  * @throws {TypeError} If the given `json` is invalid.
24680
24953
  */
24681
24954
  static async fromJsonLd(json, options = {}) {
24682
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
24955
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
24683
24956
  try {
24684
24957
  const object = await this.__fromJsonLd__Collection__(json, span, options);
24685
24958
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25200,6 +25473,19 @@ var OrderedCollection = class OrderedCollection extends Collection {
25200
25473
  /**
25201
25474
  * Clones this instance, optionally updating it with the given values.
25202
25475
  *
25476
+ * This is a shallow copy: property arrays are copied, but nested objects
25477
+ * and URLs are shared with this instance. Dereferencing accessors can cache
25478
+ * fetched objects in the instance whose accessor is called. Hydrating a
25479
+ * shared nested object through the clone can affect the original as well,
25480
+ * and can change JSON-LD output when either is embedded in another
25481
+ * object. Hydrating a top-level property of the clone does not update this
25482
+ * instance's property.
25483
+ *
25484
+ * To resolve properties without sharing nested objects, serialize and
25485
+ * re-parse the instance before hydration rather than using this method.
25486
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
25487
+ * for details, including how cached JSON-LD affects serialization.
25488
+ *
25203
25489
  * A clone never inherits a signed JSON-LD representation retained by
25204
25490
  * `signObject()`: the clone may differ from the document that the proof
25205
25491
  * covers, so embedding the original secured JSON in a parent document
@@ -25233,7 +25519,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25233
25519
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25234
25520
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25235
25521
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25236
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
25522
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
25237
25523
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
25238
25524
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
25239
25525
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -25634,7 +25920,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25634
25920
  * @throws {TypeError} If the given `json` is invalid.
25635
25921
  */
25636
25922
  static async fromJsonLd(json, options = {}) {
25637
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
25923
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
25638
25924
  try {
25639
25925
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
25640
25926
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25849,6 +26135,19 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
25849
26135
  /**
25850
26136
  * Clones this instance, optionally updating it with the given values.
25851
26137
  *
26138
+ * This is a shallow copy: property arrays are copied, but nested objects
26139
+ * and URLs are shared with this instance. Dereferencing accessors can cache
26140
+ * fetched objects in the instance whose accessor is called. Hydrating a
26141
+ * shared nested object through the clone can affect the original as well,
26142
+ * and can change JSON-LD output when either is embedded in another
26143
+ * object. Hydrating a top-level property of the clone does not update this
26144
+ * instance's property.
26145
+ *
26146
+ * To resolve properties without sharing nested objects, serialize and
26147
+ * re-parse the instance before hydration rather than using this method.
26148
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
26149
+ * for details, including how cached JSON-LD affects serialization.
26150
+ *
25852
26151
  * A clone never inherits a signed JSON-LD representation retained by
25853
26152
  * `signObject()`: the clone may differ from the document that the proof
25854
26153
  * covers, so embedding the original secured JSON in a parent document
@@ -26030,7 +26329,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
26030
26329
  * @throws {TypeError} If the given `json` is invalid.
26031
26330
  */
26032
26331
  static async fromJsonLd(json, options = {}) {
26033
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
26332
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
26034
26333
  try {
26035
26334
  const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
26036
26335
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26186,6 +26485,19 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26186
26485
  /**
26187
26486
  * Clones this instance, optionally updating it with the given values.
26188
26487
  *
26488
+ * This is a shallow copy: property arrays are copied, but nested objects
26489
+ * and URLs are shared with this instance. Dereferencing accessors can cache
26490
+ * fetched objects in the instance whose accessor is called. Hydrating a
26491
+ * shared nested object through the clone can affect the original as well,
26492
+ * and can change JSON-LD output when either is embedded in another
26493
+ * object. Hydrating a top-level property of the clone does not update this
26494
+ * instance's property.
26495
+ *
26496
+ * To resolve properties without sharing nested objects, serialize and
26497
+ * re-parse the instance before hydration rather than using this method.
26498
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
26499
+ * for details, including how cached JSON-LD affects serialization.
26500
+ *
26189
26501
  * A clone never inherits a signed JSON-LD representation retained by
26190
26502
  * `signObject()`: the clone may differ from the document that the proof
26191
26503
  * covers, so embedding the original secured JSON in a parent document
@@ -26224,7 +26536,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26224
26536
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26225
26537
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26226
26538
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26227
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
26539
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
26228
26540
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26229
26541
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26230
26542
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26449,7 +26761,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26449
26761
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26450
26762
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26451
26763
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26452
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
26764
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
26453
26765
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26454
26766
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26455
26767
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26799,7 +27111,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26799
27111
  * @throws {TypeError} If the given `json` is invalid.
26800
27112
  */
26801
27113
  static async fromJsonLd(json, options = {}) {
26802
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
27114
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
26803
27115
  try {
26804
27116
  const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
26805
27117
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27017,6 +27329,19 @@ var DidService = class {
27017
27329
  /**
27018
27330
  * Clones this instance, optionally updating it with the given values.
27019
27331
  *
27332
+ * This is a shallow copy: property arrays are copied, but nested objects
27333
+ * and URLs are shared with this instance. Dereferencing accessors can cache
27334
+ * fetched objects in the instance whose accessor is called. Hydrating a
27335
+ * shared nested object through the clone can affect the original as well,
27336
+ * and can change JSON-LD output when either is embedded in another
27337
+ * object. Hydrating a top-level property of the clone does not update this
27338
+ * instance's property.
27339
+ *
27340
+ * To resolve properties without sharing nested objects, serialize and
27341
+ * re-parse the instance before hydration rather than using this method.
27342
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
27343
+ * for details, including how cached JSON-LD affects serialization.
27344
+ *
27020
27345
  * A clone never inherits a signed JSON-LD representation retained by
27021
27346
  * `signObject()`: the clone may differ from the document that the proof
27022
27347
  * covers, so embedding the original secured JSON in a parent document
@@ -27131,7 +27456,7 @@ var DidService = class {
27131
27456
  * @throws {TypeError} If the given `json` is invalid.
27132
27457
  */
27133
27458
  static async fromJsonLd(json, options = {}) {
27134
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
27459
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
27135
27460
  try {
27136
27461
  const object = await this.__fromJsonLd__DidService__(json, span, options);
27137
27462
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27252,6 +27577,19 @@ var Export = class Export extends DidService {
27252
27577
  /**
27253
27578
  * Clones this instance, optionally updating it with the given values.
27254
27579
  *
27580
+ * This is a shallow copy: property arrays are copied, but nested objects
27581
+ * and URLs are shared with this instance. Dereferencing accessors can cache
27582
+ * fetched objects in the instance whose accessor is called. Hydrating a
27583
+ * shared nested object through the clone can affect the original as well,
27584
+ * and can change JSON-LD output when either is embedded in another
27585
+ * object. Hydrating a top-level property of the clone does not update this
27586
+ * instance's property.
27587
+ *
27588
+ * To resolve properties without sharing nested objects, serialize and
27589
+ * re-parse the instance before hydration rather than using this method.
27590
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
27591
+ * for details, including how cached JSON-LD affects serialization.
27592
+ *
27255
27593
  * A clone never inherits a signed JSON-LD representation retained by
27256
27594
  * `signObject()`: the clone may differ from the document that the proof
27257
27595
  * covers, so embedding the original secured JSON in a parent document
@@ -27334,7 +27672,7 @@ var Export = class Export extends DidService {
27334
27672
  * @throws {TypeError} If the given `json` is invalid.
27335
27673
  */
27336
27674
  static async fromJsonLd(json, options = {}) {
27337
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
27675
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
27338
27676
  try {
27339
27677
  const object = await this.__fromJsonLd__Export__(json, span, options);
27340
27678
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27507,6 +27845,19 @@ var DataIntegrityProof = class {
27507
27845
  /**
27508
27846
  * Clones this instance, optionally updating it with the given values.
27509
27847
  *
27848
+ * This is a shallow copy: property arrays are copied, but nested objects
27849
+ * and URLs are shared with this instance. Dereferencing accessors can cache
27850
+ * fetched objects in the instance whose accessor is called. Hydrating a
27851
+ * shared nested object through the clone can affect the original as well,
27852
+ * and can change JSON-LD output when either is embedded in another
27853
+ * object. Hydrating a top-level property of the clone does not update this
27854
+ * instance's property.
27855
+ *
27856
+ * To resolve properties without sharing nested objects, serialize and
27857
+ * re-parse the instance before hydration rather than using this method.
27858
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
27859
+ * for details, including how cached JSON-LD affects serialization.
27860
+ *
27510
27861
  * A clone never inherits a signed JSON-LD representation retained by
27511
27862
  * `signObject()`: the clone may differ from the document that the proof
27512
27863
  * covers, so embedding the original secured JSON in a parent document
@@ -27559,7 +27910,7 @@ var DataIntegrityProof = class {
27559
27910
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27560
27911
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27561
27912
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27562
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
27913
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
27563
27914
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27564
27915
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27565
27916
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27911,7 +28262,7 @@ var DataIntegrityProof = class {
27911
28262
  * @throws {TypeError} If the given `json` is invalid.
27912
28263
  */
27913
28264
  static async fromJsonLd(json, options = {}) {
27914
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
28265
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
27915
28266
  try {
27916
28267
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
27917
28268
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28171,6 +28522,19 @@ var CryptographicKey = class {
28171
28522
  /**
28172
28523
  * Clones this instance, optionally updating it with the given values.
28173
28524
  *
28525
+ * This is a shallow copy: property arrays are copied, but nested objects
28526
+ * and URLs are shared with this instance. Dereferencing accessors can cache
28527
+ * fetched objects in the instance whose accessor is called. Hydrating a
28528
+ * shared nested object through the clone can affect the original as well,
28529
+ * and can change JSON-LD output when either is embedded in another
28530
+ * object. Hydrating a top-level property of the clone does not update this
28531
+ * instance's property.
28532
+ *
28533
+ * To resolve properties without sharing nested objects, serialize and
28534
+ * re-parse the instance before hydration rather than using this method.
28535
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
28536
+ * for details, including how cached JSON-LD affects serialization.
28537
+ *
28174
28538
  * A clone never inherits a signed JSON-LD representation retained by
28175
28539
  * `signObject()`: the clone may differ from the document that the proof
28176
28540
  * covers, so embedding the original secured JSON in a parent document
@@ -28207,7 +28571,7 @@ var CryptographicKey = class {
28207
28571
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28208
28572
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28209
28573
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28210
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
28574
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
28211
28575
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
28212
28576
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
28213
28577
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -28604,7 +28968,7 @@ var CryptographicKey = class {
28604
28968
  * @throws {TypeError} If the given `json` is invalid.
28605
28969
  */
28606
28970
  static async fromJsonLd(json, options = {}) {
28607
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
28971
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
28608
28972
  try {
28609
28973
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
28610
28974
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28825,6 +29189,19 @@ var Multikey = class {
28825
29189
  /**
28826
29190
  * Clones this instance, optionally updating it with the given values.
28827
29191
  *
29192
+ * This is a shallow copy: property arrays are copied, but nested objects
29193
+ * and URLs are shared with this instance. Dereferencing accessors can cache
29194
+ * fetched objects in the instance whose accessor is called. Hydrating a
29195
+ * shared nested object through the clone can affect the original as well,
29196
+ * and can change JSON-LD output when either is embedded in another
29197
+ * object. Hydrating a top-level property of the clone does not update this
29198
+ * instance's property.
29199
+ *
29200
+ * To resolve properties without sharing nested objects, serialize and
29201
+ * re-parse the instance before hydration rather than using this method.
29202
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
29203
+ * for details, including how cached JSON-LD affects serialization.
29204
+ *
28828
29205
  * A clone never inherits a signed JSON-LD representation retained by
28829
29206
  * `signObject()`: the clone may differ from the document that the proof
28830
29207
  * covers, so embedding the original secured JSON in a parent document
@@ -28861,7 +29238,7 @@ var Multikey = class {
28861
29238
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28862
29239
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28863
29240
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28864
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
29241
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
28865
29242
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
28866
29243
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
28867
29244
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -29264,7 +29641,7 @@ var Multikey = class {
29264
29641
  * @throws {TypeError} If the given `json` is invalid.
29265
29642
  */
29266
29643
  static async fromJsonLd(json, options = {}) {
29267
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
29644
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
29268
29645
  try {
29269
29646
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
29270
29647
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29438,6 +29815,19 @@ var Agreement = class Agreement extends Object$1 {
29438
29815
  /**
29439
29816
  * Clones this instance, optionally updating it with the given values.
29440
29817
  *
29818
+ * This is a shallow copy: property arrays are copied, but nested objects
29819
+ * and URLs are shared with this instance. Dereferencing accessors can cache
29820
+ * fetched objects in the instance whose accessor is called. Hydrating a
29821
+ * shared nested object through the clone can affect the original as well,
29822
+ * and can change JSON-LD output when either is embedded in another
29823
+ * object. Hydrating a top-level property of the clone does not update this
29824
+ * instance's property.
29825
+ *
29826
+ * To resolve properties without sharing nested objects, serialize and
29827
+ * re-parse the instance before hydration rather than using this method.
29828
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
29829
+ * for details, including how cached JSON-LD affects serialization.
29830
+ *
29441
29831
  * A clone never inherits a signed JSON-LD representation retained by
29442
29832
  * `signObject()`: the clone may differ from the document that the proof
29443
29833
  * covers, so embedding the original secured JSON in a parent document
@@ -29652,7 +30042,7 @@ var Agreement = class Agreement extends Object$1 {
29652
30042
  * @throws {TypeError} If the given `json` is invalid.
29653
30043
  */
29654
30044
  static async fromJsonLd(json, options = {}) {
29655
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
30045
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
29656
30046
  try {
29657
30047
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
29658
30048
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29858,6 +30248,19 @@ var Commitment = class {
29858
30248
  /**
29859
30249
  * Clones this instance, optionally updating it with the given values.
29860
30250
  *
30251
+ * This is a shallow copy: property arrays are copied, but nested objects
30252
+ * and URLs are shared with this instance. Dereferencing accessors can cache
30253
+ * fetched objects in the instance whose accessor is called. Hydrating a
30254
+ * shared nested object through the clone can affect the original as well,
30255
+ * and can change JSON-LD output when either is embedded in another
30256
+ * object. Hydrating a top-level property of the clone does not update this
30257
+ * instance's property.
30258
+ *
30259
+ * To resolve properties without sharing nested objects, serialize and
30260
+ * re-parse the instance before hydration rather than using this method.
30261
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
30262
+ * for details, including how cached JSON-LD affects serialization.
30263
+ *
29861
30264
  * A clone never inherits a signed JSON-LD representation retained by
29862
30265
  * `signObject()`: the clone may differ from the document that the proof
29863
30266
  * covers, so embedding the original secured JSON in a parent document
@@ -30032,7 +30435,7 @@ var Commitment = class {
30032
30435
  * @throws {TypeError} If the given `json` is invalid.
30033
30436
  */
30034
30437
  static async fromJsonLd(json, options = {}) {
30035
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
30438
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
30036
30439
  try {
30037
30440
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
30038
30441
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30240,6 +30643,19 @@ var Intent = class {
30240
30643
  /**
30241
30644
  * Clones this instance, optionally updating it with the given values.
30242
30645
  *
30646
+ * This is a shallow copy: property arrays are copied, but nested objects
30647
+ * and URLs are shared with this instance. Dereferencing accessors can cache
30648
+ * fetched objects in the instance whose accessor is called. Hydrating a
30649
+ * shared nested object through the clone can affect the original as well,
30650
+ * and can change JSON-LD output when either is embedded in another
30651
+ * object. Hydrating a top-level property of the clone does not update this
30652
+ * instance's property.
30653
+ *
30654
+ * To resolve properties without sharing nested objects, serialize and
30655
+ * re-parse the instance before hydration rather than using this method.
30656
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
30657
+ * for details, including how cached JSON-LD affects serialization.
30658
+ *
30243
30659
  * A clone never inherits a signed JSON-LD representation retained by
30244
30660
  * `signObject()`: the clone may differ from the document that the proof
30245
30661
  * covers, so embedding the original secured JSON in a parent document
@@ -30504,7 +30920,7 @@ var Intent = class {
30504
30920
  * @throws {TypeError} If the given `json` is invalid.
30505
30921
  */
30506
30922
  static async fromJsonLd(json, options = {}) {
30507
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
30923
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
30508
30924
  try {
30509
30925
  const object = await this.__fromJsonLd__Intent__(json, span, options);
30510
30926
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30727,6 +31143,19 @@ var Proposal = class Proposal extends Object$1 {
30727
31143
  /**
30728
31144
  * Clones this instance, optionally updating it with the given values.
30729
31145
  *
31146
+ * This is a shallow copy: property arrays are copied, but nested objects
31147
+ * and URLs are shared with this instance. Dereferencing accessors can cache
31148
+ * fetched objects in the instance whose accessor is called. Hydrating a
31149
+ * shared nested object through the clone can affect the original as well,
31150
+ * and can change JSON-LD output when either is embedded in another
31151
+ * object. Hydrating a top-level property of the clone does not update this
31152
+ * instance's property.
31153
+ *
31154
+ * To resolve properties without sharing nested objects, serialize and
31155
+ * re-parse the instance before hydration rather than using this method.
31156
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
31157
+ * for details, including how cached JSON-LD affects serialization.
31158
+ *
30730
31159
  * A clone never inherits a signed JSON-LD representation retained by
30731
31160
  * `signObject()`: the clone may differ from the document that the proof
30732
31161
  * covers, so embedding the original secured JSON in a parent document
@@ -31004,7 +31433,7 @@ var Proposal = class Proposal extends Object$1 {
31004
31433
  * @throws {TypeError} If the given `json` is invalid.
31005
31434
  */
31006
31435
  static async fromJsonLd(json, options = {}) {
31007
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
31436
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31008
31437
  try {
31009
31438
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
31010
31439
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31187,6 +31616,19 @@ var Accept = class Accept extends Activity {
31187
31616
  /**
31188
31617
  * Clones this instance, optionally updating it with the given values.
31189
31618
  *
31619
+ * This is a shallow copy: property arrays are copied, but nested objects
31620
+ * and URLs are shared with this instance. Dereferencing accessors can cache
31621
+ * fetched objects in the instance whose accessor is called. Hydrating a
31622
+ * shared nested object through the clone can affect the original as well,
31623
+ * and can change JSON-LD output when either is embedded in another
31624
+ * object. Hydrating a top-level property of the clone does not update this
31625
+ * instance's property.
31626
+ *
31627
+ * To resolve properties without sharing nested objects, serialize and
31628
+ * re-parse the instance before hydration rather than using this method.
31629
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
31630
+ * for details, including how cached JSON-LD affects serialization.
31631
+ *
31190
31632
  * A clone never inherits a signed JSON-LD representation retained by
31191
31633
  * `signObject()`: the clone may differ from the document that the proof
31192
31634
  * covers, so embedding the original secured JSON in a parent document
@@ -31277,7 +31719,7 @@ var Accept = class Accept extends Activity {
31277
31719
  * @throws {TypeError} If the given `json` is invalid.
31278
31720
  */
31279
31721
  static async fromJsonLd(json, options = {}) {
31280
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
31722
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31281
31723
  try {
31282
31724
  const object = await this.__fromJsonLd__Accept__(json, span, options);
31283
31725
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31383,6 +31825,19 @@ var Add = class Add extends Activity {
31383
31825
  /**
31384
31826
  * Clones this instance, optionally updating it with the given values.
31385
31827
  *
31828
+ * This is a shallow copy: property arrays are copied, but nested objects
31829
+ * and URLs are shared with this instance. Dereferencing accessors can cache
31830
+ * fetched objects in the instance whose accessor is called. Hydrating a
31831
+ * shared nested object through the clone can affect the original as well,
31832
+ * and can change JSON-LD output when either is embedded in another
31833
+ * object. Hydrating a top-level property of the clone does not update this
31834
+ * instance's property.
31835
+ *
31836
+ * To resolve properties without sharing nested objects, serialize and
31837
+ * re-parse the instance before hydration rather than using this method.
31838
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
31839
+ * for details, including how cached JSON-LD affects serialization.
31840
+ *
31386
31841
  * A clone never inherits a signed JSON-LD representation retained by
31387
31842
  * `signObject()`: the clone may differ from the document that the proof
31388
31843
  * covers, so embedding the original secured JSON in a parent document
@@ -31473,7 +31928,7 @@ var Add = class Add extends Activity {
31473
31928
  * @throws {TypeError} If the given `json` is invalid.
31474
31929
  */
31475
31930
  static async fromJsonLd(json, options = {}) {
31476
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
31931
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31477
31932
  try {
31478
31933
  const object = await this.__fromJsonLd__Add__(json, span, options);
31479
31934
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31577,6 +32032,19 @@ var Announce = class Announce extends Activity {
31577
32032
  /**
31578
32033
  * Clones this instance, optionally updating it with the given values.
31579
32034
  *
32035
+ * This is a shallow copy: property arrays are copied, but nested objects
32036
+ * and URLs are shared with this instance. Dereferencing accessors can cache
32037
+ * fetched objects in the instance whose accessor is called. Hydrating a
32038
+ * shared nested object through the clone can affect the original as well,
32039
+ * and can change JSON-LD output when either is embedded in another
32040
+ * object. Hydrating a top-level property of the clone does not update this
32041
+ * instance's property.
32042
+ *
32043
+ * To resolve properties without sharing nested objects, serialize and
32044
+ * re-parse the instance before hydration rather than using this method.
32045
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
32046
+ * for details, including how cached JSON-LD affects serialization.
32047
+ *
31580
32048
  * A clone never inherits a signed JSON-LD representation retained by
31581
32049
  * `signObject()`: the clone may differ from the document that the proof
31582
32050
  * covers, so embedding the original secured JSON in a parent document
@@ -31696,7 +32164,7 @@ var Announce = class Announce extends Activity {
31696
32164
  * @throws {TypeError} If the given `json` is invalid.
31697
32165
  */
31698
32166
  static async fromJsonLd(json, options = {}) {
31699
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
32167
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31700
32168
  try {
31701
32169
  const object = await this.__fromJsonLd__Announce__(json, span, options);
31702
32170
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31950,6 +32418,19 @@ var Application = class Application extends Object$1 {
31950
32418
  /**
31951
32419
  * Clones this instance, optionally updating it with the given values.
31952
32420
  *
32421
+ * This is a shallow copy: property arrays are copied, but nested objects
32422
+ * and URLs are shared with this instance. Dereferencing accessors can cache
32423
+ * fetched objects in the instance whose accessor is called. Hydrating a
32424
+ * shared nested object through the clone can affect the original as well,
32425
+ * and can change JSON-LD output when either is embedded in another
32426
+ * object. Hydrating a top-level property of the clone does not update this
32427
+ * instance's property.
32428
+ *
32429
+ * To resolve properties without sharing nested objects, serialize and
32430
+ * re-parse the instance before hydration rather than using this method.
32431
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
32432
+ * for details, including how cached JSON-LD affects serialization.
32433
+ *
31953
32434
  * A clone never inherits a signed JSON-LD representation retained by
31954
32435
  * `signObject()`: the clone may differ from the document that the proof
31955
32436
  * covers, so embedding the original secured JSON in a parent document
@@ -32147,7 +32628,7 @@ var Application = class Application extends Object$1 {
32147
32628
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32148
32629
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32149
32630
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32150
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
32631
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
32151
32632
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32152
32633
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32153
32634
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -32445,7 +32926,7 @@ var Application = class Application extends Object$1 {
32445
32926
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32446
32927
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32447
32928
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32448
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
32929
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
32449
32930
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32450
32931
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32451
32932
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -32779,7 +33260,7 @@ var Application = class Application extends Object$1 {
32779
33260
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32780
33261
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32781
33262
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32782
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33263
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
32783
33264
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32784
33265
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32785
33266
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33027,7 +33508,7 @@ var Application = class Application extends Object$1 {
33027
33508
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33028
33509
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33029
33510
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33030
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33511
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33031
33512
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33032
33513
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33033
33514
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33272,7 +33753,7 @@ var Application = class Application extends Object$1 {
33272
33753
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33273
33754
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33274
33755
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33275
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33756
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33276
33757
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33277
33758
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33278
33759
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33501,7 +33982,7 @@ var Application = class Application extends Object$1 {
33501
33982
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33502
33983
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33503
33984
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33504
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33985
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33505
33986
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33506
33987
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33507
33988
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33733,7 +34214,7 @@ var Application = class Application extends Object$1 {
33733
34214
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33734
34215
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33735
34216
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33736
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34217
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33737
34218
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33738
34219
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33739
34220
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33963,7 +34444,7 @@ var Application = class Application extends Object$1 {
33963
34444
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33964
34445
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33965
34446
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33966
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34447
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33967
34448
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33968
34449
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33969
34450
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34191,7 +34672,7 @@ var Application = class Application extends Object$1 {
34191
34672
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34192
34673
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34193
34674
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34194
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34675
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34195
34676
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34196
34677
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34197
34678
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34419,7 +34900,7 @@ var Application = class Application extends Object$1 {
34419
34900
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34420
34901
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34421
34902
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34422
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34903
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34423
34904
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34424
34905
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34425
34906
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34644,7 +35125,7 @@ var Application = class Application extends Object$1 {
34644
35125
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34645
35126
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34646
35127
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34647
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35128
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34648
35129
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34649
35130
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34650
35131
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34915,7 +35396,7 @@ var Application = class Application extends Object$1 {
34915
35396
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34916
35397
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34917
35398
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34918
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35399
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34919
35400
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34920
35401
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34921
35402
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35190,7 +35671,7 @@ var Application = class Application extends Object$1 {
35190
35671
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35191
35672
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35192
35673
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35193
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35674
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
35194
35675
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35195
35676
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35196
35677
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35544,7 +36025,7 @@ var Application = class Application extends Object$1 {
35544
36025
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35545
36026
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35546
36027
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35547
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
36028
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
35548
36029
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35549
36030
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35550
36031
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -36541,7 +37022,7 @@ var Application = class Application extends Object$1 {
36541
37022
  * @throws {TypeError} If the given `json` is invalid.
36542
37023
  */
36543
37024
  static async fromJsonLd(json, options = {}) {
36544
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
37025
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
36545
37026
  try {
36546
37027
  const object = await this.__fromJsonLd__Application__(json, span, options);
36547
37028
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37229,6 +37710,19 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
37229
37710
  /**
37230
37711
  * Clones this instance, optionally updating it with the given values.
37231
37712
  *
37713
+ * This is a shallow copy: property arrays are copied, but nested objects
37714
+ * and URLs are shared with this instance. Dereferencing accessors can cache
37715
+ * fetched objects in the instance whose accessor is called. Hydrating a
37716
+ * shared nested object through the clone can affect the original as well,
37717
+ * and can change JSON-LD output when either is embedded in another
37718
+ * object. Hydrating a top-level property of the clone does not update this
37719
+ * instance's property.
37720
+ *
37721
+ * To resolve properties without sharing nested objects, serialize and
37722
+ * re-parse the instance before hydration rather than using this method.
37723
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
37724
+ * for details, including how cached JSON-LD affects serialization.
37725
+ *
37232
37726
  * A clone never inherits a signed JSON-LD representation retained by
37233
37727
  * `signObject()`: the clone may differ from the document that the proof
37234
37728
  * covers, so embedding the original secured JSON in a parent document
@@ -37319,7 +37813,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
37319
37813
  * @throws {TypeError} If the given `json` is invalid.
37320
37814
  */
37321
37815
  static async fromJsonLd(json, options = {}) {
37322
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
37816
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
37323
37817
  try {
37324
37818
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
37325
37819
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37426,6 +37920,19 @@ var Arrive = class Arrive extends IntransitiveActivity {
37426
37920
  /**
37427
37921
  * Clones this instance, optionally updating it with the given values.
37428
37922
  *
37923
+ * This is a shallow copy: property arrays are copied, but nested objects
37924
+ * and URLs are shared with this instance. Dereferencing accessors can cache
37925
+ * fetched objects in the instance whose accessor is called. Hydrating a
37926
+ * shared nested object through the clone can affect the original as well,
37927
+ * and can change JSON-LD output when either is embedded in another
37928
+ * object. Hydrating a top-level property of the clone does not update this
37929
+ * instance's property.
37930
+ *
37931
+ * To resolve properties without sharing nested objects, serialize and
37932
+ * re-parse the instance before hydration rather than using this method.
37933
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
37934
+ * for details, including how cached JSON-LD affects serialization.
37935
+ *
37429
37936
  * A clone never inherits a signed JSON-LD representation retained by
37430
37937
  * `signObject()`: the clone may differ from the document that the proof
37431
37938
  * covers, so embedding the original secured JSON in a parent document
@@ -37516,7 +38023,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
37516
38023
  * @throws {TypeError} If the given `json` is invalid.
37517
38024
  */
37518
38025
  static async fromJsonLd(json, options = {}) {
37519
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
38026
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
37520
38027
  try {
37521
38028
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
37522
38029
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37633,6 +38140,19 @@ var Article = class Article extends Object$1 {
37633
38140
  /**
37634
38141
  * Clones this instance, optionally updating it with the given values.
37635
38142
  *
38143
+ * This is a shallow copy: property arrays are copied, but nested objects
38144
+ * and URLs are shared with this instance. Dereferencing accessors can cache
38145
+ * fetched objects in the instance whose accessor is called. Hydrating a
38146
+ * shared nested object through the clone can affect the original as well,
38147
+ * and can change JSON-LD output when either is embedded in another
38148
+ * object. Hydrating a top-level property of the clone does not update this
38149
+ * instance's property.
38150
+ *
38151
+ * To resolve properties without sharing nested objects, serialize and
38152
+ * re-parse the instance before hydration rather than using this method.
38153
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
38154
+ * for details, including how cached JSON-LD affects serialization.
38155
+ *
37636
38156
  * A clone never inherits a signed JSON-LD representation retained by
37637
38157
  * `signObject()`: the clone may differ from the document that the proof
37638
38158
  * covers, so embedding the original secured JSON in a parent document
@@ -37674,7 +38194,7 @@ var Article = class Article extends Object$1 {
37674
38194
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37675
38195
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37676
38196
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37677
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
38197
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
37678
38198
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37679
38199
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37680
38200
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -37917,7 +38437,7 @@ var Article = class Article extends Object$1 {
37917
38437
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37918
38438
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37919
38439
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37920
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
38440
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
37921
38441
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37922
38442
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37923
38443
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38339,7 +38859,7 @@ var Article = class Article extends Object$1 {
38339
38859
  * @throws {TypeError} If the given `json` is invalid.
38340
38860
  */
38341
38861
  static async fromJsonLd(json, options = {}) {
38342
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
38862
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
38343
38863
  try {
38344
38864
  const object = await this.__fromJsonLd__Article__(json, span, options);
38345
38865
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38523,6 +39043,19 @@ var Document = class Document extends Object$1 {
38523
39043
  /**
38524
39044
  * Clones this instance, optionally updating it with the given values.
38525
39045
  *
39046
+ * This is a shallow copy: property arrays are copied, but nested objects
39047
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39048
+ * fetched objects in the instance whose accessor is called. Hydrating a
39049
+ * shared nested object through the clone can affect the original as well,
39050
+ * and can change JSON-LD output when either is embedded in another
39051
+ * object. Hydrating a top-level property of the clone does not update this
39052
+ * instance's property.
39053
+ *
39054
+ * To resolve properties without sharing nested objects, serialize and
39055
+ * re-parse the instance before hydration rather than using this method.
39056
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39057
+ * for details, including how cached JSON-LD affects serialization.
39058
+ *
38526
39059
  * A clone never inherits a signed JSON-LD representation retained by
38527
39060
  * `signObject()`: the clone may differ from the document that the proof
38528
39061
  * covers, so embedding the original secured JSON in a parent document
@@ -38723,7 +39256,7 @@ var Document = class Document extends Object$1 {
38723
39256
  * @throws {TypeError} If the given `json` is invalid.
38724
39257
  */
38725
39258
  static async fromJsonLd(json, options = {}) {
38726
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39259
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
38727
39260
  try {
38728
39261
  const object = await this.__fromJsonLd__Document__(json, span, options);
38729
39262
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38884,6 +39417,19 @@ var Audio = class Audio extends Document {
38884
39417
  /**
38885
39418
  * Clones this instance, optionally updating it with the given values.
38886
39419
  *
39420
+ * This is a shallow copy: property arrays are copied, but nested objects
39421
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39422
+ * fetched objects in the instance whose accessor is called. Hydrating a
39423
+ * shared nested object through the clone can affect the original as well,
39424
+ * and can change JSON-LD output when either is embedded in another
39425
+ * object. Hydrating a top-level property of the clone does not update this
39426
+ * instance's property.
39427
+ *
39428
+ * To resolve properties without sharing nested objects, serialize and
39429
+ * re-parse the instance before hydration rather than using this method.
39430
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39431
+ * for details, including how cached JSON-LD affects serialization.
39432
+ *
38887
39433
  * A clone never inherits a signed JSON-LD representation retained by
38888
39434
  * `signObject()`: the clone may differ from the document that the proof
38889
39435
  * covers, so embedding the original secured JSON in a parent document
@@ -38990,7 +39536,7 @@ var Audio = class Audio extends Document {
38990
39536
  * @throws {TypeError} If the given `json` is invalid.
38991
39537
  */
38992
39538
  static async fromJsonLd(json, options = {}) {
38993
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39539
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
38994
39540
  try {
38995
39541
  const object = await this.__fromJsonLd__Audio__(json, span, options);
38996
39542
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39093,6 +39639,19 @@ var Ignore = class Ignore extends Activity {
39093
39639
  /**
39094
39640
  * Clones this instance, optionally updating it with the given values.
39095
39641
  *
39642
+ * This is a shallow copy: property arrays are copied, but nested objects
39643
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39644
+ * fetched objects in the instance whose accessor is called. Hydrating a
39645
+ * shared nested object through the clone can affect the original as well,
39646
+ * and can change JSON-LD output when either is embedded in another
39647
+ * object. Hydrating a top-level property of the clone does not update this
39648
+ * instance's property.
39649
+ *
39650
+ * To resolve properties without sharing nested objects, serialize and
39651
+ * re-parse the instance before hydration rather than using this method.
39652
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39653
+ * for details, including how cached JSON-LD affects serialization.
39654
+ *
39096
39655
  * A clone never inherits a signed JSON-LD representation retained by
39097
39656
  * `signObject()`: the clone may differ from the document that the proof
39098
39657
  * covers, so embedding the original secured JSON in a parent document
@@ -39183,7 +39742,7 @@ var Ignore = class Ignore extends Activity {
39183
39742
  * @throws {TypeError} If the given `json` is invalid.
39184
39743
  */
39185
39744
  static async fromJsonLd(json, options = {}) {
39186
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39745
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
39187
39746
  try {
39188
39747
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
39189
39748
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39289,6 +39848,19 @@ var Block = class Block extends Ignore {
39289
39848
  /**
39290
39849
  * Clones this instance, optionally updating it with the given values.
39291
39850
  *
39851
+ * This is a shallow copy: property arrays are copied, but nested objects
39852
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39853
+ * fetched objects in the instance whose accessor is called. Hydrating a
39854
+ * shared nested object through the clone can affect the original as well,
39855
+ * and can change JSON-LD output when either is embedded in another
39856
+ * object. Hydrating a top-level property of the clone does not update this
39857
+ * instance's property.
39858
+ *
39859
+ * To resolve properties without sharing nested objects, serialize and
39860
+ * re-parse the instance before hydration rather than using this method.
39861
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39862
+ * for details, including how cached JSON-LD affects serialization.
39863
+ *
39292
39864
  * A clone never inherits a signed JSON-LD representation retained by
39293
39865
  * `signObject()`: the clone may differ from the document that the proof
39294
39866
  * covers, so embedding the original secured JSON in a parent document
@@ -39379,7 +39951,7 @@ var Block = class Block extends Ignore {
39379
39951
  * @throws {TypeError} If the given `json` is invalid.
39380
39952
  */
39381
39953
  static async fromJsonLd(json, options = {}) {
39382
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39954
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
39383
39955
  try {
39384
39956
  const object = await this.__fromJsonLd__Block__(json, span, options);
39385
39957
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39501,6 +40073,19 @@ var CollectionPage = class CollectionPage extends Collection {
39501
40073
  /**
39502
40074
  * Clones this instance, optionally updating it with the given values.
39503
40075
  *
40076
+ * This is a shallow copy: property arrays are copied, but nested objects
40077
+ * and URLs are shared with this instance. Dereferencing accessors can cache
40078
+ * fetched objects in the instance whose accessor is called. Hydrating a
40079
+ * shared nested object through the clone can affect the original as well,
40080
+ * and can change JSON-LD output when either is embedded in another
40081
+ * object. Hydrating a top-level property of the clone does not update this
40082
+ * instance's property.
40083
+ *
40084
+ * To resolve properties without sharing nested objects, serialize and
40085
+ * re-parse the instance before hydration rather than using this method.
40086
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
40087
+ * for details, including how cached JSON-LD affects serialization.
40088
+ *
39504
40089
  * A clone never inherits a signed JSON-LD representation retained by
39505
40090
  * `signObject()`: the clone may differ from the document that the proof
39506
40091
  * covers, so embedding the original secured JSON in a parent document
@@ -39545,7 +40130,7 @@ var CollectionPage = class CollectionPage extends Collection {
39545
40130
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39546
40131
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39547
40132
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39548
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
40133
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
39549
40134
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
39550
40135
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
39551
40136
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -39771,7 +40356,7 @@ var CollectionPage = class CollectionPage extends Collection {
39771
40356
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39772
40357
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39773
40358
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39774
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
40359
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
39775
40360
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
39776
40361
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
39777
40362
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -39996,7 +40581,7 @@ var CollectionPage = class CollectionPage extends Collection {
39996
40581
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39997
40582
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39998
40583
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39999
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
40584
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
40000
40585
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
40001
40586
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
40002
40587
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -40418,7 +41003,7 @@ var CollectionPage = class CollectionPage extends Collection {
40418
41003
  * @throws {TypeError} If the given `json` is invalid.
40419
41004
  */
40420
41005
  static async fromJsonLd(json, options = {}) {
40421
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41006
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
40422
41007
  try {
40423
41008
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
40424
41009
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40600,6 +41185,19 @@ var Create = class Create extends Activity {
40600
41185
  /**
40601
41186
  * Clones this instance, optionally updating it with the given values.
40602
41187
  *
41188
+ * This is a shallow copy: property arrays are copied, but nested objects
41189
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41190
+ * fetched objects in the instance whose accessor is called. Hydrating a
41191
+ * shared nested object through the clone can affect the original as well,
41192
+ * and can change JSON-LD output when either is embedded in another
41193
+ * object. Hydrating a top-level property of the clone does not update this
41194
+ * instance's property.
41195
+ *
41196
+ * To resolve properties without sharing nested objects, serialize and
41197
+ * re-parse the instance before hydration rather than using this method.
41198
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41199
+ * for details, including how cached JSON-LD affects serialization.
41200
+ *
40603
41201
  * A clone never inherits a signed JSON-LD representation retained by
40604
41202
  * `signObject()`: the clone may differ from the document that the proof
40605
41203
  * covers, so embedding the original secured JSON in a parent document
@@ -40720,7 +41318,7 @@ var Create = class Create extends Activity {
40720
41318
  * @throws {TypeError} If the given `json` is invalid.
40721
41319
  */
40722
41320
  static async fromJsonLd(json, options = {}) {
40723
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41321
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
40724
41322
  try {
40725
41323
  const object = await this.__fromJsonLd__Create__(json, span, options);
40726
41324
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40823,6 +41421,19 @@ var Delete = class Delete extends Activity {
40823
41421
  /**
40824
41422
  * Clones this instance, optionally updating it with the given values.
40825
41423
  *
41424
+ * This is a shallow copy: property arrays are copied, but nested objects
41425
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41426
+ * fetched objects in the instance whose accessor is called. Hydrating a
41427
+ * shared nested object through the clone can affect the original as well,
41428
+ * and can change JSON-LD output when either is embedded in another
41429
+ * object. Hydrating a top-level property of the clone does not update this
41430
+ * instance's property.
41431
+ *
41432
+ * To resolve properties without sharing nested objects, serialize and
41433
+ * re-parse the instance before hydration rather than using this method.
41434
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41435
+ * for details, including how cached JSON-LD affects serialization.
41436
+ *
40826
41437
  * A clone never inherits a signed JSON-LD representation retained by
40827
41438
  * `signObject()`: the clone may differ from the document that the proof
40828
41439
  * covers, so embedding the original secured JSON in a parent document
@@ -40939,7 +41550,7 @@ var Delete = class Delete extends Activity {
40939
41550
  * @throws {TypeError} If the given `json` is invalid.
40940
41551
  */
40941
41552
  static async fromJsonLd(json, options = {}) {
40942
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41553
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
40943
41554
  try {
40944
41555
  const object = await this.__fromJsonLd__Delete__(json, span, options);
40945
41556
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41041,6 +41652,19 @@ var Dislike = class Dislike extends Activity {
41041
41652
  /**
41042
41653
  * Clones this instance, optionally updating it with the given values.
41043
41654
  *
41655
+ * This is a shallow copy: property arrays are copied, but nested objects
41656
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41657
+ * fetched objects in the instance whose accessor is called. Hydrating a
41658
+ * shared nested object through the clone can affect the original as well,
41659
+ * and can change JSON-LD output when either is embedded in another
41660
+ * object. Hydrating a top-level property of the clone does not update this
41661
+ * instance's property.
41662
+ *
41663
+ * To resolve properties without sharing nested objects, serialize and
41664
+ * re-parse the instance before hydration rather than using this method.
41665
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41666
+ * for details, including how cached JSON-LD affects serialization.
41667
+ *
41044
41668
  * A clone never inherits a signed JSON-LD representation retained by
41045
41669
  * `signObject()`: the clone may differ from the document that the proof
41046
41670
  * covers, so embedding the original secured JSON in a parent document
@@ -41135,7 +41759,7 @@ var Dislike = class Dislike extends Activity {
41135
41759
  * @throws {TypeError} If the given `json` is invalid.
41136
41760
  */
41137
41761
  static async fromJsonLd(json, options = {}) {
41138
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41762
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
41139
41763
  try {
41140
41764
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
41141
41765
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41310,6 +41934,19 @@ var Endpoints = class {
41310
41934
  /**
41311
41935
  * Clones this instance, optionally updating it with the given values.
41312
41936
  *
41937
+ * This is a shallow copy: property arrays are copied, but nested objects
41938
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41939
+ * fetched objects in the instance whose accessor is called. Hydrating a
41940
+ * shared nested object through the clone can affect the original as well,
41941
+ * and can change JSON-LD output when either is embedded in another
41942
+ * object. Hydrating a top-level property of the clone does not update this
41943
+ * instance's property.
41944
+ *
41945
+ * To resolve properties without sharing nested objects, serialize and
41946
+ * re-parse the instance before hydration rather than using this method.
41947
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41948
+ * for details, including how cached JSON-LD affects serialization.
41949
+ *
41313
41950
  * A clone never inherits a signed JSON-LD representation retained by
41314
41951
  * `signObject()`: the clone may differ from the document that the proof
41315
41952
  * covers, so embedding the original secured JSON in a parent document
@@ -41613,7 +42250,7 @@ var Endpoints = class {
41613
42250
  * @throws {TypeError} If the given `json` is invalid.
41614
42251
  */
41615
42252
  static async fromJsonLd(json, options = {}) {
41616
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
42253
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
41617
42254
  try {
41618
42255
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
41619
42256
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41840,6 +42477,19 @@ var Event = class Event extends Object$1 {
41840
42477
  /**
41841
42478
  * Clones this instance, optionally updating it with the given values.
41842
42479
  *
42480
+ * This is a shallow copy: property arrays are copied, but nested objects
42481
+ * and URLs are shared with this instance. Dereferencing accessors can cache
42482
+ * fetched objects in the instance whose accessor is called. Hydrating a
42483
+ * shared nested object through the clone can affect the original as well,
42484
+ * and can change JSON-LD output when either is embedded in another
42485
+ * object. Hydrating a top-level property of the clone does not update this
42486
+ * instance's property.
42487
+ *
42488
+ * To resolve properties without sharing nested objects, serialize and
42489
+ * re-parse the instance before hydration rather than using this method.
42490
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
42491
+ * for details, including how cached JSON-LD affects serialization.
42492
+ *
41843
42493
  * A clone never inherits a signed JSON-LD representation retained by
41844
42494
  * `signObject()`: the clone may differ from the document that the proof
41845
42495
  * covers, so embedding the original secured JSON in a parent document
@@ -41944,7 +42594,7 @@ var Event = class Event extends Object$1 {
41944
42594
  * @throws {TypeError} If the given `json` is invalid.
41945
42595
  */
41946
42596
  static async fromJsonLd(json, options = {}) {
41947
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
42597
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
41948
42598
  try {
41949
42599
  const object = await this.__fromJsonLd__Event__(json, span, options);
41950
42600
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42048,6 +42698,19 @@ var Flag = class Flag extends Activity {
42048
42698
  /**
42049
42699
  * Clones this instance, optionally updating it with the given values.
42050
42700
  *
42701
+ * This is a shallow copy: property arrays are copied, but nested objects
42702
+ * and URLs are shared with this instance. Dereferencing accessors can cache
42703
+ * fetched objects in the instance whose accessor is called. Hydrating a
42704
+ * shared nested object through the clone can affect the original as well,
42705
+ * and can change JSON-LD output when either is embedded in another
42706
+ * object. Hydrating a top-level property of the clone does not update this
42707
+ * instance's property.
42708
+ *
42709
+ * To resolve properties without sharing nested objects, serialize and
42710
+ * re-parse the instance before hydration rather than using this method.
42711
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
42712
+ * for details, including how cached JSON-LD affects serialization.
42713
+ *
42051
42714
  * A clone never inherits a signed JSON-LD representation retained by
42052
42715
  * `signObject()`: the clone may differ from the document that the proof
42053
42716
  * covers, so embedding the original secured JSON in a parent document
@@ -42138,7 +42801,7 @@ var Flag = class Flag extends Activity {
42138
42801
  * @throws {TypeError} If the given `json` is invalid.
42139
42802
  */
42140
42803
  static async fromJsonLd(json, options = {}) {
42141
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
42804
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
42142
42805
  try {
42143
42806
  const object = await this.__fromJsonLd__Flag__(json, span, options);
42144
42807
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42243,6 +42906,19 @@ var Follow = class Follow extends Activity {
42243
42906
  /**
42244
42907
  * Clones this instance, optionally updating it with the given values.
42245
42908
  *
42909
+ * This is a shallow copy: property arrays are copied, but nested objects
42910
+ * and URLs are shared with this instance. Dereferencing accessors can cache
42911
+ * fetched objects in the instance whose accessor is called. Hydrating a
42912
+ * shared nested object through the clone can affect the original as well,
42913
+ * and can change JSON-LD output when either is embedded in another
42914
+ * object. Hydrating a top-level property of the clone does not update this
42915
+ * instance's property.
42916
+ *
42917
+ * To resolve properties without sharing nested objects, serialize and
42918
+ * re-parse the instance before hydration rather than using this method.
42919
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
42920
+ * for details, including how cached JSON-LD affects serialization.
42921
+ *
42246
42922
  * A clone never inherits a signed JSON-LD representation retained by
42247
42923
  * `signObject()`: the clone may differ from the document that the proof
42248
42924
  * covers, so embedding the original secured JSON in a parent document
@@ -42336,7 +43012,7 @@ var Follow = class Follow extends Activity {
42336
43012
  * @throws {TypeError} If the given `json` is invalid.
42337
43013
  */
42338
43014
  static async fromJsonLd(json, options = {}) {
42339
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
43015
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
42340
43016
  try {
42341
43017
  const object = await this.__fromJsonLd__Follow__(json, span, options);
42342
43018
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42590,6 +43266,19 @@ var Group = class Group extends Object$1 {
42590
43266
  /**
42591
43267
  * Clones this instance, optionally updating it with the given values.
42592
43268
  *
43269
+ * This is a shallow copy: property arrays are copied, but nested objects
43270
+ * and URLs are shared with this instance. Dereferencing accessors can cache
43271
+ * fetched objects in the instance whose accessor is called. Hydrating a
43272
+ * shared nested object through the clone can affect the original as well,
43273
+ * and can change JSON-LD output when either is embedded in another
43274
+ * object. Hydrating a top-level property of the clone does not update this
43275
+ * instance's property.
43276
+ *
43277
+ * To resolve properties without sharing nested objects, serialize and
43278
+ * re-parse the instance before hydration rather than using this method.
43279
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
43280
+ * for details, including how cached JSON-LD affects serialization.
43281
+ *
42593
43282
  * A clone never inherits a signed JSON-LD representation retained by
42594
43283
  * `signObject()`: the clone may differ from the document that the proof
42595
43284
  * covers, so embedding the original secured JSON in a parent document
@@ -42787,7 +43476,7 @@ var Group = class Group extends Object$1 {
42787
43476
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42788
43477
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42789
43478
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42790
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
43479
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
42791
43480
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
42792
43481
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
42793
43482
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43085,7 +43774,7 @@ var Group = class Group extends Object$1 {
43085
43774
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43086
43775
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43087
43776
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43088
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
43777
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43089
43778
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43090
43779
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43091
43780
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43419,7 +44108,7 @@ var Group = class Group extends Object$1 {
43419
44108
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43420
44109
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43421
44110
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43422
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44111
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43423
44112
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43424
44113
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43425
44114
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43667,7 +44356,7 @@ var Group = class Group extends Object$1 {
43667
44356
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43668
44357
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43669
44358
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43670
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44359
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43671
44360
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43672
44361
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43673
44362
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43912,7 +44601,7 @@ var Group = class Group extends Object$1 {
43912
44601
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43913
44602
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43914
44603
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43915
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44604
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43916
44605
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43917
44606
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43918
44607
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44141,7 +44830,7 @@ var Group = class Group extends Object$1 {
44141
44830
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44142
44831
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44143
44832
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44144
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44833
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44145
44834
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44146
44835
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44147
44836
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44373,7 +45062,7 @@ var Group = class Group extends Object$1 {
44373
45062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44374
45063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44375
45064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44376
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45065
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44377
45066
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44378
45067
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44379
45068
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44603,7 +45292,7 @@ var Group = class Group extends Object$1 {
44603
45292
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44604
45293
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44605
45294
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44606
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45295
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44607
45296
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44608
45297
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44609
45298
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44831,7 +45520,7 @@ var Group = class Group extends Object$1 {
44831
45520
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44832
45521
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44833
45522
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44834
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45523
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44835
45524
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44836
45525
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44837
45526
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45059,7 +45748,7 @@ var Group = class Group extends Object$1 {
45059
45748
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45060
45749
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45061
45750
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45062
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45751
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45063
45752
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45064
45753
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45065
45754
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45284,7 +45973,7 @@ var Group = class Group extends Object$1 {
45284
45973
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45285
45974
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45286
45975
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45287
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45976
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45288
45977
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45289
45978
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45290
45979
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45555,7 +46244,7 @@ var Group = class Group extends Object$1 {
45555
46244
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45556
46245
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45557
46246
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45558
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46247
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45559
46248
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45560
46249
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45561
46250
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45830,7 +46519,7 @@ var Group = class Group extends Object$1 {
45830
46519
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45831
46520
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45832
46521
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45833
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46522
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45834
46523
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45835
46524
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45836
46525
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -46184,7 +46873,7 @@ var Group = class Group extends Object$1 {
46184
46873
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46185
46874
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46186
46875
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46187
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46876
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
46188
46877
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
46189
46878
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
46190
46879
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -47181,7 +47870,7 @@ var Group = class Group extends Object$1 {
47181
47870
  * @throws {TypeError} If the given `json` is invalid.
47182
47871
  */
47183
47872
  static async fromJsonLd(json, options = {}) {
47184
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
47873
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
47185
47874
  try {
47186
47875
  const object = await this.__fromJsonLd__Group__(json, span, options);
47187
47876
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47966,6 +48655,19 @@ var Link = class Link {
47966
48655
  /**
47967
48656
  * Clones this instance, optionally updating it with the given values.
47968
48657
  *
48658
+ * This is a shallow copy: property arrays are copied, but nested objects
48659
+ * and URLs are shared with this instance. Dereferencing accessors can cache
48660
+ * fetched objects in the instance whose accessor is called. Hydrating a
48661
+ * shared nested object through the clone can affect the original as well,
48662
+ * and can change JSON-LD output when either is embedded in another
48663
+ * object. Hydrating a top-level property of the clone does not update this
48664
+ * instance's property.
48665
+ *
48666
+ * To resolve properties without sharing nested objects, serialize and
48667
+ * re-parse the instance before hydration rather than using this method.
48668
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
48669
+ * for details, including how cached JSON-LD affects serialization.
48670
+ *
47969
48671
  * A clone never inherits a signed JSON-LD representation retained by
47970
48672
  * `signObject()`: the clone may differ from the document that the proof
47971
48673
  * covers, so embedding the original secured JSON in a parent document
@@ -48120,7 +48822,7 @@ var Link = class Link {
48120
48822
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48121
48823
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48122
48824
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48123
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
48825
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
48124
48826
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48125
48827
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48126
48828
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -48595,7 +49297,7 @@ var Link = class Link {
48595
49297
  * @throws {TypeError} If the given `json` is invalid.
48596
49298
  */
48597
49299
  static async fromJsonLd(json, options = {}) {
48598
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
49300
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
48599
49301
  try {
48600
49302
  const object = await this.__fromJsonLd__Link__(json, span, options);
48601
49303
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48949,6 +49651,19 @@ var Hashtag = class Hashtag extends Link {
48949
49651
  /**
48950
49652
  * Clones this instance, optionally updating it with the given values.
48951
49653
  *
49654
+ * This is a shallow copy: property arrays are copied, but nested objects
49655
+ * and URLs are shared with this instance. Dereferencing accessors can cache
49656
+ * fetched objects in the instance whose accessor is called. Hydrating a
49657
+ * shared nested object through the clone can affect the original as well,
49658
+ * and can change JSON-LD output when either is embedded in another
49659
+ * object. Hydrating a top-level property of the clone does not update this
49660
+ * instance's property.
49661
+ *
49662
+ * To resolve properties without sharing nested objects, serialize and
49663
+ * re-parse the instance before hydration rather than using this method.
49664
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
49665
+ * for details, including how cached JSON-LD affects serialization.
49666
+ *
48952
49667
  * A clone never inherits a signed JSON-LD representation retained by
48953
49668
  * `signObject()`: the clone may differ from the document that the proof
48954
49669
  * covers, so embedding the original secured JSON in a parent document
@@ -49042,7 +49757,7 @@ var Hashtag = class Hashtag extends Link {
49042
49757
  * @throws {TypeError} If the given `json` is invalid.
49043
49758
  */
49044
49759
  static async fromJsonLd(json, options = {}) {
49045
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
49760
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49046
49761
  try {
49047
49762
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
49048
49763
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49144,6 +49859,19 @@ var Image = class Image extends Document {
49144
49859
  /**
49145
49860
  * Clones this instance, optionally updating it with the given values.
49146
49861
  *
49862
+ * This is a shallow copy: property arrays are copied, but nested objects
49863
+ * and URLs are shared with this instance. Dereferencing accessors can cache
49864
+ * fetched objects in the instance whose accessor is called. Hydrating a
49865
+ * shared nested object through the clone can affect the original as well,
49866
+ * and can change JSON-LD output when either is embedded in another
49867
+ * object. Hydrating a top-level property of the clone does not update this
49868
+ * instance's property.
49869
+ *
49870
+ * To resolve properties without sharing nested objects, serialize and
49871
+ * re-parse the instance before hydration rather than using this method.
49872
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
49873
+ * for details, including how cached JSON-LD affects serialization.
49874
+ *
49147
49875
  * A clone never inherits a signed JSON-LD representation retained by
49148
49876
  * `signObject()`: the clone may differ from the document that the proof
49149
49877
  * covers, so embedding the original secured JSON in a parent document
@@ -49250,7 +49978,7 @@ var Image = class Image extends Document {
49250
49978
  * @throws {TypeError} If the given `json` is invalid.
49251
49979
  */
49252
49980
  static async fromJsonLd(json, options = {}) {
49253
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
49981
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49254
49982
  try {
49255
49983
  const object = await this.__fromJsonLd__Image__(json, span, options);
49256
49984
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49354,6 +50082,19 @@ var Offer = class Offer extends Activity {
49354
50082
  /**
49355
50083
  * Clones this instance, optionally updating it with the given values.
49356
50084
  *
50085
+ * This is a shallow copy: property arrays are copied, but nested objects
50086
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50087
+ * fetched objects in the instance whose accessor is called. Hydrating a
50088
+ * shared nested object through the clone can affect the original as well,
50089
+ * and can change JSON-LD output when either is embedded in another
50090
+ * object. Hydrating a top-level property of the clone does not update this
50091
+ * instance's property.
50092
+ *
50093
+ * To resolve properties without sharing nested objects, serialize and
50094
+ * re-parse the instance before hydration rather than using this method.
50095
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50096
+ * for details, including how cached JSON-LD affects serialization.
50097
+ *
49357
50098
  * A clone never inherits a signed JSON-LD representation retained by
49358
50099
  * `signObject()`: the clone may differ from the document that the proof
49359
50100
  * covers, so embedding the original secured JSON in a parent document
@@ -49444,7 +50185,7 @@ var Offer = class Offer extends Activity {
49444
50185
  * @throws {TypeError} If the given `json` is invalid.
49445
50186
  */
49446
50187
  static async fromJsonLd(json, options = {}) {
49447
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50188
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49448
50189
  try {
49449
50190
  const object = await this.__fromJsonLd__Offer__(json, span, options);
49450
50191
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49548,6 +50289,19 @@ var Invite = class Invite extends Offer {
49548
50289
  /**
49549
50290
  * Clones this instance, optionally updating it with the given values.
49550
50291
  *
50292
+ * This is a shallow copy: property arrays are copied, but nested objects
50293
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50294
+ * fetched objects in the instance whose accessor is called. Hydrating a
50295
+ * shared nested object through the clone can affect the original as well,
50296
+ * and can change JSON-LD output when either is embedded in another
50297
+ * object. Hydrating a top-level property of the clone does not update this
50298
+ * instance's property.
50299
+ *
50300
+ * To resolve properties without sharing nested objects, serialize and
50301
+ * re-parse the instance before hydration rather than using this method.
50302
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50303
+ * for details, including how cached JSON-LD affects serialization.
50304
+ *
49551
50305
  * A clone never inherits a signed JSON-LD representation retained by
49552
50306
  * `signObject()`: the clone may differ from the document that the proof
49553
50307
  * covers, so embedding the original secured JSON in a parent document
@@ -49638,7 +50392,7 @@ var Invite = class Invite extends Offer {
49638
50392
  * @throws {TypeError} If the given `json` is invalid.
49639
50393
  */
49640
50394
  static async fromJsonLd(json, options = {}) {
49641
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50395
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49642
50396
  try {
49643
50397
  const object = await this.__fromJsonLd__Invite__(json, span, options);
49644
50398
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49741,6 +50495,19 @@ var Join = class Join extends Activity {
49741
50495
  /**
49742
50496
  * Clones this instance, optionally updating it with the given values.
49743
50497
  *
50498
+ * This is a shallow copy: property arrays are copied, but nested objects
50499
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50500
+ * fetched objects in the instance whose accessor is called. Hydrating a
50501
+ * shared nested object through the clone can affect the original as well,
50502
+ * and can change JSON-LD output when either is embedded in another
50503
+ * object. Hydrating a top-level property of the clone does not update this
50504
+ * instance's property.
50505
+ *
50506
+ * To resolve properties without sharing nested objects, serialize and
50507
+ * re-parse the instance before hydration rather than using this method.
50508
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50509
+ * for details, including how cached JSON-LD affects serialization.
50510
+ *
49744
50511
  * A clone never inherits a signed JSON-LD representation retained by
49745
50512
  * `signObject()`: the clone may differ from the document that the proof
49746
50513
  * covers, so embedding the original secured JSON in a parent document
@@ -49831,7 +50598,7 @@ var Join = class Join extends Activity {
49831
50598
  * @throws {TypeError} If the given `json` is invalid.
49832
50599
  */
49833
50600
  static async fromJsonLd(json, options = {}) {
49834
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50601
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49835
50602
  try {
49836
50603
  const object = await this.__fromJsonLd__Join__(json, span, options);
49837
50604
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49934,6 +50701,19 @@ var Leave = class Leave extends Activity {
49934
50701
  /**
49935
50702
  * Clones this instance, optionally updating it with the given values.
49936
50703
  *
50704
+ * This is a shallow copy: property arrays are copied, but nested objects
50705
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50706
+ * fetched objects in the instance whose accessor is called. Hydrating a
50707
+ * shared nested object through the clone can affect the original as well,
50708
+ * and can change JSON-LD output when either is embedded in another
50709
+ * object. Hydrating a top-level property of the clone does not update this
50710
+ * instance's property.
50711
+ *
50712
+ * To resolve properties without sharing nested objects, serialize and
50713
+ * re-parse the instance before hydration rather than using this method.
50714
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50715
+ * for details, including how cached JSON-LD affects serialization.
50716
+ *
49937
50717
  * A clone never inherits a signed JSON-LD representation retained by
49938
50718
  * `signObject()`: the clone may differ from the document that the proof
49939
50719
  * covers, so embedding the original secured JSON in a parent document
@@ -50024,7 +50804,7 @@ var Leave = class Leave extends Activity {
50024
50804
  * @throws {TypeError} If the given `json` is invalid.
50025
50805
  */
50026
50806
  static async fromJsonLd(json, options = {}) {
50027
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50807
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50028
50808
  try {
50029
50809
  const object = await this.__fromJsonLd__Leave__(json, span, options);
50030
50810
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50127,6 +50907,19 @@ var Like = class Like extends Activity {
50127
50907
  /**
50128
50908
  * Clones this instance, optionally updating it with the given values.
50129
50909
  *
50910
+ * This is a shallow copy: property arrays are copied, but nested objects
50911
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50912
+ * fetched objects in the instance whose accessor is called. Hydrating a
50913
+ * shared nested object through the clone can affect the original as well,
50914
+ * and can change JSON-LD output when either is embedded in another
50915
+ * object. Hydrating a top-level property of the clone does not update this
50916
+ * instance's property.
50917
+ *
50918
+ * To resolve properties without sharing nested objects, serialize and
50919
+ * re-parse the instance before hydration rather than using this method.
50920
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50921
+ * for details, including how cached JSON-LD affects serialization.
50922
+ *
50130
50923
  * A clone never inherits a signed JSON-LD representation retained by
50131
50924
  * `signObject()`: the clone may differ from the document that the proof
50132
50925
  * covers, so embedding the original secured JSON in a parent document
@@ -50221,7 +51014,7 @@ var Like = class Like extends Activity {
50221
51014
  * @throws {TypeError} If the given `json` is invalid.
50222
51015
  */
50223
51016
  static async fromJsonLd(json, options = {}) {
50224
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51017
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50225
51018
  try {
50226
51019
  const object = await this.__fromJsonLd__Like__(json, span, options);
50227
51020
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50323,6 +51116,19 @@ var Listen = class Listen extends Activity {
50323
51116
  /**
50324
51117
  * Clones this instance, optionally updating it with the given values.
50325
51118
  *
51119
+ * This is a shallow copy: property arrays are copied, but nested objects
51120
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51121
+ * fetched objects in the instance whose accessor is called. Hydrating a
51122
+ * shared nested object through the clone can affect the original as well,
51123
+ * and can change JSON-LD output when either is embedded in another
51124
+ * object. Hydrating a top-level property of the clone does not update this
51125
+ * instance's property.
51126
+ *
51127
+ * To resolve properties without sharing nested objects, serialize and
51128
+ * re-parse the instance before hydration rather than using this method.
51129
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51130
+ * for details, including how cached JSON-LD affects serialization.
51131
+ *
50326
51132
  * A clone never inherits a signed JSON-LD representation retained by
50327
51133
  * `signObject()`: the clone may differ from the document that the proof
50328
51134
  * covers, so embedding the original secured JSON in a parent document
@@ -50413,7 +51219,7 @@ var Listen = class Listen extends Activity {
50413
51219
  * @throws {TypeError} If the given `json` is invalid.
50414
51220
  */
50415
51221
  static async fromJsonLd(json, options = {}) {
50416
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51222
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50417
51223
  try {
50418
51224
  const object = await this.__fromJsonLd__Listen__(json, span, options);
50419
51225
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50515,6 +51321,19 @@ var Mention = class Mention extends Link {
50515
51321
  /**
50516
51322
  * Clones this instance, optionally updating it with the given values.
50517
51323
  *
51324
+ * This is a shallow copy: property arrays are copied, but nested objects
51325
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51326
+ * fetched objects in the instance whose accessor is called. Hydrating a
51327
+ * shared nested object through the clone can affect the original as well,
51328
+ * and can change JSON-LD output when either is embedded in another
51329
+ * object. Hydrating a top-level property of the clone does not update this
51330
+ * instance's property.
51331
+ *
51332
+ * To resolve properties without sharing nested objects, serialize and
51333
+ * re-parse the instance before hydration rather than using this method.
51334
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51335
+ * for details, including how cached JSON-LD affects serialization.
51336
+ *
50518
51337
  * A clone never inherits a signed JSON-LD representation retained by
50519
51338
  * `signObject()`: the clone may differ from the document that the proof
50520
51339
  * covers, so embedding the original secured JSON in a parent document
@@ -50608,7 +51427,7 @@ var Mention = class Mention extends Link {
50608
51427
  * @throws {TypeError} If the given `json` is invalid.
50609
51428
  */
50610
51429
  static async fromJsonLd(json, options = {}) {
50611
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51430
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50612
51431
  try {
50613
51432
  const object = await this.__fromJsonLd__Mention__(json, span, options);
50614
51433
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50712,6 +51531,19 @@ var Move = class Move extends Activity {
50712
51531
  /**
50713
51532
  * Clones this instance, optionally updating it with the given values.
50714
51533
  *
51534
+ * This is a shallow copy: property arrays are copied, but nested objects
51535
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51536
+ * fetched objects in the instance whose accessor is called. Hydrating a
51537
+ * shared nested object through the clone can affect the original as well,
51538
+ * and can change JSON-LD output when either is embedded in another
51539
+ * object. Hydrating a top-level property of the clone does not update this
51540
+ * instance's property.
51541
+ *
51542
+ * To resolve properties without sharing nested objects, serialize and
51543
+ * re-parse the instance before hydration rather than using this method.
51544
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51545
+ * for details, including how cached JSON-LD affects serialization.
51546
+ *
50715
51547
  * A clone never inherits a signed JSON-LD representation retained by
50716
51548
  * `signObject()`: the clone may differ from the document that the proof
50717
51549
  * covers, so embedding the original secured JSON in a parent document
@@ -50802,7 +51634,7 @@ var Move = class Move extends Activity {
50802
51634
  * @throws {TypeError} If the given `json` is invalid.
50803
51635
  */
50804
51636
  static async fromJsonLd(json, options = {}) {
50805
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51637
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50806
51638
  try {
50807
51639
  const object = await this.__fromJsonLd__Move__(json, span, options);
50808
51640
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50920,6 +51752,19 @@ var Note = class Note extends Object$1 {
50920
51752
  /**
50921
51753
  * Clones this instance, optionally updating it with the given values.
50922
51754
  *
51755
+ * This is a shallow copy: property arrays are copied, but nested objects
51756
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51757
+ * fetched objects in the instance whose accessor is called. Hydrating a
51758
+ * shared nested object through the clone can affect the original as well,
51759
+ * and can change JSON-LD output when either is embedded in another
51760
+ * object. Hydrating a top-level property of the clone does not update this
51761
+ * instance's property.
51762
+ *
51763
+ * To resolve properties without sharing nested objects, serialize and
51764
+ * re-parse the instance before hydration rather than using this method.
51765
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51766
+ * for details, including how cached JSON-LD affects serialization.
51767
+ *
50923
51768
  * A clone never inherits a signed JSON-LD representation retained by
50924
51769
  * `signObject()`: the clone may differ from the document that the proof
50925
51770
  * covers, so embedding the original secured JSON in a parent document
@@ -50961,7 +51806,7 @@ var Note = class Note extends Object$1 {
50961
51806
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
50962
51807
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
50963
51808
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
50964
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
51809
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
50965
51810
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
50966
51811
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
50967
51812
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -51204,7 +52049,7 @@ var Note = class Note extends Object$1 {
51204
52049
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
51205
52050
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
51206
52051
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
51207
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
52052
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
51208
52053
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
51209
52054
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
51210
52055
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -51626,7 +52471,7 @@ var Note = class Note extends Object$1 {
51626
52471
  * @throws {TypeError} If the given `json` is invalid.
51627
52472
  */
51628
52473
  static async fromJsonLd(json, options = {}) {
51629
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
52474
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
51630
52475
  try {
51631
52476
  const object = await this.__fromJsonLd__Note__(json, span, options);
51632
52477
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51812,6 +52657,19 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
51812
52657
  /**
51813
52658
  * Clones this instance, optionally updating it with the given values.
51814
52659
  *
52660
+ * This is a shallow copy: property arrays are copied, but nested objects
52661
+ * and URLs are shared with this instance. Dereferencing accessors can cache
52662
+ * fetched objects in the instance whose accessor is called. Hydrating a
52663
+ * shared nested object through the clone can affect the original as well,
52664
+ * and can change JSON-LD output when either is embedded in another
52665
+ * object. Hydrating a top-level property of the clone does not update this
52666
+ * instance's property.
52667
+ *
52668
+ * To resolve properties without sharing nested objects, serialize and
52669
+ * re-parse the instance before hydration rather than using this method.
52670
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
52671
+ * for details, including how cached JSON-LD affects serialization.
52672
+ *
51815
52673
  * A clone never inherits a signed JSON-LD representation retained by
51816
52674
  * `signObject()`: the clone may differ from the document that the proof
51817
52675
  * covers, so embedding the original secured JSON in a parent document
@@ -51848,7 +52706,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
51848
52706
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
51849
52707
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
51850
52708
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
51851
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
52709
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
51852
52710
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
51853
52711
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
51854
52712
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -52277,7 +53135,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
52277
53135
  * @throws {TypeError} If the given `json` is invalid.
52278
53136
  */
52279
53137
  static async fromJsonLd(json, options = {}) {
52280
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
53138
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
52281
53139
  try {
52282
53140
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
52283
53141
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -52653,6 +53511,19 @@ var Organization = class Organization extends Object$1 {
52653
53511
  /**
52654
53512
  * Clones this instance, optionally updating it with the given values.
52655
53513
  *
53514
+ * This is a shallow copy: property arrays are copied, but nested objects
53515
+ * and URLs are shared with this instance. Dereferencing accessors can cache
53516
+ * fetched objects in the instance whose accessor is called. Hydrating a
53517
+ * shared nested object through the clone can affect the original as well,
53518
+ * and can change JSON-LD output when either is embedded in another
53519
+ * object. Hydrating a top-level property of the clone does not update this
53520
+ * instance's property.
53521
+ *
53522
+ * To resolve properties without sharing nested objects, serialize and
53523
+ * re-parse the instance before hydration rather than using this method.
53524
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
53525
+ * for details, including how cached JSON-LD affects serialization.
53526
+ *
52656
53527
  * A clone never inherits a signed JSON-LD representation retained by
52657
53528
  * `signObject()`: the clone may differ from the document that the proof
52658
53529
  * covers, so embedding the original secured JSON in a parent document
@@ -52850,7 +53721,7 @@ var Organization = class Organization extends Object$1 {
52850
53721
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
52851
53722
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
52852
53723
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
52853
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
53724
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
52854
53725
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
52855
53726
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
52856
53727
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53148,7 +54019,7 @@ var Organization = class Organization extends Object$1 {
53148
54019
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53149
54020
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53150
54021
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53151
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54022
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53152
54023
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53153
54024
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53154
54025
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53482,7 +54353,7 @@ var Organization = class Organization extends Object$1 {
53482
54353
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53483
54354
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53484
54355
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53485
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54356
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53486
54357
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53487
54358
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53488
54359
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53730,7 +54601,7 @@ var Organization = class Organization extends Object$1 {
53730
54601
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53731
54602
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53732
54603
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53733
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54604
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53734
54605
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53735
54606
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53736
54607
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53975,7 +54846,7 @@ var Organization = class Organization extends Object$1 {
53975
54846
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53976
54847
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53977
54848
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53978
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54849
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53979
54850
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53980
54851
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53981
54852
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54204,7 +55075,7 @@ var Organization = class Organization extends Object$1 {
54204
55075
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54205
55076
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54206
55077
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54207
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55078
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54208
55079
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54209
55080
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54210
55081
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54436,7 +55307,7 @@ var Organization = class Organization extends Object$1 {
54436
55307
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54437
55308
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54438
55309
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54439
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55310
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54440
55311
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54441
55312
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54442
55313
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54666,7 +55537,7 @@ var Organization = class Organization extends Object$1 {
54666
55537
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54667
55538
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54668
55539
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54669
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55540
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54670
55541
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54671
55542
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54672
55543
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54894,7 +55765,7 @@ var Organization = class Organization extends Object$1 {
54894
55765
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54895
55766
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54896
55767
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54897
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55768
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54898
55769
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54899
55770
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54900
55771
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55122,7 +55993,7 @@ var Organization = class Organization extends Object$1 {
55122
55993
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55123
55994
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55124
55995
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55125
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55996
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55126
55997
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55127
55998
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55128
55999
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55347,7 +56218,7 @@ var Organization = class Organization extends Object$1 {
55347
56218
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55348
56219
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55349
56220
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55350
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56221
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55351
56222
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55352
56223
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55353
56224
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55618,7 +56489,7 @@ var Organization = class Organization extends Object$1 {
55618
56489
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55619
56490
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55620
56491
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55621
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56492
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55622
56493
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55623
56494
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55624
56495
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55893,7 +56764,7 @@ var Organization = class Organization extends Object$1 {
55893
56764
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55894
56765
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55895
56766
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55896
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56767
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55897
56768
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55898
56769
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55899
56770
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56247,7 +57118,7 @@ var Organization = class Organization extends Object$1 {
56247
57118
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
56248
57119
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
56249
57120
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
56250
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
57121
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
56251
57122
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56252
57123
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56253
57124
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -57244,7 +58115,7 @@ var Organization = class Organization extends Object$1 {
57244
58115
  * @throws {TypeError} If the given `json` is invalid.
57245
58116
  */
57246
58117
  static async fromJsonLd(json, options = {}) {
57247
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
58118
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
57248
58119
  try {
57249
58120
  const object = await this.__fromJsonLd__Organization__(json, span, options);
57250
58121
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -57930,6 +58801,19 @@ var Page = class Page extends Document {
57930
58801
  /**
57931
58802
  * Clones this instance, optionally updating it with the given values.
57932
58803
  *
58804
+ * This is a shallow copy: property arrays are copied, but nested objects
58805
+ * and URLs are shared with this instance. Dereferencing accessors can cache
58806
+ * fetched objects in the instance whose accessor is called. Hydrating a
58807
+ * shared nested object through the clone can affect the original as well,
58808
+ * and can change JSON-LD output when either is embedded in another
58809
+ * object. Hydrating a top-level property of the clone does not update this
58810
+ * instance's property.
58811
+ *
58812
+ * To resolve properties without sharing nested objects, serialize and
58813
+ * re-parse the instance before hydration rather than using this method.
58814
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
58815
+ * for details, including how cached JSON-LD affects serialization.
58816
+ *
57933
58817
  * A clone never inherits a signed JSON-LD representation retained by
57934
58818
  * `signObject()`: the clone may differ from the document that the proof
57935
58819
  * covers, so embedding the original secured JSON in a parent document
@@ -58036,7 +58920,7 @@ var Page = class Page extends Document {
58036
58920
  * @throws {TypeError} If the given `json` is invalid.
58037
58921
  */
58038
58922
  static async fromJsonLd(json, options = {}) {
58039
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
58923
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
58040
58924
  try {
58041
58925
  const object = await this.__fromJsonLd__Page__(json, span, options);
58042
58926
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -58290,6 +59174,19 @@ var Person = class Person extends Object$1 {
58290
59174
  /**
58291
59175
  * Clones this instance, optionally updating it with the given values.
58292
59176
  *
59177
+ * This is a shallow copy: property arrays are copied, but nested objects
59178
+ * and URLs are shared with this instance. Dereferencing accessors can cache
59179
+ * fetched objects in the instance whose accessor is called. Hydrating a
59180
+ * shared nested object through the clone can affect the original as well,
59181
+ * and can change JSON-LD output when either is embedded in another
59182
+ * object. Hydrating a top-level property of the clone does not update this
59183
+ * instance's property.
59184
+ *
59185
+ * To resolve properties without sharing nested objects, serialize and
59186
+ * re-parse the instance before hydration rather than using this method.
59187
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
59188
+ * for details, including how cached JSON-LD affects serialization.
59189
+ *
58293
59190
  * A clone never inherits a signed JSON-LD representation retained by
58294
59191
  * `signObject()`: the clone may differ from the document that the proof
58295
59192
  * covers, so embedding the original secured JSON in a parent document
@@ -58487,7 +59384,7 @@ var Person = class Person extends Object$1 {
58487
59384
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
58488
59385
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
58489
59386
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
58490
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
59387
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
58491
59388
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58492
59389
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58493
59390
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58785,7 +59682,7 @@ var Person = class Person extends Object$1 {
58785
59682
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
58786
59683
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
58787
59684
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
58788
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
59685
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
58789
59686
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58790
59687
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58791
59688
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59119,7 +60016,7 @@ var Person = class Person extends Object$1 {
59119
60016
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59120
60017
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59121
60018
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59122
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60019
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59123
60020
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59124
60021
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59125
60022
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59367,7 +60264,7 @@ var Person = class Person extends Object$1 {
59367
60264
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59368
60265
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59369
60266
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59370
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60267
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59371
60268
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59372
60269
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59373
60270
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59612,7 +60509,7 @@ var Person = class Person extends Object$1 {
59612
60509
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59613
60510
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59614
60511
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59615
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60512
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59616
60513
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59617
60514
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59618
60515
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59841,7 +60738,7 @@ var Person = class Person extends Object$1 {
59841
60738
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59842
60739
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59843
60740
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59844
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60741
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59845
60742
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59846
60743
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59847
60744
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60073,7 +60970,7 @@ var Person = class Person extends Object$1 {
60073
60970
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60074
60971
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60075
60972
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60076
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60973
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60077
60974
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60078
60975
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60079
60976
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60303,7 +61200,7 @@ var Person = class Person extends Object$1 {
60303
61200
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60304
61201
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60305
61202
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60306
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61203
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60307
61204
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60308
61205
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60309
61206
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60531,7 +61428,7 @@ var Person = class Person extends Object$1 {
60531
61428
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60532
61429
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60533
61430
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60534
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61431
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60535
61432
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60536
61433
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60537
61434
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60759,7 +61656,7 @@ var Person = class Person extends Object$1 {
60759
61656
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60760
61657
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60761
61658
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60762
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61659
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60763
61660
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60764
61661
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60765
61662
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60984,7 +61881,7 @@ var Person = class Person extends Object$1 {
60984
61881
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60985
61882
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60986
61883
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60987
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61884
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60988
61885
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60989
61886
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60990
61887
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61255,7 +62152,7 @@ var Person = class Person extends Object$1 {
61255
62152
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61256
62153
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61257
62154
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61258
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
62155
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61259
62156
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61260
62157
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61261
62158
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61530,7 +62427,7 @@ var Person = class Person extends Object$1 {
61530
62427
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61531
62428
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61532
62429
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61533
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
62430
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61534
62431
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61535
62432
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61536
62433
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61884,7 +62781,7 @@ var Person = class Person extends Object$1 {
61884
62781
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61885
62782
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61886
62783
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61887
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
62784
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61888
62785
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61889
62786
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61890
62787
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -62881,7 +63778,7 @@ var Person = class Person extends Object$1 {
62881
63778
  * @throws {TypeError} If the given `json` is invalid.
62882
63779
  */
62883
63780
  static async fromJsonLd(json, options = {}) {
62884
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
63781
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
62885
63782
  try {
62886
63783
  const object = await this.__fromJsonLd__Person__(json, span, options);
62887
63784
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -63587,6 +64484,19 @@ var Place = class Place extends Object$1 {
63587
64484
  /**
63588
64485
  * Clones this instance, optionally updating it with the given values.
63589
64486
  *
64487
+ * This is a shallow copy: property arrays are copied, but nested objects
64488
+ * and URLs are shared with this instance. Dereferencing accessors can cache
64489
+ * fetched objects in the instance whose accessor is called. Hydrating a
64490
+ * shared nested object through the clone can affect the original as well,
64491
+ * and can change JSON-LD output when either is embedded in another
64492
+ * object. Hydrating a top-level property of the clone does not update this
64493
+ * instance's property.
64494
+ *
64495
+ * To resolve properties without sharing nested objects, serialize and
64496
+ * re-parse the instance before hydration rather than using this method.
64497
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
64498
+ * for details, including how cached JSON-LD affects serialization.
64499
+ *
63590
64500
  * A clone never inherits a signed JSON-LD representation retained by
63591
64501
  * `signObject()`: the clone may differ from the document that the proof
63592
64502
  * covers, so embedding the original secured JSON in a parent document
@@ -63878,7 +64788,7 @@ var Place = class Place extends Object$1 {
63878
64788
  * @throws {TypeError} If the given `json` is invalid.
63879
64789
  */
63880
64790
  static async fromJsonLd(json, options = {}) {
63881
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
64791
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
63882
64792
  try {
63883
64793
  const object = await this.__fromJsonLd__Place__(json, span, options);
63884
64794
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -64099,6 +65009,19 @@ var Profile = class Profile extends Object$1 {
64099
65009
  /**
64100
65010
  * Clones this instance, optionally updating it with the given values.
64101
65011
  *
65012
+ * This is a shallow copy: property arrays are copied, but nested objects
65013
+ * and URLs are shared with this instance. Dereferencing accessors can cache
65014
+ * fetched objects in the instance whose accessor is called. Hydrating a
65015
+ * shared nested object through the clone can affect the original as well,
65016
+ * and can change JSON-LD output when either is embedded in another
65017
+ * object. Hydrating a top-level property of the clone does not update this
65018
+ * instance's property.
65019
+ *
65020
+ * To resolve properties without sharing nested objects, serialize and
65021
+ * re-parse the instance before hydration rather than using this method.
65022
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
65023
+ * for details, including how cached JSON-LD affects serialization.
65024
+ *
64102
65025
  * A clone never inherits a signed JSON-LD representation retained by
64103
65026
  * `signObject()`: the clone may differ from the document that the proof
64104
65027
  * covers, so embedding the original secured JSON in a parent document
@@ -64131,7 +65054,7 @@ var Profile = class Profile extends Object$1 {
64131
65054
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
64132
65055
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
64133
65056
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
64134
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
65057
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
64135
65058
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64136
65059
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64137
65060
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64458,7 +65381,7 @@ var Profile = class Profile extends Object$1 {
64458
65381
  * @throws {TypeError} If the given `json` is invalid.
64459
65382
  */
64460
65383
  static async fromJsonLd(json, options = {}) {
64461
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
65384
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
64462
65385
  try {
64463
65386
  const object = await this.__fromJsonLd__Profile__(json, span, options);
64464
65387
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -64627,6 +65550,19 @@ var Question = class Question extends IntransitiveActivity {
64627
65550
  /**
64628
65551
  * Clones this instance, optionally updating it with the given values.
64629
65552
  *
65553
+ * This is a shallow copy: property arrays are copied, but nested objects
65554
+ * and URLs are shared with this instance. Dereferencing accessors can cache
65555
+ * fetched objects in the instance whose accessor is called. Hydrating a
65556
+ * shared nested object through the clone can affect the original as well,
65557
+ * and can change JSON-LD output when either is embedded in another
65558
+ * object. Hydrating a top-level property of the clone does not update this
65559
+ * instance's property.
65560
+ *
65561
+ * To resolve properties without sharing nested objects, serialize and
65562
+ * re-parse the instance before hydration rather than using this method.
65563
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
65564
+ * for details, including how cached JSON-LD affects serialization.
65565
+ *
64630
65566
  * A clone never inherits a signed JSON-LD representation retained by
64631
65567
  * `signObject()`: the clone may differ from the document that the proof
64632
65568
  * covers, so embedding the original secured JSON in a parent document
@@ -64688,7 +65624,7 @@ var Question = class Question extends IntransitiveActivity {
64688
65624
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
64689
65625
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
64690
65626
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
64691
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
65627
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
64692
65628
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64693
65629
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64694
65630
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64919,7 +65855,7 @@ var Question = class Question extends IntransitiveActivity {
64919
65855
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
64920
65856
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
64921
65857
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
64922
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
65858
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
64923
65859
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64924
65860
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64925
65861
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65166,7 +66102,7 @@ var Question = class Question extends IntransitiveActivity {
65166
66102
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65167
66103
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65168
66104
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65169
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
66105
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
65170
66106
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65171
66107
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65172
66108
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65409,7 +66345,7 @@ var Question = class Question extends IntransitiveActivity {
65409
66345
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65410
66346
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65411
66347
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65412
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
66348
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
65413
66349
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65414
66350
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65415
66351
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65817,7 +66753,7 @@ var Question = class Question extends IntransitiveActivity {
65817
66753
  * @throws {TypeError} If the given `json` is invalid.
65818
66754
  */
65819
66755
  static async fromJsonLd(json, options = {}) {
65820
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
66756
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
65821
66757
  try {
65822
66758
  const object = await this.__fromJsonLd__Question__(json, span, options);
65823
66759
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -66080,6 +67016,19 @@ var Read = class Read extends Activity {
66080
67016
  /**
66081
67017
  * Clones this instance, optionally updating it with the given values.
66082
67018
  *
67019
+ * This is a shallow copy: property arrays are copied, but nested objects
67020
+ * and URLs are shared with this instance. Dereferencing accessors can cache
67021
+ * fetched objects in the instance whose accessor is called. Hydrating a
67022
+ * shared nested object through the clone can affect the original as well,
67023
+ * and can change JSON-LD output when either is embedded in another
67024
+ * object. Hydrating a top-level property of the clone does not update this
67025
+ * instance's property.
67026
+ *
67027
+ * To resolve properties without sharing nested objects, serialize and
67028
+ * re-parse the instance before hydration rather than using this method.
67029
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
67030
+ * for details, including how cached JSON-LD affects serialization.
67031
+ *
66083
67032
  * A clone never inherits a signed JSON-LD representation retained by
66084
67033
  * `signObject()`: the clone may differ from the document that the proof
66085
67034
  * covers, so embedding the original secured JSON in a parent document
@@ -66170,7 +67119,7 @@ var Read = class Read extends Activity {
66170
67119
  * @throws {TypeError} If the given `json` is invalid.
66171
67120
  */
66172
67121
  static async fromJsonLd(json, options = {}) {
66173
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
67122
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
66174
67123
  try {
66175
67124
  const object = await this.__fromJsonLd__Read__(json, span, options);
66176
67125
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -66273,6 +67222,19 @@ var Reject = class Reject extends Activity {
66273
67222
  /**
66274
67223
  * Clones this instance, optionally updating it with the given values.
66275
67224
  *
67225
+ * This is a shallow copy: property arrays are copied, but nested objects
67226
+ * and URLs are shared with this instance. Dereferencing accessors can cache
67227
+ * fetched objects in the instance whose accessor is called. Hydrating a
67228
+ * shared nested object through the clone can affect the original as well,
67229
+ * and can change JSON-LD output when either is embedded in another
67230
+ * object. Hydrating a top-level property of the clone does not update this
67231
+ * instance's property.
67232
+ *
67233
+ * To resolve properties without sharing nested objects, serialize and
67234
+ * re-parse the instance before hydration rather than using this method.
67235
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
67236
+ * for details, including how cached JSON-LD affects serialization.
67237
+ *
66276
67238
  * A clone never inherits a signed JSON-LD representation retained by
66277
67239
  * `signObject()`: the clone may differ from the document that the proof
66278
67240
  * covers, so embedding the original secured JSON in a parent document
@@ -66363,7 +67325,7 @@ var Reject = class Reject extends Activity {
66363
67325
  * @throws {TypeError} If the given `json` is invalid.
66364
67326
  */
66365
67327
  static async fromJsonLd(json, options = {}) {
66366
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
67328
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
66367
67329
  try {
66368
67330
  const object = await this.__fromJsonLd__Reject__(json, span, options);
66369
67331
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -66504,6 +67466,19 @@ var Relationship = class Relationship extends Object$1 {
66504
67466
  /**
66505
67467
  * Clones this instance, optionally updating it with the given values.
66506
67468
  *
67469
+ * This is a shallow copy: property arrays are copied, but nested objects
67470
+ * and URLs are shared with this instance. Dereferencing accessors can cache
67471
+ * fetched objects in the instance whose accessor is called. Hydrating a
67472
+ * shared nested object through the clone can affect the original as well,
67473
+ * and can change JSON-LD output when either is embedded in another
67474
+ * object. Hydrating a top-level property of the clone does not update this
67475
+ * instance's property.
67476
+ *
67477
+ * To resolve properties without sharing nested objects, serialize and
67478
+ * re-parse the instance before hydration rather than using this method.
67479
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
67480
+ * for details, including how cached JSON-LD affects serialization.
67481
+ *
66507
67482
  * A clone never inherits a signed JSON-LD representation retained by
66508
67483
  * `signObject()`: the clone may differ from the document that the proof
66509
67484
  * covers, so embedding the original secured JSON in a parent document
@@ -66564,7 +67539,7 @@ var Relationship = class Relationship extends Object$1 {
66564
67539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
66565
67540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
66566
67541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
66567
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
67542
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
66568
67543
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66569
67544
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66570
67545
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66792,7 +67767,7 @@ var Relationship = class Relationship extends Object$1 {
66792
67767
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
66793
67768
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
66794
67769
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
66795
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
67770
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
66796
67771
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66797
67772
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66798
67773
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -67090,7 +68065,7 @@ var Relationship = class Relationship extends Object$1 {
67090
68065
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
67091
68066
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
67092
68067
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
67093
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
68068
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
67094
68069
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
67095
68070
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
67096
68071
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -67535,7 +68510,7 @@ var Relationship = class Relationship extends Object$1 {
67535
68510
  * @throws {TypeError} If the given `json` is invalid.
67536
68511
  */
67537
68512
  static async fromJsonLd(json, options = {}) {
67538
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
68513
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
67539
68514
  try {
67540
68515
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
67541
68516
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -67719,6 +68694,19 @@ var Remove = class Remove extends Activity {
67719
68694
  /**
67720
68695
  * Clones this instance, optionally updating it with the given values.
67721
68696
  *
68697
+ * This is a shallow copy: property arrays are copied, but nested objects
68698
+ * and URLs are shared with this instance. Dereferencing accessors can cache
68699
+ * fetched objects in the instance whose accessor is called. Hydrating a
68700
+ * shared nested object through the clone can affect the original as well,
68701
+ * and can change JSON-LD output when either is embedded in another
68702
+ * object. Hydrating a top-level property of the clone does not update this
68703
+ * instance's property.
68704
+ *
68705
+ * To resolve properties without sharing nested objects, serialize and
68706
+ * re-parse the instance before hydration rather than using this method.
68707
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
68708
+ * for details, including how cached JSON-LD affects serialization.
68709
+ *
67722
68710
  * A clone never inherits a signed JSON-LD representation retained by
67723
68711
  * `signObject()`: the clone may differ from the document that the proof
67724
68712
  * covers, so embedding the original secured JSON in a parent document
@@ -67809,7 +68797,7 @@ var Remove = class Remove extends Activity {
67809
68797
  * @throws {TypeError} If the given `json` is invalid.
67810
68798
  */
67811
68799
  static async fromJsonLd(json, options = {}) {
67812
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
68800
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
67813
68801
  try {
67814
68802
  const object = await this.__fromJsonLd__Remove__(json, span, options);
67815
68803
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -68063,6 +69051,19 @@ var Service = class Service extends Object$1 {
68063
69051
  /**
68064
69052
  * Clones this instance, optionally updating it with the given values.
68065
69053
  *
69054
+ * This is a shallow copy: property arrays are copied, but nested objects
69055
+ * and URLs are shared with this instance. Dereferencing accessors can cache
69056
+ * fetched objects in the instance whose accessor is called. Hydrating a
69057
+ * shared nested object through the clone can affect the original as well,
69058
+ * and can change JSON-LD output when either is embedded in another
69059
+ * object. Hydrating a top-level property of the clone does not update this
69060
+ * instance's property.
69061
+ *
69062
+ * To resolve properties without sharing nested objects, serialize and
69063
+ * re-parse the instance before hydration rather than using this method.
69064
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
69065
+ * for details, including how cached JSON-LD affects serialization.
69066
+ *
68066
69067
  * A clone never inherits a signed JSON-LD representation retained by
68067
69068
  * `signObject()`: the clone may differ from the document that the proof
68068
69069
  * covers, so embedding the original secured JSON in a parent document
@@ -68260,7 +69261,7 @@ var Service = class Service extends Object$1 {
68260
69261
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
68261
69262
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
68262
69263
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
68263
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
69264
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
68264
69265
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68265
69266
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68266
69267
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -68558,7 +69559,7 @@ var Service = class Service extends Object$1 {
68558
69559
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
68559
69560
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
68560
69561
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
68561
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
69562
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
68562
69563
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68563
69564
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68564
69565
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -68892,7 +69893,7 @@ var Service = class Service extends Object$1 {
68892
69893
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
68893
69894
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
68894
69895
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
68895
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
69896
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
68896
69897
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68897
69898
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68898
69899
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69140,7 +70141,7 @@ var Service = class Service extends Object$1 {
69140
70141
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69141
70142
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69142
70143
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69143
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70144
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69144
70145
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69145
70146
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69146
70147
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69385,7 +70386,7 @@ var Service = class Service extends Object$1 {
69385
70386
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69386
70387
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69387
70388
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69388
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70389
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69389
70390
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69390
70391
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69391
70392
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69614,7 +70615,7 @@ var Service = class Service extends Object$1 {
69614
70615
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69615
70616
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69616
70617
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69617
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70618
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69618
70619
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69619
70620
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69620
70621
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69846,7 +70847,7 @@ var Service = class Service extends Object$1 {
69846
70847
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69847
70848
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69848
70849
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69849
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70850
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69850
70851
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69851
70852
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69852
70853
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70076,7 +71077,7 @@ var Service = class Service extends Object$1 {
70076
71077
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70077
71078
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70078
71079
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70079
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71080
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70080
71081
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70081
71082
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70082
71083
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70304,7 +71305,7 @@ var Service = class Service extends Object$1 {
70304
71305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70305
71306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70306
71307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70307
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71308
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70308
71309
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70309
71310
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70310
71311
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70532,7 +71533,7 @@ var Service = class Service extends Object$1 {
70532
71533
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70533
71534
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70534
71535
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70535
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71536
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70536
71537
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70537
71538
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70538
71539
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70757,7 +71758,7 @@ var Service = class Service extends Object$1 {
70757
71758
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70758
71759
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70759
71760
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70760
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71761
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70761
71762
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70762
71763
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70763
71764
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71028,7 +72029,7 @@ var Service = class Service extends Object$1 {
71028
72029
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71029
72030
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71030
72031
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71031
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
72032
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
71032
72033
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71033
72034
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71034
72035
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71303,7 +72304,7 @@ var Service = class Service extends Object$1 {
71303
72304
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71304
72305
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71305
72306
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71306
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
72307
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
71307
72308
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71308
72309
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71309
72310
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71657,7 +72658,7 @@ var Service = class Service extends Object$1 {
71657
72658
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71658
72659
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71659
72660
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71660
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
72661
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
71661
72662
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71662
72663
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71663
72664
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -72654,7 +73655,7 @@ var Service = class Service extends Object$1 {
72654
73655
  * @throws {TypeError} If the given `json` is invalid.
72655
73656
  */
72656
73657
  static async fromJsonLd(json, options = {}) {
72657
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
73658
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
72658
73659
  try {
72659
73660
  const object = await this.__fromJsonLd__Service__(json, span, options);
72660
73661
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -73403,6 +74404,19 @@ var Source = class {
73403
74404
  /**
73404
74405
  * Clones this instance, optionally updating it with the given values.
73405
74406
  *
74407
+ * This is a shallow copy: property arrays are copied, but nested objects
74408
+ * and URLs are shared with this instance. Dereferencing accessors can cache
74409
+ * fetched objects in the instance whose accessor is called. Hydrating a
74410
+ * shared nested object through the clone can affect the original as well,
74411
+ * and can change JSON-LD output when either is embedded in another
74412
+ * object. Hydrating a top-level property of the clone does not update this
74413
+ * instance's property.
74414
+ *
74415
+ * To resolve properties without sharing nested objects, serialize and
74416
+ * re-parse the instance before hydration rather than using this method.
74417
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
74418
+ * for details, including how cached JSON-LD affects serialization.
74419
+ *
73406
74420
  * A clone never inherits a signed JSON-LD representation retained by
73407
74421
  * `signObject()`: the clone may differ from the document that the proof
73408
74422
  * covers, so embedding the original secured JSON in a parent document
@@ -73560,7 +74574,7 @@ var Source = class {
73560
74574
  * @throws {TypeError} If the given `json` is invalid.
73561
74575
  */
73562
74576
  static async fromJsonLd(json, options = {}) {
73563
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
74577
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
73564
74578
  try {
73565
74579
  const object = await this.__fromJsonLd__Source__(json, span, options);
73566
74580
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -73699,6 +74713,19 @@ var TentativeAccept = class TentativeAccept extends Accept {
73699
74713
  /**
73700
74714
  * Clones this instance, optionally updating it with the given values.
73701
74715
  *
74716
+ * This is a shallow copy: property arrays are copied, but nested objects
74717
+ * and URLs are shared with this instance. Dereferencing accessors can cache
74718
+ * fetched objects in the instance whose accessor is called. Hydrating a
74719
+ * shared nested object through the clone can affect the original as well,
74720
+ * and can change JSON-LD output when either is embedded in another
74721
+ * object. Hydrating a top-level property of the clone does not update this
74722
+ * instance's property.
74723
+ *
74724
+ * To resolve properties without sharing nested objects, serialize and
74725
+ * re-parse the instance before hydration rather than using this method.
74726
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
74727
+ * for details, including how cached JSON-LD affects serialization.
74728
+ *
73702
74729
  * A clone never inherits a signed JSON-LD representation retained by
73703
74730
  * `signObject()`: the clone may differ from the document that the proof
73704
74731
  * covers, so embedding the original secured JSON in a parent document
@@ -73789,7 +74816,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
73789
74816
  * @throws {TypeError} If the given `json` is invalid.
73790
74817
  */
73791
74818
  static async fromJsonLd(json, options = {}) {
73792
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
74819
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
73793
74820
  try {
73794
74821
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
73795
74822
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -73892,6 +74919,19 @@ var TentativeReject = class TentativeReject extends Reject {
73892
74919
  /**
73893
74920
  * Clones this instance, optionally updating it with the given values.
73894
74921
  *
74922
+ * This is a shallow copy: property arrays are copied, but nested objects
74923
+ * and URLs are shared with this instance. Dereferencing accessors can cache
74924
+ * fetched objects in the instance whose accessor is called. Hydrating a
74925
+ * shared nested object through the clone can affect the original as well,
74926
+ * and can change JSON-LD output when either is embedded in another
74927
+ * object. Hydrating a top-level property of the clone does not update this
74928
+ * instance's property.
74929
+ *
74930
+ * To resolve properties without sharing nested objects, serialize and
74931
+ * re-parse the instance before hydration rather than using this method.
74932
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
74933
+ * for details, including how cached JSON-LD affects serialization.
74934
+ *
73895
74935
  * A clone never inherits a signed JSON-LD representation retained by
73896
74936
  * `signObject()`: the clone may differ from the document that the proof
73897
74937
  * covers, so embedding the original secured JSON in a parent document
@@ -73982,7 +75022,7 @@ var TentativeReject = class TentativeReject extends Reject {
73982
75022
  * @throws {TypeError} If the given `json` is invalid.
73983
75023
  */
73984
75024
  static async fromJsonLd(json, options = {}) {
73985
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75025
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
73986
75026
  try {
73987
75027
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
73988
75028
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74097,6 +75137,19 @@ var Tombstone = class Tombstone extends Object$1 {
74097
75137
  /**
74098
75138
  * Clones this instance, optionally updating it with the given values.
74099
75139
  *
75140
+ * This is a shallow copy: property arrays are copied, but nested objects
75141
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75142
+ * fetched objects in the instance whose accessor is called. Hydrating a
75143
+ * shared nested object through the clone can affect the original as well,
75144
+ * and can change JSON-LD output when either is embedded in another
75145
+ * object. Hydrating a top-level property of the clone does not update this
75146
+ * instance's property.
75147
+ *
75148
+ * To resolve properties without sharing nested objects, serialize and
75149
+ * re-parse the instance before hydration rather than using this method.
75150
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75151
+ * for details, including how cached JSON-LD affects serialization.
75152
+ *
74100
75153
  * A clone never inherits a signed JSON-LD representation retained by
74101
75154
  * `signObject()`: the clone may differ from the document that the proof
74102
75155
  * covers, so embedding the original secured JSON in a parent document
@@ -74274,7 +75327,7 @@ var Tombstone = class Tombstone extends Object$1 {
74274
75327
  * @throws {TypeError} If the given `json` is invalid.
74275
75328
  */
74276
75329
  static async fromJsonLd(json, options = {}) {
74277
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75330
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74278
75331
  try {
74279
75332
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
74280
75333
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74422,6 +75475,19 @@ var Travel = class Travel extends IntransitiveActivity {
74422
75475
  /**
74423
75476
  * Clones this instance, optionally updating it with the given values.
74424
75477
  *
75478
+ * This is a shallow copy: property arrays are copied, but nested objects
75479
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75480
+ * fetched objects in the instance whose accessor is called. Hydrating a
75481
+ * shared nested object through the clone can affect the original as well,
75482
+ * and can change JSON-LD output when either is embedded in another
75483
+ * object. Hydrating a top-level property of the clone does not update this
75484
+ * instance's property.
75485
+ *
75486
+ * To resolve properties without sharing nested objects, serialize and
75487
+ * re-parse the instance before hydration rather than using this method.
75488
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75489
+ * for details, including how cached JSON-LD affects serialization.
75490
+ *
74425
75491
  * A clone never inherits a signed JSON-LD representation retained by
74426
75492
  * `signObject()`: the clone may differ from the document that the proof
74427
75493
  * covers, so embedding the original secured JSON in a parent document
@@ -74512,7 +75578,7 @@ var Travel = class Travel extends IntransitiveActivity {
74512
75578
  * @throws {TypeError} If the given `json` is invalid.
74513
75579
  */
74514
75580
  static async fromJsonLd(json, options = {}) {
74515
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75581
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74516
75582
  try {
74517
75583
  const object = await this.__fromJsonLd__Travel__(json, span, options);
74518
75584
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74620,6 +75686,19 @@ var Undo = class Undo extends Activity {
74620
75686
  /**
74621
75687
  * Clones this instance, optionally updating it with the given values.
74622
75688
  *
75689
+ * This is a shallow copy: property arrays are copied, but nested objects
75690
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75691
+ * fetched objects in the instance whose accessor is called. Hydrating a
75692
+ * shared nested object through the clone can affect the original as well,
75693
+ * and can change JSON-LD output when either is embedded in another
75694
+ * object. Hydrating a top-level property of the clone does not update this
75695
+ * instance's property.
75696
+ *
75697
+ * To resolve properties without sharing nested objects, serialize and
75698
+ * re-parse the instance before hydration rather than using this method.
75699
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75700
+ * for details, including how cached JSON-LD affects serialization.
75701
+ *
74623
75702
  * A clone never inherits a signed JSON-LD representation retained by
74624
75703
  * `signObject()`: the clone may differ from the document that the proof
74625
75704
  * covers, so embedding the original secured JSON in a parent document
@@ -74719,7 +75798,7 @@ var Undo = class Undo extends Activity {
74719
75798
  * @throws {TypeError} If the given `json` is invalid.
74720
75799
  */
74721
75800
  static async fromJsonLd(json, options = {}) {
74722
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75801
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74723
75802
  try {
74724
75803
  const object = await this.__fromJsonLd__Undo__(json, span, options);
74725
75804
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74825,6 +75904,19 @@ var Update = class Update extends Activity {
74825
75904
  /**
74826
75905
  * Clones this instance, optionally updating it with the given values.
74827
75906
  *
75907
+ * This is a shallow copy: property arrays are copied, but nested objects
75908
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75909
+ * fetched objects in the instance whose accessor is called. Hydrating a
75910
+ * shared nested object through the clone can affect the original as well,
75911
+ * and can change JSON-LD output when either is embedded in another
75912
+ * object. Hydrating a top-level property of the clone does not update this
75913
+ * instance's property.
75914
+ *
75915
+ * To resolve properties without sharing nested objects, serialize and
75916
+ * re-parse the instance before hydration rather than using this method.
75917
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75918
+ * for details, including how cached JSON-LD affects serialization.
75919
+ *
74828
75920
  * A clone never inherits a signed JSON-LD representation retained by
74829
75921
  * `signObject()`: the clone may differ from the document that the proof
74830
75922
  * covers, so embedding the original secured JSON in a parent document
@@ -74974,7 +76066,7 @@ var Update = class Update extends Activity {
74974
76066
  * @throws {TypeError} If the given `json` is invalid.
74975
76067
  */
74976
76068
  static async fromJsonLd(json, options = {}) {
74977
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
76069
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74978
76070
  try {
74979
76071
  const object = await this.__fromJsonLd__Update__(json, span, options);
74980
76072
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75076,6 +76168,19 @@ var Video = class Video extends Document {
75076
76168
  /**
75077
76169
  * Clones this instance, optionally updating it with the given values.
75078
76170
  *
76171
+ * This is a shallow copy: property arrays are copied, but nested objects
76172
+ * and URLs are shared with this instance. Dereferencing accessors can cache
76173
+ * fetched objects in the instance whose accessor is called. Hydrating a
76174
+ * shared nested object through the clone can affect the original as well,
76175
+ * and can change JSON-LD output when either is embedded in another
76176
+ * object. Hydrating a top-level property of the clone does not update this
76177
+ * instance's property.
76178
+ *
76179
+ * To resolve properties without sharing nested objects, serialize and
76180
+ * re-parse the instance before hydration rather than using this method.
76181
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
76182
+ * for details, including how cached JSON-LD affects serialization.
76183
+ *
75079
76184
  * A clone never inherits a signed JSON-LD representation retained by
75080
76185
  * `signObject()`: the clone may differ from the document that the proof
75081
76186
  * covers, so embedding the original secured JSON in a parent document
@@ -75182,7 +76287,7 @@ var Video = class Video extends Document {
75182
76287
  * @throws {TypeError} If the given `json` is invalid.
75183
76288
  */
75184
76289
  static async fromJsonLd(json, options = {}) {
75185
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
76290
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
75186
76291
  try {
75187
76292
  const object = await this.__fromJsonLd__Video__(json, span, options);
75188
76293
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75284,6 +76389,19 @@ var View = class View extends Activity {
75284
76389
  /**
75285
76390
  * Clones this instance, optionally updating it with the given values.
75286
76391
  *
76392
+ * This is a shallow copy: property arrays are copied, but nested objects
76393
+ * and URLs are shared with this instance. Dereferencing accessors can cache
76394
+ * fetched objects in the instance whose accessor is called. Hydrating a
76395
+ * shared nested object through the clone can affect the original as well,
76396
+ * and can change JSON-LD output when either is embedded in another
76397
+ * object. Hydrating a top-level property of the clone does not update this
76398
+ * instance's property.
76399
+ *
76400
+ * To resolve properties without sharing nested objects, serialize and
76401
+ * re-parse the instance before hydration rather than using this method.
76402
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
76403
+ * for details, including how cached JSON-LD affects serialization.
76404
+ *
75287
76405
  * A clone never inherits a signed JSON-LD representation retained by
75288
76406
  * `signObject()`: the clone may differ from the document that the proof
75289
76407
  * covers, so embedding the original secured JSON in a parent document
@@ -75374,7 +76492,7 @@ var View = class View extends Activity {
75374
76492
  * @throws {TypeError} If the given `json` is invalid.
75375
76493
  */
75376
76494
  static async fromJsonLd(json, options = {}) {
75377
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
76495
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
75378
76496
  try {
75379
76497
  const object = await this.__fromJsonLd__View__(json, span, options);
75380
76498
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);