@fedify/vocab 2.4.5-dev.2462 → 2.4.6-dev.2628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +313 -236
- package/dist/mod.d.cts +75 -0
- package/dist/mod.d.ts +75 -0
- package/dist/mod.js +313 -236
- package/dist-tests/{actor-C2nY5FCY.mjs → actor-CaotND6T.mjs} +6 -4
- package/dist-tests/actor.test.mjs +4 -3
- package/dist-tests/{esm-B55wgjAT.mjs → esm-BIqRhjGA.mjs} +1 -1
- package/dist-tests/gateway.test.mjs +4 -4
- package/dist-tests/{lookup-CeKwbSpe.mjs → lookup-40-elRAk.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +35 -15
- package/dist-tests/portable-lookup.test.mjs +52 -13
- package/dist-tests/rolldown-runtime-BWJg4WE8.mjs +37 -0
- package/dist-tests/signed-representation.test.mjs +1 -1
- package/dist-tests/translation.test.mjs +3 -3
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/undici-D88PC0XH.mjs +22898 -0
- package/dist-tests/{vocab-mc4pgfni.mjs → vocab-CpIylZ3o.mjs} +310 -267
- package/dist-tests/vocab.test.mjs +6064 -8
- package/package.json +5 -5
- package/src/actor.ts +4 -0
- package/src/gateway.test.ts +1 -1
- package/src/lookup.test.ts +37 -11
- package/src/portable-lookup.test.ts +72 -7
- package/src/vocab.test.ts +40 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
|
-
import "
|
|
3
|
+
import { n as __exportAll } from "./rolldown-runtime-BWJg4WE8.mjs";
|
|
4
4
|
import { LanguageString, decodeMultibase, encodeMultibase, exportMultibaseKey, exportSpki, formatIri, getDocumentLoader, importMultibaseKey, importPem, isDecimal, isGatewayUrl, normalizeLanguageTag, parseDecimal, parseGatewayUrl, parseIri, parseJsonLdId } from "@fedify/vocab-runtime";
|
|
5
5
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
6
6
|
import jsonld from "@fedify/vocab-runtime/jsonld";
|
|
@@ -9,38 +9,6 @@ import { compactJsonLdCache, createScopedContextLoader, getPortableActorGateways
|
|
|
9
9
|
import { copyPortableProvenance, createSnapshotContextLoader, dereferencePortableIri, getPortableResponseClaim, getReferrerGateways, isPortableIri, isPortableMode, isUnsecuredPortableObject, isUnverifiedPortableClaim, markUnverifiedPortableClaim, mustDereferencePortableObject, parseCompatibleEf61Reference, recordPortableReferrer, rejectMalformedCompatibleReference, warnUnverifiableEmbeddedObject } from "@fedify/vocab-runtime/internal/portable-dereference";
|
|
10
10
|
import { enterSignedValueScope, resolveSignedValues, retainedSignedValueRef } from "@fedify/vocab-runtime/internal/signed-representation";
|
|
11
11
|
import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/temporal";
|
|
12
|
-
//#region \0rolldown/runtime.js
|
|
13
|
-
var __create = Object.create;
|
|
14
|
-
var __defProp = Object.defineProperty;
|
|
15
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
16
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
17
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
18
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
19
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
20
|
-
var __exportAll = (all, no_symbols) => {
|
|
21
|
-
let target = {};
|
|
22
|
-
for (var name in all) __defProp(target, name, {
|
|
23
|
-
get: all[name],
|
|
24
|
-
enumerable: true
|
|
25
|
-
});
|
|
26
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
27
|
-
return target;
|
|
28
|
-
};
|
|
29
|
-
var __copyProps = (to, from, except, desc) => {
|
|
30
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
31
|
-
key = keys[i];
|
|
32
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
33
|
-
get: ((k) => from[k]).bind(null, key),
|
|
34
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
return to;
|
|
38
|
-
};
|
|
39
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
40
|
-
value: mod,
|
|
41
|
-
enumerable: true
|
|
42
|
-
}) : target, mod));
|
|
43
|
-
//#endregion
|
|
44
12
|
//#region src/preprocessors.ts
|
|
45
13
|
/**
|
|
46
14
|
* A property preprocessor that normalizes Link values to Image objects.
|
|
@@ -439,6 +407,11 @@ var Object$1 = class Object$1 {
|
|
|
439
407
|
get _warning() {
|
|
440
408
|
return this.#warning;
|
|
441
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
412
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
413
|
+
* accessor name and its getter/setter semantics stable.
|
|
414
|
+
*/
|
|
442
415
|
get _cachedJsonLd() {
|
|
443
416
|
return this.#cachedJsonLd;
|
|
444
417
|
}
|
|
@@ -1114,7 +1087,7 @@ var Object$1 = class Object$1 {
|
|
|
1114
1087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1115
1088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1116
1089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1117
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
1090
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
1118
1091
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1119
1092
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1120
1093
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1371,7 +1344,7 @@ var Object$1 = class Object$1 {
|
|
|
1371
1344
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1372
1345
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1373
1346
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1374
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
1347
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
1375
1348
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1376
1349
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1377
1350
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1723,7 +1696,7 @@ var Object$1 = class Object$1 {
|
|
|
1723
1696
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1724
1697
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1725
1698
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1726
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
1699
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
1727
1700
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1728
1701
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1729
1702
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2043,7 +2016,7 @@ var Object$1 = class Object$1 {
|
|
|
2043
2016
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2044
2017
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2045
2018
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2046
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
2019
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
2047
2020
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2048
2021
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2049
2022
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2315,7 +2288,7 @@ var Object$1 = class Object$1 {
|
|
|
2315
2288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2316
2289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2317
2290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2318
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
2291
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
2319
2292
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2320
2293
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2321
2294
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2555,7 +2528,7 @@ var Object$1 = class Object$1 {
|
|
|
2555
2528
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2556
2529
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2557
2530
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2558
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
2531
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
2559
2532
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2560
2533
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2561
2534
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2874,7 +2847,7 @@ var Object$1 = class Object$1 {
|
|
|
2874
2847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2875
2848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2876
2849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2877
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
2850
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
2878
2851
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2879
2852
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2880
2853
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3193,7 +3166,7 @@ var Object$1 = class Object$1 {
|
|
|
3193
3166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3194
3167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3195
3168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3196
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
3169
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
3197
3170
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3198
3171
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3199
3172
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3504,7 +3477,7 @@ var Object$1 = class Object$1 {
|
|
|
3504
3477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3505
3478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3506
3479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3507
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
3480
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
3508
3481
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3509
3482
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3510
3483
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3815,7 +3788,7 @@ var Object$1 = class Object$1 {
|
|
|
3815
3788
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3816
3789
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3817
3790
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3818
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
3791
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
3819
3792
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3820
3793
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3821
3794
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4131,7 +4104,7 @@ var Object$1 = class Object$1 {
|
|
|
4131
4104
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4132
4105
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4133
4106
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4134
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
4107
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
4135
4108
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4136
4109
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4137
4110
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4357,7 +4330,7 @@ var Object$1 = class Object$1 {
|
|
|
4357
4330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4358
4331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4359
4332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4360
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
4333
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
4361
4334
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4362
4335
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4363
4336
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4589,7 +4562,7 @@ var Object$1 = class Object$1 {
|
|
|
4589
4562
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4590
4563
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4591
4564
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4592
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
4565
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
4593
4566
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4594
4567
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4595
4568
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4821,7 +4794,7 @@ var Object$1 = class Object$1 {
|
|
|
4821
4794
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4822
4795
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4823
4796
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4824
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
4797
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
4825
4798
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4826
4799
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4827
4800
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5071,7 +5044,7 @@ var Object$1 = class Object$1 {
|
|
|
5071
5044
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5072
5045
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5073
5046
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5074
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
5047
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
5075
5048
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5076
5049
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5077
5050
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5333,7 +5306,7 @@ var Object$1 = class Object$1 {
|
|
|
5333
5306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5334
5307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5335
5308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5336
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
5309
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
5337
5310
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5338
5311
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5339
5312
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5633,7 +5606,7 @@ var Object$1 = class Object$1 {
|
|
|
5633
5606
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5634
5607
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5635
5608
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5636
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
5609
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
5637
5610
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5638
5611
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5639
5612
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5933,7 +5906,7 @@ var Object$1 = class Object$1 {
|
|
|
5933
5906
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5934
5907
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5935
5908
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5936
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
5909
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
5937
5910
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5938
5911
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5939
5912
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6233,7 +6206,7 @@ var Object$1 = class Object$1 {
|
|
|
6233
6206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6234
6207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6235
6208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6236
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
6209
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
6237
6210
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6238
6211
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6239
6212
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6570,7 +6543,7 @@ var Object$1 = class Object$1 {
|
|
|
6570
6543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6571
6544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6572
6545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6573
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
6546
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
6574
6547
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6575
6548
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6576
6549
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6893,7 +6866,7 @@ var Object$1 = class Object$1 {
|
|
|
6893
6866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6894
6867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6895
6868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6896
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
6869
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
6897
6870
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6898
6871
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6899
6872
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7119,7 +7092,7 @@ var Object$1 = class Object$1 {
|
|
|
7119
7092
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7120
7093
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7121
7094
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7122
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
7095
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
7123
7096
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7124
7097
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7125
7098
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7345,7 +7318,7 @@ var Object$1 = class Object$1 {
|
|
|
7345
7318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7346
7319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7347
7320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7348
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
7321
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
7349
7322
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7350
7323
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7351
7324
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8510,7 +8483,7 @@ var Object$1 = class Object$1 {
|
|
|
8510
8483
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8511
8484
|
*/
|
|
8512
8485
|
static async fromJsonLd(json, options = {}) {
|
|
8513
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
8486
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8514
8487
|
try {
|
|
8515
8488
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
8516
8489
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10284,7 +10257,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
10284
10257
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10285
10258
|
*/
|
|
10286
10259
|
static async fromJsonLd(json, options = {}) {
|
|
10287
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
10260
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10288
10261
|
try {
|
|
10289
10262
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
10290
10263
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10459,7 +10432,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10459
10432
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10460
10433
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10461
10434
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10462
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
10435
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
10463
10436
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10464
10437
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10465
10438
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10702,7 +10675,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10702
10675
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10703
10676
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10704
10677
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10705
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
10678
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
10706
10679
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10707
10680
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10708
10681
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11122,7 +11095,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11122
11095
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11123
11096
|
*/
|
|
11124
11097
|
static async fromJsonLd(json, options = {}) {
|
|
11125
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
11098
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11126
11099
|
try {
|
|
11127
11100
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
11128
11101
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11502,7 +11475,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11502
11475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11503
11476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11504
11477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11505
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
11478
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
11506
11479
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11507
11480
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11508
11481
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11854,7 +11827,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11854
11827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11855
11828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11856
11829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11857
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
11830
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
11858
11831
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11859
11832
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11860
11833
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12156,7 +12129,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12156
12129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12157
12130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12158
12131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12159
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
12132
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
12160
12133
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12161
12134
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12162
12135
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12464,7 +12437,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12464
12437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12465
12438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12466
12439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12467
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
12440
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
12468
12441
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12469
12442
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12470
12443
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12766,7 +12739,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12766
12739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12767
12740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12768
12741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12769
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
12742
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
12770
12743
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12771
12744
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12772
12745
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -13070,7 +13043,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
13070
13043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13071
13044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13072
13045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13073
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
13046
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
13074
13047
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
13075
13048
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13076
13049
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -13503,7 +13476,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
13503
13476
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13504
13477
|
*/
|
|
13505
13478
|
static async fromJsonLd(json, options = {}) {
|
|
13506
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
13479
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13507
13480
|
try {
|
|
13508
13481
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
13509
13482
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13924,7 +13897,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13924
13897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13925
13898
|
*/
|
|
13926
13899
|
static async fromJsonLd(json, options = {}) {
|
|
13927
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
13900
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13928
13901
|
try {
|
|
13929
13902
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
13930
13903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14033,6 +14006,11 @@ var PropertyValue = class {
|
|
|
14033
14006
|
get _warning() {
|
|
14034
14007
|
return this.#warning;
|
|
14035
14008
|
}
|
|
14009
|
+
/**
|
|
14010
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
14011
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
14012
|
+
* accessor name and its getter/setter semantics stable.
|
|
14013
|
+
*/
|
|
14036
14014
|
get _cachedJsonLd() {
|
|
14037
14015
|
return this.#cachedJsonLd;
|
|
14038
14016
|
}
|
|
@@ -14261,7 +14239,7 @@ var PropertyValue = class {
|
|
|
14261
14239
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14262
14240
|
*/
|
|
14263
14241
|
static async fromJsonLd(json, options = {}) {
|
|
14264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
14242
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14265
14243
|
try {
|
|
14266
14244
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
14267
14245
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14405,6 +14383,11 @@ var Measure = class {
|
|
|
14405
14383
|
get _warning() {
|
|
14406
14384
|
return this.#warning;
|
|
14407
14385
|
}
|
|
14386
|
+
/**
|
|
14387
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
14388
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
14389
|
+
* accessor name and its getter/setter semantics stable.
|
|
14390
|
+
*/
|
|
14408
14391
|
get _cachedJsonLd() {
|
|
14409
14392
|
return this.#cachedJsonLd;
|
|
14410
14393
|
}
|
|
@@ -14624,7 +14607,7 @@ var Measure = class {
|
|
|
14624
14607
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14625
14608
|
*/
|
|
14626
14609
|
static async fromJsonLd(json, options = {}) {
|
|
14627
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
14610
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14628
14611
|
try {
|
|
14629
14612
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
14630
14613
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14832,7 +14815,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
14832
14815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14833
14816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14834
14817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14835
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
14818
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
14836
14819
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14837
14820
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14838
14821
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15058,7 +15041,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
15058
15041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15059
15042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15060
15043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15061
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
15044
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
15062
15045
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
15063
15046
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15064
15047
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15405,7 +15388,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
15405
15388
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15406
15389
|
*/
|
|
15407
15390
|
static async fromJsonLd(json, options = {}) {
|
|
15408
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
15391
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15409
15392
|
try {
|
|
15410
15393
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
15411
15394
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15673,7 +15656,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
15673
15656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15674
15657
|
*/
|
|
15675
15658
|
static async fromJsonLd(json, options = {}) {
|
|
15676
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
15659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15677
15660
|
try {
|
|
15678
15661
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
15679
15662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15788,6 +15771,11 @@ var InteractionPolicy = class {
|
|
|
15788
15771
|
get _warning() {
|
|
15789
15772
|
return this.#warning;
|
|
15790
15773
|
}
|
|
15774
|
+
/**
|
|
15775
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
15776
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
15777
|
+
* accessor name and its getter/setter semantics stable.
|
|
15778
|
+
*/
|
|
15791
15779
|
get _cachedJsonLd() {
|
|
15792
15780
|
return this.#cachedJsonLd;
|
|
15793
15781
|
}
|
|
@@ -16066,7 +16054,7 @@ var InteractionPolicy = class {
|
|
|
16066
16054
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16067
16055
|
*/
|
|
16068
16056
|
static async fromJsonLd(json, options = {}) {
|
|
16069
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
16057
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16070
16058
|
try {
|
|
16071
16059
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
16072
16060
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16296,6 +16284,11 @@ var InteractionRule = class {
|
|
|
16296
16284
|
get _warning() {
|
|
16297
16285
|
return this.#warning;
|
|
16298
16286
|
}
|
|
16287
|
+
/**
|
|
16288
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
16289
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
16290
|
+
* accessor name and its getter/setter semantics stable.
|
|
16291
|
+
*/
|
|
16299
16292
|
get _cachedJsonLd() {
|
|
16300
16293
|
return this.#cachedJsonLd;
|
|
16301
16294
|
}
|
|
@@ -16518,7 +16511,7 @@ var InteractionRule = class {
|
|
|
16518
16511
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16519
16512
|
*/
|
|
16520
16513
|
static async fromJsonLd(json, options = {}) {
|
|
16521
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
16514
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16522
16515
|
try {
|
|
16523
16516
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
16524
16517
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16727,7 +16720,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
16727
16720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16728
16721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16729
16722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16730
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
16723
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
16731
16724
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16732
16725
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16733
16726
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -16953,7 +16946,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
16953
16946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16954
16947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16955
16948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16956
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
16949
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
16957
16950
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16958
16951
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16959
16952
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -17300,7 +17293,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
17300
17293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17301
17294
|
*/
|
|
17302
17295
|
static async fromJsonLd(json, options = {}) {
|
|
17303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
17296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17304
17297
|
try {
|
|
17305
17298
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
17306
17299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17567,7 +17560,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
17567
17560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17568
17561
|
*/
|
|
17569
17562
|
static async fromJsonLd(json, options = {}) {
|
|
17570
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
17563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17571
17564
|
try {
|
|
17572
17565
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
17573
17566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17739,7 +17732,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
17739
17732
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17740
17733
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17741
17734
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17742
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
17735
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
17743
17736
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
17744
17737
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17745
17738
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -17965,7 +17958,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
17965
17958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17966
17959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17967
17960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17968
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
17961
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
17969
17962
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
17970
17963
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17971
17964
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18312,7 +18305,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
18312
18305
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18313
18306
|
*/
|
|
18314
18307
|
static async fromJsonLd(json, options = {}) {
|
|
18315
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
18308
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18316
18309
|
try {
|
|
18317
18310
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
18318
18311
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18579,7 +18572,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
18579
18572
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18580
18573
|
*/
|
|
18581
18574
|
static async fromJsonLd(json, options = {}) {
|
|
18582
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
18575
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18583
18576
|
try {
|
|
18584
18577
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
18585
18578
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18751,7 +18744,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18751
18744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18752
18745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18753
18746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18754
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
18747
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
18755
18748
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18756
18749
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18757
18750
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18976,7 +18969,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18976
18969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18977
18970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18978
18971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18979
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
18972
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
18980
18973
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18981
18974
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18982
18975
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -19325,7 +19318,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
19325
19318
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19326
19319
|
*/
|
|
19327
19320
|
static async fromJsonLd(json, options = {}) {
|
|
19328
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
19321
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19329
19322
|
try {
|
|
19330
19323
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
19331
19324
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19622,7 +19615,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
19622
19615
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19623
19616
|
*/
|
|
19624
19617
|
static async fromJsonLd(json, options = {}) {
|
|
19625
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
19618
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19626
19619
|
try {
|
|
19627
19620
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
19628
19621
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19737,6 +19730,11 @@ var Translation = class {
|
|
|
19737
19730
|
get _warning() {
|
|
19738
19731
|
return this.#warning;
|
|
19739
19732
|
}
|
|
19733
|
+
/**
|
|
19734
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
19735
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
19736
|
+
* accessor name and its getter/setter semantics stable.
|
|
19737
|
+
*/
|
|
19740
19738
|
get _cachedJsonLd() {
|
|
19741
19739
|
return this.#cachedJsonLd;
|
|
19742
19740
|
}
|
|
@@ -19897,7 +19895,7 @@ var Translation = class {
|
|
|
19897
19895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19898
19896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19899
19897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19900
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
19898
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
19901
19899
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
19902
19900
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19903
19901
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20486,7 +20484,7 @@ var Translation = class {
|
|
|
20486
20484
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20487
20485
|
*/
|
|
20488
20486
|
static async fromJsonLd(json, options = {}) {
|
|
20489
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
20487
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20490
20488
|
try {
|
|
20491
20489
|
const object = await this.__fromJsonLd__Translation__(json, span, options);
|
|
20492
20490
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20790,7 +20788,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
20790
20788
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20791
20789
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20792
20790
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20793
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
20791
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
20794
20792
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20795
20793
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20796
20794
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21015,7 +21013,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
21015
21013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21016
21014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21017
21015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21018
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
21016
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
21019
21017
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21020
21018
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21021
21019
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21364,7 +21362,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
21364
21362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21365
21363
|
*/
|
|
21366
21364
|
static async fromJsonLd(json, options = {}) {
|
|
21367
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
21365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21368
21366
|
try {
|
|
21369
21367
|
const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
|
|
21370
21368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21629,7 +21627,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
|
|
|
21629
21627
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21630
21628
|
*/
|
|
21631
21629
|
static async fromJsonLd(json, options = {}) {
|
|
21632
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
21630
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21633
21631
|
try {
|
|
21634
21632
|
const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
|
|
21635
21633
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21934,7 +21932,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21934
21932
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21935
21933
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21936
21934
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21937
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
21935
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
21938
21936
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21939
21937
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21940
21938
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22160,7 +22158,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22160
22158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22161
22159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22162
22160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22163
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
22161
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
22164
22162
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22165
22163
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22166
22164
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22386,7 +22384,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22386
22384
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22387
22385
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22388
22386
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22389
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
22387
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
22390
22388
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22391
22389
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22392
22390
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22612,7 +22610,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22612
22610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22613
22611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22614
22612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22615
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
22613
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
22616
22614
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22617
22615
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22618
22616
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22853,7 +22851,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22853
22851
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22854
22852
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22855
22853
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22856
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
22854
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
22857
22855
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22858
22856
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22859
22857
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23078,7 +23076,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23078
23076
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23079
23077
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23080
23078
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23081
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
23079
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
23082
23080
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23083
23081
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23084
23082
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23303,7 +23301,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23303
23301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23304
23302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23305
23303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23306
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
23304
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
23307
23305
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23308
23306
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23309
23307
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23528,7 +23526,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23528
23526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23529
23527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23530
23528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23531
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
23529
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
23532
23530
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23533
23531
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23534
23532
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23753,7 +23751,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23753
23751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23754
23752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23755
23753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23756
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
23754
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
23757
23755
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23758
23756
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23759
23757
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23978,7 +23976,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23978
23976
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23979
23977
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23980
23978
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23981
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
23979
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
23982
23980
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23983
23981
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23984
23982
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24203,7 +24201,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24203
24201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24204
24202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24205
24203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24206
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
24204
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
24207
24205
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
24208
24206
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24209
24207
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24428,7 +24426,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24428
24426
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24429
24427
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24430
24428
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24431
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
24429
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
24432
24430
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
24433
24431
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24434
24432
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -25063,7 +25061,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25063
25061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25064
25062
|
*/
|
|
25065
25063
|
static async fromJsonLd(json, options = {}) {
|
|
25066
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
25064
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25067
25065
|
try {
|
|
25068
25066
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
25069
25067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25630,7 +25628,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25630
25628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25631
25629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25632
25630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25633
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
25631
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
25634
25632
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25635
25633
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25636
25634
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26031,7 +26029,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26031
26029
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26032
26030
|
*/
|
|
26033
26031
|
static async fromJsonLd(json, options = {}) {
|
|
26034
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
26032
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26035
26033
|
try {
|
|
26036
26034
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
26037
26035
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26440,7 +26438,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
|
|
|
26440
26438
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26441
26439
|
*/
|
|
26442
26440
|
static async fromJsonLd(json, options = {}) {
|
|
26443
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
26441
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26444
26442
|
try {
|
|
26445
26443
|
const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
|
|
26446
26444
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26647,7 +26645,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26647
26645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26648
26646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26649
26647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26650
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
26648
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
26651
26649
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26652
26650
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26653
26651
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26872,7 +26870,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26872
26870
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26873
26871
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26874
26872
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26875
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
26873
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
26876
26874
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26877
26875
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26878
26876
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -27222,7 +27220,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
27222
27220
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27223
27221
|
*/
|
|
27224
27222
|
static async fromJsonLd(json, options = {}) {
|
|
27225
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
27223
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27226
27224
|
try {
|
|
27227
27225
|
const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
|
|
27228
27226
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27387,6 +27385,11 @@ var DidService = class {
|
|
|
27387
27385
|
get _warning() {
|
|
27388
27386
|
return this.#warning;
|
|
27389
27387
|
}
|
|
27388
|
+
/**
|
|
27389
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
27390
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
27391
|
+
* accessor name and its getter/setter semantics stable.
|
|
27392
|
+
*/
|
|
27390
27393
|
get _cachedJsonLd() {
|
|
27391
27394
|
return this.#cachedJsonLd;
|
|
27392
27395
|
}
|
|
@@ -27567,7 +27570,7 @@ var DidService = class {
|
|
|
27567
27570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27568
27571
|
*/
|
|
27569
27572
|
static async fromJsonLd(json, options = {}) {
|
|
27570
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
27573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27571
27574
|
try {
|
|
27572
27575
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
27573
27576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27783,7 +27786,7 @@ var Export = class Export extends DidService {
|
|
|
27783
27786
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27784
27787
|
*/
|
|
27785
27788
|
static async fromJsonLd(json, options = {}) {
|
|
27786
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
27789
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27787
27790
|
try {
|
|
27788
27791
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
27789
27792
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27893,6 +27896,11 @@ var DataIntegrityProof = class {
|
|
|
27893
27896
|
get _warning() {
|
|
27894
27897
|
return this.#warning;
|
|
27895
27898
|
}
|
|
27899
|
+
/**
|
|
27900
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
27901
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
27902
|
+
* accessor name and its getter/setter semantics stable.
|
|
27903
|
+
*/
|
|
27896
27904
|
get _cachedJsonLd() {
|
|
27897
27905
|
return this.#cachedJsonLd;
|
|
27898
27906
|
}
|
|
@@ -28021,7 +28029,7 @@ var DataIntegrityProof = class {
|
|
|
28021
28029
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28022
28030
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28023
28031
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28024
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
28032
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
28025
28033
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28026
28034
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28027
28035
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -28373,7 +28381,7 @@ var DataIntegrityProof = class {
|
|
|
28373
28381
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28374
28382
|
*/
|
|
28375
28383
|
static async fromJsonLd(json, options = {}) {
|
|
28376
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
28384
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28377
28385
|
try {
|
|
28378
28386
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
28379
28387
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28579,6 +28587,11 @@ var CryptographicKey = class {
|
|
|
28579
28587
|
get _warning() {
|
|
28580
28588
|
return this.#warning;
|
|
28581
28589
|
}
|
|
28590
|
+
/**
|
|
28591
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
28592
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
28593
|
+
* accessor name and its getter/setter semantics stable.
|
|
28594
|
+
*/
|
|
28582
28595
|
get _cachedJsonLd() {
|
|
28583
28596
|
return this.#cachedJsonLd;
|
|
28584
28597
|
}
|
|
@@ -28682,7 +28695,7 @@ var CryptographicKey = class {
|
|
|
28682
28695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28683
28696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28684
28697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28685
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
28698
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
28686
28699
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28687
28700
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28688
28701
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -29079,7 +29092,7 @@ var CryptographicKey = class {
|
|
|
29079
29092
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29080
29093
|
*/
|
|
29081
29094
|
static async fromJsonLd(json, options = {}) {
|
|
29082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
29095
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29083
29096
|
try {
|
|
29084
29097
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
29085
29098
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29246,6 +29259,11 @@ var Multikey = class {
|
|
|
29246
29259
|
get _warning() {
|
|
29247
29260
|
return this.#warning;
|
|
29248
29261
|
}
|
|
29262
|
+
/**
|
|
29263
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
29264
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
29265
|
+
* accessor name and its getter/setter semantics stable.
|
|
29266
|
+
*/
|
|
29249
29267
|
get _cachedJsonLd() {
|
|
29250
29268
|
return this.#cachedJsonLd;
|
|
29251
29269
|
}
|
|
@@ -29349,7 +29367,7 @@ var Multikey = class {
|
|
|
29349
29367
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29350
29368
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29351
29369
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29352
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
29370
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
29353
29371
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
29354
29372
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29355
29373
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -29752,7 +29770,7 @@ var Multikey = class {
|
|
|
29752
29770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29753
29771
|
*/
|
|
29754
29772
|
static async fromJsonLd(json, options = {}) {
|
|
29755
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
29773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29756
29774
|
try {
|
|
29757
29775
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
29758
29776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30153,7 +30171,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
30153
30171
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30154
30172
|
*/
|
|
30155
30173
|
static async fromJsonLd(json, options = {}) {
|
|
30156
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
30174
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30157
30175
|
try {
|
|
30158
30176
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
30159
30177
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30308,6 +30326,11 @@ var Commitment = class {
|
|
|
30308
30326
|
get _warning() {
|
|
30309
30327
|
return this.#warning;
|
|
30310
30328
|
}
|
|
30329
|
+
/**
|
|
30330
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
30331
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
30332
|
+
* accessor name and its getter/setter semantics stable.
|
|
30333
|
+
*/
|
|
30311
30334
|
get _cachedJsonLd() {
|
|
30312
30335
|
return this.#cachedJsonLd;
|
|
30313
30336
|
}
|
|
@@ -30546,7 +30569,7 @@ var Commitment = class {
|
|
|
30546
30569
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30547
30570
|
*/
|
|
30548
30571
|
static async fromJsonLd(json, options = {}) {
|
|
30549
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
30572
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30550
30573
|
try {
|
|
30551
30574
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
30552
30575
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30694,6 +30717,11 @@ var Intent = class {
|
|
|
30694
30717
|
get _warning() {
|
|
30695
30718
|
return this.#warning;
|
|
30696
30719
|
}
|
|
30720
|
+
/**
|
|
30721
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
30722
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
30723
|
+
* accessor name and its getter/setter semantics stable.
|
|
30724
|
+
*/
|
|
30697
30725
|
get _cachedJsonLd() {
|
|
30698
30726
|
return this.#cachedJsonLd;
|
|
30699
30727
|
}
|
|
@@ -31031,7 +31059,7 @@ var Intent = class {
|
|
|
31031
31059
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31032
31060
|
*/
|
|
31033
31061
|
static async fromJsonLd(json, options = {}) {
|
|
31034
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
31062
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31035
31063
|
try {
|
|
31036
31064
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
31037
31065
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31544,7 +31572,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
31544
31572
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31545
31573
|
*/
|
|
31546
31574
|
static async fromJsonLd(json, options = {}) {
|
|
31547
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
31575
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31548
31576
|
try {
|
|
31549
31577
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
31550
31578
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31830,7 +31858,7 @@ var Accept = class Accept extends Activity {
|
|
|
31830
31858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31831
31859
|
*/
|
|
31832
31860
|
static async fromJsonLd(json, options = {}) {
|
|
31833
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
31861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31834
31862
|
try {
|
|
31835
31863
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
31836
31864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32039,7 +32067,7 @@ var Add = class Add extends Activity {
|
|
|
32039
32067
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32040
32068
|
*/
|
|
32041
32069
|
static async fromJsonLd(json, options = {}) {
|
|
32042
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
32070
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32043
32071
|
try {
|
|
32044
32072
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
32045
32073
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32275,7 +32303,7 @@ var Announce = class Announce extends Activity {
|
|
|
32275
32303
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32276
32304
|
*/
|
|
32277
32305
|
static async fromJsonLd(json, options = {}) {
|
|
32278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
32306
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32279
32307
|
try {
|
|
32280
32308
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
32281
32309
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32739,7 +32767,7 @@ var Application = class Application extends Object$1 {
|
|
|
32739
32767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32740
32768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32741
32769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32742
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
32770
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
32743
32771
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32744
32772
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32745
32773
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33037,7 +33065,7 @@ var Application = class Application extends Object$1 {
|
|
|
33037
33065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33038
33066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33039
33067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33040
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
33068
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
33041
33069
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33042
33070
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33043
33071
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33371,7 +33399,7 @@ var Application = class Application extends Object$1 {
|
|
|
33371
33399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33372
33400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33373
33401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33374
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
33402
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
33375
33403
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33376
33404
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33377
33405
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33619,7 +33647,7 @@ var Application = class Application extends Object$1 {
|
|
|
33619
33647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33620
33648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33621
33649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33622
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
33650
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
33623
33651
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33624
33652
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33625
33653
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33864,7 +33892,7 @@ var Application = class Application extends Object$1 {
|
|
|
33864
33892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33865
33893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33866
33894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33867
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
33895
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
33868
33896
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33869
33897
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33870
33898
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34093,7 +34121,7 @@ var Application = class Application extends Object$1 {
|
|
|
34093
34121
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34094
34122
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34095
34123
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34096
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
34124
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
34097
34125
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34098
34126
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34099
34127
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34325,7 +34353,7 @@ var Application = class Application extends Object$1 {
|
|
|
34325
34353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34326
34354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34327
34355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34328
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
34356
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
34329
34357
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34330
34358
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34331
34359
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34555,7 +34583,7 @@ var Application = class Application extends Object$1 {
|
|
|
34555
34583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34556
34584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34557
34585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34558
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
34586
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
34559
34587
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34560
34588
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34561
34589
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34783,7 +34811,7 @@ var Application = class Application extends Object$1 {
|
|
|
34783
34811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34784
34812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34785
34813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34786
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
34814
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
34787
34815
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34788
34816
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34789
34817
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35011,7 +35039,7 @@ var Application = class Application extends Object$1 {
|
|
|
35011
35039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35012
35040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35013
35041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35014
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
35042
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
35015
35043
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35016
35044
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35017
35045
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35236,7 +35264,7 @@ var Application = class Application extends Object$1 {
|
|
|
35236
35264
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35237
35265
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35238
35266
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35239
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
35267
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
35240
35268
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35241
35269
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35242
35270
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35507,7 +35535,7 @@ var Application = class Application extends Object$1 {
|
|
|
35507
35535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35508
35536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35509
35537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35510
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
35538
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
35511
35539
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35512
35540
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35513
35541
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35782,7 +35810,7 @@ var Application = class Application extends Object$1 {
|
|
|
35782
35810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35783
35811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35784
35812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35785
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
35813
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
35786
35814
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35787
35815
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35788
35816
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -36136,7 +36164,7 @@ var Application = class Application extends Object$1 {
|
|
|
36136
36164
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36137
36165
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36138
36166
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36139
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
36167
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
36140
36168
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
36141
36169
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36142
36170
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37133,7 +37161,7 @@ var Application = class Application extends Object$1 {
|
|
|
37133
37161
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37134
37162
|
*/
|
|
37135
37163
|
static async fromJsonLd(json, options = {}) {
|
|
37136
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
37164
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37137
37165
|
try {
|
|
37138
37166
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
37139
37167
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37924,7 +37952,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
37924
37952
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37925
37953
|
*/
|
|
37926
37954
|
static async fromJsonLd(json, options = {}) {
|
|
37927
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
37955
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37928
37956
|
try {
|
|
37929
37957
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
37930
37958
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38134,7 +38162,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
38134
38162
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38135
38163
|
*/
|
|
38136
38164
|
static async fromJsonLd(json, options = {}) {
|
|
38137
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
38165
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38138
38166
|
try {
|
|
38139
38167
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
38140
38168
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38305,7 +38333,7 @@ var Article = class Article extends Object$1 {
|
|
|
38305
38333
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38306
38334
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38307
38335
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38308
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
38336
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
38309
38337
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
38310
38338
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38311
38339
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38548,7 +38576,7 @@ var Article = class Article extends Object$1 {
|
|
|
38548
38576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38549
38577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38550
38578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38551
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
38579
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
38552
38580
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
38553
38581
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38554
38582
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38970,7 +38998,7 @@ var Article = class Article extends Object$1 {
|
|
|
38970
38998
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38971
38999
|
*/
|
|
38972
39000
|
static async fromJsonLd(json, options = {}) {
|
|
38973
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
39001
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38974
39002
|
try {
|
|
38975
39003
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
38976
39004
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39367,7 +39395,7 @@ var Document = class Document extends Object$1 {
|
|
|
39367
39395
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39368
39396
|
*/
|
|
39369
39397
|
static async fromJsonLd(json, options = {}) {
|
|
39370
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
39398
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39371
39399
|
try {
|
|
39372
39400
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
39373
39401
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39647,7 +39675,7 @@ var Audio = class Audio extends Document {
|
|
|
39647
39675
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39648
39676
|
*/
|
|
39649
39677
|
static async fromJsonLd(json, options = {}) {
|
|
39650
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
39678
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39651
39679
|
try {
|
|
39652
39680
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
39653
39681
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39853,7 +39881,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
39853
39881
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39854
39882
|
*/
|
|
39855
39883
|
static async fromJsonLd(json, options = {}) {
|
|
39856
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
39884
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39857
39885
|
try {
|
|
39858
39886
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
39859
39887
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40062,7 +40090,7 @@ var Block = class Block extends Ignore {
|
|
|
40062
40090
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40063
40091
|
*/
|
|
40064
40092
|
static async fromJsonLd(json, options = {}) {
|
|
40065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
40093
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40066
40094
|
try {
|
|
40067
40095
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
40068
40096
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40241,7 +40269,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
40241
40269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40242
40270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40243
40271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40244
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
40272
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
40245
40273
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
40246
40274
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40247
40275
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -40467,7 +40495,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
40467
40495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40468
40496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40469
40497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40470
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
40498
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
40471
40499
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
40472
40500
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40473
40501
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -40692,7 +40720,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
40692
40720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40693
40721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40694
40722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40695
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
40723
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
40696
40724
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
40697
40725
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40698
40726
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -41114,7 +41142,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
41114
41142
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41115
41143
|
*/
|
|
41116
41144
|
static async fromJsonLd(json, options = {}) {
|
|
41117
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
41145
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41118
41146
|
try {
|
|
41119
41147
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
41120
41148
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41429,7 +41457,7 @@ var Create = class Create extends Activity {
|
|
|
41429
41457
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41430
41458
|
*/
|
|
41431
41459
|
static async fromJsonLd(json, options = {}) {
|
|
41432
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
41460
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41433
41461
|
try {
|
|
41434
41462
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
41435
41463
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41661,7 +41689,7 @@ var Delete = class Delete extends Activity {
|
|
|
41661
41689
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41662
41690
|
*/
|
|
41663
41691
|
static async fromJsonLd(json, options = {}) {
|
|
41664
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
41692
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41665
41693
|
try {
|
|
41666
41694
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
41667
41695
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41870,7 +41898,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
41870
41898
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41871
41899
|
*/
|
|
41872
41900
|
static async fromJsonLd(json, options = {}) {
|
|
41873
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
41901
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41874
41902
|
try {
|
|
41875
41903
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
41876
41904
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41979,6 +42007,11 @@ var Endpoints = class {
|
|
|
41979
42007
|
get _warning() {
|
|
41980
42008
|
return this.#warning;
|
|
41981
42009
|
}
|
|
42010
|
+
/**
|
|
42011
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
42012
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
42013
|
+
* accessor name and its getter/setter semantics stable.
|
|
42014
|
+
*/
|
|
41982
42015
|
get _cachedJsonLd() {
|
|
41983
42016
|
return this.#cachedJsonLd;
|
|
41984
42017
|
}
|
|
@@ -42361,7 +42394,7 @@ var Endpoints = class {
|
|
|
42361
42394
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42362
42395
|
*/
|
|
42363
42396
|
static async fromJsonLd(json, options = {}) {
|
|
42364
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
42397
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42365
42398
|
try {
|
|
42366
42399
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
42367
42400
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42705,7 +42738,7 @@ var Event = class Event extends Object$1 {
|
|
|
42705
42738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42706
42739
|
*/
|
|
42707
42740
|
static async fromJsonLd(json, options = {}) {
|
|
42708
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
42741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42709
42742
|
try {
|
|
42710
42743
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
42711
42744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42912,7 +42945,7 @@ var Flag = class Flag extends Activity {
|
|
|
42912
42945
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42913
42946
|
*/
|
|
42914
42947
|
static async fromJsonLd(json, options = {}) {
|
|
42915
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
42948
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42916
42949
|
try {
|
|
42917
42950
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
42918
42951
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43123,7 +43156,7 @@ var Follow = class Follow extends Activity {
|
|
|
43123
43156
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43124
43157
|
*/
|
|
43125
43158
|
static async fromJsonLd(json, options = {}) {
|
|
43126
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
43159
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43127
43160
|
try {
|
|
43128
43161
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
43129
43162
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43587,7 +43620,7 @@ var Group = class Group extends Object$1 {
|
|
|
43587
43620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43588
43621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43589
43622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43590
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
43623
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
43591
43624
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43592
43625
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43593
43626
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43885,7 +43918,7 @@ var Group = class Group extends Object$1 {
|
|
|
43885
43918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43886
43919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43887
43920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43888
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
43921
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
43889
43922
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43890
43923
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43891
43924
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44219,7 +44252,7 @@ var Group = class Group extends Object$1 {
|
|
|
44219
44252
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44220
44253
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44221
44254
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44222
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
44255
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
44223
44256
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44224
44257
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44225
44258
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44467,7 +44500,7 @@ var Group = class Group extends Object$1 {
|
|
|
44467
44500
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44468
44501
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44469
44502
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44470
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
44503
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
44471
44504
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44472
44505
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44473
44506
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44712,7 +44745,7 @@ var Group = class Group extends Object$1 {
|
|
|
44712
44745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44713
44746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44714
44747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44715
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
44748
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
44716
44749
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44717
44750
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44718
44751
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44941,7 +44974,7 @@ var Group = class Group extends Object$1 {
|
|
|
44941
44974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44942
44975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44943
44976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44944
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
44977
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
44945
44978
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44946
44979
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44947
44980
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45173,7 +45206,7 @@ var Group = class Group extends Object$1 {
|
|
|
45173
45206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45174
45207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45175
45208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45176
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
45209
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
45177
45210
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45178
45211
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45179
45212
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45403,7 +45436,7 @@ var Group = class Group extends Object$1 {
|
|
|
45403
45436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45404
45437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45405
45438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45406
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
45439
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
45407
45440
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45408
45441
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45409
45442
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45631,7 +45664,7 @@ var Group = class Group extends Object$1 {
|
|
|
45631
45664
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45632
45665
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45633
45666
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45634
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
45667
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
45635
45668
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45636
45669
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45637
45670
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45859,7 +45892,7 @@ var Group = class Group extends Object$1 {
|
|
|
45859
45892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45860
45893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45861
45894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45862
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
45895
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
45863
45896
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45864
45897
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45865
45898
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46084,7 +46117,7 @@ var Group = class Group extends Object$1 {
|
|
|
46084
46117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46085
46118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46086
46119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46087
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
46120
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
46088
46121
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46089
46122
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46090
46123
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46355,7 +46388,7 @@ var Group = class Group extends Object$1 {
|
|
|
46355
46388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46356
46389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46357
46390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46358
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
46391
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
46359
46392
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46360
46393
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46361
46394
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46630,7 +46663,7 @@ var Group = class Group extends Object$1 {
|
|
|
46630
46663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46631
46664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46632
46665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46633
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
46666
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
46634
46667
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46635
46668
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46636
46669
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46984,7 +47017,7 @@ var Group = class Group extends Object$1 {
|
|
|
46984
47017
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46985
47018
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46986
47019
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46987
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
47020
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
46988
47021
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46989
47022
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46990
47023
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47981,7 +48014,7 @@ var Group = class Group extends Object$1 {
|
|
|
47981
48014
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47982
48015
|
*/
|
|
47983
48016
|
static async fromJsonLd(json, options = {}) {
|
|
47984
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
48017
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47985
48018
|
try {
|
|
47986
48019
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
47987
48020
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48681,6 +48714,11 @@ var Link = class Link {
|
|
|
48681
48714
|
get _warning() {
|
|
48682
48715
|
return this.#warning;
|
|
48683
48716
|
}
|
|
48717
|
+
/**
|
|
48718
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
48719
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
48720
|
+
* accessor name and its getter/setter semantics stable.
|
|
48721
|
+
*/
|
|
48684
48722
|
get _cachedJsonLd() {
|
|
48685
48723
|
return this.#cachedJsonLd;
|
|
48686
48724
|
}
|
|
@@ -48933,7 +48971,7 @@ var Link = class Link {
|
|
|
48933
48971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48934
48972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48935
48973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48936
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
48974
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
48937
48975
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48938
48976
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48939
48977
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -49408,7 +49446,7 @@ var Link = class Link {
|
|
|
49408
49446
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49409
49447
|
*/
|
|
49410
49448
|
static async fromJsonLd(json, options = {}) {
|
|
49411
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
49449
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49412
49450
|
try {
|
|
49413
49451
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
49414
49452
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49868,7 +49906,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
49868
49906
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49869
49907
|
*/
|
|
49870
49908
|
static async fromJsonLd(json, options = {}) {
|
|
49871
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
49909
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49872
49910
|
try {
|
|
49873
49911
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
49874
49912
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50089,7 +50127,7 @@ var Image = class Image extends Document {
|
|
|
50089
50127
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50090
50128
|
*/
|
|
50091
50129
|
static async fromJsonLd(json, options = {}) {
|
|
50092
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
50130
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50093
50131
|
try {
|
|
50094
50132
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
50095
50133
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50296,7 +50334,7 @@ var Offer = class Offer extends Activity {
|
|
|
50296
50334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50297
50335
|
*/
|
|
50298
50336
|
static async fromJsonLd(json, options = {}) {
|
|
50299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
50337
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50300
50338
|
try {
|
|
50301
50339
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
50302
50340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50503,7 +50541,7 @@ var Invite = class Invite extends Offer {
|
|
|
50503
50541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50504
50542
|
*/
|
|
50505
50543
|
static async fromJsonLd(json, options = {}) {
|
|
50506
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
50544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50507
50545
|
try {
|
|
50508
50546
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
50509
50547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50709,7 +50747,7 @@ var Join = class Join extends Activity {
|
|
|
50709
50747
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50710
50748
|
*/
|
|
50711
50749
|
static async fromJsonLd(json, options = {}) {
|
|
50712
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
50750
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50713
50751
|
try {
|
|
50714
50752
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
50715
50753
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50915,7 +50953,7 @@ var Leave = class Leave extends Activity {
|
|
|
50915
50953
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50916
50954
|
*/
|
|
50917
50955
|
static async fromJsonLd(json, options = {}) {
|
|
50918
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
50956
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50919
50957
|
try {
|
|
50920
50958
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
50921
50959
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51125,7 +51163,7 @@ var Like = class Like extends Activity {
|
|
|
51125
51163
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51126
51164
|
*/
|
|
51127
51165
|
static async fromJsonLd(json, options = {}) {
|
|
51128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
51166
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51129
51167
|
try {
|
|
51130
51168
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
51131
51169
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51330,7 +51368,7 @@ var Listen = class Listen extends Activity {
|
|
|
51330
51368
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51331
51369
|
*/
|
|
51332
51370
|
static async fromJsonLd(json, options = {}) {
|
|
51333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
51371
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51334
51372
|
try {
|
|
51335
51373
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
51336
51374
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51538,7 +51576,7 @@ var Mention = class Mention extends Link {
|
|
|
51538
51576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51539
51577
|
*/
|
|
51540
51578
|
static async fromJsonLd(json, options = {}) {
|
|
51541
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
51579
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51542
51580
|
try {
|
|
51543
51581
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
51544
51582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51745,7 +51783,7 @@ var Move = class Move extends Activity {
|
|
|
51745
51783
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51746
51784
|
*/
|
|
51747
51785
|
static async fromJsonLd(json, options = {}) {
|
|
51748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
51786
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51749
51787
|
try {
|
|
51750
51788
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
51751
51789
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51917,7 +51955,7 @@ var Note = class Note extends Object$1 {
|
|
|
51917
51955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
51918
51956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
51919
51957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
51920
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
51958
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
51921
51959
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51922
51960
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51923
51961
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -52160,7 +52198,7 @@ var Note = class Note extends Object$1 {
|
|
|
52160
52198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
52161
52199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
52162
52200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
52163
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
52201
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
52164
52202
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
52165
52203
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
52166
52204
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -52582,7 +52620,7 @@ var Note = class Note extends Object$1 {
|
|
|
52582
52620
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52583
52621
|
*/
|
|
52584
52622
|
static async fromJsonLd(json, options = {}) {
|
|
52585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
52623
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52586
52624
|
try {
|
|
52587
52625
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
52588
52626
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -52817,7 +52855,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
52817
52855
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
52818
52856
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
52819
52857
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
52820
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
52858
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
52821
52859
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
52822
52860
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
52823
52861
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53246,7 +53284,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
53246
53284
|
* @throws {TypeError} If the given `json` is invalid.
|
|
53247
53285
|
*/
|
|
53248
53286
|
static async fromJsonLd(json, options = {}) {
|
|
53249
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
53287
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
53250
53288
|
try {
|
|
53251
53289
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
53252
53290
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -53832,7 +53870,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53832
53870
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53833
53871
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53834
53872
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53835
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
53873
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
53836
53874
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53837
53875
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53838
53876
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54130,7 +54168,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54130
54168
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54131
54169
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54132
54170
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54133
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
54171
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
54134
54172
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54135
54173
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54136
54174
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54464,7 +54502,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54464
54502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54465
54503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54466
54504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54467
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
54505
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
54468
54506
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54469
54507
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54470
54508
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54712,7 +54750,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54712
54750
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54713
54751
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54714
54752
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54715
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
54753
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
54716
54754
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54717
54755
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54718
54756
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54957,7 +54995,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54957
54995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54958
54996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54959
54997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54960
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
54998
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
54961
54999
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54962
55000
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54963
55001
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55186,7 +55224,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55186
55224
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55187
55225
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55188
55226
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55189
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
55227
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
55190
55228
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55191
55229
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55192
55230
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55418,7 +55456,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55418
55456
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55419
55457
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55420
55458
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55421
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
55459
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
55422
55460
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55423
55461
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55424
55462
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55648,7 +55686,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55648
55686
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55649
55687
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55650
55688
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55651
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
55689
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
55652
55690
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55653
55691
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55654
55692
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55876,7 +55914,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55876
55914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55877
55915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55878
55916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55879
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
55917
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
55880
55918
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55881
55919
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55882
55920
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56104,7 +56142,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56104
56142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
56105
56143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
56106
56144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
56107
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
56145
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
56108
56146
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56109
56147
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56110
56148
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56329,7 +56367,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56329
56367
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
56330
56368
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
56331
56369
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
56332
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
56370
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
56333
56371
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56334
56372
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56335
56373
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56600,7 +56638,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56600
56638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
56601
56639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
56602
56640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
56603
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
56641
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
56604
56642
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56605
56643
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56606
56644
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56875,7 +56913,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56875
56913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
56876
56914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
56877
56915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
56878
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
56916
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
56879
56917
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56880
56918
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56881
56919
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57229,7 +57267,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57229
57267
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
57230
57268
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
57231
57269
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
57232
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
57270
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
57233
57271
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
57234
57272
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
57235
57273
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58226,7 +58264,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
58226
58264
|
* @throws {TypeError} If the given `json` is invalid.
|
|
58227
58265
|
*/
|
|
58228
58266
|
static async fromJsonLd(json, options = {}) {
|
|
58229
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
58267
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
58230
58268
|
try {
|
|
58231
58269
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
58232
58270
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -59031,7 +59069,7 @@ var Page = class Page extends Document {
|
|
|
59031
59069
|
* @throws {TypeError} If the given `json` is invalid.
|
|
59032
59070
|
*/
|
|
59033
59071
|
static async fromJsonLd(json, options = {}) {
|
|
59034
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
59072
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
59035
59073
|
try {
|
|
59036
59074
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
59037
59075
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -59495,7 +59533,7 @@ var Person = class Person extends Object$1 {
|
|
|
59495
59533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59496
59534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59497
59535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59498
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
59536
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
59499
59537
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59500
59538
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59501
59539
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59793,7 +59831,7 @@ var Person = class Person extends Object$1 {
|
|
|
59793
59831
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59794
59832
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59795
59833
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59796
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
59834
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
59797
59835
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59798
59836
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59799
59837
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60127,7 +60165,7 @@ var Person = class Person extends Object$1 {
|
|
|
60127
60165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60128
60166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60129
60167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60130
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
60168
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
60131
60169
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60132
60170
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60133
60171
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60375,7 +60413,7 @@ var Person = class Person extends Object$1 {
|
|
|
60375
60413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60376
60414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60377
60415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60378
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
60416
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
60379
60417
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60380
60418
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60381
60419
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60620,7 +60658,7 @@ var Person = class Person extends Object$1 {
|
|
|
60620
60658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60621
60659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60622
60660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60623
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
60661
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
60624
60662
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60625
60663
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60626
60664
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60849,7 +60887,7 @@ var Person = class Person extends Object$1 {
|
|
|
60849
60887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60850
60888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60851
60889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60852
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
60890
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
60853
60891
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60854
60892
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60855
60893
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61081,7 +61119,7 @@ var Person = class Person extends Object$1 {
|
|
|
61081
61119
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61082
61120
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61083
61121
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61084
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
61122
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
61085
61123
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61086
61124
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61087
61125
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61311,7 +61349,7 @@ var Person = class Person extends Object$1 {
|
|
|
61311
61349
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61312
61350
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61313
61351
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61314
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
61352
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
61315
61353
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61316
61354
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61317
61355
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61539,7 +61577,7 @@ var Person = class Person extends Object$1 {
|
|
|
61539
61577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61540
61578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61541
61579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61542
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
61580
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
61543
61581
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61544
61582
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61545
61583
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61767,7 +61805,7 @@ var Person = class Person extends Object$1 {
|
|
|
61767
61805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61768
61806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61769
61807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61770
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
61808
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
61771
61809
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61772
61810
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61773
61811
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61992,7 +62030,7 @@ var Person = class Person extends Object$1 {
|
|
|
61992
62030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61993
62031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61994
62032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61995
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
62033
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
61996
62034
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61997
62035
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61998
62036
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62263,7 +62301,7 @@ var Person = class Person extends Object$1 {
|
|
|
62263
62301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
62264
62302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
62265
62303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
62266
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
62304
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
62267
62305
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62268
62306
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62269
62307
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62538,7 +62576,7 @@ var Person = class Person extends Object$1 {
|
|
|
62538
62576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
62539
62577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
62540
62578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
62541
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
62579
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
62542
62580
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62543
62581
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62544
62582
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62892,7 +62930,7 @@ var Person = class Person extends Object$1 {
|
|
|
62892
62930
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
62893
62931
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
62894
62932
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
62895
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
62933
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
62896
62934
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62897
62935
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62898
62936
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -63889,7 +63927,7 @@ var Person = class Person extends Object$1 {
|
|
|
63889
63927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
63890
63928
|
*/
|
|
63891
63929
|
static async fromJsonLd(json, options = {}) {
|
|
63892
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
63930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
63893
63931
|
try {
|
|
63894
63932
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
63895
63933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -64899,7 +64937,7 @@ var Place = class Place extends Object$1 {
|
|
|
64899
64937
|
* @throws {TypeError} If the given `json` is invalid.
|
|
64900
64938
|
*/
|
|
64901
64939
|
static async fromJsonLd(json, options = {}) {
|
|
64902
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
64940
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
64903
64941
|
try {
|
|
64904
64942
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
64905
64943
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -65165,7 +65203,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
65165
65203
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65166
65204
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65167
65205
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65168
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
65206
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
65169
65207
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65170
65208
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65171
65209
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65492,7 +65530,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
65492
65530
|
* @throws {TypeError} If the given `json` is invalid.
|
|
65493
65531
|
*/
|
|
65494
65532
|
static async fromJsonLd(json, options = {}) {
|
|
65495
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
65533
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
65496
65534
|
try {
|
|
65497
65535
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
65498
65536
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -65735,7 +65773,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65735
65773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65736
65774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65737
65775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65738
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
65776
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
65739
65777
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65740
65778
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65741
65779
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65966,7 +66004,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65966
66004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65967
66005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65968
66006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65969
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
66007
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
65970
66008
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65971
66009
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65972
66010
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -66213,7 +66251,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
66213
66251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
66214
66252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
66215
66253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
66216
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
66254
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
66217
66255
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
66218
66256
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
66219
66257
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -66456,7 +66494,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
66456
66494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
66457
66495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
66458
66496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
66459
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
66497
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
66460
66498
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
66461
66499
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
66462
66500
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -66864,7 +66902,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
66864
66902
|
* @throws {TypeError} If the given `json` is invalid.
|
|
66865
66903
|
*/
|
|
66866
66904
|
static async fromJsonLd(json, options = {}) {
|
|
66867
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
66905
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
66868
66906
|
try {
|
|
66869
66907
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
66870
66908
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67230,7 +67268,7 @@ var Read = class Read extends Activity {
|
|
|
67230
67268
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67231
67269
|
*/
|
|
67232
67270
|
static async fromJsonLd(json, options = {}) {
|
|
67233
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
67271
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67234
67272
|
try {
|
|
67235
67273
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
67236
67274
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67436,7 +67474,7 @@ var Reject = class Reject extends Activity {
|
|
|
67436
67474
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67437
67475
|
*/
|
|
67438
67476
|
static async fromJsonLd(json, options = {}) {
|
|
67439
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
67477
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67440
67478
|
try {
|
|
67441
67479
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
67442
67480
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67650,7 +67688,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
67650
67688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
67651
67689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
67652
67690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
67653
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
67691
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
67654
67692
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
67655
67693
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
67656
67694
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -67878,7 +67916,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
67878
67916
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
67879
67917
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
67880
67918
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
67881
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
67919
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
67882
67920
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
67883
67921
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
67884
67922
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68176,7 +68214,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
68176
68214
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68177
68215
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68178
68216
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68179
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
68217
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
68180
68218
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68181
68219
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68182
68220
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68621,7 +68659,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
68621
68659
|
* @throws {TypeError} If the given `json` is invalid.
|
|
68622
68660
|
*/
|
|
68623
68661
|
static async fromJsonLd(json, options = {}) {
|
|
68624
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
68662
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
68625
68663
|
try {
|
|
68626
68664
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
68627
68665
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -68908,7 +68946,7 @@ var Remove = class Remove extends Activity {
|
|
|
68908
68946
|
* @throws {TypeError} If the given `json` is invalid.
|
|
68909
68947
|
*/
|
|
68910
68948
|
static async fromJsonLd(json, options = {}) {
|
|
68911
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
68949
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
68912
68950
|
try {
|
|
68913
68951
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
68914
68952
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -69372,7 +69410,7 @@ var Service = class Service extends Object$1 {
|
|
|
69372
69410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69373
69411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69374
69412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69375
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
69413
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
69376
69414
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69377
69415
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69378
69416
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69670,7 +69708,7 @@ var Service = class Service extends Object$1 {
|
|
|
69670
69708
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69671
69709
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69672
69710
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69673
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
69711
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
69674
69712
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69675
69713
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69676
69714
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70004,7 +70042,7 @@ var Service = class Service extends Object$1 {
|
|
|
70004
70042
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70005
70043
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70006
70044
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70007
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
70045
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
70008
70046
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70009
70047
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70010
70048
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70252,7 +70290,7 @@ var Service = class Service extends Object$1 {
|
|
|
70252
70290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70253
70291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70254
70292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70255
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
70293
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
70256
70294
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70257
70295
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70258
70296
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70497,7 +70535,7 @@ var Service = class Service extends Object$1 {
|
|
|
70497
70535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70498
70536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70499
70537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70500
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
70538
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
70501
70539
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70502
70540
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70503
70541
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70726,7 +70764,7 @@ var Service = class Service extends Object$1 {
|
|
|
70726
70764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70727
70765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70728
70766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70729
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
70767
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
70730
70768
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70731
70769
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70732
70770
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70958,7 +70996,7 @@ var Service = class Service extends Object$1 {
|
|
|
70958
70996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70959
70997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70960
70998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70961
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
70999
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
70962
71000
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70963
71001
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70964
71002
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71188,7 +71226,7 @@ var Service = class Service extends Object$1 {
|
|
|
71188
71226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71189
71227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71190
71228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71191
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
71229
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
71192
71230
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71193
71231
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71194
71232
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71416,7 +71454,7 @@ var Service = class Service extends Object$1 {
|
|
|
71416
71454
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71417
71455
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71418
71456
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71419
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
71457
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
71420
71458
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71421
71459
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71422
71460
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71644,7 +71682,7 @@ var Service = class Service extends Object$1 {
|
|
|
71644
71682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71645
71683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71646
71684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71647
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
71685
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
71648
71686
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71649
71687
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71650
71688
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71869,7 +71907,7 @@ var Service = class Service extends Object$1 {
|
|
|
71869
71907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71870
71908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71871
71909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71872
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
71910
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
71873
71911
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71874
71912
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71875
71913
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72140,7 +72178,7 @@ var Service = class Service extends Object$1 {
|
|
|
72140
72178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
72141
72179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
72142
72180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
72143
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
72181
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
72144
72182
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72145
72183
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72146
72184
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72415,7 +72453,7 @@ var Service = class Service extends Object$1 {
|
|
|
72415
72453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
72416
72454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
72417
72455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
72418
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
72456
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
72419
72457
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72420
72458
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72421
72459
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72769,7 +72807,7 @@ var Service = class Service extends Object$1 {
|
|
|
72769
72807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
72770
72808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
72771
72809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
72772
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.
|
|
72810
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
|
|
72773
72811
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72774
72812
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72775
72813
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -73766,7 +73804,7 @@ var Service = class Service extends Object$1 {
|
|
|
73766
73804
|
* @throws {TypeError} If the given `json` is invalid.
|
|
73767
73805
|
*/
|
|
73768
73806
|
static async fromJsonLd(json, options = {}) {
|
|
73769
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
73807
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
73770
73808
|
try {
|
|
73771
73809
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
73772
73810
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74459,6 +74497,11 @@ var Source = class {
|
|
|
74459
74497
|
get _warning() {
|
|
74460
74498
|
return this.#warning;
|
|
74461
74499
|
}
|
|
74500
|
+
/**
|
|
74501
|
+
* Internal cross-package contract with @fedify/testing, which copies this
|
|
74502
|
+
* cache when attaching document loaders to an activity clone. Keep this
|
|
74503
|
+
* accessor name and its getter/setter semantics stable.
|
|
74504
|
+
*/
|
|
74462
74505
|
get _cachedJsonLd() {
|
|
74463
74506
|
return this.#cachedJsonLd;
|
|
74464
74507
|
}
|
|
@@ -74685,7 +74728,7 @@ var Source = class {
|
|
|
74685
74728
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74686
74729
|
*/
|
|
74687
74730
|
static async fromJsonLd(json, options = {}) {
|
|
74688
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
74731
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74689
74732
|
try {
|
|
74690
74733
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
74691
74734
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74927,7 +74970,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
74927
74970
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74928
74971
|
*/
|
|
74929
74972
|
static async fromJsonLd(json, options = {}) {
|
|
74930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
74973
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74931
74974
|
try {
|
|
74932
74975
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
74933
74976
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75133,7 +75176,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
75133
75176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75134
75177
|
*/
|
|
75135
75178
|
static async fromJsonLd(json, options = {}) {
|
|
75136
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
75179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75137
75180
|
try {
|
|
75138
75181
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
75139
75182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75438,7 +75481,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
75438
75481
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75439
75482
|
*/
|
|
75440
75483
|
static async fromJsonLd(json, options = {}) {
|
|
75441
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
75484
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75442
75485
|
try {
|
|
75443
75486
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
75444
75487
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75689,7 +75732,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
75689
75732
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75690
75733
|
*/
|
|
75691
75734
|
static async fromJsonLd(json, options = {}) {
|
|
75692
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
75735
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75693
75736
|
try {
|
|
75694
75737
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
75695
75738
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75909,7 +75952,7 @@ var Undo = class Undo extends Activity {
|
|
|
75909
75952
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75910
75953
|
*/
|
|
75911
75954
|
static async fromJsonLd(json, options = {}) {
|
|
75912
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
75955
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75913
75956
|
try {
|
|
75914
75957
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
75915
75958
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -76177,7 +76220,7 @@ var Update = class Update extends Activity {
|
|
|
76177
76220
|
* @throws {TypeError} If the given `json` is invalid.
|
|
76178
76221
|
*/
|
|
76179
76222
|
static async fromJsonLd(json, options = {}) {
|
|
76180
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
76223
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
76181
76224
|
try {
|
|
76182
76225
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
76183
76226
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -76398,7 +76441,7 @@ var Video = class Video extends Document {
|
|
|
76398
76441
|
* @throws {TypeError} If the given `json` is invalid.
|
|
76399
76442
|
*/
|
|
76400
76443
|
static async fromJsonLd(json, options = {}) {
|
|
76401
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
76444
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
76402
76445
|
try {
|
|
76403
76446
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
76404
76447
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -76603,7 +76646,7 @@ var View = class View extends Activity {
|
|
|
76603
76646
|
* @throws {TypeError} If the given `json` is invalid.
|
|
76604
76647
|
*/
|
|
76605
76648
|
static async fromJsonLd(json, options = {}) {
|
|
76606
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.
|
|
76649
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
76607
76650
|
try {
|
|
76608
76651
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
76609
76652
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -76850,4 +76893,4 @@ function getEntityTypeById(id) {
|
|
|
76850
76893
|
return entityTypeIds.get(typeof id === "string" ? id : id?.href);
|
|
76851
76894
|
}
|
|
76852
76895
|
//#endregion
|
|
76853
|
-
export {
|
|
76896
|
+
export { Object$1 as A, QuoteAuthorization as B, Intent as C, Measure as D, Link as E, Person as F, Tombstone as G, Reject as H, Place as I, getEntityTypeById as J, Translation as K, PropertyValue as L, OrderedCollection as M, OrderedCollectionPage as N, Multikey as O, Organization as P, Proposal as R, Image as S, InteractionRule as T, Service as U, QuoteRequest as V, Source as W, vocab_exports as X, isEntityType as Y, FeaturedCollection as _, Application as a, Group as b, CollectionPage as c, CryptographicKey as d, Delete as f, FeatureRequest as g, FeatureAuthorization as h, Announce as i, Offer as j, Note as k, Commitment as l, Endpoints as m, Activity as n, Article as o, Document as p, Update as q, Agreement as r, Collection as s, Accept as t, Create as u, FeaturedItem as v, InteractionPolicy as w, Hashtag as x, Follow as y, Question as z };
|