@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.
@@ -771,6 +771,19 @@ var Object$1 = class Object$1 {
771
771
  /**
772
772
  * Clones this instance, optionally updating it with the given values.
773
773
  *
774
+ * This is a shallow copy: property arrays are copied, but nested objects
775
+ * and URLs are shared with this instance. Dereferencing accessors can cache
776
+ * fetched objects in the instance whose accessor is called. Hydrating a
777
+ * shared nested object through the clone can affect the original as well,
778
+ * and can change JSON-LD output when either is embedded in another
779
+ * object. Hydrating a top-level property of the clone does not update this
780
+ * instance's property.
781
+ *
782
+ * To resolve properties without sharing nested objects, serialize and
783
+ * re-parse the instance before hydration rather than using this method.
784
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
785
+ * for details, including how cached JSON-LD affects serialization.
786
+ *
774
787
  * A clone never inherits a signed JSON-LD representation retained by
775
788
  * `signObject()`: the clone may differ from the document that the proof
776
789
  * covers, so embedding the original secured JSON in a parent document
@@ -1101,7 +1114,7 @@ var Object$1 = class Object$1 {
1101
1114
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1102
1115
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1103
1116
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1104
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1117
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
1105
1118
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1106
1119
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1107
1120
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1358,7 +1371,7 @@ var Object$1 = class Object$1 {
1358
1371
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1359
1372
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1360
1373
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1361
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1374
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
1362
1375
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1363
1376
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1364
1377
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1710,7 +1723,7 @@ var Object$1 = class Object$1 {
1710
1723
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1711
1724
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1712
1725
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1713
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
1726
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
1714
1727
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1715
1728
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1716
1729
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2030,7 +2043,7 @@ var Object$1 = class Object$1 {
2030
2043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2031
2044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2032
2045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2033
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2046
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2034
2047
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2035
2048
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2036
2049
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2302,7 +2315,7 @@ var Object$1 = class Object$1 {
2302
2315
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2303
2316
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2304
2317
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2305
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2318
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2306
2319
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2307
2320
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2308
2321
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2542,7 +2555,7 @@ var Object$1 = class Object$1 {
2542
2555
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2543
2556
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2544
2557
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2545
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2558
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2546
2559
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2547
2560
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2548
2561
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2861,7 +2874,7 @@ var Object$1 = class Object$1 {
2861
2874
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2862
2875
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2863
2876
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2864
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
2877
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
2865
2878
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2866
2879
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2867
2880
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3180,7 +3193,7 @@ var Object$1 = class Object$1 {
3180
3193
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3181
3194
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3182
3195
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3183
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
3196
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
3184
3197
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3185
3198
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3186
3199
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3491,7 +3504,7 @@ var Object$1 = class Object$1 {
3491
3504
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3492
3505
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3493
3506
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3494
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
3507
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
3495
3508
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3496
3509
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3497
3510
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3802,7 +3815,7 @@ var Object$1 = class Object$1 {
3802
3815
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3803
3816
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3804
3817
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3805
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
3818
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
3806
3819
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3807
3820
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3808
3821
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4118,7 +4131,7 @@ var Object$1 = class Object$1 {
4118
4131
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4119
4132
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4120
4133
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4121
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4134
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4122
4135
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4123
4136
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4124
4137
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4344,7 +4357,7 @@ var Object$1 = class Object$1 {
4344
4357
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4345
4358
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4346
4359
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4347
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4360
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4348
4361
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4349
4362
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4350
4363
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4576,7 +4589,7 @@ var Object$1 = class Object$1 {
4576
4589
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4577
4590
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4578
4591
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4579
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4592
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4580
4593
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4581
4594
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4582
4595
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4808,7 +4821,7 @@ var Object$1 = class Object$1 {
4808
4821
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4809
4822
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4810
4823
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4811
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
4824
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
4812
4825
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4813
4826
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4814
4827
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5058,7 +5071,7 @@ var Object$1 = class Object$1 {
5058
5071
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5059
5072
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5060
5073
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5061
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5074
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5062
5075
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5063
5076
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5064
5077
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5320,7 +5333,7 @@ var Object$1 = class Object$1 {
5320
5333
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5321
5334
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5322
5335
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5323
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5336
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5324
5337
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5325
5338
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5326
5339
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5620,7 +5633,7 @@ var Object$1 = class Object$1 {
5620
5633
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5621
5634
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5622
5635
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5623
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5636
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5624
5637
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5625
5638
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5626
5639
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5920,7 +5933,7 @@ var Object$1 = class Object$1 {
5920
5933
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5921
5934
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5922
5935
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5923
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
5936
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
5924
5937
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5925
5938
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5926
5939
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6220,7 +6233,7 @@ var Object$1 = class Object$1 {
6220
6233
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6221
6234
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6222
6235
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6223
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
6236
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6224
6237
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6225
6238
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6226
6239
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6557,7 +6570,7 @@ var Object$1 = class Object$1 {
6557
6570
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6558
6571
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6559
6572
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6560
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
6573
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6561
6574
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6562
6575
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6563
6576
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6880,7 +6893,7 @@ var Object$1 = class Object$1 {
6880
6893
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6881
6894
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6882
6895
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6883
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
6896
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
6884
6897
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6885
6898
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6886
6899
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7106,7 +7119,7 @@ var Object$1 = class Object$1 {
7106
7119
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7107
7120
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7108
7121
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7109
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
7122
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
7110
7123
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7111
7124
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7112
7125
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7332,7 +7345,7 @@ var Object$1 = class Object$1 {
7332
7345
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7333
7346
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7334
7347
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7335
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
7348
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
7336
7349
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7337
7350
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7338
7351
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8497,7 +8510,7 @@ var Object$1 = class Object$1 {
8497
8510
  * @throws {TypeError} If the given `json` is invalid.
8498
8511
  */
8499
8512
  static async fromJsonLd(json, options = {}) {
8500
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
8513
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
8501
8514
  try {
8502
8515
  const object = await this.__fromJsonLd__Object__(json, span, options);
8503
8516
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10156,6 +10169,19 @@ var Emoji = class Emoji extends Object$1 {
10156
10169
  /**
10157
10170
  * Clones this instance, optionally updating it with the given values.
10158
10171
  *
10172
+ * This is a shallow copy: property arrays are copied, but nested objects
10173
+ * and URLs are shared with this instance. Dereferencing accessors can cache
10174
+ * fetched objects in the instance whose accessor is called. Hydrating a
10175
+ * shared nested object through the clone can affect the original as well,
10176
+ * and can change JSON-LD output when either is embedded in another
10177
+ * object. Hydrating a top-level property of the clone does not update this
10178
+ * instance's property.
10179
+ *
10180
+ * To resolve properties without sharing nested objects, serialize and
10181
+ * re-parse the instance before hydration rather than using this method.
10182
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
10183
+ * for details, including how cached JSON-LD affects serialization.
10184
+ *
10159
10185
  * A clone never inherits a signed JSON-LD representation retained by
10160
10186
  * `signObject()`: the clone may differ from the document that the proof
10161
10187
  * covers, so embedding the original secured JSON in a parent document
@@ -10258,7 +10284,7 @@ var Emoji = class Emoji extends Object$1 {
10258
10284
  * @throws {TypeError} If the given `json` is invalid.
10259
10285
  */
10260
10286
  static async fromJsonLd(json, options = {}) {
10261
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
10287
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
10262
10288
  try {
10263
10289
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
10264
10290
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10379,6 +10405,19 @@ var ChatMessage = class ChatMessage extends Object$1 {
10379
10405
  /**
10380
10406
  * Clones this instance, optionally updating it with the given values.
10381
10407
  *
10408
+ * This is a shallow copy: property arrays are copied, but nested objects
10409
+ * and URLs are shared with this instance. Dereferencing accessors can cache
10410
+ * fetched objects in the instance whose accessor is called. Hydrating a
10411
+ * shared nested object through the clone can affect the original as well,
10412
+ * and can change JSON-LD output when either is embedded in another
10413
+ * object. Hydrating a top-level property of the clone does not update this
10414
+ * instance's property.
10415
+ *
10416
+ * To resolve properties without sharing nested objects, serialize and
10417
+ * re-parse the instance before hydration rather than using this method.
10418
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
10419
+ * for details, including how cached JSON-LD affects serialization.
10420
+ *
10382
10421
  * A clone never inherits a signed JSON-LD representation retained by
10383
10422
  * `signObject()`: the clone may differ from the document that the proof
10384
10423
  * covers, so embedding the original secured JSON in a parent document
@@ -10420,7 +10459,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10420
10459
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10421
10460
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10422
10461
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10423
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
10462
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
10424
10463
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10425
10464
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10426
10465
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10663,7 +10702,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10663
10702
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10664
10703
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10665
10704
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10666
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
10705
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
10667
10706
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10668
10707
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10669
10708
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11083,7 +11122,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
11083
11122
  * @throws {TypeError} If the given `json` is invalid.
11084
11123
  */
11085
11124
  static async fromJsonLd(json, options = {}) {
11086
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
11125
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
11087
11126
  try {
11088
11127
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
11089
11128
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11340,6 +11379,19 @@ var Activity = class Activity extends Object$1 {
11340
11379
  /**
11341
11380
  * Clones this instance, optionally updating it with the given values.
11342
11381
  *
11382
+ * This is a shallow copy: property arrays are copied, but nested objects
11383
+ * and URLs are shared with this instance. Dereferencing accessors can cache
11384
+ * fetched objects in the instance whose accessor is called. Hydrating a
11385
+ * shared nested object through the clone can affect the original as well,
11386
+ * and can change JSON-LD output when either is embedded in another
11387
+ * object. Hydrating a top-level property of the clone does not update this
11388
+ * instance's property.
11389
+ *
11390
+ * To resolve properties without sharing nested objects, serialize and
11391
+ * re-parse the instance before hydration rather than using this method.
11392
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
11393
+ * for details, including how cached JSON-LD affects serialization.
11394
+ *
11343
11395
  * A clone never inherits a signed JSON-LD representation retained by
11344
11396
  * `signObject()`: the clone may differ from the document that the proof
11345
11397
  * covers, so embedding the original secured JSON in a parent document
@@ -11450,7 +11502,7 @@ var Activity = class Activity extends Object$1 {
11450
11502
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11451
11503
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11452
11504
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11453
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
11505
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
11454
11506
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11455
11507
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11456
11508
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11802,7 +11854,7 @@ var Activity = class Activity extends Object$1 {
11802
11854
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11803
11855
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11804
11856
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11805
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
11857
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
11806
11858
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11807
11859
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11808
11860
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12104,7 +12156,7 @@ var Activity = class Activity extends Object$1 {
12104
12156
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12105
12157
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12106
12158
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12107
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12159
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
12108
12160
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12109
12161
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12110
12162
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12412,7 +12464,7 @@ var Activity = class Activity extends Object$1 {
12412
12464
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12413
12465
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12414
12466
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12415
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12467
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
12416
12468
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12417
12469
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12418
12470
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12714,7 +12766,7 @@ var Activity = class Activity extends Object$1 {
12714
12766
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12715
12767
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12716
12768
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12717
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
12769
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
12718
12770
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12719
12771
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12720
12772
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -13018,7 +13070,7 @@ var Activity = class Activity extends Object$1 {
13018
13070
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13019
13071
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13020
13072
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13021
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
13073
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
13022
13074
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
13023
13075
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
13024
13076
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -13451,7 +13503,7 @@ var Activity = class Activity extends Object$1 {
13451
13503
  * @throws {TypeError} If the given `json` is invalid.
13452
13504
  */
13453
13505
  static async fromJsonLd(json, options = {}) {
13454
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
13506
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
13455
13507
  try {
13456
13508
  const object = await this.__fromJsonLd__Activity__(json, span, options);
13457
13509
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13763,6 +13815,19 @@ var EmojiReact = class EmojiReact extends Activity {
13763
13815
  /**
13764
13816
  * Clones this instance, optionally updating it with the given values.
13765
13817
  *
13818
+ * This is a shallow copy: property arrays are copied, but nested objects
13819
+ * and URLs are shared with this instance. Dereferencing accessors can cache
13820
+ * fetched objects in the instance whose accessor is called. Hydrating a
13821
+ * shared nested object through the clone can affect the original as well,
13822
+ * and can change JSON-LD output when either is embedded in another
13823
+ * object. Hydrating a top-level property of the clone does not update this
13824
+ * instance's property.
13825
+ *
13826
+ * To resolve properties without sharing nested objects, serialize and
13827
+ * re-parse the instance before hydration rather than using this method.
13828
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
13829
+ * for details, including how cached JSON-LD affects serialization.
13830
+ *
13766
13831
  * A clone never inherits a signed JSON-LD representation retained by
13767
13832
  * `signObject()`: the clone may differ from the document that the proof
13768
13833
  * covers, so embedding the original secured JSON in a parent document
@@ -13859,7 +13924,7 @@ var EmojiReact = class EmojiReact extends Activity {
13859
13924
  * @throws {TypeError} If the given `json` is invalid.
13860
13925
  */
13861
13926
  static async fromJsonLd(json, options = {}) {
13862
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
13927
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
13863
13928
  try {
13864
13929
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
13865
13930
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14019,6 +14084,19 @@ var PropertyValue = class {
14019
14084
  /**
14020
14085
  * Clones this instance, optionally updating it with the given values.
14021
14086
  *
14087
+ * This is a shallow copy: property arrays are copied, but nested objects
14088
+ * and URLs are shared with this instance. Dereferencing accessors can cache
14089
+ * fetched objects in the instance whose accessor is called. Hydrating a
14090
+ * shared nested object through the clone can affect the original as well,
14091
+ * and can change JSON-LD output when either is embedded in another
14092
+ * object. Hydrating a top-level property of the clone does not update this
14093
+ * instance's property.
14094
+ *
14095
+ * To resolve properties without sharing nested objects, serialize and
14096
+ * re-parse the instance before hydration rather than using this method.
14097
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
14098
+ * for details, including how cached JSON-LD affects serialization.
14099
+ *
14022
14100
  * A clone never inherits a signed JSON-LD representation retained by
14023
14101
  * `signObject()`: the clone may differ from the document that the proof
14024
14102
  * covers, so embedding the original secured JSON in a parent document
@@ -14183,7 +14261,7 @@ var PropertyValue = class {
14183
14261
  * @throws {TypeError} If the given `json` is invalid.
14184
14262
  */
14185
14263
  static async fromJsonLd(json, options = {}) {
14186
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
14264
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
14187
14265
  try {
14188
14266
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
14189
14267
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14378,6 +14456,19 @@ var Measure = class {
14378
14456
  /**
14379
14457
  * Clones this instance, optionally updating it with the given values.
14380
14458
  *
14459
+ * This is a shallow copy: property arrays are copied, but nested objects
14460
+ * and URLs are shared with this instance. Dereferencing accessors can cache
14461
+ * fetched objects in the instance whose accessor is called. Hydrating a
14462
+ * shared nested object through the clone can affect the original as well,
14463
+ * and can change JSON-LD output when either is embedded in another
14464
+ * object. Hydrating a top-level property of the clone does not update this
14465
+ * instance's property.
14466
+ *
14467
+ * To resolve properties without sharing nested objects, serialize and
14468
+ * re-parse the instance before hydration rather than using this method.
14469
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
14470
+ * for details, including how cached JSON-LD affects serialization.
14471
+ *
14381
14472
  * A clone never inherits a signed JSON-LD representation retained by
14382
14473
  * `signObject()`: the clone may differ from the document that the proof
14383
14474
  * covers, so embedding the original secured JSON in a parent document
@@ -14533,7 +14624,7 @@ var Measure = class {
14533
14624
  * @throws {TypeError} If the given `json` is invalid.
14534
14625
  */
14535
14626
  static async fromJsonLd(json, options = {}) {
14536
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
14627
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
14537
14628
  try {
14538
14629
  const object = await this.__fromJsonLd__Measure__(json, span, options);
14539
14630
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14690,6 +14781,19 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14690
14781
  /**
14691
14782
  * Clones this instance, optionally updating it with the given values.
14692
14783
  *
14784
+ * This is a shallow copy: property arrays are copied, but nested objects
14785
+ * and URLs are shared with this instance. Dereferencing accessors can cache
14786
+ * fetched objects in the instance whose accessor is called. Hydrating a
14787
+ * shared nested object through the clone can affect the original as well,
14788
+ * and can change JSON-LD output when either is embedded in another
14789
+ * object. Hydrating a top-level property of the clone does not update this
14790
+ * instance's property.
14791
+ *
14792
+ * To resolve properties without sharing nested objects, serialize and
14793
+ * re-parse the instance before hydration rather than using this method.
14794
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
14795
+ * for details, including how cached JSON-LD affects serialization.
14796
+ *
14693
14797
  * A clone never inherits a signed JSON-LD representation retained by
14694
14798
  * `signObject()`: the clone may differ from the document that the proof
14695
14799
  * covers, so embedding the original secured JSON in a parent document
@@ -14728,7 +14832,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14728
14832
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14729
14833
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14730
14834
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14731
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
14835
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
14732
14836
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14733
14837
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14734
14838
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -14954,7 +15058,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14954
15058
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14955
15059
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14956
15060
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14957
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
15061
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
14958
15062
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14959
15063
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14960
15064
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -15301,7 +15405,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
15301
15405
  * @throws {TypeError} If the given `json` is invalid.
15302
15406
  */
15303
15407
  static async fromJsonLd(json, options = {}) {
15304
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
15408
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
15305
15409
  try {
15306
15410
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
15307
15411
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15466,6 +15570,19 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
15466
15570
  /**
15467
15571
  * Clones this instance, optionally updating it with the given values.
15468
15572
  *
15573
+ * This is a shallow copy: property arrays are copied, but nested objects
15574
+ * and URLs are shared with this instance. Dereferencing accessors can cache
15575
+ * fetched objects in the instance whose accessor is called. Hydrating a
15576
+ * shared nested object through the clone can affect the original as well,
15577
+ * and can change JSON-LD output when either is embedded in another
15578
+ * object. Hydrating a top-level property of the clone does not update this
15579
+ * instance's property.
15580
+ *
15581
+ * To resolve properties without sharing nested objects, serialize and
15582
+ * re-parse the instance before hydration rather than using this method.
15583
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
15584
+ * for details, including how cached JSON-LD affects serialization.
15585
+ *
15469
15586
  * A clone never inherits a signed JSON-LD representation retained by
15470
15587
  * `signObject()`: the clone may differ from the document that the proof
15471
15588
  * covers, so embedding the original secured JSON in a parent document
@@ -15556,7 +15673,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
15556
15673
  * @throws {TypeError} If the given `json` is invalid.
15557
15674
  */
15558
15675
  static async fromJsonLd(json, options = {}) {
15559
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
15676
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
15560
15677
  try {
15561
15678
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
15562
15679
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15731,6 +15848,19 @@ var InteractionPolicy = class {
15731
15848
  /**
15732
15849
  * Clones this instance, optionally updating it with the given values.
15733
15850
  *
15851
+ * This is a shallow copy: property arrays are copied, but nested objects
15852
+ * and URLs are shared with this instance. Dereferencing accessors can cache
15853
+ * fetched objects in the instance whose accessor is called. Hydrating a
15854
+ * shared nested object through the clone can affect the original as well,
15855
+ * and can change JSON-LD output when either is embedded in another
15856
+ * object. Hydrating a top-level property of the clone does not update this
15857
+ * instance's property.
15858
+ *
15859
+ * To resolve properties without sharing nested objects, serialize and
15860
+ * re-parse the instance before hydration rather than using this method.
15861
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
15862
+ * for details, including how cached JSON-LD affects serialization.
15863
+ *
15734
15864
  * A clone never inherits a signed JSON-LD representation retained by
15735
15865
  * `signObject()`: the clone may differ from the document that the proof
15736
15866
  * covers, so embedding the original secured JSON in a parent document
@@ -15936,7 +16066,7 @@ var InteractionPolicy = class {
15936
16066
  * @throws {TypeError} If the given `json` is invalid.
15937
16067
  */
15938
16068
  static async fromJsonLd(json, options = {}) {
15939
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
16069
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
15940
16070
  try {
15941
16071
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
15942
16072
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16227,6 +16357,19 @@ var InteractionRule = class {
16227
16357
  /**
16228
16358
  * Clones this instance, optionally updating it with the given values.
16229
16359
  *
16360
+ * This is a shallow copy: property arrays are copied, but nested objects
16361
+ * and URLs are shared with this instance. Dereferencing accessors can cache
16362
+ * fetched objects in the instance whose accessor is called. Hydrating a
16363
+ * shared nested object through the clone can affect the original as well,
16364
+ * and can change JSON-LD output when either is embedded in another
16365
+ * object. Hydrating a top-level property of the clone does not update this
16366
+ * instance's property.
16367
+ *
16368
+ * To resolve properties without sharing nested objects, serialize and
16369
+ * re-parse the instance before hydration rather than using this method.
16370
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
16371
+ * for details, including how cached JSON-LD affects serialization.
16372
+ *
16230
16373
  * A clone never inherits a signed JSON-LD representation retained by
16231
16374
  * `signObject()`: the clone may differ from the document that the proof
16232
16375
  * covers, so embedding the original secured JSON in a parent document
@@ -16375,7 +16518,7 @@ var InteractionRule = class {
16375
16518
  * @throws {TypeError} If the given `json` is invalid.
16376
16519
  */
16377
16520
  static async fromJsonLd(json, options = {}) {
16378
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
16521
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
16379
16522
  try {
16380
16523
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
16381
16524
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16533,6 +16676,19 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16533
16676
  /**
16534
16677
  * Clones this instance, optionally updating it with the given values.
16535
16678
  *
16679
+ * This is a shallow copy: property arrays are copied, but nested objects
16680
+ * and URLs are shared with this instance. Dereferencing accessors can cache
16681
+ * fetched objects in the instance whose accessor is called. Hydrating a
16682
+ * shared nested object through the clone can affect the original as well,
16683
+ * and can change JSON-LD output when either is embedded in another
16684
+ * object. Hydrating a top-level property of the clone does not update this
16685
+ * instance's property.
16686
+ *
16687
+ * To resolve properties without sharing nested objects, serialize and
16688
+ * re-parse the instance before hydration rather than using this method.
16689
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
16690
+ * for details, including how cached JSON-LD affects serialization.
16691
+ *
16536
16692
  * A clone never inherits a signed JSON-LD representation retained by
16537
16693
  * `signObject()`: the clone may differ from the document that the proof
16538
16694
  * covers, so embedding the original secured JSON in a parent document
@@ -16571,7 +16727,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16571
16727
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16572
16728
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16573
16729
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16574
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
16730
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
16575
16731
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16576
16732
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16577
16733
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -16797,7 +16953,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16797
16953
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16798
16954
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16799
16955
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16800
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
16956
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
16801
16957
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16802
16958
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16803
16959
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -17144,7 +17300,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
17144
17300
  * @throws {TypeError} If the given `json` is invalid.
17145
17301
  */
17146
17302
  static async fromJsonLd(json, options = {}) {
17147
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
17303
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
17148
17304
  try {
17149
17305
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
17150
17306
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17308,6 +17464,19 @@ var LikeRequest = class LikeRequest extends Activity {
17308
17464
  /**
17309
17465
  * Clones this instance, optionally updating it with the given values.
17310
17466
  *
17467
+ * This is a shallow copy: property arrays are copied, but nested objects
17468
+ * and URLs are shared with this instance. Dereferencing accessors can cache
17469
+ * fetched objects in the instance whose accessor is called. Hydrating a
17470
+ * shared nested object through the clone can affect the original as well,
17471
+ * and can change JSON-LD output when either is embedded in another
17472
+ * object. Hydrating a top-level property of the clone does not update this
17473
+ * instance's property.
17474
+ *
17475
+ * To resolve properties without sharing nested objects, serialize and
17476
+ * re-parse the instance before hydration rather than using this method.
17477
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
17478
+ * for details, including how cached JSON-LD affects serialization.
17479
+ *
17311
17480
  * A clone never inherits a signed JSON-LD representation retained by
17312
17481
  * `signObject()`: the clone may differ from the document that the proof
17313
17482
  * covers, so embedding the original secured JSON in a parent document
@@ -17398,7 +17567,7 @@ var LikeRequest = class LikeRequest extends Activity {
17398
17567
  * @throws {TypeError} If the given `json` is invalid.
17399
17568
  */
17400
17569
  static async fromJsonLd(json, options = {}) {
17401
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
17570
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
17402
17571
  try {
17403
17572
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
17404
17573
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17519,6 +17688,19 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17519
17688
  /**
17520
17689
  * Clones this instance, optionally updating it with the given values.
17521
17690
  *
17691
+ * This is a shallow copy: property arrays are copied, but nested objects
17692
+ * and URLs are shared with this instance. Dereferencing accessors can cache
17693
+ * fetched objects in the instance whose accessor is called. Hydrating a
17694
+ * shared nested object through the clone can affect the original as well,
17695
+ * and can change JSON-LD output when either is embedded in another
17696
+ * object. Hydrating a top-level property of the clone does not update this
17697
+ * instance's property.
17698
+ *
17699
+ * To resolve properties without sharing nested objects, serialize and
17700
+ * re-parse the instance before hydration rather than using this method.
17701
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
17702
+ * for details, including how cached JSON-LD affects serialization.
17703
+ *
17522
17704
  * A clone never inherits a signed JSON-LD representation retained by
17523
17705
  * `signObject()`: the clone may differ from the document that the proof
17524
17706
  * covers, so embedding the original secured JSON in a parent document
@@ -17557,7 +17739,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17557
17739
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17558
17740
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17559
17741
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17560
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
17742
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
17561
17743
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
17562
17744
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17563
17745
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -17783,7 +17965,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17783
17965
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17784
17966
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17785
17967
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17786
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
17968
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
17787
17969
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
17788
17970
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17789
17971
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18130,7 +18312,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
18130
18312
  * @throws {TypeError} If the given `json` is invalid.
18131
18313
  */
18132
18314
  static async fromJsonLd(json, options = {}) {
18133
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
18315
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
18134
18316
  try {
18135
18317
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
18136
18318
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18294,6 +18476,19 @@ var ReplyRequest = class ReplyRequest extends Activity {
18294
18476
  /**
18295
18477
  * Clones this instance, optionally updating it with the given values.
18296
18478
  *
18479
+ * This is a shallow copy: property arrays are copied, but nested objects
18480
+ * and URLs are shared with this instance. Dereferencing accessors can cache
18481
+ * fetched objects in the instance whose accessor is called. Hydrating a
18482
+ * shared nested object through the clone can affect the original as well,
18483
+ * and can change JSON-LD output when either is embedded in another
18484
+ * object. Hydrating a top-level property of the clone does not update this
18485
+ * instance's property.
18486
+ *
18487
+ * To resolve properties without sharing nested objects, serialize and
18488
+ * re-parse the instance before hydration rather than using this method.
18489
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
18490
+ * for details, including how cached JSON-LD affects serialization.
18491
+ *
18297
18492
  * A clone never inherits a signed JSON-LD representation retained by
18298
18493
  * `signObject()`: the clone may differ from the document that the proof
18299
18494
  * covers, so embedding the original secured JSON in a parent document
@@ -18384,7 +18579,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
18384
18579
  * @throws {TypeError} If the given `json` is invalid.
18385
18580
  */
18386
18581
  static async fromJsonLd(json, options = {}) {
18387
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
18582
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
18388
18583
  try {
18389
18584
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
18390
18585
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18505,6 +18700,19 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18505
18700
  /**
18506
18701
  * Clones this instance, optionally updating it with the given values.
18507
18702
  *
18703
+ * This is a shallow copy: property arrays are copied, but nested objects
18704
+ * and URLs are shared with this instance. Dereferencing accessors can cache
18705
+ * fetched objects in the instance whose accessor is called. Hydrating a
18706
+ * shared nested object through the clone can affect the original as well,
18707
+ * and can change JSON-LD output when either is embedded in another
18708
+ * object. Hydrating a top-level property of the clone does not update this
18709
+ * instance's property.
18710
+ *
18711
+ * To resolve properties without sharing nested objects, serialize and
18712
+ * re-parse the instance before hydration rather than using this method.
18713
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
18714
+ * for details, including how cached JSON-LD affects serialization.
18715
+ *
18508
18716
  * A clone never inherits a signed JSON-LD representation retained by
18509
18717
  * `signObject()`: the clone may differ from the document that the proof
18510
18718
  * covers, so embedding the original secured JSON in a parent document
@@ -18543,7 +18751,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18543
18751
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18544
18752
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18545
18753
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18546
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
18754
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
18547
18755
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18548
18756
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18549
18757
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18768,7 +18976,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18768
18976
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18769
18977
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18770
18978
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18771
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
18979
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
18772
18980
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18773
18981
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18774
18982
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -19117,7 +19325,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
19117
19325
  * @throws {TypeError} If the given `json` is invalid.
19118
19326
  */
19119
19327
  static async fromJsonLd(json, options = {}) {
19120
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
19328
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
19121
19329
  try {
19122
19330
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
19123
19331
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19281,6 +19489,19 @@ var QuoteRequest = class QuoteRequest extends Activity {
19281
19489
  /**
19282
19490
  * Clones this instance, optionally updating it with the given values.
19283
19491
  *
19492
+ * This is a shallow copy: property arrays are copied, but nested objects
19493
+ * and URLs are shared with this instance. Dereferencing accessors can cache
19494
+ * fetched objects in the instance whose accessor is called. Hydrating a
19495
+ * shared nested object through the clone can affect the original as well,
19496
+ * and can change JSON-LD output when either is embedded in another
19497
+ * object. Hydrating a top-level property of the clone does not update this
19498
+ * instance's property.
19499
+ *
19500
+ * To resolve properties without sharing nested objects, serialize and
19501
+ * re-parse the instance before hydration rather than using this method.
19502
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
19503
+ * for details, including how cached JSON-LD affects serialization.
19504
+ *
19284
19505
  * A clone never inherits a signed JSON-LD representation retained by
19285
19506
  * `signObject()`: the clone may differ from the document that the proof
19286
19507
  * covers, so embedding the original secured JSON in a parent document
@@ -19401,7 +19622,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
19401
19622
  * @throws {TypeError} If the given `json` is invalid.
19402
19623
  */
19403
19624
  static async fromJsonLd(json, options = {}) {
19404
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
19625
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
19405
19626
  try {
19406
19627
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
19407
19628
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19594,6 +19815,19 @@ var Translation = class {
19594
19815
  /**
19595
19816
  * Clones this instance, optionally updating it with the given values.
19596
19817
  *
19818
+ * This is a shallow copy: property arrays are copied, but nested objects
19819
+ * and URLs are shared with this instance. Dereferencing accessors can cache
19820
+ * fetched objects in the instance whose accessor is called. Hydrating a
19821
+ * shared nested object through the clone can affect the original as well,
19822
+ * and can change JSON-LD output when either is embedded in another
19823
+ * object. Hydrating a top-level property of the clone does not update this
19824
+ * instance's property.
19825
+ *
19826
+ * To resolve properties without sharing nested objects, serialize and
19827
+ * re-parse the instance before hydration rather than using this method.
19828
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
19829
+ * for details, including how cached JSON-LD affects serialization.
19830
+ *
19597
19831
  * A clone never inherits a signed JSON-LD representation retained by
19598
19832
  * `signObject()`: the clone may differ from the document that the proof
19599
19833
  * covers, so embedding the original secured JSON in a parent document
@@ -19663,7 +19897,7 @@ var Translation = class {
19663
19897
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19664
19898
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19665
19899
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19666
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
19900
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
19667
19901
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
19668
19902
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
19669
19903
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20252,7 +20486,7 @@ var Translation = class {
20252
20486
  * @throws {TypeError} If the given `json` is invalid.
20253
20487
  */
20254
20488
  static async fromJsonLd(json, options = {}) {
20255
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
20489
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
20256
20490
  try {
20257
20491
  const object = await this.__fromJsonLd__Translation__(json, span, options);
20258
20492
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20505,6 +20739,19 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20505
20739
  /**
20506
20740
  * Clones this instance, optionally updating it with the given values.
20507
20741
  *
20742
+ * This is a shallow copy: property arrays are copied, but nested objects
20743
+ * and URLs are shared with this instance. Dereferencing accessors can cache
20744
+ * fetched objects in the instance whose accessor is called. Hydrating a
20745
+ * shared nested object through the clone can affect the original as well,
20746
+ * and can change JSON-LD output when either is embedded in another
20747
+ * object. Hydrating a top-level property of the clone does not update this
20748
+ * instance's property.
20749
+ *
20750
+ * To resolve properties without sharing nested objects, serialize and
20751
+ * re-parse the instance before hydration rather than using this method.
20752
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
20753
+ * for details, including how cached JSON-LD affects serialization.
20754
+ *
20508
20755
  * A clone never inherits a signed JSON-LD representation retained by
20509
20756
  * `signObject()`: the clone may differ from the document that the proof
20510
20757
  * covers, so embedding the original secured JSON in a parent document
@@ -20543,7 +20790,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20543
20790
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20544
20791
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20545
20792
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20546
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
20793
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
20547
20794
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20548
20795
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20549
20796
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20768,7 +21015,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20768
21015
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20769
21016
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20770
21017
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20771
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
21018
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
20772
21019
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20773
21020
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20774
21021
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21117,7 +21364,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
21117
21364
  * @throws {TypeError} If the given `json` is invalid.
21118
21365
  */
21119
21366
  static async fromJsonLd(json, options = {}) {
21120
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
21367
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
21121
21368
  try {
21122
21369
  const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
21123
21370
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21278,6 +21525,19 @@ var FeatureRequest = class FeatureRequest extends Activity {
21278
21525
  /**
21279
21526
  * Clones this instance, optionally updating it with the given values.
21280
21527
  *
21528
+ * This is a shallow copy: property arrays are copied, but nested objects
21529
+ * and URLs are shared with this instance. Dereferencing accessors can cache
21530
+ * fetched objects in the instance whose accessor is called. Hydrating a
21531
+ * shared nested object through the clone can affect the original as well,
21532
+ * and can change JSON-LD output when either is embedded in another
21533
+ * object. Hydrating a top-level property of the clone does not update this
21534
+ * instance's property.
21535
+ *
21536
+ * To resolve properties without sharing nested objects, serialize and
21537
+ * re-parse the instance before hydration rather than using this method.
21538
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
21539
+ * for details, including how cached JSON-LD affects serialization.
21540
+ *
21281
21541
  * A clone never inherits a signed JSON-LD representation retained by
21282
21542
  * `signObject()`: the clone may differ from the document that the proof
21283
21543
  * covers, so embedding the original secured JSON in a parent document
@@ -21369,7 +21629,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
21369
21629
  * @throws {TypeError} If the given `json` is invalid.
21370
21630
  */
21371
21631
  static async fromJsonLd(json, options = {}) {
21372
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
21632
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
21373
21633
  try {
21374
21634
  const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
21375
21635
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21550,6 +21810,19 @@ var Collection = class Collection extends Object$1 {
21550
21810
  /**
21551
21811
  * Clones this instance, optionally updating it with the given values.
21552
21812
  *
21813
+ * This is a shallow copy: property arrays are copied, but nested objects
21814
+ * and URLs are shared with this instance. Dereferencing accessors can cache
21815
+ * fetched objects in the instance whose accessor is called. Hydrating a
21816
+ * shared nested object through the clone can affect the original as well,
21817
+ * and can change JSON-LD output when either is embedded in another
21818
+ * object. Hydrating a top-level property of the clone does not update this
21819
+ * instance's property.
21820
+ *
21821
+ * To resolve properties without sharing nested objects, serialize and
21822
+ * re-parse the instance before hydration rather than using this method.
21823
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
21824
+ * for details, including how cached JSON-LD affects serialization.
21825
+ *
21553
21826
  * A clone never inherits a signed JSON-LD representation retained by
21554
21827
  * `signObject()`: the clone may differ from the document that the proof
21555
21828
  * covers, so embedding the original secured JSON in a parent document
@@ -21661,7 +21934,7 @@ var Collection = class Collection extends Object$1 {
21661
21934
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21662
21935
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21663
21936
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21664
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
21937
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
21665
21938
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21666
21939
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21667
21940
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21887,7 +22160,7 @@ var Collection = class Collection extends Object$1 {
21887
22160
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21888
22161
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21889
22162
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21890
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22163
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
21891
22164
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21892
22165
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21893
22166
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22113,7 +22386,7 @@ var Collection = class Collection extends Object$1 {
22113
22386
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22114
22387
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22115
22388
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22116
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22389
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22117
22390
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22118
22391
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22119
22392
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22339,7 +22612,7 @@ var Collection = class Collection extends Object$1 {
22339
22612
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22340
22613
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22341
22614
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22342
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22615
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22343
22616
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22344
22617
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22345
22618
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22580,7 +22853,7 @@ var Collection = class Collection extends Object$1 {
22580
22853
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22581
22854
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22582
22855
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22583
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
22856
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22584
22857
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22585
22858
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22586
22859
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22805,7 +23078,7 @@ var Collection = class Collection extends Object$1 {
22805
23078
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22806
23079
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22807
23080
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22808
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23081
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
22809
23082
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22810
23083
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22811
23084
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23030,7 +23303,7 @@ var Collection = class Collection extends Object$1 {
23030
23303
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23031
23304
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23032
23305
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23033
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23306
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23034
23307
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23035
23308
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23036
23309
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23255,7 +23528,7 @@ var Collection = class Collection extends Object$1 {
23255
23528
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23256
23529
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23257
23530
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23258
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23531
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23259
23532
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23260
23533
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23261
23534
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23480,7 +23753,7 @@ var Collection = class Collection extends Object$1 {
23480
23753
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23481
23754
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23482
23755
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23483
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23756
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23484
23757
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23485
23758
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23486
23759
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23705,7 +23978,7 @@ var Collection = class Collection extends Object$1 {
23705
23978
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23706
23979
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23707
23980
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23708
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
23981
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23709
23982
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23710
23983
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23711
23984
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23930,7 +24203,7 @@ var Collection = class Collection extends Object$1 {
23930
24203
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23931
24204
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23932
24205
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23933
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
24206
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
23934
24207
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23935
24208
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23936
24209
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24155,7 +24428,7 @@ var Collection = class Collection extends Object$1 {
24155
24428
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24156
24429
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24157
24430
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24158
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
24431
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
24159
24432
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
24160
24433
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24161
24434
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24790,7 +25063,7 @@ var Collection = class Collection extends Object$1 {
24790
25063
  * @throws {TypeError} If the given `json` is invalid.
24791
25064
  */
24792
25065
  static async fromJsonLd(json, options = {}) {
24793
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
25066
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
24794
25067
  try {
24795
25068
  const object = await this.__fromJsonLd__Collection__(json, span, options);
24796
25069
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25311,6 +25584,19 @@ var OrderedCollection = class OrderedCollection extends Collection {
25311
25584
  /**
25312
25585
  * Clones this instance, optionally updating it with the given values.
25313
25586
  *
25587
+ * This is a shallow copy: property arrays are copied, but nested objects
25588
+ * and URLs are shared with this instance. Dereferencing accessors can cache
25589
+ * fetched objects in the instance whose accessor is called. Hydrating a
25590
+ * shared nested object through the clone can affect the original as well,
25591
+ * and can change JSON-LD output when either is embedded in another
25592
+ * object. Hydrating a top-level property of the clone does not update this
25593
+ * instance's property.
25594
+ *
25595
+ * To resolve properties without sharing nested objects, serialize and
25596
+ * re-parse the instance before hydration rather than using this method.
25597
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
25598
+ * for details, including how cached JSON-LD affects serialization.
25599
+ *
25314
25600
  * A clone never inherits a signed JSON-LD representation retained by
25315
25601
  * `signObject()`: the clone may differ from the document that the proof
25316
25602
  * covers, so embedding the original secured JSON in a parent document
@@ -25344,7 +25630,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25344
25630
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25345
25631
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25346
25632
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25347
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
25633
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
25348
25634
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
25349
25635
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
25350
25636
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -25745,7 +26031,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25745
26031
  * @throws {TypeError} If the given `json` is invalid.
25746
26032
  */
25747
26033
  static async fromJsonLd(json, options = {}) {
25748
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
26034
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
25749
26035
  try {
25750
26036
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
25751
26037
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25960,6 +26246,19 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
25960
26246
  /**
25961
26247
  * Clones this instance, optionally updating it with the given values.
25962
26248
  *
26249
+ * This is a shallow copy: property arrays are copied, but nested objects
26250
+ * and URLs are shared with this instance. Dereferencing accessors can cache
26251
+ * fetched objects in the instance whose accessor is called. Hydrating a
26252
+ * shared nested object through the clone can affect the original as well,
26253
+ * and can change JSON-LD output when either is embedded in another
26254
+ * object. Hydrating a top-level property of the clone does not update this
26255
+ * instance's property.
26256
+ *
26257
+ * To resolve properties without sharing nested objects, serialize and
26258
+ * re-parse the instance before hydration rather than using this method.
26259
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
26260
+ * for details, including how cached JSON-LD affects serialization.
26261
+ *
25963
26262
  * A clone never inherits a signed JSON-LD representation retained by
25964
26263
  * `signObject()`: the clone may differ from the document that the proof
25965
26264
  * covers, so embedding the original secured JSON in a parent document
@@ -26141,7 +26440,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
26141
26440
  * @throws {TypeError} If the given `json` is invalid.
26142
26441
  */
26143
26442
  static async fromJsonLd(json, options = {}) {
26144
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
26443
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
26145
26444
  try {
26146
26445
  const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
26147
26446
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26297,6 +26596,19 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26297
26596
  /**
26298
26597
  * Clones this instance, optionally updating it with the given values.
26299
26598
  *
26599
+ * This is a shallow copy: property arrays are copied, but nested objects
26600
+ * and URLs are shared with this instance. Dereferencing accessors can cache
26601
+ * fetched objects in the instance whose accessor is called. Hydrating a
26602
+ * shared nested object through the clone can affect the original as well,
26603
+ * and can change JSON-LD output when either is embedded in another
26604
+ * object. Hydrating a top-level property of the clone does not update this
26605
+ * instance's property.
26606
+ *
26607
+ * To resolve properties without sharing nested objects, serialize and
26608
+ * re-parse the instance before hydration rather than using this method.
26609
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
26610
+ * for details, including how cached JSON-LD affects serialization.
26611
+ *
26300
26612
  * A clone never inherits a signed JSON-LD representation retained by
26301
26613
  * `signObject()`: the clone may differ from the document that the proof
26302
26614
  * covers, so embedding the original secured JSON in a parent document
@@ -26335,7 +26647,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26335
26647
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26336
26648
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26337
26649
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26338
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
26650
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
26339
26651
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26340
26652
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26341
26653
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26560,7 +26872,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26560
26872
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26561
26873
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26562
26874
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26563
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
26875
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
26564
26876
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26565
26877
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26566
26878
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26910,7 +27222,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26910
27222
  * @throws {TypeError} If the given `json` is invalid.
26911
27223
  */
26912
27224
  static async fromJsonLd(json, options = {}) {
26913
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
27225
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
26914
27226
  try {
26915
27227
  const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
26916
27228
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27128,6 +27440,19 @@ var DidService = class {
27128
27440
  /**
27129
27441
  * Clones this instance, optionally updating it with the given values.
27130
27442
  *
27443
+ * This is a shallow copy: property arrays are copied, but nested objects
27444
+ * and URLs are shared with this instance. Dereferencing accessors can cache
27445
+ * fetched objects in the instance whose accessor is called. Hydrating a
27446
+ * shared nested object through the clone can affect the original as well,
27447
+ * and can change JSON-LD output when either is embedded in another
27448
+ * object. Hydrating a top-level property of the clone does not update this
27449
+ * instance's property.
27450
+ *
27451
+ * To resolve properties without sharing nested objects, serialize and
27452
+ * re-parse the instance before hydration rather than using this method.
27453
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
27454
+ * for details, including how cached JSON-LD affects serialization.
27455
+ *
27131
27456
  * A clone never inherits a signed JSON-LD representation retained by
27132
27457
  * `signObject()`: the clone may differ from the document that the proof
27133
27458
  * covers, so embedding the original secured JSON in a parent document
@@ -27242,7 +27567,7 @@ var DidService = class {
27242
27567
  * @throws {TypeError} If the given `json` is invalid.
27243
27568
  */
27244
27569
  static async fromJsonLd(json, options = {}) {
27245
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
27570
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
27246
27571
  try {
27247
27572
  const object = await this.__fromJsonLd__DidService__(json, span, options);
27248
27573
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27363,6 +27688,19 @@ var Export = class Export extends DidService {
27363
27688
  /**
27364
27689
  * Clones this instance, optionally updating it with the given values.
27365
27690
  *
27691
+ * This is a shallow copy: property arrays are copied, but nested objects
27692
+ * and URLs are shared with this instance. Dereferencing accessors can cache
27693
+ * fetched objects in the instance whose accessor is called. Hydrating a
27694
+ * shared nested object through the clone can affect the original as well,
27695
+ * and can change JSON-LD output when either is embedded in another
27696
+ * object. Hydrating a top-level property of the clone does not update this
27697
+ * instance's property.
27698
+ *
27699
+ * To resolve properties without sharing nested objects, serialize and
27700
+ * re-parse the instance before hydration rather than using this method.
27701
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
27702
+ * for details, including how cached JSON-LD affects serialization.
27703
+ *
27366
27704
  * A clone never inherits a signed JSON-LD representation retained by
27367
27705
  * `signObject()`: the clone may differ from the document that the proof
27368
27706
  * covers, so embedding the original secured JSON in a parent document
@@ -27445,7 +27783,7 @@ var Export = class Export extends DidService {
27445
27783
  * @throws {TypeError} If the given `json` is invalid.
27446
27784
  */
27447
27785
  static async fromJsonLd(json, options = {}) {
27448
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
27786
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
27449
27787
  try {
27450
27788
  const object = await this.__fromJsonLd__Export__(json, span, options);
27451
27789
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27618,6 +27956,19 @@ var DataIntegrityProof = class {
27618
27956
  /**
27619
27957
  * Clones this instance, optionally updating it with the given values.
27620
27958
  *
27959
+ * This is a shallow copy: property arrays are copied, but nested objects
27960
+ * and URLs are shared with this instance. Dereferencing accessors can cache
27961
+ * fetched objects in the instance whose accessor is called. Hydrating a
27962
+ * shared nested object through the clone can affect the original as well,
27963
+ * and can change JSON-LD output when either is embedded in another
27964
+ * object. Hydrating a top-level property of the clone does not update this
27965
+ * instance's property.
27966
+ *
27967
+ * To resolve properties without sharing nested objects, serialize and
27968
+ * re-parse the instance before hydration rather than using this method.
27969
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
27970
+ * for details, including how cached JSON-LD affects serialization.
27971
+ *
27621
27972
  * A clone never inherits a signed JSON-LD representation retained by
27622
27973
  * `signObject()`: the clone may differ from the document that the proof
27623
27974
  * covers, so embedding the original secured JSON in a parent document
@@ -27670,7 +28021,7 @@ var DataIntegrityProof = class {
27670
28021
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27671
28022
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27672
28023
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27673
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
28024
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
27674
28025
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27675
28026
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27676
28027
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -28022,7 +28373,7 @@ var DataIntegrityProof = class {
28022
28373
  * @throws {TypeError} If the given `json` is invalid.
28023
28374
  */
28024
28375
  static async fromJsonLd(json, options = {}) {
28025
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
28376
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
28026
28377
  try {
28027
28378
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
28028
28379
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28282,6 +28633,19 @@ var CryptographicKey = class {
28282
28633
  /**
28283
28634
  * Clones this instance, optionally updating it with the given values.
28284
28635
  *
28636
+ * This is a shallow copy: property arrays are copied, but nested objects
28637
+ * and URLs are shared with this instance. Dereferencing accessors can cache
28638
+ * fetched objects in the instance whose accessor is called. Hydrating a
28639
+ * shared nested object through the clone can affect the original as well,
28640
+ * and can change JSON-LD output when either is embedded in another
28641
+ * object. Hydrating a top-level property of the clone does not update this
28642
+ * instance's property.
28643
+ *
28644
+ * To resolve properties without sharing nested objects, serialize and
28645
+ * re-parse the instance before hydration rather than using this method.
28646
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
28647
+ * for details, including how cached JSON-LD affects serialization.
28648
+ *
28285
28649
  * A clone never inherits a signed JSON-LD representation retained by
28286
28650
  * `signObject()`: the clone may differ from the document that the proof
28287
28651
  * covers, so embedding the original secured JSON in a parent document
@@ -28318,7 +28682,7 @@ var CryptographicKey = class {
28318
28682
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28319
28683
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28320
28684
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28321
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
28685
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
28322
28686
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
28323
28687
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
28324
28688
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -28715,7 +29079,7 @@ var CryptographicKey = class {
28715
29079
  * @throws {TypeError} If the given `json` is invalid.
28716
29080
  */
28717
29081
  static async fromJsonLd(json, options = {}) {
28718
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
29082
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
28719
29083
  try {
28720
29084
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
28721
29085
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28936,6 +29300,19 @@ var Multikey = class {
28936
29300
  /**
28937
29301
  * Clones this instance, optionally updating it with the given values.
28938
29302
  *
29303
+ * This is a shallow copy: property arrays are copied, but nested objects
29304
+ * and URLs are shared with this instance. Dereferencing accessors can cache
29305
+ * fetched objects in the instance whose accessor is called. Hydrating a
29306
+ * shared nested object through the clone can affect the original as well,
29307
+ * and can change JSON-LD output when either is embedded in another
29308
+ * object. Hydrating a top-level property of the clone does not update this
29309
+ * instance's property.
29310
+ *
29311
+ * To resolve properties without sharing nested objects, serialize and
29312
+ * re-parse the instance before hydration rather than using this method.
29313
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
29314
+ * for details, including how cached JSON-LD affects serialization.
29315
+ *
28939
29316
  * A clone never inherits a signed JSON-LD representation retained by
28940
29317
  * `signObject()`: the clone may differ from the document that the proof
28941
29318
  * covers, so embedding the original secured JSON in a parent document
@@ -28972,7 +29349,7 @@ var Multikey = class {
28972
29349
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28973
29350
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28974
29351
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28975
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
29352
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
28976
29353
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
28977
29354
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
28978
29355
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -29375,7 +29752,7 @@ var Multikey = class {
29375
29752
  * @throws {TypeError} If the given `json` is invalid.
29376
29753
  */
29377
29754
  static async fromJsonLd(json, options = {}) {
29378
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
29755
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
29379
29756
  try {
29380
29757
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
29381
29758
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29549,6 +29926,19 @@ var Agreement = class Agreement extends Object$1 {
29549
29926
  /**
29550
29927
  * Clones this instance, optionally updating it with the given values.
29551
29928
  *
29929
+ * This is a shallow copy: property arrays are copied, but nested objects
29930
+ * and URLs are shared with this instance. Dereferencing accessors can cache
29931
+ * fetched objects in the instance whose accessor is called. Hydrating a
29932
+ * shared nested object through the clone can affect the original as well,
29933
+ * and can change JSON-LD output when either is embedded in another
29934
+ * object. Hydrating a top-level property of the clone does not update this
29935
+ * instance's property.
29936
+ *
29937
+ * To resolve properties without sharing nested objects, serialize and
29938
+ * re-parse the instance before hydration rather than using this method.
29939
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
29940
+ * for details, including how cached JSON-LD affects serialization.
29941
+ *
29552
29942
  * A clone never inherits a signed JSON-LD representation retained by
29553
29943
  * `signObject()`: the clone may differ from the document that the proof
29554
29944
  * covers, so embedding the original secured JSON in a parent document
@@ -29763,7 +30153,7 @@ var Agreement = class Agreement extends Object$1 {
29763
30153
  * @throws {TypeError} If the given `json` is invalid.
29764
30154
  */
29765
30155
  static async fromJsonLd(json, options = {}) {
29766
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
30156
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
29767
30157
  try {
29768
30158
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
29769
30159
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29969,6 +30359,19 @@ var Commitment = class {
29969
30359
  /**
29970
30360
  * Clones this instance, optionally updating it with the given values.
29971
30361
  *
30362
+ * This is a shallow copy: property arrays are copied, but nested objects
30363
+ * and URLs are shared with this instance. Dereferencing accessors can cache
30364
+ * fetched objects in the instance whose accessor is called. Hydrating a
30365
+ * shared nested object through the clone can affect the original as well,
30366
+ * and can change JSON-LD output when either is embedded in another
30367
+ * object. Hydrating a top-level property of the clone does not update this
30368
+ * instance's property.
30369
+ *
30370
+ * To resolve properties without sharing nested objects, serialize and
30371
+ * re-parse the instance before hydration rather than using this method.
30372
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
30373
+ * for details, including how cached JSON-LD affects serialization.
30374
+ *
29972
30375
  * A clone never inherits a signed JSON-LD representation retained by
29973
30376
  * `signObject()`: the clone may differ from the document that the proof
29974
30377
  * covers, so embedding the original secured JSON in a parent document
@@ -30143,7 +30546,7 @@ var Commitment = class {
30143
30546
  * @throws {TypeError} If the given `json` is invalid.
30144
30547
  */
30145
30548
  static async fromJsonLd(json, options = {}) {
30146
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
30549
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
30147
30550
  try {
30148
30551
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
30149
30552
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30351,6 +30754,19 @@ var Intent = class {
30351
30754
  /**
30352
30755
  * Clones this instance, optionally updating it with the given values.
30353
30756
  *
30757
+ * This is a shallow copy: property arrays are copied, but nested objects
30758
+ * and URLs are shared with this instance. Dereferencing accessors can cache
30759
+ * fetched objects in the instance whose accessor is called. Hydrating a
30760
+ * shared nested object through the clone can affect the original as well,
30761
+ * and can change JSON-LD output when either is embedded in another
30762
+ * object. Hydrating a top-level property of the clone does not update this
30763
+ * instance's property.
30764
+ *
30765
+ * To resolve properties without sharing nested objects, serialize and
30766
+ * re-parse the instance before hydration rather than using this method.
30767
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
30768
+ * for details, including how cached JSON-LD affects serialization.
30769
+ *
30354
30770
  * A clone never inherits a signed JSON-LD representation retained by
30355
30771
  * `signObject()`: the clone may differ from the document that the proof
30356
30772
  * covers, so embedding the original secured JSON in a parent document
@@ -30615,7 +31031,7 @@ var Intent = class {
30615
31031
  * @throws {TypeError} If the given `json` is invalid.
30616
31032
  */
30617
31033
  static async fromJsonLd(json, options = {}) {
30618
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
31034
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
30619
31035
  try {
30620
31036
  const object = await this.__fromJsonLd__Intent__(json, span, options);
30621
31037
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30838,6 +31254,19 @@ var Proposal = class Proposal extends Object$1 {
30838
31254
  /**
30839
31255
  * Clones this instance, optionally updating it with the given values.
30840
31256
  *
31257
+ * This is a shallow copy: property arrays are copied, but nested objects
31258
+ * and URLs are shared with this instance. Dereferencing accessors can cache
31259
+ * fetched objects in the instance whose accessor is called. Hydrating a
31260
+ * shared nested object through the clone can affect the original as well,
31261
+ * and can change JSON-LD output when either is embedded in another
31262
+ * object. Hydrating a top-level property of the clone does not update this
31263
+ * instance's property.
31264
+ *
31265
+ * To resolve properties without sharing nested objects, serialize and
31266
+ * re-parse the instance before hydration rather than using this method.
31267
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
31268
+ * for details, including how cached JSON-LD affects serialization.
31269
+ *
30841
31270
  * A clone never inherits a signed JSON-LD representation retained by
30842
31271
  * `signObject()`: the clone may differ from the document that the proof
30843
31272
  * covers, so embedding the original secured JSON in a parent document
@@ -31115,7 +31544,7 @@ var Proposal = class Proposal extends Object$1 {
31115
31544
  * @throws {TypeError} If the given `json` is invalid.
31116
31545
  */
31117
31546
  static async fromJsonLd(json, options = {}) {
31118
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
31547
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31119
31548
  try {
31120
31549
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
31121
31550
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31298,6 +31727,19 @@ var Accept = class Accept extends Activity {
31298
31727
  /**
31299
31728
  * Clones this instance, optionally updating it with the given values.
31300
31729
  *
31730
+ * This is a shallow copy: property arrays are copied, but nested objects
31731
+ * and URLs are shared with this instance. Dereferencing accessors can cache
31732
+ * fetched objects in the instance whose accessor is called. Hydrating a
31733
+ * shared nested object through the clone can affect the original as well,
31734
+ * and can change JSON-LD output when either is embedded in another
31735
+ * object. Hydrating a top-level property of the clone does not update this
31736
+ * instance's property.
31737
+ *
31738
+ * To resolve properties without sharing nested objects, serialize and
31739
+ * re-parse the instance before hydration rather than using this method.
31740
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
31741
+ * for details, including how cached JSON-LD affects serialization.
31742
+ *
31301
31743
  * A clone never inherits a signed JSON-LD representation retained by
31302
31744
  * `signObject()`: the clone may differ from the document that the proof
31303
31745
  * covers, so embedding the original secured JSON in a parent document
@@ -31388,7 +31830,7 @@ var Accept = class Accept extends Activity {
31388
31830
  * @throws {TypeError} If the given `json` is invalid.
31389
31831
  */
31390
31832
  static async fromJsonLd(json, options = {}) {
31391
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
31833
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31392
31834
  try {
31393
31835
  const object = await this.__fromJsonLd__Accept__(json, span, options);
31394
31836
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31494,6 +31936,19 @@ var Add = class Add extends Activity {
31494
31936
  /**
31495
31937
  * Clones this instance, optionally updating it with the given values.
31496
31938
  *
31939
+ * This is a shallow copy: property arrays are copied, but nested objects
31940
+ * and URLs are shared with this instance. Dereferencing accessors can cache
31941
+ * fetched objects in the instance whose accessor is called. Hydrating a
31942
+ * shared nested object through the clone can affect the original as well,
31943
+ * and can change JSON-LD output when either is embedded in another
31944
+ * object. Hydrating a top-level property of the clone does not update this
31945
+ * instance's property.
31946
+ *
31947
+ * To resolve properties without sharing nested objects, serialize and
31948
+ * re-parse the instance before hydration rather than using this method.
31949
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
31950
+ * for details, including how cached JSON-LD affects serialization.
31951
+ *
31497
31952
  * A clone never inherits a signed JSON-LD representation retained by
31498
31953
  * `signObject()`: the clone may differ from the document that the proof
31499
31954
  * covers, so embedding the original secured JSON in a parent document
@@ -31584,7 +32039,7 @@ var Add = class Add extends Activity {
31584
32039
  * @throws {TypeError} If the given `json` is invalid.
31585
32040
  */
31586
32041
  static async fromJsonLd(json, options = {}) {
31587
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
32042
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31588
32043
  try {
31589
32044
  const object = await this.__fromJsonLd__Add__(json, span, options);
31590
32045
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31688,6 +32143,19 @@ var Announce = class Announce extends Activity {
31688
32143
  /**
31689
32144
  * Clones this instance, optionally updating it with the given values.
31690
32145
  *
32146
+ * This is a shallow copy: property arrays are copied, but nested objects
32147
+ * and URLs are shared with this instance. Dereferencing accessors can cache
32148
+ * fetched objects in the instance whose accessor is called. Hydrating a
32149
+ * shared nested object through the clone can affect the original as well,
32150
+ * and can change JSON-LD output when either is embedded in another
32151
+ * object. Hydrating a top-level property of the clone does not update this
32152
+ * instance's property.
32153
+ *
32154
+ * To resolve properties without sharing nested objects, serialize and
32155
+ * re-parse the instance before hydration rather than using this method.
32156
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
32157
+ * for details, including how cached JSON-LD affects serialization.
32158
+ *
31691
32159
  * A clone never inherits a signed JSON-LD representation retained by
31692
32160
  * `signObject()`: the clone may differ from the document that the proof
31693
32161
  * covers, so embedding the original secured JSON in a parent document
@@ -31807,7 +32275,7 @@ var Announce = class Announce extends Activity {
31807
32275
  * @throws {TypeError} If the given `json` is invalid.
31808
32276
  */
31809
32277
  static async fromJsonLd(json, options = {}) {
31810
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
32278
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
31811
32279
  try {
31812
32280
  const object = await this.__fromJsonLd__Announce__(json, span, options);
31813
32281
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32061,6 +32529,19 @@ var Application = class Application extends Object$1 {
32061
32529
  /**
32062
32530
  * Clones this instance, optionally updating it with the given values.
32063
32531
  *
32532
+ * This is a shallow copy: property arrays are copied, but nested objects
32533
+ * and URLs are shared with this instance. Dereferencing accessors can cache
32534
+ * fetched objects in the instance whose accessor is called. Hydrating a
32535
+ * shared nested object through the clone can affect the original as well,
32536
+ * and can change JSON-LD output when either is embedded in another
32537
+ * object. Hydrating a top-level property of the clone does not update this
32538
+ * instance's property.
32539
+ *
32540
+ * To resolve properties without sharing nested objects, serialize and
32541
+ * re-parse the instance before hydration rather than using this method.
32542
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
32543
+ * for details, including how cached JSON-LD affects serialization.
32544
+ *
32064
32545
  * A clone never inherits a signed JSON-LD representation retained by
32065
32546
  * `signObject()`: the clone may differ from the document that the proof
32066
32547
  * covers, so embedding the original secured JSON in a parent document
@@ -32258,7 +32739,7 @@ var Application = class Application extends Object$1 {
32258
32739
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32259
32740
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32260
32741
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32261
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
32742
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
32262
32743
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32263
32744
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32264
32745
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -32556,7 +33037,7 @@ var Application = class Application extends Object$1 {
32556
33037
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32557
33038
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32558
33039
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32559
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33040
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
32560
33041
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32561
33042
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32562
33043
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -32890,7 +33371,7 @@ var Application = class Application extends Object$1 {
32890
33371
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32891
33372
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32892
33373
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32893
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33374
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
32894
33375
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32895
33376
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32896
33377
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33138,7 +33619,7 @@ var Application = class Application extends Object$1 {
33138
33619
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33139
33620
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33140
33621
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33141
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33622
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33142
33623
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33143
33624
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33144
33625
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33383,7 +33864,7 @@ var Application = class Application extends Object$1 {
33383
33864
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33384
33865
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33385
33866
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33386
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
33867
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33387
33868
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33388
33869
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33389
33870
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33612,7 +34093,7 @@ var Application = class Application extends Object$1 {
33612
34093
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33613
34094
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33614
34095
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33615
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34096
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33616
34097
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33617
34098
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33618
34099
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33844,7 +34325,7 @@ var Application = class Application extends Object$1 {
33844
34325
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33845
34326
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33846
34327
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33847
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34328
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
33848
34329
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33849
34330
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33850
34331
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34074,7 +34555,7 @@ var Application = class Application extends Object$1 {
34074
34555
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34075
34556
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34076
34557
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34077
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34558
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34078
34559
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34079
34560
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34080
34561
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34302,7 +34783,7 @@ var Application = class Application extends Object$1 {
34302
34783
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34303
34784
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34304
34785
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34305
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
34786
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34306
34787
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34307
34788
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34308
34789
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34530,7 +35011,7 @@ var Application = class Application extends Object$1 {
34530
35011
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34531
35012
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34532
35013
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34533
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35014
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34534
35015
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34535
35016
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34536
35017
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34755,7 +35236,7 @@ var Application = class Application extends Object$1 {
34755
35236
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34756
35237
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34757
35238
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34758
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35239
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
34759
35240
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34760
35241
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34761
35242
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35026,7 +35507,7 @@ var Application = class Application extends Object$1 {
35026
35507
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35027
35508
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35028
35509
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35029
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35510
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
35030
35511
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35031
35512
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35032
35513
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35301,7 +35782,7 @@ var Application = class Application extends Object$1 {
35301
35782
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35302
35783
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35303
35784
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35304
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
35785
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
35305
35786
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35306
35787
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35307
35788
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35655,7 +36136,7 @@ var Application = class Application extends Object$1 {
35655
36136
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35656
36137
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35657
36138
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35658
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
36139
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
35659
36140
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35660
36141
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35661
36142
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -36652,7 +37133,7 @@ var Application = class Application extends Object$1 {
36652
37133
  * @throws {TypeError} If the given `json` is invalid.
36653
37134
  */
36654
37135
  static async fromJsonLd(json, options = {}) {
36655
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
37136
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
36656
37137
  try {
36657
37138
  const object = await this.__fromJsonLd__Application__(json, span, options);
36658
37139
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37340,6 +37821,19 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
37340
37821
  /**
37341
37822
  * Clones this instance, optionally updating it with the given values.
37342
37823
  *
37824
+ * This is a shallow copy: property arrays are copied, but nested objects
37825
+ * and URLs are shared with this instance. Dereferencing accessors can cache
37826
+ * fetched objects in the instance whose accessor is called. Hydrating a
37827
+ * shared nested object through the clone can affect the original as well,
37828
+ * and can change JSON-LD output when either is embedded in another
37829
+ * object. Hydrating a top-level property of the clone does not update this
37830
+ * instance's property.
37831
+ *
37832
+ * To resolve properties without sharing nested objects, serialize and
37833
+ * re-parse the instance before hydration rather than using this method.
37834
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
37835
+ * for details, including how cached JSON-LD affects serialization.
37836
+ *
37343
37837
  * A clone never inherits a signed JSON-LD representation retained by
37344
37838
  * `signObject()`: the clone may differ from the document that the proof
37345
37839
  * covers, so embedding the original secured JSON in a parent document
@@ -37430,7 +37924,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
37430
37924
  * @throws {TypeError} If the given `json` is invalid.
37431
37925
  */
37432
37926
  static async fromJsonLd(json, options = {}) {
37433
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
37927
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
37434
37928
  try {
37435
37929
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
37436
37930
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37537,6 +38031,19 @@ var Arrive = class Arrive extends IntransitiveActivity {
37537
38031
  /**
37538
38032
  * Clones this instance, optionally updating it with the given values.
37539
38033
  *
38034
+ * This is a shallow copy: property arrays are copied, but nested objects
38035
+ * and URLs are shared with this instance. Dereferencing accessors can cache
38036
+ * fetched objects in the instance whose accessor is called. Hydrating a
38037
+ * shared nested object through the clone can affect the original as well,
38038
+ * and can change JSON-LD output when either is embedded in another
38039
+ * object. Hydrating a top-level property of the clone does not update this
38040
+ * instance's property.
38041
+ *
38042
+ * To resolve properties without sharing nested objects, serialize and
38043
+ * re-parse the instance before hydration rather than using this method.
38044
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
38045
+ * for details, including how cached JSON-LD affects serialization.
38046
+ *
37540
38047
  * A clone never inherits a signed JSON-LD representation retained by
37541
38048
  * `signObject()`: the clone may differ from the document that the proof
37542
38049
  * covers, so embedding the original secured JSON in a parent document
@@ -37627,7 +38134,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
37627
38134
  * @throws {TypeError} If the given `json` is invalid.
37628
38135
  */
37629
38136
  static async fromJsonLd(json, options = {}) {
37630
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
38137
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
37631
38138
  try {
37632
38139
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
37633
38140
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37744,6 +38251,19 @@ var Article = class Article extends Object$1 {
37744
38251
  /**
37745
38252
  * Clones this instance, optionally updating it with the given values.
37746
38253
  *
38254
+ * This is a shallow copy: property arrays are copied, but nested objects
38255
+ * and URLs are shared with this instance. Dereferencing accessors can cache
38256
+ * fetched objects in the instance whose accessor is called. Hydrating a
38257
+ * shared nested object through the clone can affect the original as well,
38258
+ * and can change JSON-LD output when either is embedded in another
38259
+ * object. Hydrating a top-level property of the clone does not update this
38260
+ * instance's property.
38261
+ *
38262
+ * To resolve properties without sharing nested objects, serialize and
38263
+ * re-parse the instance before hydration rather than using this method.
38264
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
38265
+ * for details, including how cached JSON-LD affects serialization.
38266
+ *
37747
38267
  * A clone never inherits a signed JSON-LD representation retained by
37748
38268
  * `signObject()`: the clone may differ from the document that the proof
37749
38269
  * covers, so embedding the original secured JSON in a parent document
@@ -37785,7 +38305,7 @@ var Article = class Article extends Object$1 {
37785
38305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37786
38306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37787
38307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37788
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
38308
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
37789
38309
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37790
38310
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37791
38311
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38028,7 +38548,7 @@ var Article = class Article extends Object$1 {
38028
38548
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38029
38549
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38030
38550
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38031
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
38551
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
38032
38552
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38033
38553
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38034
38554
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38450,7 +38970,7 @@ var Article = class Article extends Object$1 {
38450
38970
  * @throws {TypeError} If the given `json` is invalid.
38451
38971
  */
38452
38972
  static async fromJsonLd(json, options = {}) {
38453
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
38973
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
38454
38974
  try {
38455
38975
  const object = await this.__fromJsonLd__Article__(json, span, options);
38456
38976
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38634,6 +39154,19 @@ var Document = class Document extends Object$1 {
38634
39154
  /**
38635
39155
  * Clones this instance, optionally updating it with the given values.
38636
39156
  *
39157
+ * This is a shallow copy: property arrays are copied, but nested objects
39158
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39159
+ * fetched objects in the instance whose accessor is called. Hydrating a
39160
+ * shared nested object through the clone can affect the original as well,
39161
+ * and can change JSON-LD output when either is embedded in another
39162
+ * object. Hydrating a top-level property of the clone does not update this
39163
+ * instance's property.
39164
+ *
39165
+ * To resolve properties without sharing nested objects, serialize and
39166
+ * re-parse the instance before hydration rather than using this method.
39167
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39168
+ * for details, including how cached JSON-LD affects serialization.
39169
+ *
38637
39170
  * A clone never inherits a signed JSON-LD representation retained by
38638
39171
  * `signObject()`: the clone may differ from the document that the proof
38639
39172
  * covers, so embedding the original secured JSON in a parent document
@@ -38834,7 +39367,7 @@ var Document = class Document extends Object$1 {
38834
39367
  * @throws {TypeError} If the given `json` is invalid.
38835
39368
  */
38836
39369
  static async fromJsonLd(json, options = {}) {
38837
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39370
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
38838
39371
  try {
38839
39372
  const object = await this.__fromJsonLd__Document__(json, span, options);
38840
39373
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38995,6 +39528,19 @@ var Audio = class Audio extends Document {
38995
39528
  /**
38996
39529
  * Clones this instance, optionally updating it with the given values.
38997
39530
  *
39531
+ * This is a shallow copy: property arrays are copied, but nested objects
39532
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39533
+ * fetched objects in the instance whose accessor is called. Hydrating a
39534
+ * shared nested object through the clone can affect the original as well,
39535
+ * and can change JSON-LD output when either is embedded in another
39536
+ * object. Hydrating a top-level property of the clone does not update this
39537
+ * instance's property.
39538
+ *
39539
+ * To resolve properties without sharing nested objects, serialize and
39540
+ * re-parse the instance before hydration rather than using this method.
39541
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39542
+ * for details, including how cached JSON-LD affects serialization.
39543
+ *
38998
39544
  * A clone never inherits a signed JSON-LD representation retained by
38999
39545
  * `signObject()`: the clone may differ from the document that the proof
39000
39546
  * covers, so embedding the original secured JSON in a parent document
@@ -39101,7 +39647,7 @@ var Audio = class Audio extends Document {
39101
39647
  * @throws {TypeError} If the given `json` is invalid.
39102
39648
  */
39103
39649
  static async fromJsonLd(json, options = {}) {
39104
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39650
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
39105
39651
  try {
39106
39652
  const object = await this.__fromJsonLd__Audio__(json, span, options);
39107
39653
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39204,6 +39750,19 @@ var Ignore = class Ignore extends Activity {
39204
39750
  /**
39205
39751
  * Clones this instance, optionally updating it with the given values.
39206
39752
  *
39753
+ * This is a shallow copy: property arrays are copied, but nested objects
39754
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39755
+ * fetched objects in the instance whose accessor is called. Hydrating a
39756
+ * shared nested object through the clone can affect the original as well,
39757
+ * and can change JSON-LD output when either is embedded in another
39758
+ * object. Hydrating a top-level property of the clone does not update this
39759
+ * instance's property.
39760
+ *
39761
+ * To resolve properties without sharing nested objects, serialize and
39762
+ * re-parse the instance before hydration rather than using this method.
39763
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39764
+ * for details, including how cached JSON-LD affects serialization.
39765
+ *
39207
39766
  * A clone never inherits a signed JSON-LD representation retained by
39208
39767
  * `signObject()`: the clone may differ from the document that the proof
39209
39768
  * covers, so embedding the original secured JSON in a parent document
@@ -39294,7 +39853,7 @@ var Ignore = class Ignore extends Activity {
39294
39853
  * @throws {TypeError} If the given `json` is invalid.
39295
39854
  */
39296
39855
  static async fromJsonLd(json, options = {}) {
39297
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
39856
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
39298
39857
  try {
39299
39858
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
39300
39859
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39400,6 +39959,19 @@ var Block = class Block extends Ignore {
39400
39959
  /**
39401
39960
  * Clones this instance, optionally updating it with the given values.
39402
39961
  *
39962
+ * This is a shallow copy: property arrays are copied, but nested objects
39963
+ * and URLs are shared with this instance. Dereferencing accessors can cache
39964
+ * fetched objects in the instance whose accessor is called. Hydrating a
39965
+ * shared nested object through the clone can affect the original as well,
39966
+ * and can change JSON-LD output when either is embedded in another
39967
+ * object. Hydrating a top-level property of the clone does not update this
39968
+ * instance's property.
39969
+ *
39970
+ * To resolve properties without sharing nested objects, serialize and
39971
+ * re-parse the instance before hydration rather than using this method.
39972
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
39973
+ * for details, including how cached JSON-LD affects serialization.
39974
+ *
39403
39975
  * A clone never inherits a signed JSON-LD representation retained by
39404
39976
  * `signObject()`: the clone may differ from the document that the proof
39405
39977
  * covers, so embedding the original secured JSON in a parent document
@@ -39490,7 +40062,7 @@ var Block = class Block extends Ignore {
39490
40062
  * @throws {TypeError} If the given `json` is invalid.
39491
40063
  */
39492
40064
  static async fromJsonLd(json, options = {}) {
39493
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
40065
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
39494
40066
  try {
39495
40067
  const object = await this.__fromJsonLd__Block__(json, span, options);
39496
40068
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39612,6 +40184,19 @@ var CollectionPage = class CollectionPage extends Collection {
39612
40184
  /**
39613
40185
  * Clones this instance, optionally updating it with the given values.
39614
40186
  *
40187
+ * This is a shallow copy: property arrays are copied, but nested objects
40188
+ * and URLs are shared with this instance. Dereferencing accessors can cache
40189
+ * fetched objects in the instance whose accessor is called. Hydrating a
40190
+ * shared nested object through the clone can affect the original as well,
40191
+ * and can change JSON-LD output when either is embedded in another
40192
+ * object. Hydrating a top-level property of the clone does not update this
40193
+ * instance's property.
40194
+ *
40195
+ * To resolve properties without sharing nested objects, serialize and
40196
+ * re-parse the instance before hydration rather than using this method.
40197
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
40198
+ * for details, including how cached JSON-LD affects serialization.
40199
+ *
39615
40200
  * A clone never inherits a signed JSON-LD representation retained by
39616
40201
  * `signObject()`: the clone may differ from the document that the proof
39617
40202
  * covers, so embedding the original secured JSON in a parent document
@@ -39656,7 +40241,7 @@ var CollectionPage = class CollectionPage extends Collection {
39656
40241
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39657
40242
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39658
40243
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39659
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
40244
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
39660
40245
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
39661
40246
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
39662
40247
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -39882,7 +40467,7 @@ var CollectionPage = class CollectionPage extends Collection {
39882
40467
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39883
40468
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39884
40469
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39885
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
40470
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
39886
40471
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
39887
40472
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
39888
40473
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -40107,7 +40692,7 @@ var CollectionPage = class CollectionPage extends Collection {
40107
40692
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40108
40693
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40109
40694
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40110
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
40695
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
40111
40696
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
40112
40697
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
40113
40698
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -40529,7 +41114,7 @@ var CollectionPage = class CollectionPage extends Collection {
40529
41114
  * @throws {TypeError} If the given `json` is invalid.
40530
41115
  */
40531
41116
  static async fromJsonLd(json, options = {}) {
40532
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41117
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
40533
41118
  try {
40534
41119
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
40535
41120
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40711,6 +41296,19 @@ var Create = class Create extends Activity {
40711
41296
  /**
40712
41297
  * Clones this instance, optionally updating it with the given values.
40713
41298
  *
41299
+ * This is a shallow copy: property arrays are copied, but nested objects
41300
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41301
+ * fetched objects in the instance whose accessor is called. Hydrating a
41302
+ * shared nested object through the clone can affect the original as well,
41303
+ * and can change JSON-LD output when either is embedded in another
41304
+ * object. Hydrating a top-level property of the clone does not update this
41305
+ * instance's property.
41306
+ *
41307
+ * To resolve properties without sharing nested objects, serialize and
41308
+ * re-parse the instance before hydration rather than using this method.
41309
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41310
+ * for details, including how cached JSON-LD affects serialization.
41311
+ *
40714
41312
  * A clone never inherits a signed JSON-LD representation retained by
40715
41313
  * `signObject()`: the clone may differ from the document that the proof
40716
41314
  * covers, so embedding the original secured JSON in a parent document
@@ -40831,7 +41429,7 @@ var Create = class Create extends Activity {
40831
41429
  * @throws {TypeError} If the given `json` is invalid.
40832
41430
  */
40833
41431
  static async fromJsonLd(json, options = {}) {
40834
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41432
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
40835
41433
  try {
40836
41434
  const object = await this.__fromJsonLd__Create__(json, span, options);
40837
41435
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40934,6 +41532,19 @@ var Delete = class Delete extends Activity {
40934
41532
  /**
40935
41533
  * Clones this instance, optionally updating it with the given values.
40936
41534
  *
41535
+ * This is a shallow copy: property arrays are copied, but nested objects
41536
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41537
+ * fetched objects in the instance whose accessor is called. Hydrating a
41538
+ * shared nested object through the clone can affect the original as well,
41539
+ * and can change JSON-LD output when either is embedded in another
41540
+ * object. Hydrating a top-level property of the clone does not update this
41541
+ * instance's property.
41542
+ *
41543
+ * To resolve properties without sharing nested objects, serialize and
41544
+ * re-parse the instance before hydration rather than using this method.
41545
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41546
+ * for details, including how cached JSON-LD affects serialization.
41547
+ *
40937
41548
  * A clone never inherits a signed JSON-LD representation retained by
40938
41549
  * `signObject()`: the clone may differ from the document that the proof
40939
41550
  * covers, so embedding the original secured JSON in a parent document
@@ -41050,7 +41661,7 @@ var Delete = class Delete extends Activity {
41050
41661
  * @throws {TypeError} If the given `json` is invalid.
41051
41662
  */
41052
41663
  static async fromJsonLd(json, options = {}) {
41053
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41664
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
41054
41665
  try {
41055
41666
  const object = await this.__fromJsonLd__Delete__(json, span, options);
41056
41667
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41152,6 +41763,19 @@ var Dislike = class Dislike extends Activity {
41152
41763
  /**
41153
41764
  * Clones this instance, optionally updating it with the given values.
41154
41765
  *
41766
+ * This is a shallow copy: property arrays are copied, but nested objects
41767
+ * and URLs are shared with this instance. Dereferencing accessors can cache
41768
+ * fetched objects in the instance whose accessor is called. Hydrating a
41769
+ * shared nested object through the clone can affect the original as well,
41770
+ * and can change JSON-LD output when either is embedded in another
41771
+ * object. Hydrating a top-level property of the clone does not update this
41772
+ * instance's property.
41773
+ *
41774
+ * To resolve properties without sharing nested objects, serialize and
41775
+ * re-parse the instance before hydration rather than using this method.
41776
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
41777
+ * for details, including how cached JSON-LD affects serialization.
41778
+ *
41155
41779
  * A clone never inherits a signed JSON-LD representation retained by
41156
41780
  * `signObject()`: the clone may differ from the document that the proof
41157
41781
  * covers, so embedding the original secured JSON in a parent document
@@ -41246,7 +41870,7 @@ var Dislike = class Dislike extends Activity {
41246
41870
  * @throws {TypeError} If the given `json` is invalid.
41247
41871
  */
41248
41872
  static async fromJsonLd(json, options = {}) {
41249
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
41873
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
41250
41874
  try {
41251
41875
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
41252
41876
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41421,6 +42045,19 @@ var Endpoints = class {
41421
42045
  /**
41422
42046
  * Clones this instance, optionally updating it with the given values.
41423
42047
  *
42048
+ * This is a shallow copy: property arrays are copied, but nested objects
42049
+ * and URLs are shared with this instance. Dereferencing accessors can cache
42050
+ * fetched objects in the instance whose accessor is called. Hydrating a
42051
+ * shared nested object through the clone can affect the original as well,
42052
+ * and can change JSON-LD output when either is embedded in another
42053
+ * object. Hydrating a top-level property of the clone does not update this
42054
+ * instance's property.
42055
+ *
42056
+ * To resolve properties without sharing nested objects, serialize and
42057
+ * re-parse the instance before hydration rather than using this method.
42058
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
42059
+ * for details, including how cached JSON-LD affects serialization.
42060
+ *
41424
42061
  * A clone never inherits a signed JSON-LD representation retained by
41425
42062
  * `signObject()`: the clone may differ from the document that the proof
41426
42063
  * covers, so embedding the original secured JSON in a parent document
@@ -41724,7 +42361,7 @@ var Endpoints = class {
41724
42361
  * @throws {TypeError} If the given `json` is invalid.
41725
42362
  */
41726
42363
  static async fromJsonLd(json, options = {}) {
41727
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
42364
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
41728
42365
  try {
41729
42366
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
41730
42367
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41951,6 +42588,19 @@ var Event = class Event extends Object$1 {
41951
42588
  /**
41952
42589
  * Clones this instance, optionally updating it with the given values.
41953
42590
  *
42591
+ * This is a shallow copy: property arrays are copied, but nested objects
42592
+ * and URLs are shared with this instance. Dereferencing accessors can cache
42593
+ * fetched objects in the instance whose accessor is called. Hydrating a
42594
+ * shared nested object through the clone can affect the original as well,
42595
+ * and can change JSON-LD output when either is embedded in another
42596
+ * object. Hydrating a top-level property of the clone does not update this
42597
+ * instance's property.
42598
+ *
42599
+ * To resolve properties without sharing nested objects, serialize and
42600
+ * re-parse the instance before hydration rather than using this method.
42601
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
42602
+ * for details, including how cached JSON-LD affects serialization.
42603
+ *
41954
42604
  * A clone never inherits a signed JSON-LD representation retained by
41955
42605
  * `signObject()`: the clone may differ from the document that the proof
41956
42606
  * covers, so embedding the original secured JSON in a parent document
@@ -42055,7 +42705,7 @@ var Event = class Event extends Object$1 {
42055
42705
  * @throws {TypeError} If the given `json` is invalid.
42056
42706
  */
42057
42707
  static async fromJsonLd(json, options = {}) {
42058
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
42708
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
42059
42709
  try {
42060
42710
  const object = await this.__fromJsonLd__Event__(json, span, options);
42061
42711
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42159,6 +42809,19 @@ var Flag = class Flag extends Activity {
42159
42809
  /**
42160
42810
  * Clones this instance, optionally updating it with the given values.
42161
42811
  *
42812
+ * This is a shallow copy: property arrays are copied, but nested objects
42813
+ * and URLs are shared with this instance. Dereferencing accessors can cache
42814
+ * fetched objects in the instance whose accessor is called. Hydrating a
42815
+ * shared nested object through the clone can affect the original as well,
42816
+ * and can change JSON-LD output when either is embedded in another
42817
+ * object. Hydrating a top-level property of the clone does not update this
42818
+ * instance's property.
42819
+ *
42820
+ * To resolve properties without sharing nested objects, serialize and
42821
+ * re-parse the instance before hydration rather than using this method.
42822
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
42823
+ * for details, including how cached JSON-LD affects serialization.
42824
+ *
42162
42825
  * A clone never inherits a signed JSON-LD representation retained by
42163
42826
  * `signObject()`: the clone may differ from the document that the proof
42164
42827
  * covers, so embedding the original secured JSON in a parent document
@@ -42249,7 +42912,7 @@ var Flag = class Flag extends Activity {
42249
42912
  * @throws {TypeError} If the given `json` is invalid.
42250
42913
  */
42251
42914
  static async fromJsonLd(json, options = {}) {
42252
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
42915
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
42253
42916
  try {
42254
42917
  const object = await this.__fromJsonLd__Flag__(json, span, options);
42255
42918
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42354,6 +43017,19 @@ var Follow = class Follow extends Activity {
42354
43017
  /**
42355
43018
  * Clones this instance, optionally updating it with the given values.
42356
43019
  *
43020
+ * This is a shallow copy: property arrays are copied, but nested objects
43021
+ * and URLs are shared with this instance. Dereferencing accessors can cache
43022
+ * fetched objects in the instance whose accessor is called. Hydrating a
43023
+ * shared nested object through the clone can affect the original as well,
43024
+ * and can change JSON-LD output when either is embedded in another
43025
+ * object. Hydrating a top-level property of the clone does not update this
43026
+ * instance's property.
43027
+ *
43028
+ * To resolve properties without sharing nested objects, serialize and
43029
+ * re-parse the instance before hydration rather than using this method.
43030
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
43031
+ * for details, including how cached JSON-LD affects serialization.
43032
+ *
42357
43033
  * A clone never inherits a signed JSON-LD representation retained by
42358
43034
  * `signObject()`: the clone may differ from the document that the proof
42359
43035
  * covers, so embedding the original secured JSON in a parent document
@@ -42447,7 +43123,7 @@ var Follow = class Follow extends Activity {
42447
43123
  * @throws {TypeError} If the given `json` is invalid.
42448
43124
  */
42449
43125
  static async fromJsonLd(json, options = {}) {
42450
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
43126
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
42451
43127
  try {
42452
43128
  const object = await this.__fromJsonLd__Follow__(json, span, options);
42453
43129
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42701,6 +43377,19 @@ var Group = class Group extends Object$1 {
42701
43377
  /**
42702
43378
  * Clones this instance, optionally updating it with the given values.
42703
43379
  *
43380
+ * This is a shallow copy: property arrays are copied, but nested objects
43381
+ * and URLs are shared with this instance. Dereferencing accessors can cache
43382
+ * fetched objects in the instance whose accessor is called. Hydrating a
43383
+ * shared nested object through the clone can affect the original as well,
43384
+ * and can change JSON-LD output when either is embedded in another
43385
+ * object. Hydrating a top-level property of the clone does not update this
43386
+ * instance's property.
43387
+ *
43388
+ * To resolve properties without sharing nested objects, serialize and
43389
+ * re-parse the instance before hydration rather than using this method.
43390
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
43391
+ * for details, including how cached JSON-LD affects serialization.
43392
+ *
42704
43393
  * A clone never inherits a signed JSON-LD representation retained by
42705
43394
  * `signObject()`: the clone may differ from the document that the proof
42706
43395
  * covers, so embedding the original secured JSON in a parent document
@@ -42898,7 +43587,7 @@ var Group = class Group extends Object$1 {
42898
43587
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42899
43588
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42900
43589
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42901
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
43590
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
42902
43591
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
42903
43592
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
42904
43593
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43196,7 +43885,7 @@ var Group = class Group extends Object$1 {
43196
43885
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43197
43886
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43198
43887
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43199
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
43888
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43200
43889
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43201
43890
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43202
43891
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43530,7 +44219,7 @@ var Group = class Group extends Object$1 {
43530
44219
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43531
44220
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43532
44221
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43533
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44222
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43534
44223
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43535
44224
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43536
44225
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43778,7 +44467,7 @@ var Group = class Group extends Object$1 {
43778
44467
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43779
44468
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43780
44469
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43781
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44470
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
43782
44471
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43783
44472
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43784
44473
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44023,7 +44712,7 @@ var Group = class Group extends Object$1 {
44023
44712
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44024
44713
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44025
44714
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44026
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44715
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44027
44716
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44028
44717
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44029
44718
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44252,7 +44941,7 @@ var Group = class Group extends Object$1 {
44252
44941
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44253
44942
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44254
44943
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44255
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
44944
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44256
44945
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44257
44946
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44258
44947
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44484,7 +45173,7 @@ var Group = class Group extends Object$1 {
44484
45173
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44485
45174
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44486
45175
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44487
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45176
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44488
45177
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44489
45178
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44490
45179
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44714,7 +45403,7 @@ var Group = class Group extends Object$1 {
44714
45403
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44715
45404
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44716
45405
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44717
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45406
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44718
45407
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44719
45408
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44720
45409
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44942,7 +45631,7 @@ var Group = class Group extends Object$1 {
44942
45631
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44943
45632
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44944
45633
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44945
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45634
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
44946
45635
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44947
45636
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44948
45637
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45170,7 +45859,7 @@ var Group = class Group extends Object$1 {
45170
45859
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45171
45860
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45172
45861
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45173
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
45862
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45174
45863
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45175
45864
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45176
45865
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45395,7 +46084,7 @@ var Group = class Group extends Object$1 {
45395
46084
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45396
46085
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45397
46086
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45398
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46087
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45399
46088
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45400
46089
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45401
46090
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45666,7 +46355,7 @@ var Group = class Group extends Object$1 {
45666
46355
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45667
46356
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45668
46357
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45669
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46358
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45670
46359
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45671
46360
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45672
46361
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45941,7 +46630,7 @@ var Group = class Group extends Object$1 {
45941
46630
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45942
46631
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45943
46632
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45944
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46633
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
45945
46634
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45946
46635
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45947
46636
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -46295,7 +46984,7 @@ var Group = class Group extends Object$1 {
46295
46984
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46296
46985
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46297
46986
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46298
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
46987
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
46299
46988
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
46300
46989
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
46301
46990
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -47292,7 +47981,7 @@ var Group = class Group extends Object$1 {
47292
47981
  * @throws {TypeError} If the given `json` is invalid.
47293
47982
  */
47294
47983
  static async fromJsonLd(json, options = {}) {
47295
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
47984
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
47296
47985
  try {
47297
47986
  const object = await this.__fromJsonLd__Group__(json, span, options);
47298
47987
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48077,6 +48766,19 @@ var Link = class Link {
48077
48766
  /**
48078
48767
  * Clones this instance, optionally updating it with the given values.
48079
48768
  *
48769
+ * This is a shallow copy: property arrays are copied, but nested objects
48770
+ * and URLs are shared with this instance. Dereferencing accessors can cache
48771
+ * fetched objects in the instance whose accessor is called. Hydrating a
48772
+ * shared nested object through the clone can affect the original as well,
48773
+ * and can change JSON-LD output when either is embedded in another
48774
+ * object. Hydrating a top-level property of the clone does not update this
48775
+ * instance's property.
48776
+ *
48777
+ * To resolve properties without sharing nested objects, serialize and
48778
+ * re-parse the instance before hydration rather than using this method.
48779
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
48780
+ * for details, including how cached JSON-LD affects serialization.
48781
+ *
48080
48782
  * A clone never inherits a signed JSON-LD representation retained by
48081
48783
  * `signObject()`: the clone may differ from the document that the proof
48082
48784
  * covers, so embedding the original secured JSON in a parent document
@@ -48231,7 +48933,7 @@ var Link = class Link {
48231
48933
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48232
48934
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48233
48935
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48234
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
48936
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
48235
48937
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48236
48938
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48237
48939
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -48706,7 +49408,7 @@ var Link = class Link {
48706
49408
  * @throws {TypeError} If the given `json` is invalid.
48707
49409
  */
48708
49410
  static async fromJsonLd(json, options = {}) {
48709
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
49411
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
48710
49412
  try {
48711
49413
  const object = await this.__fromJsonLd__Link__(json, span, options);
48712
49414
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49060,6 +49762,19 @@ var Hashtag = class Hashtag extends Link {
49060
49762
  /**
49061
49763
  * Clones this instance, optionally updating it with the given values.
49062
49764
  *
49765
+ * This is a shallow copy: property arrays are copied, but nested objects
49766
+ * and URLs are shared with this instance. Dereferencing accessors can cache
49767
+ * fetched objects in the instance whose accessor is called. Hydrating a
49768
+ * shared nested object through the clone can affect the original as well,
49769
+ * and can change JSON-LD output when either is embedded in another
49770
+ * object. Hydrating a top-level property of the clone does not update this
49771
+ * instance's property.
49772
+ *
49773
+ * To resolve properties without sharing nested objects, serialize and
49774
+ * re-parse the instance before hydration rather than using this method.
49775
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
49776
+ * for details, including how cached JSON-LD affects serialization.
49777
+ *
49063
49778
  * A clone never inherits a signed JSON-LD representation retained by
49064
49779
  * `signObject()`: the clone may differ from the document that the proof
49065
49780
  * covers, so embedding the original secured JSON in a parent document
@@ -49153,7 +49868,7 @@ var Hashtag = class Hashtag extends Link {
49153
49868
  * @throws {TypeError} If the given `json` is invalid.
49154
49869
  */
49155
49870
  static async fromJsonLd(json, options = {}) {
49156
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
49871
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49157
49872
  try {
49158
49873
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
49159
49874
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49255,6 +49970,19 @@ var Image = class Image extends Document {
49255
49970
  /**
49256
49971
  * Clones this instance, optionally updating it with the given values.
49257
49972
  *
49973
+ * This is a shallow copy: property arrays are copied, but nested objects
49974
+ * and URLs are shared with this instance. Dereferencing accessors can cache
49975
+ * fetched objects in the instance whose accessor is called. Hydrating a
49976
+ * shared nested object through the clone can affect the original as well,
49977
+ * and can change JSON-LD output when either is embedded in another
49978
+ * object. Hydrating a top-level property of the clone does not update this
49979
+ * instance's property.
49980
+ *
49981
+ * To resolve properties without sharing nested objects, serialize and
49982
+ * re-parse the instance before hydration rather than using this method.
49983
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
49984
+ * for details, including how cached JSON-LD affects serialization.
49985
+ *
49258
49986
  * A clone never inherits a signed JSON-LD representation retained by
49259
49987
  * `signObject()`: the clone may differ from the document that the proof
49260
49988
  * covers, so embedding the original secured JSON in a parent document
@@ -49361,7 +50089,7 @@ var Image = class Image extends Document {
49361
50089
  * @throws {TypeError} If the given `json` is invalid.
49362
50090
  */
49363
50091
  static async fromJsonLd(json, options = {}) {
49364
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50092
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49365
50093
  try {
49366
50094
  const object = await this.__fromJsonLd__Image__(json, span, options);
49367
50095
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49465,6 +50193,19 @@ var Offer = class Offer extends Activity {
49465
50193
  /**
49466
50194
  * Clones this instance, optionally updating it with the given values.
49467
50195
  *
50196
+ * This is a shallow copy: property arrays are copied, but nested objects
50197
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50198
+ * fetched objects in the instance whose accessor is called. Hydrating a
50199
+ * shared nested object through the clone can affect the original as well,
50200
+ * and can change JSON-LD output when either is embedded in another
50201
+ * object. Hydrating a top-level property of the clone does not update this
50202
+ * instance's property.
50203
+ *
50204
+ * To resolve properties without sharing nested objects, serialize and
50205
+ * re-parse the instance before hydration rather than using this method.
50206
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50207
+ * for details, including how cached JSON-LD affects serialization.
50208
+ *
49468
50209
  * A clone never inherits a signed JSON-LD representation retained by
49469
50210
  * `signObject()`: the clone may differ from the document that the proof
49470
50211
  * covers, so embedding the original secured JSON in a parent document
@@ -49555,7 +50296,7 @@ var Offer = class Offer extends Activity {
49555
50296
  * @throws {TypeError} If the given `json` is invalid.
49556
50297
  */
49557
50298
  static async fromJsonLd(json, options = {}) {
49558
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50299
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49559
50300
  try {
49560
50301
  const object = await this.__fromJsonLd__Offer__(json, span, options);
49561
50302
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49659,6 +50400,19 @@ var Invite = class Invite extends Offer {
49659
50400
  /**
49660
50401
  * Clones this instance, optionally updating it with the given values.
49661
50402
  *
50403
+ * This is a shallow copy: property arrays are copied, but nested objects
50404
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50405
+ * fetched objects in the instance whose accessor is called. Hydrating a
50406
+ * shared nested object through the clone can affect the original as well,
50407
+ * and can change JSON-LD output when either is embedded in another
50408
+ * object. Hydrating a top-level property of the clone does not update this
50409
+ * instance's property.
50410
+ *
50411
+ * To resolve properties without sharing nested objects, serialize and
50412
+ * re-parse the instance before hydration rather than using this method.
50413
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50414
+ * for details, including how cached JSON-LD affects serialization.
50415
+ *
49662
50416
  * A clone never inherits a signed JSON-LD representation retained by
49663
50417
  * `signObject()`: the clone may differ from the document that the proof
49664
50418
  * covers, so embedding the original secured JSON in a parent document
@@ -49749,7 +50503,7 @@ var Invite = class Invite extends Offer {
49749
50503
  * @throws {TypeError} If the given `json` is invalid.
49750
50504
  */
49751
50505
  static async fromJsonLd(json, options = {}) {
49752
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50506
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49753
50507
  try {
49754
50508
  const object = await this.__fromJsonLd__Invite__(json, span, options);
49755
50509
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49852,6 +50606,19 @@ var Join = class Join extends Activity {
49852
50606
  /**
49853
50607
  * Clones this instance, optionally updating it with the given values.
49854
50608
  *
50609
+ * This is a shallow copy: property arrays are copied, but nested objects
50610
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50611
+ * fetched objects in the instance whose accessor is called. Hydrating a
50612
+ * shared nested object through the clone can affect the original as well,
50613
+ * and can change JSON-LD output when either is embedded in another
50614
+ * object. Hydrating a top-level property of the clone does not update this
50615
+ * instance's property.
50616
+ *
50617
+ * To resolve properties without sharing nested objects, serialize and
50618
+ * re-parse the instance before hydration rather than using this method.
50619
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50620
+ * for details, including how cached JSON-LD affects serialization.
50621
+ *
49855
50622
  * A clone never inherits a signed JSON-LD representation retained by
49856
50623
  * `signObject()`: the clone may differ from the document that the proof
49857
50624
  * covers, so embedding the original secured JSON in a parent document
@@ -49942,7 +50709,7 @@ var Join = class Join extends Activity {
49942
50709
  * @throws {TypeError} If the given `json` is invalid.
49943
50710
  */
49944
50711
  static async fromJsonLd(json, options = {}) {
49945
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50712
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
49946
50713
  try {
49947
50714
  const object = await this.__fromJsonLd__Join__(json, span, options);
49948
50715
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50045,6 +50812,19 @@ var Leave = class Leave extends Activity {
50045
50812
  /**
50046
50813
  * Clones this instance, optionally updating it with the given values.
50047
50814
  *
50815
+ * This is a shallow copy: property arrays are copied, but nested objects
50816
+ * and URLs are shared with this instance. Dereferencing accessors can cache
50817
+ * fetched objects in the instance whose accessor is called. Hydrating a
50818
+ * shared nested object through the clone can affect the original as well,
50819
+ * and can change JSON-LD output when either is embedded in another
50820
+ * object. Hydrating a top-level property of the clone does not update this
50821
+ * instance's property.
50822
+ *
50823
+ * To resolve properties without sharing nested objects, serialize and
50824
+ * re-parse the instance before hydration rather than using this method.
50825
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
50826
+ * for details, including how cached JSON-LD affects serialization.
50827
+ *
50048
50828
  * A clone never inherits a signed JSON-LD representation retained by
50049
50829
  * `signObject()`: the clone may differ from the document that the proof
50050
50830
  * covers, so embedding the original secured JSON in a parent document
@@ -50135,7 +50915,7 @@ var Leave = class Leave extends Activity {
50135
50915
  * @throws {TypeError} If the given `json` is invalid.
50136
50916
  */
50137
50917
  static async fromJsonLd(json, options = {}) {
50138
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
50918
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50139
50919
  try {
50140
50920
  const object = await this.__fromJsonLd__Leave__(json, span, options);
50141
50921
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50238,6 +51018,19 @@ var Like = class Like extends Activity {
50238
51018
  /**
50239
51019
  * Clones this instance, optionally updating it with the given values.
50240
51020
  *
51021
+ * This is a shallow copy: property arrays are copied, but nested objects
51022
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51023
+ * fetched objects in the instance whose accessor is called. Hydrating a
51024
+ * shared nested object through the clone can affect the original as well,
51025
+ * and can change JSON-LD output when either is embedded in another
51026
+ * object. Hydrating a top-level property of the clone does not update this
51027
+ * instance's property.
51028
+ *
51029
+ * To resolve properties without sharing nested objects, serialize and
51030
+ * re-parse the instance before hydration rather than using this method.
51031
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51032
+ * for details, including how cached JSON-LD affects serialization.
51033
+ *
50241
51034
  * A clone never inherits a signed JSON-LD representation retained by
50242
51035
  * `signObject()`: the clone may differ from the document that the proof
50243
51036
  * covers, so embedding the original secured JSON in a parent document
@@ -50332,7 +51125,7 @@ var Like = class Like extends Activity {
50332
51125
  * @throws {TypeError} If the given `json` is invalid.
50333
51126
  */
50334
51127
  static async fromJsonLd(json, options = {}) {
50335
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51128
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50336
51129
  try {
50337
51130
  const object = await this.__fromJsonLd__Like__(json, span, options);
50338
51131
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50434,6 +51227,19 @@ var Listen = class Listen extends Activity {
50434
51227
  /**
50435
51228
  * Clones this instance, optionally updating it with the given values.
50436
51229
  *
51230
+ * This is a shallow copy: property arrays are copied, but nested objects
51231
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51232
+ * fetched objects in the instance whose accessor is called. Hydrating a
51233
+ * shared nested object through the clone can affect the original as well,
51234
+ * and can change JSON-LD output when either is embedded in another
51235
+ * object. Hydrating a top-level property of the clone does not update this
51236
+ * instance's property.
51237
+ *
51238
+ * To resolve properties without sharing nested objects, serialize and
51239
+ * re-parse the instance before hydration rather than using this method.
51240
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51241
+ * for details, including how cached JSON-LD affects serialization.
51242
+ *
50437
51243
  * A clone never inherits a signed JSON-LD representation retained by
50438
51244
  * `signObject()`: the clone may differ from the document that the proof
50439
51245
  * covers, so embedding the original secured JSON in a parent document
@@ -50524,7 +51330,7 @@ var Listen = class Listen extends Activity {
50524
51330
  * @throws {TypeError} If the given `json` is invalid.
50525
51331
  */
50526
51332
  static async fromJsonLd(json, options = {}) {
50527
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51333
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50528
51334
  try {
50529
51335
  const object = await this.__fromJsonLd__Listen__(json, span, options);
50530
51336
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50626,6 +51432,19 @@ var Mention = class Mention extends Link {
50626
51432
  /**
50627
51433
  * Clones this instance, optionally updating it with the given values.
50628
51434
  *
51435
+ * This is a shallow copy: property arrays are copied, but nested objects
51436
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51437
+ * fetched objects in the instance whose accessor is called. Hydrating a
51438
+ * shared nested object through the clone can affect the original as well,
51439
+ * and can change JSON-LD output when either is embedded in another
51440
+ * object. Hydrating a top-level property of the clone does not update this
51441
+ * instance's property.
51442
+ *
51443
+ * To resolve properties without sharing nested objects, serialize and
51444
+ * re-parse the instance before hydration rather than using this method.
51445
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51446
+ * for details, including how cached JSON-LD affects serialization.
51447
+ *
50629
51448
  * A clone never inherits a signed JSON-LD representation retained by
50630
51449
  * `signObject()`: the clone may differ from the document that the proof
50631
51450
  * covers, so embedding the original secured JSON in a parent document
@@ -50719,7 +51538,7 @@ var Mention = class Mention extends Link {
50719
51538
  * @throws {TypeError} If the given `json` is invalid.
50720
51539
  */
50721
51540
  static async fromJsonLd(json, options = {}) {
50722
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51541
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50723
51542
  try {
50724
51543
  const object = await this.__fromJsonLd__Mention__(json, span, options);
50725
51544
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50823,6 +51642,19 @@ var Move = class Move extends Activity {
50823
51642
  /**
50824
51643
  * Clones this instance, optionally updating it with the given values.
50825
51644
  *
51645
+ * This is a shallow copy: property arrays are copied, but nested objects
51646
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51647
+ * fetched objects in the instance whose accessor is called. Hydrating a
51648
+ * shared nested object through the clone can affect the original as well,
51649
+ * and can change JSON-LD output when either is embedded in another
51650
+ * object. Hydrating a top-level property of the clone does not update this
51651
+ * instance's property.
51652
+ *
51653
+ * To resolve properties without sharing nested objects, serialize and
51654
+ * re-parse the instance before hydration rather than using this method.
51655
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51656
+ * for details, including how cached JSON-LD affects serialization.
51657
+ *
50826
51658
  * A clone never inherits a signed JSON-LD representation retained by
50827
51659
  * `signObject()`: the clone may differ from the document that the proof
50828
51660
  * covers, so embedding the original secured JSON in a parent document
@@ -50913,7 +51745,7 @@ var Move = class Move extends Activity {
50913
51745
  * @throws {TypeError} If the given `json` is invalid.
50914
51746
  */
50915
51747
  static async fromJsonLd(json, options = {}) {
50916
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
51748
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
50917
51749
  try {
50918
51750
  const object = await this.__fromJsonLd__Move__(json, span, options);
50919
51751
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51031,6 +51863,19 @@ var Note = class Note extends Object$1 {
51031
51863
  /**
51032
51864
  * Clones this instance, optionally updating it with the given values.
51033
51865
  *
51866
+ * This is a shallow copy: property arrays are copied, but nested objects
51867
+ * and URLs are shared with this instance. Dereferencing accessors can cache
51868
+ * fetched objects in the instance whose accessor is called. Hydrating a
51869
+ * shared nested object through the clone can affect the original as well,
51870
+ * and can change JSON-LD output when either is embedded in another
51871
+ * object. Hydrating a top-level property of the clone does not update this
51872
+ * instance's property.
51873
+ *
51874
+ * To resolve properties without sharing nested objects, serialize and
51875
+ * re-parse the instance before hydration rather than using this method.
51876
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
51877
+ * for details, including how cached JSON-LD affects serialization.
51878
+ *
51034
51879
  * A clone never inherits a signed JSON-LD representation retained by
51035
51880
  * `signObject()`: the clone may differ from the document that the proof
51036
51881
  * covers, so embedding the original secured JSON in a parent document
@@ -51072,7 +51917,7 @@ var Note = class Note extends Object$1 {
51072
51917
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
51073
51918
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
51074
51919
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
51075
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
51920
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
51076
51921
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
51077
51922
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
51078
51923
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -51315,7 +52160,7 @@ var Note = class Note extends Object$1 {
51315
52160
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
51316
52161
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
51317
52162
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
51318
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
52163
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
51319
52164
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
51320
52165
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
51321
52166
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -51737,7 +52582,7 @@ var Note = class Note extends Object$1 {
51737
52582
  * @throws {TypeError} If the given `json` is invalid.
51738
52583
  */
51739
52584
  static async fromJsonLd(json, options = {}) {
51740
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
52585
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
51741
52586
  try {
51742
52587
  const object = await this.__fromJsonLd__Note__(json, span, options);
51743
52588
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51923,6 +52768,19 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
51923
52768
  /**
51924
52769
  * Clones this instance, optionally updating it with the given values.
51925
52770
  *
52771
+ * This is a shallow copy: property arrays are copied, but nested objects
52772
+ * and URLs are shared with this instance. Dereferencing accessors can cache
52773
+ * fetched objects in the instance whose accessor is called. Hydrating a
52774
+ * shared nested object through the clone can affect the original as well,
52775
+ * and can change JSON-LD output when either is embedded in another
52776
+ * object. Hydrating a top-level property of the clone does not update this
52777
+ * instance's property.
52778
+ *
52779
+ * To resolve properties without sharing nested objects, serialize and
52780
+ * re-parse the instance before hydration rather than using this method.
52781
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
52782
+ * for details, including how cached JSON-LD affects serialization.
52783
+ *
51926
52784
  * A clone never inherits a signed JSON-LD representation retained by
51927
52785
  * `signObject()`: the clone may differ from the document that the proof
51928
52786
  * covers, so embedding the original secured JSON in a parent document
@@ -51959,7 +52817,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
51959
52817
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
51960
52818
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
51961
52819
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
51962
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
52820
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
51963
52821
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
51964
52822
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
51965
52823
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -52388,7 +53246,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
52388
53246
  * @throws {TypeError} If the given `json` is invalid.
52389
53247
  */
52390
53248
  static async fromJsonLd(json, options = {}) {
52391
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
53249
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
52392
53250
  try {
52393
53251
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
52394
53252
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -52764,6 +53622,19 @@ var Organization = class Organization extends Object$1 {
52764
53622
  /**
52765
53623
  * Clones this instance, optionally updating it with the given values.
52766
53624
  *
53625
+ * This is a shallow copy: property arrays are copied, but nested objects
53626
+ * and URLs are shared with this instance. Dereferencing accessors can cache
53627
+ * fetched objects in the instance whose accessor is called. Hydrating a
53628
+ * shared nested object through the clone can affect the original as well,
53629
+ * and can change JSON-LD output when either is embedded in another
53630
+ * object. Hydrating a top-level property of the clone does not update this
53631
+ * instance's property.
53632
+ *
53633
+ * To resolve properties without sharing nested objects, serialize and
53634
+ * re-parse the instance before hydration rather than using this method.
53635
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
53636
+ * for details, including how cached JSON-LD affects serialization.
53637
+ *
52767
53638
  * A clone never inherits a signed JSON-LD representation retained by
52768
53639
  * `signObject()`: the clone may differ from the document that the proof
52769
53640
  * covers, so embedding the original secured JSON in a parent document
@@ -52961,7 +53832,7 @@ var Organization = class Organization extends Object$1 {
52961
53832
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
52962
53833
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
52963
53834
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
52964
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
53835
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
52965
53836
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
52966
53837
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
52967
53838
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53259,7 +54130,7 @@ var Organization = class Organization extends Object$1 {
53259
54130
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53260
54131
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53261
54132
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53262
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54133
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53263
54134
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53264
54135
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53265
54136
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53593,7 +54464,7 @@ var Organization = class Organization extends Object$1 {
53593
54464
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53594
54465
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53595
54466
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53596
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54467
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53597
54468
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53598
54469
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53599
54470
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53841,7 +54712,7 @@ var Organization = class Organization extends Object$1 {
53841
54712
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53842
54713
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53843
54714
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53844
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54715
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
53845
54716
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53846
54717
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53847
54718
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54086,7 +54957,7 @@ var Organization = class Organization extends Object$1 {
54086
54957
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54087
54958
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54088
54959
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54089
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
54960
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54090
54961
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54091
54962
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54092
54963
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54315,7 +55186,7 @@ var Organization = class Organization extends Object$1 {
54315
55186
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54316
55187
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54317
55188
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54318
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55189
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54319
55190
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54320
55191
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54321
55192
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54547,7 +55418,7 @@ var Organization = class Organization extends Object$1 {
54547
55418
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54548
55419
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54549
55420
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54550
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55421
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54551
55422
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54552
55423
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54553
55424
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54777,7 +55648,7 @@ var Organization = class Organization extends Object$1 {
54777
55648
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54778
55649
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54779
55650
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54780
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55651
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
54781
55652
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54782
55653
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54783
55654
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55005,7 +55876,7 @@ var Organization = class Organization extends Object$1 {
55005
55876
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55006
55877
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55007
55878
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55008
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
55879
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55009
55880
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55010
55881
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55011
55882
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55233,7 +56104,7 @@ var Organization = class Organization extends Object$1 {
55233
56104
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55234
56105
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55235
56106
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55236
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56107
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55237
56108
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55238
56109
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55239
56110
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55458,7 +56329,7 @@ var Organization = class Organization extends Object$1 {
55458
56329
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55459
56330
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55460
56331
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55461
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56332
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55462
56333
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55463
56334
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55464
56335
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55729,7 +56600,7 @@ var Organization = class Organization extends Object$1 {
55729
56600
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55730
56601
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55731
56602
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55732
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56603
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
55733
56604
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55734
56605
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55735
56606
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56004,7 +56875,7 @@ var Organization = class Organization extends Object$1 {
56004
56875
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
56005
56876
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
56006
56877
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
56007
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
56878
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
56008
56879
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56009
56880
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56010
56881
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56358,7 +57229,7 @@ var Organization = class Organization extends Object$1 {
56358
57229
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
56359
57230
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
56360
57231
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
56361
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
57232
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
56362
57233
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56363
57234
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56364
57235
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -57355,7 +58226,7 @@ var Organization = class Organization extends Object$1 {
57355
58226
  * @throws {TypeError} If the given `json` is invalid.
57356
58227
  */
57357
58228
  static async fromJsonLd(json, options = {}) {
57358
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
58229
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
57359
58230
  try {
57360
58231
  const object = await this.__fromJsonLd__Organization__(json, span, options);
57361
58232
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -58041,6 +58912,19 @@ var Page = class Page extends Document {
58041
58912
  /**
58042
58913
  * Clones this instance, optionally updating it with the given values.
58043
58914
  *
58915
+ * This is a shallow copy: property arrays are copied, but nested objects
58916
+ * and URLs are shared with this instance. Dereferencing accessors can cache
58917
+ * fetched objects in the instance whose accessor is called. Hydrating a
58918
+ * shared nested object through the clone can affect the original as well,
58919
+ * and can change JSON-LD output when either is embedded in another
58920
+ * object. Hydrating a top-level property of the clone does not update this
58921
+ * instance's property.
58922
+ *
58923
+ * To resolve properties without sharing nested objects, serialize and
58924
+ * re-parse the instance before hydration rather than using this method.
58925
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
58926
+ * for details, including how cached JSON-LD affects serialization.
58927
+ *
58044
58928
  * A clone never inherits a signed JSON-LD representation retained by
58045
58929
  * `signObject()`: the clone may differ from the document that the proof
58046
58930
  * covers, so embedding the original secured JSON in a parent document
@@ -58147,7 +59031,7 @@ var Page = class Page extends Document {
58147
59031
  * @throws {TypeError} If the given `json` is invalid.
58148
59032
  */
58149
59033
  static async fromJsonLd(json, options = {}) {
58150
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
59034
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
58151
59035
  try {
58152
59036
  const object = await this.__fromJsonLd__Page__(json, span, options);
58153
59037
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -58401,6 +59285,19 @@ var Person = class Person extends Object$1 {
58401
59285
  /**
58402
59286
  * Clones this instance, optionally updating it with the given values.
58403
59287
  *
59288
+ * This is a shallow copy: property arrays are copied, but nested objects
59289
+ * and URLs are shared with this instance. Dereferencing accessors can cache
59290
+ * fetched objects in the instance whose accessor is called. Hydrating a
59291
+ * shared nested object through the clone can affect the original as well,
59292
+ * and can change JSON-LD output when either is embedded in another
59293
+ * object. Hydrating a top-level property of the clone does not update this
59294
+ * instance's property.
59295
+ *
59296
+ * To resolve properties without sharing nested objects, serialize and
59297
+ * re-parse the instance before hydration rather than using this method.
59298
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
59299
+ * for details, including how cached JSON-LD affects serialization.
59300
+ *
58404
59301
  * A clone never inherits a signed JSON-LD representation retained by
58405
59302
  * `signObject()`: the clone may differ from the document that the proof
58406
59303
  * covers, so embedding the original secured JSON in a parent document
@@ -58598,7 +59495,7 @@ var Person = class Person extends Object$1 {
58598
59495
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
58599
59496
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
58600
59497
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
58601
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
59498
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
58602
59499
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58603
59500
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58604
59501
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58896,7 +59793,7 @@ var Person = class Person extends Object$1 {
58896
59793
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
58897
59794
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
58898
59795
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
58899
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
59796
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
58900
59797
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58901
59798
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58902
59799
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59230,7 +60127,7 @@ var Person = class Person extends Object$1 {
59230
60127
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59231
60128
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59232
60129
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59233
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60130
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59234
60131
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59235
60132
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59236
60133
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59478,7 +60375,7 @@ var Person = class Person extends Object$1 {
59478
60375
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59479
60376
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59480
60377
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59481
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60378
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59482
60379
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59483
60380
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59484
60381
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59723,7 +60620,7 @@ var Person = class Person extends Object$1 {
59723
60620
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59724
60621
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59725
60622
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59726
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60623
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59727
60624
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59728
60625
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59729
60626
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59952,7 +60849,7 @@ var Person = class Person extends Object$1 {
59952
60849
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59953
60850
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59954
60851
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59955
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
60852
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
59956
60853
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59957
60854
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59958
60855
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60184,7 +61081,7 @@ var Person = class Person extends Object$1 {
60184
61081
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60185
61082
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60186
61083
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60187
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61084
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60188
61085
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60189
61086
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60190
61087
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60414,7 +61311,7 @@ var Person = class Person extends Object$1 {
60414
61311
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60415
61312
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60416
61313
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60417
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61314
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60418
61315
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60419
61316
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60420
61317
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60642,7 +61539,7 @@ var Person = class Person extends Object$1 {
60642
61539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60643
61540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60644
61541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60645
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61542
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60646
61543
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60647
61544
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60648
61545
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60870,7 +61767,7 @@ var Person = class Person extends Object$1 {
60870
61767
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60871
61768
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60872
61769
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60873
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61770
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
60874
61771
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60875
61772
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60876
61773
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61095,7 +61992,7 @@ var Person = class Person extends Object$1 {
61095
61992
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61096
61993
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61097
61994
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61098
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
61995
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61099
61996
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61100
61997
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61101
61998
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61366,7 +62263,7 @@ var Person = class Person extends Object$1 {
61366
62263
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61367
62264
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61368
62265
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61369
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
62266
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61370
62267
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61371
62268
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61372
62269
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61641,7 +62538,7 @@ var Person = class Person extends Object$1 {
61641
62538
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61642
62539
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61643
62540
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61644
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
62541
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61645
62542
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61646
62543
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61647
62544
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61995,7 +62892,7 @@ var Person = class Person extends Object$1 {
61995
62892
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61996
62893
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61997
62894
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61998
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
62895
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
61999
62896
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
62000
62897
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
62001
62898
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -62992,7 +63889,7 @@ var Person = class Person extends Object$1 {
62992
63889
  * @throws {TypeError} If the given `json` is invalid.
62993
63890
  */
62994
63891
  static async fromJsonLd(json, options = {}) {
62995
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
63892
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
62996
63893
  try {
62997
63894
  const object = await this.__fromJsonLd__Person__(json, span, options);
62998
63895
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -63698,6 +64595,19 @@ var Place = class Place extends Object$1 {
63698
64595
  /**
63699
64596
  * Clones this instance, optionally updating it with the given values.
63700
64597
  *
64598
+ * This is a shallow copy: property arrays are copied, but nested objects
64599
+ * and URLs are shared with this instance. Dereferencing accessors can cache
64600
+ * fetched objects in the instance whose accessor is called. Hydrating a
64601
+ * shared nested object through the clone can affect the original as well,
64602
+ * and can change JSON-LD output when either is embedded in another
64603
+ * object. Hydrating a top-level property of the clone does not update this
64604
+ * instance's property.
64605
+ *
64606
+ * To resolve properties without sharing nested objects, serialize and
64607
+ * re-parse the instance before hydration rather than using this method.
64608
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
64609
+ * for details, including how cached JSON-LD affects serialization.
64610
+ *
63701
64611
  * A clone never inherits a signed JSON-LD representation retained by
63702
64612
  * `signObject()`: the clone may differ from the document that the proof
63703
64613
  * covers, so embedding the original secured JSON in a parent document
@@ -63989,7 +64899,7 @@ var Place = class Place extends Object$1 {
63989
64899
  * @throws {TypeError} If the given `json` is invalid.
63990
64900
  */
63991
64901
  static async fromJsonLd(json, options = {}) {
63992
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
64902
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
63993
64903
  try {
63994
64904
  const object = await this.__fromJsonLd__Place__(json, span, options);
63995
64905
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -64210,6 +65120,19 @@ var Profile = class Profile extends Object$1 {
64210
65120
  /**
64211
65121
  * Clones this instance, optionally updating it with the given values.
64212
65122
  *
65123
+ * This is a shallow copy: property arrays are copied, but nested objects
65124
+ * and URLs are shared with this instance. Dereferencing accessors can cache
65125
+ * fetched objects in the instance whose accessor is called. Hydrating a
65126
+ * shared nested object through the clone can affect the original as well,
65127
+ * and can change JSON-LD output when either is embedded in another
65128
+ * object. Hydrating a top-level property of the clone does not update this
65129
+ * instance's property.
65130
+ *
65131
+ * To resolve properties without sharing nested objects, serialize and
65132
+ * re-parse the instance before hydration rather than using this method.
65133
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
65134
+ * for details, including how cached JSON-LD affects serialization.
65135
+ *
64213
65136
  * A clone never inherits a signed JSON-LD representation retained by
64214
65137
  * `signObject()`: the clone may differ from the document that the proof
64215
65138
  * covers, so embedding the original secured JSON in a parent document
@@ -64242,7 +65165,7 @@ var Profile = class Profile extends Object$1 {
64242
65165
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
64243
65166
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
64244
65167
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
64245
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
65168
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
64246
65169
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64247
65170
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64248
65171
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64569,7 +65492,7 @@ var Profile = class Profile extends Object$1 {
64569
65492
  * @throws {TypeError} If the given `json` is invalid.
64570
65493
  */
64571
65494
  static async fromJsonLd(json, options = {}) {
64572
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
65495
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
64573
65496
  try {
64574
65497
  const object = await this.__fromJsonLd__Profile__(json, span, options);
64575
65498
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -64738,6 +65661,19 @@ var Question = class Question extends IntransitiveActivity {
64738
65661
  /**
64739
65662
  * Clones this instance, optionally updating it with the given values.
64740
65663
  *
65664
+ * This is a shallow copy: property arrays are copied, but nested objects
65665
+ * and URLs are shared with this instance. Dereferencing accessors can cache
65666
+ * fetched objects in the instance whose accessor is called. Hydrating a
65667
+ * shared nested object through the clone can affect the original as well,
65668
+ * and can change JSON-LD output when either is embedded in another
65669
+ * object. Hydrating a top-level property of the clone does not update this
65670
+ * instance's property.
65671
+ *
65672
+ * To resolve properties without sharing nested objects, serialize and
65673
+ * re-parse the instance before hydration rather than using this method.
65674
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
65675
+ * for details, including how cached JSON-LD affects serialization.
65676
+ *
64741
65677
  * A clone never inherits a signed JSON-LD representation retained by
64742
65678
  * `signObject()`: the clone may differ from the document that the proof
64743
65679
  * covers, so embedding the original secured JSON in a parent document
@@ -64799,7 +65735,7 @@ var Question = class Question extends IntransitiveActivity {
64799
65735
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
64800
65736
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
64801
65737
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
64802
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
65738
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
64803
65739
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64804
65740
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64805
65741
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65030,7 +65966,7 @@ var Question = class Question extends IntransitiveActivity {
65030
65966
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65031
65967
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65032
65968
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65033
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
65969
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
65034
65970
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65035
65971
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65036
65972
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65277,7 +66213,7 @@ var Question = class Question extends IntransitiveActivity {
65277
66213
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65278
66214
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65279
66215
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65280
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
66216
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
65281
66217
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65282
66218
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65283
66219
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65520,7 +66456,7 @@ var Question = class Question extends IntransitiveActivity {
65520
66456
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65521
66457
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65522
66458
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65523
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
66459
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
65524
66460
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65525
66461
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65526
66462
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65928,7 +66864,7 @@ var Question = class Question extends IntransitiveActivity {
65928
66864
  * @throws {TypeError} If the given `json` is invalid.
65929
66865
  */
65930
66866
  static async fromJsonLd(json, options = {}) {
65931
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
66867
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
65932
66868
  try {
65933
66869
  const object = await this.__fromJsonLd__Question__(json, span, options);
65934
66870
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -66191,6 +67127,19 @@ var Read = class Read extends Activity {
66191
67127
  /**
66192
67128
  * Clones this instance, optionally updating it with the given values.
66193
67129
  *
67130
+ * This is a shallow copy: property arrays are copied, but nested objects
67131
+ * and URLs are shared with this instance. Dereferencing accessors can cache
67132
+ * fetched objects in the instance whose accessor is called. Hydrating a
67133
+ * shared nested object through the clone can affect the original as well,
67134
+ * and can change JSON-LD output when either is embedded in another
67135
+ * object. Hydrating a top-level property of the clone does not update this
67136
+ * instance's property.
67137
+ *
67138
+ * To resolve properties without sharing nested objects, serialize and
67139
+ * re-parse the instance before hydration rather than using this method.
67140
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
67141
+ * for details, including how cached JSON-LD affects serialization.
67142
+ *
66194
67143
  * A clone never inherits a signed JSON-LD representation retained by
66195
67144
  * `signObject()`: the clone may differ from the document that the proof
66196
67145
  * covers, so embedding the original secured JSON in a parent document
@@ -66281,7 +67230,7 @@ var Read = class Read extends Activity {
66281
67230
  * @throws {TypeError} If the given `json` is invalid.
66282
67231
  */
66283
67232
  static async fromJsonLd(json, options = {}) {
66284
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
67233
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
66285
67234
  try {
66286
67235
  const object = await this.__fromJsonLd__Read__(json, span, options);
66287
67236
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -66384,6 +67333,19 @@ var Reject = class Reject extends Activity {
66384
67333
  /**
66385
67334
  * Clones this instance, optionally updating it with the given values.
66386
67335
  *
67336
+ * This is a shallow copy: property arrays are copied, but nested objects
67337
+ * and URLs are shared with this instance. Dereferencing accessors can cache
67338
+ * fetched objects in the instance whose accessor is called. Hydrating a
67339
+ * shared nested object through the clone can affect the original as well,
67340
+ * and can change JSON-LD output when either is embedded in another
67341
+ * object. Hydrating a top-level property of the clone does not update this
67342
+ * instance's property.
67343
+ *
67344
+ * To resolve properties without sharing nested objects, serialize and
67345
+ * re-parse the instance before hydration rather than using this method.
67346
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
67347
+ * for details, including how cached JSON-LD affects serialization.
67348
+ *
66387
67349
  * A clone never inherits a signed JSON-LD representation retained by
66388
67350
  * `signObject()`: the clone may differ from the document that the proof
66389
67351
  * covers, so embedding the original secured JSON in a parent document
@@ -66474,7 +67436,7 @@ var Reject = class Reject extends Activity {
66474
67436
  * @throws {TypeError} If the given `json` is invalid.
66475
67437
  */
66476
67438
  static async fromJsonLd(json, options = {}) {
66477
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
67439
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
66478
67440
  try {
66479
67441
  const object = await this.__fromJsonLd__Reject__(json, span, options);
66480
67442
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -66615,6 +67577,19 @@ var Relationship = class Relationship extends Object$1 {
66615
67577
  /**
66616
67578
  * Clones this instance, optionally updating it with the given values.
66617
67579
  *
67580
+ * This is a shallow copy: property arrays are copied, but nested objects
67581
+ * and URLs are shared with this instance. Dereferencing accessors can cache
67582
+ * fetched objects in the instance whose accessor is called. Hydrating a
67583
+ * shared nested object through the clone can affect the original as well,
67584
+ * and can change JSON-LD output when either is embedded in another
67585
+ * object. Hydrating a top-level property of the clone does not update this
67586
+ * instance's property.
67587
+ *
67588
+ * To resolve properties without sharing nested objects, serialize and
67589
+ * re-parse the instance before hydration rather than using this method.
67590
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
67591
+ * for details, including how cached JSON-LD affects serialization.
67592
+ *
66618
67593
  * A clone never inherits a signed JSON-LD representation retained by
66619
67594
  * `signObject()`: the clone may differ from the document that the proof
66620
67595
  * covers, so embedding the original secured JSON in a parent document
@@ -66675,7 +67650,7 @@ var Relationship = class Relationship extends Object$1 {
66675
67650
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
66676
67651
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
66677
67652
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
66678
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
67653
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
66679
67654
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66680
67655
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66681
67656
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66903,7 +67878,7 @@ var Relationship = class Relationship extends Object$1 {
66903
67878
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
66904
67879
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
66905
67880
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
66906
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
67881
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
66907
67882
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66908
67883
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66909
67884
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -67201,7 +68176,7 @@ var Relationship = class Relationship extends Object$1 {
67201
68176
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
67202
68177
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
67203
68178
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
67204
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
68179
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
67205
68180
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
67206
68181
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
67207
68182
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -67646,7 +68621,7 @@ var Relationship = class Relationship extends Object$1 {
67646
68621
  * @throws {TypeError} If the given `json` is invalid.
67647
68622
  */
67648
68623
  static async fromJsonLd(json, options = {}) {
67649
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
68624
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
67650
68625
  try {
67651
68626
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
67652
68627
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -67830,6 +68805,19 @@ var Remove = class Remove extends Activity {
67830
68805
  /**
67831
68806
  * Clones this instance, optionally updating it with the given values.
67832
68807
  *
68808
+ * This is a shallow copy: property arrays are copied, but nested objects
68809
+ * and URLs are shared with this instance. Dereferencing accessors can cache
68810
+ * fetched objects in the instance whose accessor is called. Hydrating a
68811
+ * shared nested object through the clone can affect the original as well,
68812
+ * and can change JSON-LD output when either is embedded in another
68813
+ * object. Hydrating a top-level property of the clone does not update this
68814
+ * instance's property.
68815
+ *
68816
+ * To resolve properties without sharing nested objects, serialize and
68817
+ * re-parse the instance before hydration rather than using this method.
68818
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
68819
+ * for details, including how cached JSON-LD affects serialization.
68820
+ *
67833
68821
  * A clone never inherits a signed JSON-LD representation retained by
67834
68822
  * `signObject()`: the clone may differ from the document that the proof
67835
68823
  * covers, so embedding the original secured JSON in a parent document
@@ -67920,7 +68908,7 @@ var Remove = class Remove extends Activity {
67920
68908
  * @throws {TypeError} If the given `json` is invalid.
67921
68909
  */
67922
68910
  static async fromJsonLd(json, options = {}) {
67923
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
68911
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
67924
68912
  try {
67925
68913
  const object = await this.__fromJsonLd__Remove__(json, span, options);
67926
68914
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -68174,6 +69162,19 @@ var Service = class Service extends Object$1 {
68174
69162
  /**
68175
69163
  * Clones this instance, optionally updating it with the given values.
68176
69164
  *
69165
+ * This is a shallow copy: property arrays are copied, but nested objects
69166
+ * and URLs are shared with this instance. Dereferencing accessors can cache
69167
+ * fetched objects in the instance whose accessor is called. Hydrating a
69168
+ * shared nested object through the clone can affect the original as well,
69169
+ * and can change JSON-LD output when either is embedded in another
69170
+ * object. Hydrating a top-level property of the clone does not update this
69171
+ * instance's property.
69172
+ *
69173
+ * To resolve properties without sharing nested objects, serialize and
69174
+ * re-parse the instance before hydration rather than using this method.
69175
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
69176
+ * for details, including how cached JSON-LD affects serialization.
69177
+ *
68177
69178
  * A clone never inherits a signed JSON-LD representation retained by
68178
69179
  * `signObject()`: the clone may differ from the document that the proof
68179
69180
  * covers, so embedding the original secured JSON in a parent document
@@ -68371,7 +69372,7 @@ var Service = class Service extends Object$1 {
68371
69372
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
68372
69373
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
68373
69374
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
68374
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
69375
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
68375
69376
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68376
69377
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68377
69378
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -68669,7 +69670,7 @@ var Service = class Service extends Object$1 {
68669
69670
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
68670
69671
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
68671
69672
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
68672
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
69673
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
68673
69674
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68674
69675
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68675
69676
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69003,7 +70004,7 @@ var Service = class Service extends Object$1 {
69003
70004
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69004
70005
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69005
70006
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69006
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70007
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69007
70008
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69008
70009
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69009
70010
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69251,7 +70252,7 @@ var Service = class Service extends Object$1 {
69251
70252
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69252
70253
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69253
70254
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69254
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70255
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69255
70256
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69256
70257
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69257
70258
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69496,7 +70497,7 @@ var Service = class Service extends Object$1 {
69496
70497
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69497
70498
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69498
70499
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69499
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70500
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69500
70501
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69501
70502
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69502
70503
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69725,7 +70726,7 @@ var Service = class Service extends Object$1 {
69725
70726
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69726
70727
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69727
70728
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69728
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70729
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69729
70730
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69730
70731
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69731
70732
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69957,7 +70958,7 @@ var Service = class Service extends Object$1 {
69957
70958
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69958
70959
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69959
70960
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69960
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
70961
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
69961
70962
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69962
70963
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69963
70964
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70187,7 +71188,7 @@ var Service = class Service extends Object$1 {
70187
71188
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70188
71189
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70189
71190
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70190
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71191
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70191
71192
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70192
71193
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70193
71194
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70415,7 +71416,7 @@ var Service = class Service extends Object$1 {
70415
71416
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70416
71417
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70417
71418
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70418
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71419
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70419
71420
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70420
71421
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70421
71422
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70643,7 +71644,7 @@ var Service = class Service extends Object$1 {
70643
71644
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70644
71645
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70645
71646
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70646
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71647
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70647
71648
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70648
71649
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70649
71650
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70868,7 +71869,7 @@ var Service = class Service extends Object$1 {
70868
71869
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70869
71870
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70870
71871
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70871
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
71872
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
70872
71873
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70873
71874
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70874
71875
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71139,7 +72140,7 @@ var Service = class Service extends Object$1 {
71139
72140
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71140
72141
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71141
72142
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71142
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
72143
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
71143
72144
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71144
72145
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71145
72146
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71414,7 +72415,7 @@ var Service = class Service extends Object$1 {
71414
72415
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71415
72416
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71416
72417
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71417
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
72418
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
71418
72419
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71419
72420
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71420
72421
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71768,7 +72769,7 @@ var Service = class Service extends Object$1 {
71768
72769
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71769
72770
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71770
72771
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71771
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.1");
72772
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.2");
71772
72773
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71773
72774
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71774
72775
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -72765,7 +73766,7 @@ var Service = class Service extends Object$1 {
72765
73766
  * @throws {TypeError} If the given `json` is invalid.
72766
73767
  */
72767
73768
  static async fromJsonLd(json, options = {}) {
72768
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
73769
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
72769
73770
  try {
72770
73771
  const object = await this.__fromJsonLd__Service__(json, span, options);
72771
73772
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -73514,6 +74515,19 @@ var Source = class {
73514
74515
  /**
73515
74516
  * Clones this instance, optionally updating it with the given values.
73516
74517
  *
74518
+ * This is a shallow copy: property arrays are copied, but nested objects
74519
+ * and URLs are shared with this instance. Dereferencing accessors can cache
74520
+ * fetched objects in the instance whose accessor is called. Hydrating a
74521
+ * shared nested object through the clone can affect the original as well,
74522
+ * and can change JSON-LD output when either is embedded in another
74523
+ * object. Hydrating a top-level property of the clone does not update this
74524
+ * instance's property.
74525
+ *
74526
+ * To resolve properties without sharing nested objects, serialize and
74527
+ * re-parse the instance before hydration rather than using this method.
74528
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
74529
+ * for details, including how cached JSON-LD affects serialization.
74530
+ *
73517
74531
  * A clone never inherits a signed JSON-LD representation retained by
73518
74532
  * `signObject()`: the clone may differ from the document that the proof
73519
74533
  * covers, so embedding the original secured JSON in a parent document
@@ -73671,7 +74685,7 @@ var Source = class {
73671
74685
  * @throws {TypeError} If the given `json` is invalid.
73672
74686
  */
73673
74687
  static async fromJsonLd(json, options = {}) {
73674
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
74688
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
73675
74689
  try {
73676
74690
  const object = await this.__fromJsonLd__Source__(json, span, options);
73677
74691
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -73810,6 +74824,19 @@ var TentativeAccept = class TentativeAccept extends Accept {
73810
74824
  /**
73811
74825
  * Clones this instance, optionally updating it with the given values.
73812
74826
  *
74827
+ * This is a shallow copy: property arrays are copied, but nested objects
74828
+ * and URLs are shared with this instance. Dereferencing accessors can cache
74829
+ * fetched objects in the instance whose accessor is called. Hydrating a
74830
+ * shared nested object through the clone can affect the original as well,
74831
+ * and can change JSON-LD output when either is embedded in another
74832
+ * object. Hydrating a top-level property of the clone does not update this
74833
+ * instance's property.
74834
+ *
74835
+ * To resolve properties without sharing nested objects, serialize and
74836
+ * re-parse the instance before hydration rather than using this method.
74837
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
74838
+ * for details, including how cached JSON-LD affects serialization.
74839
+ *
73813
74840
  * A clone never inherits a signed JSON-LD representation retained by
73814
74841
  * `signObject()`: the clone may differ from the document that the proof
73815
74842
  * covers, so embedding the original secured JSON in a parent document
@@ -73900,7 +74927,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
73900
74927
  * @throws {TypeError} If the given `json` is invalid.
73901
74928
  */
73902
74929
  static async fromJsonLd(json, options = {}) {
73903
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
74930
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
73904
74931
  try {
73905
74932
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
73906
74933
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74003,6 +75030,19 @@ var TentativeReject = class TentativeReject extends Reject {
74003
75030
  /**
74004
75031
  * Clones this instance, optionally updating it with the given values.
74005
75032
  *
75033
+ * This is a shallow copy: property arrays are copied, but nested objects
75034
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75035
+ * fetched objects in the instance whose accessor is called. Hydrating a
75036
+ * shared nested object through the clone can affect the original as well,
75037
+ * and can change JSON-LD output when either is embedded in another
75038
+ * object. Hydrating a top-level property of the clone does not update this
75039
+ * instance's property.
75040
+ *
75041
+ * To resolve properties without sharing nested objects, serialize and
75042
+ * re-parse the instance before hydration rather than using this method.
75043
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75044
+ * for details, including how cached JSON-LD affects serialization.
75045
+ *
74006
75046
  * A clone never inherits a signed JSON-LD representation retained by
74007
75047
  * `signObject()`: the clone may differ from the document that the proof
74008
75048
  * covers, so embedding the original secured JSON in a parent document
@@ -74093,7 +75133,7 @@ var TentativeReject = class TentativeReject extends Reject {
74093
75133
  * @throws {TypeError} If the given `json` is invalid.
74094
75134
  */
74095
75135
  static async fromJsonLd(json, options = {}) {
74096
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75136
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74097
75137
  try {
74098
75138
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
74099
75139
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74208,6 +75248,19 @@ var Tombstone = class Tombstone extends Object$1 {
74208
75248
  /**
74209
75249
  * Clones this instance, optionally updating it with the given values.
74210
75250
  *
75251
+ * This is a shallow copy: property arrays are copied, but nested objects
75252
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75253
+ * fetched objects in the instance whose accessor is called. Hydrating a
75254
+ * shared nested object through the clone can affect the original as well,
75255
+ * and can change JSON-LD output when either is embedded in another
75256
+ * object. Hydrating a top-level property of the clone does not update this
75257
+ * instance's property.
75258
+ *
75259
+ * To resolve properties without sharing nested objects, serialize and
75260
+ * re-parse the instance before hydration rather than using this method.
75261
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75262
+ * for details, including how cached JSON-LD affects serialization.
75263
+ *
74211
75264
  * A clone never inherits a signed JSON-LD representation retained by
74212
75265
  * `signObject()`: the clone may differ from the document that the proof
74213
75266
  * covers, so embedding the original secured JSON in a parent document
@@ -74385,7 +75438,7 @@ var Tombstone = class Tombstone extends Object$1 {
74385
75438
  * @throws {TypeError} If the given `json` is invalid.
74386
75439
  */
74387
75440
  static async fromJsonLd(json, options = {}) {
74388
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75441
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74389
75442
  try {
74390
75443
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
74391
75444
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74533,6 +75586,19 @@ var Travel = class Travel extends IntransitiveActivity {
74533
75586
  /**
74534
75587
  * Clones this instance, optionally updating it with the given values.
74535
75588
  *
75589
+ * This is a shallow copy: property arrays are copied, but nested objects
75590
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75591
+ * fetched objects in the instance whose accessor is called. Hydrating a
75592
+ * shared nested object through the clone can affect the original as well,
75593
+ * and can change JSON-LD output when either is embedded in another
75594
+ * object. Hydrating a top-level property of the clone does not update this
75595
+ * instance's property.
75596
+ *
75597
+ * To resolve properties without sharing nested objects, serialize and
75598
+ * re-parse the instance before hydration rather than using this method.
75599
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75600
+ * for details, including how cached JSON-LD affects serialization.
75601
+ *
74536
75602
  * A clone never inherits a signed JSON-LD representation retained by
74537
75603
  * `signObject()`: the clone may differ from the document that the proof
74538
75604
  * covers, so embedding the original secured JSON in a parent document
@@ -74623,7 +75689,7 @@ var Travel = class Travel extends IntransitiveActivity {
74623
75689
  * @throws {TypeError} If the given `json` is invalid.
74624
75690
  */
74625
75691
  static async fromJsonLd(json, options = {}) {
74626
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75692
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74627
75693
  try {
74628
75694
  const object = await this.__fromJsonLd__Travel__(json, span, options);
74629
75695
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74731,6 +75797,19 @@ var Undo = class Undo extends Activity {
74731
75797
  /**
74732
75798
  * Clones this instance, optionally updating it with the given values.
74733
75799
  *
75800
+ * This is a shallow copy: property arrays are copied, but nested objects
75801
+ * and URLs are shared with this instance. Dereferencing accessors can cache
75802
+ * fetched objects in the instance whose accessor is called. Hydrating a
75803
+ * shared nested object through the clone can affect the original as well,
75804
+ * and can change JSON-LD output when either is embedded in another
75805
+ * object. Hydrating a top-level property of the clone does not update this
75806
+ * instance's property.
75807
+ *
75808
+ * To resolve properties without sharing nested objects, serialize and
75809
+ * re-parse the instance before hydration rather than using this method.
75810
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
75811
+ * for details, including how cached JSON-LD affects serialization.
75812
+ *
74734
75813
  * A clone never inherits a signed JSON-LD representation retained by
74735
75814
  * `signObject()`: the clone may differ from the document that the proof
74736
75815
  * covers, so embedding the original secured JSON in a parent document
@@ -74830,7 +75909,7 @@ var Undo = class Undo extends Activity {
74830
75909
  * @throws {TypeError} If the given `json` is invalid.
74831
75910
  */
74832
75911
  static async fromJsonLd(json, options = {}) {
74833
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
75912
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
74834
75913
  try {
74835
75914
  const object = await this.__fromJsonLd__Undo__(json, span, options);
74836
75915
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74936,6 +76015,19 @@ var Update = class Update extends Activity {
74936
76015
  /**
74937
76016
  * Clones this instance, optionally updating it with the given values.
74938
76017
  *
76018
+ * This is a shallow copy: property arrays are copied, but nested objects
76019
+ * and URLs are shared with this instance. Dereferencing accessors can cache
76020
+ * fetched objects in the instance whose accessor is called. Hydrating a
76021
+ * shared nested object through the clone can affect the original as well,
76022
+ * and can change JSON-LD output when either is embedded in another
76023
+ * object. Hydrating a top-level property of the clone does not update this
76024
+ * instance's property.
76025
+ *
76026
+ * To resolve properties without sharing nested objects, serialize and
76027
+ * re-parse the instance before hydration rather than using this method.
76028
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
76029
+ * for details, including how cached JSON-LD affects serialization.
76030
+ *
74939
76031
  * A clone never inherits a signed JSON-LD representation retained by
74940
76032
  * `signObject()`: the clone may differ from the document that the proof
74941
76033
  * covers, so embedding the original secured JSON in a parent document
@@ -75085,7 +76177,7 @@ var Update = class Update extends Activity {
75085
76177
  * @throws {TypeError} If the given `json` is invalid.
75086
76178
  */
75087
76179
  static async fromJsonLd(json, options = {}) {
75088
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
76180
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
75089
76181
  try {
75090
76182
  const object = await this.__fromJsonLd__Update__(json, span, options);
75091
76183
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75187,6 +76279,19 @@ var Video = class Video extends Document {
75187
76279
  /**
75188
76280
  * Clones this instance, optionally updating it with the given values.
75189
76281
  *
76282
+ * This is a shallow copy: property arrays are copied, but nested objects
76283
+ * and URLs are shared with this instance. Dereferencing accessors can cache
76284
+ * fetched objects in the instance whose accessor is called. Hydrating a
76285
+ * shared nested object through the clone can affect the original as well,
76286
+ * and can change JSON-LD output when either is embedded in another
76287
+ * object. Hydrating a top-level property of the clone does not update this
76288
+ * instance's property.
76289
+ *
76290
+ * To resolve properties without sharing nested objects, serialize and
76291
+ * re-parse the instance before hydration rather than using this method.
76292
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
76293
+ * for details, including how cached JSON-LD affects serialization.
76294
+ *
75190
76295
  * A clone never inherits a signed JSON-LD representation retained by
75191
76296
  * `signObject()`: the clone may differ from the document that the proof
75192
76297
  * covers, so embedding the original secured JSON in a parent document
@@ -75293,7 +76398,7 @@ var Video = class Video extends Document {
75293
76398
  * @throws {TypeError} If the given `json` is invalid.
75294
76399
  */
75295
76400
  static async fromJsonLd(json, options = {}) {
75296
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
76401
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
75297
76402
  try {
75298
76403
  const object = await this.__fromJsonLd__Video__(json, span, options);
75299
76404
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75395,6 +76500,19 @@ var View = class View extends Activity {
75395
76500
  /**
75396
76501
  * Clones this instance, optionally updating it with the given values.
75397
76502
  *
76503
+ * This is a shallow copy: property arrays are copied, but nested objects
76504
+ * and URLs are shared with this instance. Dereferencing accessors can cache
76505
+ * fetched objects in the instance whose accessor is called. Hydrating a
76506
+ * shared nested object through the clone can affect the original as well,
76507
+ * and can change JSON-LD output when either is embedded in another
76508
+ * object. Hydrating a top-level property of the clone does not update this
76509
+ * instance's property.
76510
+ *
76511
+ * To resolve properties without sharing nested objects, serialize and
76512
+ * re-parse the instance before hydration rather than using this method.
76513
+ * See the [vocabulary manual](https://fedify.dev/manual/vocab#immutability)
76514
+ * for details, including how cached JSON-LD affects serialization.
76515
+ *
75398
76516
  * A clone never inherits a signed JSON-LD representation retained by
75399
76517
  * `signObject()`: the clone may differ from the document that the proof
75400
76518
  * covers, so embedding the original secured JSON in a parent document
@@ -75485,7 +76603,7 @@ var View = class View extends Activity {
75485
76603
  * @throws {TypeError} If the given `json` is invalid.
75486
76604
  */
75487
76605
  static async fromJsonLd(json, options = {}) {
75488
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.1").startActiveSpan("activitypub.parse_object", async (span) => {
76606
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.2").startActiveSpan("activitypub.parse_object", async (span) => {
75489
76607
  try {
75490
76608
  const object = await this.__fromJsonLd__View__(json, span, options);
75491
76609
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);