@fedify/vocab 2.4.0 → 2.5.0-dev.2271
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 +234 -234
- package/dist/mod.js +234 -234
- package/dist-tests/{actor-D7_iX4I4.mjs → actor-NlmVfaZI.mjs} +2 -2
- package/dist-tests/actor.test.mjs +3 -3
- package/dist-tests/{esm-DP2Spt0u.mjs → esm-DxaxLS8O.mjs} +1 -1
- package/dist-tests/gateway.test.mjs +3 -3
- package/dist-tests/{lookup-IiNFWuXL.mjs → lookup-BUL82PQy.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +3 -3
- package/dist-tests/portable-lookup.test.mjs +4 -4
- 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/{vocab-COZcxf00.mjs → vocab-hNQYgnUG.mjs} +233 -233
- package/dist-tests/vocab.test.mjs +2 -2
- package/package.json +4 -4
|
@@ -1100,7 +1100,7 @@ var Object$1 = class Object$1 {
|
|
|
1100
1100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1101
1101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1102
1102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1103
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1103
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
1104
1104
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1105
1105
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1106
1106
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1357,7 +1357,7 @@ var Object$1 = class Object$1 {
|
|
|
1357
1357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1358
1358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1359
1359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1360
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1360
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
1361
1361
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1362
1362
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1363
1363
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1709,7 +1709,7 @@ var Object$1 = class Object$1 {
|
|
|
1709
1709
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1710
1710
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1711
1711
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1712
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1712
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
1713
1713
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1714
1714
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1715
1715
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2029,7 +2029,7 @@ var Object$1 = class Object$1 {
|
|
|
2029
2029
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2030
2030
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2031
2031
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2032
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2032
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2033
2033
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2034
2034
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2035
2035
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2301,7 +2301,7 @@ var Object$1 = class Object$1 {
|
|
|
2301
2301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2302
2302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2303
2303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2304
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2304
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2305
2305
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2306
2306
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2307
2307
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2541,7 +2541,7 @@ var Object$1 = class Object$1 {
|
|
|
2541
2541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2542
2542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2543
2543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2544
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2544
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2545
2545
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2546
2546
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2547
2547
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2860,7 +2860,7 @@ var Object$1 = class Object$1 {
|
|
|
2860
2860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2861
2861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2862
2862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2863
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2863
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2864
2864
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2865
2865
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2866
2866
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3179,7 +3179,7 @@ var Object$1 = class Object$1 {
|
|
|
3179
3179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3180
3180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3181
3181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3182
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3182
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
3183
3183
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3184
3184
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3185
3185
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3490,7 +3490,7 @@ var Object$1 = class Object$1 {
|
|
|
3490
3490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3491
3491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3492
3492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3493
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3493
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
3494
3494
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3495
3495
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3496
3496
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3801,7 +3801,7 @@ var Object$1 = class Object$1 {
|
|
|
3801
3801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3802
3802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3803
3803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3804
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3804
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
3805
3805
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3806
3806
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3807
3807
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4117,7 +4117,7 @@ var Object$1 = class Object$1 {
|
|
|
4117
4117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4118
4118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4119
4119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4120
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4120
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4121
4121
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4122
4122
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4123
4123
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4343,7 +4343,7 @@ var Object$1 = class Object$1 {
|
|
|
4343
4343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4344
4344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4345
4345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4346
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4346
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4347
4347
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4348
4348
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4349
4349
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4575,7 +4575,7 @@ var Object$1 = class Object$1 {
|
|
|
4575
4575
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4576
4576
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4577
4577
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4578
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4578
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4579
4579
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4580
4580
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4581
4581
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4807,7 +4807,7 @@ var Object$1 = class Object$1 {
|
|
|
4807
4807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4808
4808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4809
4809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4810
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4810
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4811
4811
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4812
4812
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4813
4813
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5057,7 +5057,7 @@ var Object$1 = class Object$1 {
|
|
|
5057
5057
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5058
5058
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5059
5059
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5060
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5060
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5061
5061
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5062
5062
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5063
5063
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5319,7 +5319,7 @@ var Object$1 = class Object$1 {
|
|
|
5319
5319
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5320
5320
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5321
5321
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5322
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5322
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5323
5323
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5324
5324
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5325
5325
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5619,7 +5619,7 @@ var Object$1 = class Object$1 {
|
|
|
5619
5619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5620
5620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5621
5621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5622
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5622
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5623
5623
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5624
5624
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5625
5625
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5919,7 +5919,7 @@ var Object$1 = class Object$1 {
|
|
|
5919
5919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5920
5920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5921
5921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5922
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5922
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5923
5923
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5924
5924
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5925
5925
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6219,7 +6219,7 @@ var Object$1 = class Object$1 {
|
|
|
6219
6219
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6220
6220
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6221
6221
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6222
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6222
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6223
6223
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6224
6224
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6225
6225
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6556,7 +6556,7 @@ var Object$1 = class Object$1 {
|
|
|
6556
6556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6557
6557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6558
6558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6559
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6559
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6560
6560
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6561
6561
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6562
6562
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6879,7 +6879,7 @@ var Object$1 = class Object$1 {
|
|
|
6879
6879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6880
6880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6881
6881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6882
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6882
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6883
6883
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6884
6884
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6885
6885
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7105,7 +7105,7 @@ var Object$1 = class Object$1 {
|
|
|
7105
7105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7106
7106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7107
7107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7108
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7108
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
7109
7109
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7110
7110
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7111
7111
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7331,7 +7331,7 @@ var Object$1 = class Object$1 {
|
|
|
7331
7331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7332
7332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7333
7333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7334
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7334
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
7335
7335
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7336
7336
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7337
7337
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8496,7 +8496,7 @@ var Object$1 = class Object$1 {
|
|
|
8496
8496
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8497
8497
|
*/
|
|
8498
8498
|
static async fromJsonLd(json, options = {}) {
|
|
8499
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
8499
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8500
8500
|
try {
|
|
8501
8501
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
8502
8502
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10256,7 +10256,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
10256
10256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10257
10257
|
*/
|
|
10258
10258
|
static async fromJsonLd(json, options = {}) {
|
|
10259
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10259
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10260
10260
|
try {
|
|
10261
10261
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
10262
10262
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10417,7 +10417,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10417
10417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10418
10418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10419
10419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10420
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10420
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10421
10421
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10422
10422
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10423
10423
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10660,7 +10660,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10660
10660
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10661
10661
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10662
10662
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10663
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10663
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10664
10664
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10665
10665
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10666
10666
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11080,7 +11080,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
11080
11080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11081
11081
|
*/
|
|
11082
11082
|
static async fromJsonLd(json, options = {}) {
|
|
11083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11084
11084
|
try {
|
|
11085
11085
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
11086
11086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11446,7 +11446,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11446
11446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11447
11447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11448
11448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11449
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11449
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
11450
11450
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11451
11451
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11452
11452
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11798,7 +11798,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11798
11798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11799
11799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11800
11800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11801
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11801
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
11802
11802
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11803
11803
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11804
11804
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12100,7 +12100,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12100
12100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12101
12101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12102
12102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12103
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12103
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
12104
12104
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12105
12105
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12106
12106
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12408,7 +12408,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12408
12408
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12409
12409
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12410
12410
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12411
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12411
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
12412
12412
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12413
12413
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12414
12414
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12710,7 +12710,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12710
12710
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12711
12711
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12712
12712
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12713
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12713
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
12714
12714
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12715
12715
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12716
12716
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -13014,7 +13014,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
13014
13014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13015
13015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13016
13016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13017
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
13017
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
13018
13018
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
13019
13019
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13020
13020
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -13447,7 +13447,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
13447
13447
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13448
13448
|
*/
|
|
13449
13449
|
static async fromJsonLd(json, options = {}) {
|
|
13450
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13450
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13451
13451
|
try {
|
|
13452
13452
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
13453
13453
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13854,7 +13854,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13854
13854
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13855
13855
|
*/
|
|
13856
13856
|
static async fromJsonLd(json, options = {}) {
|
|
13857
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13857
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13858
13858
|
try {
|
|
13859
13859
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
13860
13860
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14177,7 +14177,7 @@ var PropertyValue = class {
|
|
|
14177
14177
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14178
14178
|
*/
|
|
14179
14179
|
static async fromJsonLd(json, options = {}) {
|
|
14180
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14180
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14181
14181
|
try {
|
|
14182
14182
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
14183
14183
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14526,7 +14526,7 @@ var Measure = class {
|
|
|
14526
14526
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14527
14527
|
*/
|
|
14528
14528
|
static async fromJsonLd(json, options = {}) {
|
|
14529
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14529
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14530
14530
|
try {
|
|
14531
14531
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
14532
14532
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14720,7 +14720,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
14720
14720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14721
14721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14722
14722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14723
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14723
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
14724
14724
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14725
14725
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14726
14726
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -14946,7 +14946,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
14946
14946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14947
14947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14948
14948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14949
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14949
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
14950
14950
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14951
14951
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14952
14952
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15293,7 +15293,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
15293
15293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15294
15294
|
*/
|
|
15295
15295
|
static async fromJsonLd(json, options = {}) {
|
|
15296
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15297
15297
|
try {
|
|
15298
15298
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
15299
15299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15547,7 +15547,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
15547
15547
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15548
15548
|
*/
|
|
15549
15549
|
static async fromJsonLd(json, options = {}) {
|
|
15550
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15550
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15551
15551
|
try {
|
|
15552
15552
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
15553
15553
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15926,7 +15926,7 @@ var InteractionPolicy = class {
|
|
|
15926
15926
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15927
15927
|
*/
|
|
15928
15928
|
static async fromJsonLd(json, options = {}) {
|
|
15929
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15929
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15930
15930
|
try {
|
|
15931
15931
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
15932
15932
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16364,7 +16364,7 @@ var InteractionRule = class {
|
|
|
16364
16364
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16365
16365
|
*/
|
|
16366
16366
|
static async fromJsonLd(json, options = {}) {
|
|
16367
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
16367
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16368
16368
|
try {
|
|
16369
16369
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
16370
16370
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16559,7 +16559,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
16559
16559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16560
16560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16561
16561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16562
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16562
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
16563
16563
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16564
16564
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16565
16565
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -16785,7 +16785,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
16785
16785
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16786
16786
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16787
16787
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16788
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16788
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
16789
16789
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16790
16790
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16791
16791
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -17132,7 +17132,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
17132
17132
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17133
17133
|
*/
|
|
17134
17134
|
static async fromJsonLd(json, options = {}) {
|
|
17135
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
17135
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17136
17136
|
try {
|
|
17137
17137
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
17138
17138
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17385,7 +17385,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
17385
17385
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17386
17386
|
*/
|
|
17387
17387
|
static async fromJsonLd(json, options = {}) {
|
|
17388
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
17388
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17389
17389
|
try {
|
|
17390
17390
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
17391
17391
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17543,7 +17543,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
17543
17543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17544
17544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17545
17545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17546
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17546
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
17547
17547
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
17548
17548
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17549
17549
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -17769,7 +17769,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
17769
17769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17770
17770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17771
17771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17772
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17772
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
17773
17773
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
17774
17774
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17775
17775
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18116,7 +18116,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
18116
18116
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18117
18117
|
*/
|
|
18118
18118
|
static async fromJsonLd(json, options = {}) {
|
|
18119
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18119
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18120
18120
|
try {
|
|
18121
18121
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
18122
18122
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18369,7 +18369,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
18369
18369
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18370
18370
|
*/
|
|
18371
18371
|
static async fromJsonLd(json, options = {}) {
|
|
18372
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18372
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18373
18373
|
try {
|
|
18374
18374
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
18375
18375
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18527,7 +18527,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18527
18527
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18528
18528
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18529
18529
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18530
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
18530
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
18531
18531
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18532
18532
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18533
18533
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18752,7 +18752,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18752
18752
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18753
18753
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18754
18754
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18755
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
18755
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
18756
18756
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18757
18757
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18758
18758
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -19101,7 +19101,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
19101
19101
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19102
19102
|
*/
|
|
19103
19103
|
static async fromJsonLd(json, options = {}) {
|
|
19104
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19104
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19105
19105
|
try {
|
|
19106
19106
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
19107
19107
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19384,7 +19384,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
19384
19384
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19385
19385
|
*/
|
|
19386
19386
|
static async fromJsonLd(json, options = {}) {
|
|
19387
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19387
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19388
19388
|
try {
|
|
19389
19389
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
19390
19390
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19645,7 +19645,7 @@ var Translation = class {
|
|
|
19645
19645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19646
19646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19647
19647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19648
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
19648
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
19649
19649
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
19650
19650
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19651
19651
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20234,7 +20234,7 @@ var Translation = class {
|
|
|
20234
20234
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20235
20235
|
*/
|
|
20236
20236
|
static async fromJsonLd(json, options = {}) {
|
|
20237
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20237
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20238
20238
|
try {
|
|
20239
20239
|
const object = await this.__fromJsonLd__Translation__(json, span, options);
|
|
20240
20240
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20524,7 +20524,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
20524
20524
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20525
20525
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20526
20526
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20527
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20527
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
20528
20528
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20529
20529
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20530
20530
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20749,7 +20749,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
20749
20749
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20750
20750
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20751
20751
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20752
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20752
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
20753
20753
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20754
20754
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20755
20755
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21098,7 +21098,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
21098
21098
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21099
21099
|
*/
|
|
21100
21100
|
static async fromJsonLd(json, options = {}) {
|
|
21101
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
21101
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21102
21102
|
try {
|
|
21103
21103
|
const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
|
|
21104
21104
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21349,7 +21349,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
|
|
|
21349
21349
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21350
21350
|
*/
|
|
21351
21351
|
static async fromJsonLd(json, options = {}) {
|
|
21352
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
21352
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21353
21353
|
try {
|
|
21354
21354
|
const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
|
|
21355
21355
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21640,7 +21640,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21640
21640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21641
21641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21642
21642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21643
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21643
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21644
21644
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21645
21645
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21646
21646
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21866,7 +21866,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21866
21866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21867
21867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21868
21868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21869
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21869
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21870
21870
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21871
21871
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21872
21872
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22092,7 +22092,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22092
22092
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22093
22093
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22094
22094
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22095
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22095
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22096
22096
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22097
22097
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22098
22098
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22318,7 +22318,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22318
22318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22319
22319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22320
22320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22321
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22321
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22322
22322
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22323
22323
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22324
22324
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22559,7 +22559,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22559
22559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22560
22560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22561
22561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22562
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22562
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22563
22563
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22564
22564
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22565
22565
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22784,7 +22784,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22784
22784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22785
22785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22786
22786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22787
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22787
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22788
22788
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22789
22789
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22790
22790
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23009,7 +23009,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23009
23009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23010
23010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23011
23011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23012
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23012
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23013
23013
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23014
23014
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23015
23015
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23234,7 +23234,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23234
23234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23235
23235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23236
23236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23237
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23237
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23238
23238
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23239
23239
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23240
23240
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23459,7 +23459,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23459
23459
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23460
23460
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23461
23461
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23462
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23462
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23463
23463
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23464
23464
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23465
23465
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23684,7 +23684,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23684
23684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23685
23685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23686
23686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23687
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23687
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23688
23688
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23689
23689
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23690
23690
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23909,7 +23909,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23909
23909
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23910
23910
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23911
23911
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23912
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23912
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23913
23913
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23914
23914
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23915
23915
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24134,7 +24134,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24134
24134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24135
24135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24136
24136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24137
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
24137
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
24138
24138
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
24139
24139
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24140
24140
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24769,7 +24769,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24769
24769
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24770
24770
|
*/
|
|
24771
24771
|
static async fromJsonLd(json, options = {}) {
|
|
24772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24772
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24773
24773
|
try {
|
|
24774
24774
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24775
24775
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25322,7 +25322,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25322
25322
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25323
25323
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25324
25324
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25325
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25325
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
25326
25326
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25327
25327
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25328
25328
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -25723,7 +25723,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25723
25723
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25724
25724
|
*/
|
|
25725
25725
|
static async fromJsonLd(json, options = {}) {
|
|
25726
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
25726
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25727
25727
|
try {
|
|
25728
25728
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25729
25729
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26118,7 +26118,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
|
|
|
26118
26118
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26119
26119
|
*/
|
|
26120
26120
|
static async fromJsonLd(json, options = {}) {
|
|
26121
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
26121
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26122
26122
|
try {
|
|
26123
26123
|
const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
|
|
26124
26124
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26311,7 +26311,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26311
26311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26312
26312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26313
26313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26314
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26314
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26315
26315
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26316
26316
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26317
26317
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26536,7 +26536,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26536
26536
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26537
26537
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26538
26538
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26539
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26539
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26540
26540
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26541
26541
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26542
26542
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26886,7 +26886,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26886
26886
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26887
26887
|
*/
|
|
26888
26888
|
static async fromJsonLd(json, options = {}) {
|
|
26889
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
26889
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26890
26890
|
try {
|
|
26891
26891
|
const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
|
|
26892
26892
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27217,7 +27217,7 @@ var DidService = class {
|
|
|
27217
27217
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27218
27218
|
*/
|
|
27219
27219
|
static async fromJsonLd(json, options = {}) {
|
|
27220
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
27220
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27221
27221
|
try {
|
|
27222
27222
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
27223
27223
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27419,7 +27419,7 @@ var Export = class Export extends DidService {
|
|
|
27419
27419
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27420
27420
|
*/
|
|
27421
27421
|
static async fromJsonLd(json, options = {}) {
|
|
27422
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
27422
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27423
27423
|
try {
|
|
27424
27424
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
27425
27425
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27643,7 +27643,7 @@ var DataIntegrityProof = class {
|
|
|
27643
27643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27644
27644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27645
27645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27646
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27646
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
27647
27647
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
27648
27648
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27649
27649
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -27995,7 +27995,7 @@ var DataIntegrityProof = class {
|
|
|
27995
27995
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27996
27996
|
*/
|
|
27997
27997
|
static async fromJsonLd(json, options = {}) {
|
|
27998
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
27998
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27999
27999
|
try {
|
|
28000
28000
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
28001
28001
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28290,7 +28290,7 @@ var CryptographicKey = class {
|
|
|
28290
28290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28291
28291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28292
28292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28293
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28293
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
28294
28294
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28295
28295
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28296
28296
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -28687,7 +28687,7 @@ var CryptographicKey = class {
|
|
|
28687
28687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28688
28688
|
*/
|
|
28689
28689
|
static async fromJsonLd(json, options = {}) {
|
|
28690
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
28690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28691
28691
|
try {
|
|
28692
28692
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
28693
28693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28943,7 +28943,7 @@ var Multikey = class {
|
|
|
28943
28943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28944
28944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28945
28945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28946
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28946
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
28947
28947
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28948
28948
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28949
28949
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -29346,7 +29346,7 @@ var Multikey = class {
|
|
|
29346
29346
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29347
29347
|
*/
|
|
29348
29348
|
static async fromJsonLd(json, options = {}) {
|
|
29349
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29350
29350
|
try {
|
|
29351
29351
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
29352
29352
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29733,7 +29733,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
29733
29733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29734
29734
|
*/
|
|
29735
29735
|
static async fromJsonLd(json, options = {}) {
|
|
29736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29737
29737
|
try {
|
|
29738
29738
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
29739
29739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30112,7 +30112,7 @@ var Commitment = class {
|
|
|
30112
30112
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30113
30113
|
*/
|
|
30114
30114
|
static async fromJsonLd(json, options = {}) {
|
|
30115
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30115
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30116
30116
|
try {
|
|
30117
30117
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
30118
30118
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30583,7 +30583,7 @@ var Intent = class {
|
|
|
30583
30583
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30584
30584
|
*/
|
|
30585
30585
|
static async fromJsonLd(json, options = {}) {
|
|
30586
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30586
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30587
30587
|
try {
|
|
30588
30588
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
30589
30589
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31082,7 +31082,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
31082
31082
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31083
31083
|
*/
|
|
31084
31084
|
static async fromJsonLd(json, options = {}) {
|
|
31085
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31085
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31086
31086
|
try {
|
|
31087
31087
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
31088
31088
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31354,7 +31354,7 @@ var Accept = class Accept extends Activity {
|
|
|
31354
31354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31355
31355
|
*/
|
|
31356
31356
|
static async fromJsonLd(json, options = {}) {
|
|
31357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31358
31358
|
try {
|
|
31359
31359
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
31360
31360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31549,7 +31549,7 @@ var Add = class Add extends Activity {
|
|
|
31549
31549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31550
31550
|
*/
|
|
31551
31551
|
static async fromJsonLd(json, options = {}) {
|
|
31552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31553
31553
|
try {
|
|
31554
31554
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
31555
31555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31771,7 +31771,7 @@ var Announce = class Announce extends Activity {
|
|
|
31771
31771
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31772
31772
|
*/
|
|
31773
31773
|
static async fromJsonLd(json, options = {}) {
|
|
31774
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31774
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31775
31775
|
try {
|
|
31776
31776
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
31777
31777
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32221,7 +32221,7 @@ var Application = class Application extends Object$1 {
|
|
|
32221
32221
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32222
32222
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32223
32223
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32224
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32224
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32225
32225
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32226
32226
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32227
32227
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32519,7 +32519,7 @@ var Application = class Application extends Object$1 {
|
|
|
32519
32519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32520
32520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32521
32521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32522
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32522
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32523
32523
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32524
32524
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32525
32525
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32853,7 +32853,7 @@ var Application = class Application extends Object$1 {
|
|
|
32853
32853
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32854
32854
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32855
32855
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32856
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32856
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32857
32857
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32858
32858
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32859
32859
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33101,7 +33101,7 @@ var Application = class Application extends Object$1 {
|
|
|
33101
33101
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33102
33102
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33103
33103
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33104
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33104
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33105
33105
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33106
33106
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33107
33107
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33346,7 +33346,7 @@ var Application = class Application extends Object$1 {
|
|
|
33346
33346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33347
33347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33348
33348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33349
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33349
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33350
33350
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33351
33351
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33352
33352
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33575,7 +33575,7 @@ var Application = class Application extends Object$1 {
|
|
|
33575
33575
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33576
33576
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33577
33577
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33578
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33578
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33579
33579
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33580
33580
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33581
33581
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33807,7 +33807,7 @@ var Application = class Application extends Object$1 {
|
|
|
33807
33807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33808
33808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33809
33809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33810
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33810
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33811
33811
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33812
33812
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33813
33813
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34037,7 +34037,7 @@ var Application = class Application extends Object$1 {
|
|
|
34037
34037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34038
34038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34039
34039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34040
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34040
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34041
34041
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34042
34042
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34043
34043
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34265,7 +34265,7 @@ var Application = class Application extends Object$1 {
|
|
|
34265
34265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34266
34266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34267
34267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34268
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34268
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34269
34269
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34270
34270
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34271
34271
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34493,7 +34493,7 @@ var Application = class Application extends Object$1 {
|
|
|
34493
34493
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34494
34494
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34495
34495
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34496
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34496
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34497
34497
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34498
34498
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34499
34499
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34718,7 +34718,7 @@ var Application = class Application extends Object$1 {
|
|
|
34718
34718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34719
34719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34720
34720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34721
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34721
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34722
34722
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34723
34723
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34724
34724
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34989,7 +34989,7 @@ var Application = class Application extends Object$1 {
|
|
|
34989
34989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34990
34990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34991
34991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34992
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34992
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34993
34993
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34994
34994
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34995
34995
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35264,7 +35264,7 @@ var Application = class Application extends Object$1 {
|
|
|
35264
35264
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35265
35265
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35266
35266
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35267
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
35267
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
35268
35268
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35269
35269
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35270
35270
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35618,7 +35618,7 @@ var Application = class Application extends Object$1 {
|
|
|
35618
35618
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35619
35619
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35620
35620
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35621
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
35621
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
35622
35622
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35623
35623
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35624
35624
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -36615,7 +36615,7 @@ var Application = class Application extends Object$1 {
|
|
|
36615
36615
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36616
36616
|
*/
|
|
36617
36617
|
static async fromJsonLd(json, options = {}) {
|
|
36618
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
36618
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36619
36619
|
try {
|
|
36620
36620
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
36621
36621
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37392,7 +37392,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
37392
37392
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37393
37393
|
*/
|
|
37394
37394
|
static async fromJsonLd(json, options = {}) {
|
|
37395
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
37395
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37396
37396
|
try {
|
|
37397
37397
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
37398
37398
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37588,7 +37588,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
37588
37588
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37589
37589
|
*/
|
|
37590
37590
|
static async fromJsonLd(json, options = {}) {
|
|
37591
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
37591
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37592
37592
|
try {
|
|
37593
37593
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
37594
37594
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37745,7 +37745,7 @@ var Article = class Article extends Object$1 {
|
|
|
37745
37745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37746
37746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37747
37747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37748
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37748
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37749
37749
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37750
37750
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37751
37751
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37988,7 +37988,7 @@ var Article = class Article extends Object$1 {
|
|
|
37988
37988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37989
37989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37990
37990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37991
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37991
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37992
37992
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37993
37993
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37994
37994
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38410,7 +38410,7 @@ var Article = class Article extends Object$1 {
|
|
|
38410
38410
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38411
38411
|
*/
|
|
38412
38412
|
static async fromJsonLd(json, options = {}) {
|
|
38413
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38413
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38414
38414
|
try {
|
|
38415
38415
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
38416
38416
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38793,7 +38793,7 @@ var Document = class Document extends Object$1 {
|
|
|
38793
38793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38794
38794
|
*/
|
|
38795
38795
|
static async fromJsonLd(json, options = {}) {
|
|
38796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38797
38797
|
try {
|
|
38798
38798
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
38799
38799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39059,7 +39059,7 @@ var Audio = class Audio extends Document {
|
|
|
39059
39059
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39060
39060
|
*/
|
|
39061
39061
|
static async fromJsonLd(json, options = {}) {
|
|
39062
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39062
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39063
39063
|
try {
|
|
39064
39064
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
39065
39065
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39251,7 +39251,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
39251
39251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39252
39252
|
*/
|
|
39253
39253
|
static async fromJsonLd(json, options = {}) {
|
|
39254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39255
39255
|
try {
|
|
39256
39256
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
39257
39257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39446,7 +39446,7 @@ var Block = class Block extends Ignore {
|
|
|
39446
39446
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39447
39447
|
*/
|
|
39448
39448
|
static async fromJsonLd(json, options = {}) {
|
|
39449
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39449
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39450
39450
|
try {
|
|
39451
39451
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
39452
39452
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39611,7 +39611,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
39611
39611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39612
39612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39613
39613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39614
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39614
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
39615
39615
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
39616
39616
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39617
39617
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -39837,7 +39837,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
39837
39837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39838
39838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39839
39839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39840
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39840
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
39841
39841
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
39842
39842
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39843
39843
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -40062,7 +40062,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
40062
40062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40063
40063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40064
40064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40065
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40065
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
40066
40066
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
40067
40067
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40068
40068
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -40484,7 +40484,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
40484
40484
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40485
40485
|
*/
|
|
40486
40486
|
static async fromJsonLd(json, options = {}) {
|
|
40487
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40487
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40488
40488
|
try {
|
|
40489
40489
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
40490
40490
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40785,7 +40785,7 @@ var Create = class Create extends Activity {
|
|
|
40785
40785
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40786
40786
|
*/
|
|
40787
40787
|
static async fromJsonLd(json, options = {}) {
|
|
40788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40788
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40789
40789
|
try {
|
|
40790
40790
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
40791
40791
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41003,7 +41003,7 @@ var Delete = class Delete extends Activity {
|
|
|
41003
41003
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41004
41004
|
*/
|
|
41005
41005
|
static async fromJsonLd(json, options = {}) {
|
|
41006
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41006
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41007
41007
|
try {
|
|
41008
41008
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
41009
41009
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41198,7 +41198,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
41198
41198
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41199
41199
|
*/
|
|
41200
41200
|
static async fromJsonLd(json, options = {}) {
|
|
41201
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41201
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41202
41202
|
try {
|
|
41203
41203
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
41204
41204
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41675,7 +41675,7 @@ var Endpoints = class {
|
|
|
41675
41675
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41676
41676
|
*/
|
|
41677
41677
|
static async fromJsonLd(json, options = {}) {
|
|
41678
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41678
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41679
41679
|
try {
|
|
41680
41680
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
41681
41681
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42005,7 +42005,7 @@ var Event = class Event extends Object$1 {
|
|
|
42005
42005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42006
42006
|
*/
|
|
42007
42007
|
static async fromJsonLd(json, options = {}) {
|
|
42008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42009
42009
|
try {
|
|
42010
42010
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
42011
42011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42198,7 +42198,7 @@ var Flag = class Flag extends Activity {
|
|
|
42198
42198
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42199
42199
|
*/
|
|
42200
42200
|
static async fromJsonLd(json, options = {}) {
|
|
42201
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42201
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42202
42202
|
try {
|
|
42203
42203
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
42204
42204
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42395,7 +42395,7 @@ var Follow = class Follow extends Activity {
|
|
|
42395
42395
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42396
42396
|
*/
|
|
42397
42397
|
static async fromJsonLd(json, options = {}) {
|
|
42398
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42398
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42399
42399
|
try {
|
|
42400
42400
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
42401
42401
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42845,7 +42845,7 @@ var Group = class Group extends Object$1 {
|
|
|
42845
42845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42846
42846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42847
42847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42848
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42848
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
42849
42849
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
42850
42850
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42851
42851
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43143,7 +43143,7 @@ var Group = class Group extends Object$1 {
|
|
|
43143
43143
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43144
43144
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43145
43145
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43146
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43146
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43147
43147
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43148
43148
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43149
43149
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43477,7 +43477,7 @@ var Group = class Group extends Object$1 {
|
|
|
43477
43477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43478
43478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43479
43479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43480
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43480
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43481
43481
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43482
43482
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43483
43483
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43725,7 +43725,7 @@ var Group = class Group extends Object$1 {
|
|
|
43725
43725
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43726
43726
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43727
43727
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43728
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43728
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43729
43729
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43730
43730
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43731
43731
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43970,7 +43970,7 @@ var Group = class Group extends Object$1 {
|
|
|
43970
43970
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43971
43971
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43972
43972
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43973
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43973
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43974
43974
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43975
43975
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43976
43976
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44199,7 +44199,7 @@ var Group = class Group extends Object$1 {
|
|
|
44199
44199
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44200
44200
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44201
44201
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44202
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44202
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44203
44203
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44204
44204
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44205
44205
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44431,7 +44431,7 @@ var Group = class Group extends Object$1 {
|
|
|
44431
44431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44432
44432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44433
44433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44434
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44434
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44435
44435
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44436
44436
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44437
44437
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44661,7 +44661,7 @@ var Group = class Group extends Object$1 {
|
|
|
44661
44661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44662
44662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44663
44663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44664
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44664
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44665
44665
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44666
44666
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44667
44667
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44889,7 +44889,7 @@ var Group = class Group extends Object$1 {
|
|
|
44889
44889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44890
44890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44891
44891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44892
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44892
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44893
44893
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44894
44894
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44895
44895
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45117,7 +45117,7 @@ var Group = class Group extends Object$1 {
|
|
|
45117
45117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45118
45118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45119
45119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45120
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45120
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45121
45121
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45122
45122
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45123
45123
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45342,7 +45342,7 @@ var Group = class Group extends Object$1 {
|
|
|
45342
45342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45343
45343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45344
45344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45345
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45345
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45346
45346
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45347
45347
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45348
45348
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45613,7 +45613,7 @@ var Group = class Group extends Object$1 {
|
|
|
45613
45613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45614
45614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45615
45615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45616
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45616
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45617
45617
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45618
45618
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45619
45619
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45888,7 +45888,7 @@ var Group = class Group extends Object$1 {
|
|
|
45888
45888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45889
45889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45890
45890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45891
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45891
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45892
45892
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45893
45893
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45894
45894
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46242,7 +46242,7 @@ var Group = class Group extends Object$1 {
|
|
|
46242
46242
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46243
46243
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46244
46244
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46245
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
46245
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
46246
46246
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46247
46247
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46248
46248
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47239,7 +47239,7 @@ var Group = class Group extends Object$1 {
|
|
|
47239
47239
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47240
47240
|
*/
|
|
47241
47241
|
static async fromJsonLd(json, options = {}) {
|
|
47242
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
47242
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47243
47243
|
try {
|
|
47244
47244
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
47245
47245
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48177,7 +48177,7 @@ var Link = class Link {
|
|
|
48177
48177
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48178
48178
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48179
48179
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48180
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
48180
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
48181
48181
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48182
48182
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48183
48183
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -48652,7 +48652,7 @@ var Link = class Link {
|
|
|
48652
48652
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48653
48653
|
*/
|
|
48654
48654
|
static async fromJsonLd(json, options = {}) {
|
|
48655
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
48655
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48656
48656
|
try {
|
|
48657
48657
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
48658
48658
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49098,7 +49098,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
49098
49098
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49099
49099
|
*/
|
|
49100
49100
|
static async fromJsonLd(json, options = {}) {
|
|
49101
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49101
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49102
49102
|
try {
|
|
49103
49103
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
49104
49104
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49305,7 +49305,7 @@ var Image = class Image extends Document {
|
|
|
49305
49305
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49306
49306
|
*/
|
|
49307
49307
|
static async fromJsonLd(json, options = {}) {
|
|
49308
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49308
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49309
49309
|
try {
|
|
49310
49310
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
49311
49311
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49498,7 +49498,7 @@ var Offer = class Offer extends Activity {
|
|
|
49498
49498
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49499
49499
|
*/
|
|
49500
49500
|
static async fromJsonLd(json, options = {}) {
|
|
49501
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49501
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49502
49502
|
try {
|
|
49503
49503
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
49504
49504
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49691,7 +49691,7 @@ var Invite = class Invite extends Offer {
|
|
|
49691
49691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49692
49692
|
*/
|
|
49693
49693
|
static async fromJsonLd(json, options = {}) {
|
|
49694
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49695
49695
|
try {
|
|
49696
49696
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
49697
49697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49883,7 +49883,7 @@ var Join = class Join extends Activity {
|
|
|
49883
49883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49884
49884
|
*/
|
|
49885
49885
|
static async fromJsonLd(json, options = {}) {
|
|
49886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49887
49887
|
try {
|
|
49888
49888
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
49889
49889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50075,7 +50075,7 @@ var Leave = class Leave extends Activity {
|
|
|
50075
50075
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50076
50076
|
*/
|
|
50077
50077
|
static async fromJsonLd(json, options = {}) {
|
|
50078
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50078
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50079
50079
|
try {
|
|
50080
50080
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
50081
50081
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50271,7 +50271,7 @@ var Like = class Like extends Activity {
|
|
|
50271
50271
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50272
50272
|
*/
|
|
50273
50273
|
static async fromJsonLd(json, options = {}) {
|
|
50274
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50274
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50275
50275
|
try {
|
|
50276
50276
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
50277
50277
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50462,7 +50462,7 @@ var Listen = class Listen extends Activity {
|
|
|
50462
50462
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50463
50463
|
*/
|
|
50464
50464
|
static async fromJsonLd(json, options = {}) {
|
|
50465
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50465
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50466
50466
|
try {
|
|
50467
50467
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
50468
50468
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50656,7 +50656,7 @@ var Mention = class Mention extends Link {
|
|
|
50656
50656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50657
50657
|
*/
|
|
50658
50658
|
static async fromJsonLd(json, options = {}) {
|
|
50659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50660
50660
|
try {
|
|
50661
50661
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
50662
50662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50849,7 +50849,7 @@ var Move = class Move extends Activity {
|
|
|
50849
50849
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50850
50850
|
*/
|
|
50851
50851
|
static async fromJsonLd(json, options = {}) {
|
|
50852
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50852
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50853
50853
|
try {
|
|
50854
50854
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
50855
50855
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51007,7 +51007,7 @@ var Note = class Note extends Object$1 {
|
|
|
51007
51007
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
51008
51008
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
51009
51009
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
51010
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
51010
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
51011
51011
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51012
51012
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51013
51013
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -51250,7 +51250,7 @@ var Note = class Note extends Object$1 {
|
|
|
51250
51250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
51251
51251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
51252
51252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
51253
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
51253
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
51254
51254
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51255
51255
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51256
51256
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -51672,7 +51672,7 @@ var Note = class Note extends Object$1 {
|
|
|
51672
51672
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51673
51673
|
*/
|
|
51674
51674
|
static async fromJsonLd(json, options = {}) {
|
|
51675
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
51675
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51676
51676
|
try {
|
|
51677
51677
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
51678
51678
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51893,7 +51893,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
51893
51893
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
51894
51894
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
51895
51895
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
51896
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
51896
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
51897
51897
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51898
51898
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51899
51899
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -52322,7 +52322,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
52322
52322
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52323
52323
|
*/
|
|
52324
52324
|
static async fromJsonLd(json, options = {}) {
|
|
52325
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
52325
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52326
52326
|
try {
|
|
52327
52327
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
52328
52328
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -52894,7 +52894,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
52894
52894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
52895
52895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
52896
52896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
52897
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
52897
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
52898
52898
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
52899
52899
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
52900
52900
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53192,7 +53192,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53192
53192
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53193
53193
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53194
53194
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53195
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53195
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53196
53196
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53197
53197
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53198
53198
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53526,7 +53526,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53526
53526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53527
53527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53528
53528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53529
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53529
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53530
53530
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53531
53531
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53532
53532
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53774,7 +53774,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53774
53774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53775
53775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53776
53776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53777
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53777
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53778
53778
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53779
53779
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53780
53780
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54019,7 +54019,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54019
54019
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54020
54020
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54021
54021
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54022
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54022
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54023
54023
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54024
54024
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54025
54025
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54248,7 +54248,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54248
54248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54249
54249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54250
54250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54251
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54251
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54252
54252
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54253
54253
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54254
54254
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54480,7 +54480,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54480
54480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54481
54481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54482
54482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54483
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54483
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54484
54484
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54485
54485
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54486
54486
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54710,7 +54710,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54710
54710
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54711
54711
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54712
54712
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54713
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54713
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54714
54714
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54715
54715
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54716
54716
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54938,7 +54938,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54938
54938
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54939
54939
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54940
54940
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54941
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54941
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54942
54942
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54943
54943
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54944
54944
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55166,7 +55166,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55166
55166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55167
55167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55168
55168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55169
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55169
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55170
55170
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55171
55171
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55172
55172
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55391,7 +55391,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55391
55391
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55392
55392
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55393
55393
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55394
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55394
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55395
55395
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55396
55396
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55397
55397
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55662,7 +55662,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55662
55662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55663
55663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55664
55664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55665
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55665
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55666
55666
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55667
55667
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55668
55668
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55937,7 +55937,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55937
55937
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55938
55938
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55939
55939
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55940
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55940
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55941
55941
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55942
55942
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55943
55943
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56291,7 +56291,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56291
56291
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
56292
56292
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
56293
56293
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
56294
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
56294
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
56295
56295
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56296
56296
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56297
56297
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57288,7 +57288,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57288
57288
|
* @throws {TypeError} If the given `json` is invalid.
|
|
57289
57289
|
*/
|
|
57290
57290
|
static async fromJsonLd(json, options = {}) {
|
|
57291
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
57291
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
57292
57292
|
try {
|
|
57293
57293
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
57294
57294
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -58079,7 +58079,7 @@ var Page = class Page extends Document {
|
|
|
58079
58079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
58080
58080
|
*/
|
|
58081
58081
|
static async fromJsonLd(json, options = {}) {
|
|
58082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
58082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
58083
58083
|
try {
|
|
58084
58084
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
58085
58085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -58529,7 +58529,7 @@ var Person = class Person extends Object$1 {
|
|
|
58529
58529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
58530
58530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
58531
58531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
58532
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58532
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58533
58533
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58534
58534
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58535
58535
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58827,7 +58827,7 @@ var Person = class Person extends Object$1 {
|
|
|
58827
58827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
58828
58828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
58829
58829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
58830
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58830
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58831
58831
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58832
58832
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58833
58833
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59161,7 +59161,7 @@ var Person = class Person extends Object$1 {
|
|
|
59161
59161
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59162
59162
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59163
59163
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59164
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59164
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59165
59165
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59166
59166
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59167
59167
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59409,7 +59409,7 @@ var Person = class Person extends Object$1 {
|
|
|
59409
59409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59410
59410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59411
59411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59412
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59412
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59413
59413
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59414
59414
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59415
59415
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59654,7 +59654,7 @@ var Person = class Person extends Object$1 {
|
|
|
59654
59654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59655
59655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59656
59656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59657
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59657
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59658
59658
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59659
59659
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59660
59660
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59883,7 +59883,7 @@ var Person = class Person extends Object$1 {
|
|
|
59883
59883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59884
59884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59885
59885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59886
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59886
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59887
59887
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59888
59888
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59889
59889
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60115,7 +60115,7 @@ var Person = class Person extends Object$1 {
|
|
|
60115
60115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60116
60116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60117
60117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60118
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60118
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60119
60119
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60120
60120
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60121
60121
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60345,7 +60345,7 @@ var Person = class Person extends Object$1 {
|
|
|
60345
60345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60346
60346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60347
60347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60348
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60348
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60349
60349
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60350
60350
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60351
60351
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60573,7 +60573,7 @@ var Person = class Person extends Object$1 {
|
|
|
60573
60573
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60574
60574
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60575
60575
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60576
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60576
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60577
60577
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60578
60578
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60579
60579
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60801,7 +60801,7 @@ var Person = class Person extends Object$1 {
|
|
|
60801
60801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60802
60802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60803
60803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60804
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60804
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60805
60805
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60806
60806
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60807
60807
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61026,7 +61026,7 @@ var Person = class Person extends Object$1 {
|
|
|
61026
61026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61027
61027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61028
61028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61029
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61029
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61030
61030
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61031
61031
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61032
61032
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61297,7 +61297,7 @@ var Person = class Person extends Object$1 {
|
|
|
61297
61297
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61298
61298
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61299
61299
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61300
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61300
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61301
61301
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61302
61302
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61303
61303
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61572,7 +61572,7 @@ var Person = class Person extends Object$1 {
|
|
|
61572
61572
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61573
61573
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61574
61574
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61575
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61575
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61576
61576
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61577
61577
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61578
61578
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61926,7 +61926,7 @@ var Person = class Person extends Object$1 {
|
|
|
61926
61926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61927
61927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61928
61928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61929
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61929
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61930
61930
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61931
61931
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61932
61932
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62923,7 +62923,7 @@ var Person = class Person extends Object$1 {
|
|
|
62923
62923
|
* @throws {TypeError} If the given `json` is invalid.
|
|
62924
62924
|
*/
|
|
62925
62925
|
static async fromJsonLd(json, options = {}) {
|
|
62926
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
62926
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
62927
62927
|
try {
|
|
62928
62928
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
62929
62929
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -63919,7 +63919,7 @@ var Place = class Place extends Object$1 {
|
|
|
63919
63919
|
* @throws {TypeError} If the given `json` is invalid.
|
|
63920
63920
|
*/
|
|
63921
63921
|
static async fromJsonLd(json, options = {}) {
|
|
63922
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
63922
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
63923
63923
|
try {
|
|
63924
63924
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
63925
63925
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -64171,7 +64171,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
64171
64171
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
64172
64172
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
64173
64173
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
64174
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64174
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64175
64175
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64176
64176
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64177
64177
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64498,7 +64498,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
64498
64498
|
* @throws {TypeError} If the given `json` is invalid.
|
|
64499
64499
|
*/
|
|
64500
64500
|
static async fromJsonLd(json, options = {}) {
|
|
64501
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
64501
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
64502
64502
|
try {
|
|
64503
64503
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
64504
64504
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -64727,7 +64727,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
64727
64727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
64728
64728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
64729
64729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
64730
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64730
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64731
64731
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64732
64732
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64733
64733
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64958,7 +64958,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
64958
64958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
64959
64959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
64960
64960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
64961
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64961
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64962
64962
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64963
64963
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64964
64964
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65205,7 +65205,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65205
65205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65206
65206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65207
65207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65208
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
65208
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
65209
65209
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65210
65210
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65211
65211
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65448,7 +65448,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65448
65448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65449
65449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65450
65450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65451
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
65451
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
65452
65452
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65453
65453
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65454
65454
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65856,7 +65856,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65856
65856
|
* @throws {TypeError} If the given `json` is invalid.
|
|
65857
65857
|
*/
|
|
65858
65858
|
static async fromJsonLd(json, options = {}) {
|
|
65859
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
65859
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
65860
65860
|
try {
|
|
65861
65861
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
65862
65862
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -66208,7 +66208,7 @@ var Read = class Read extends Activity {
|
|
|
66208
66208
|
* @throws {TypeError} If the given `json` is invalid.
|
|
66209
66209
|
*/
|
|
66210
66210
|
static async fromJsonLd(json, options = {}) {
|
|
66211
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
66211
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
66212
66212
|
try {
|
|
66213
66213
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
66214
66214
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -66400,7 +66400,7 @@ var Reject = class Reject extends Activity {
|
|
|
66400
66400
|
* @throws {TypeError} If the given `json` is invalid.
|
|
66401
66401
|
*/
|
|
66402
66402
|
static async fromJsonLd(json, options = {}) {
|
|
66403
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
66403
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
66404
66404
|
try {
|
|
66405
66405
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
66406
66406
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -66600,7 +66600,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
66600
66600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
66601
66601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
66602
66602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
66603
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
66603
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
66604
66604
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
66605
66605
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
66606
66606
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -66828,7 +66828,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
66828
66828
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
66829
66829
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
66830
66830
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
66831
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
66831
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
66832
66832
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
66833
66833
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
66834
66834
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -67126,7 +67126,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
67126
67126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
67127
67127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
67128
67128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
67129
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
67129
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
67130
67130
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
67131
67131
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
67132
67132
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -67571,7 +67571,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
67571
67571
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67572
67572
|
*/
|
|
67573
67573
|
static async fromJsonLd(json, options = {}) {
|
|
67574
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
67574
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67575
67575
|
try {
|
|
67576
67576
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
67577
67577
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67844,7 +67844,7 @@ var Remove = class Remove extends Activity {
|
|
|
67844
67844
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67845
67845
|
*/
|
|
67846
67846
|
static async fromJsonLd(json, options = {}) {
|
|
67847
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
67847
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67848
67848
|
try {
|
|
67849
67849
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
67850
67850
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -68294,7 +68294,7 @@ var Service = class Service extends Object$1 {
|
|
|
68294
68294
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68295
68295
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68296
68296
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68297
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68297
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68298
68298
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68299
68299
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68300
68300
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68592,7 +68592,7 @@ var Service = class Service extends Object$1 {
|
|
|
68592
68592
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68593
68593
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68594
68594
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68595
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68595
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68596
68596
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68597
68597
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68598
68598
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68926,7 +68926,7 @@ var Service = class Service extends Object$1 {
|
|
|
68926
68926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68927
68927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68928
68928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68929
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68929
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68930
68930
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68931
68931
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68932
68932
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69174,7 +69174,7 @@ var Service = class Service extends Object$1 {
|
|
|
69174
69174
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69175
69175
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69176
69176
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69177
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69177
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69178
69178
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69179
69179
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69180
69180
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69419,7 +69419,7 @@ var Service = class Service extends Object$1 {
|
|
|
69419
69419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69420
69420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69421
69421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69422
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69422
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69423
69423
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69424
69424
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69425
69425
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69648,7 +69648,7 @@ var Service = class Service extends Object$1 {
|
|
|
69648
69648
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69649
69649
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69650
69650
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69651
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69651
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69652
69652
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69653
69653
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69654
69654
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69880,7 +69880,7 @@ var Service = class Service extends Object$1 {
|
|
|
69880
69880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69881
69881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69882
69882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69883
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69883
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69884
69884
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69885
69885
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69886
69886
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70110,7 +70110,7 @@ var Service = class Service extends Object$1 {
|
|
|
70110
70110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70111
70111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70112
70112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70113
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70113
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70114
70114
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70115
70115
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70116
70116
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70338,7 +70338,7 @@ var Service = class Service extends Object$1 {
|
|
|
70338
70338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70339
70339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70340
70340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70341
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70341
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70342
70342
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70343
70343
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70344
70344
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70566,7 +70566,7 @@ var Service = class Service extends Object$1 {
|
|
|
70566
70566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70567
70567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70568
70568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70569
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70569
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70570
70570
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70571
70571
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70572
70572
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70791,7 +70791,7 @@ var Service = class Service extends Object$1 {
|
|
|
70791
70791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70792
70792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70793
70793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70794
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70794
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70795
70795
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70796
70796
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70797
70797
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71062,7 +71062,7 @@ var Service = class Service extends Object$1 {
|
|
|
71062
71062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71063
71063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71064
71064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71065
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
71065
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
71066
71066
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71067
71067
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71068
71068
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71337,7 +71337,7 @@ var Service = class Service extends Object$1 {
|
|
|
71337
71337
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71338
71338
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71339
71339
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71340
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
71340
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
71341
71341
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71342
71342
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71343
71343
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71691,7 +71691,7 @@ var Service = class Service extends Object$1 {
|
|
|
71691
71691
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71692
71692
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71693
71693
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71694
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
71694
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
71695
71695
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71696
71696
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71697
71697
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72688,7 +72688,7 @@ var Service = class Service extends Object$1 {
|
|
|
72688
72688
|
* @throws {TypeError} If the given `json` is invalid.
|
|
72689
72689
|
*/
|
|
72690
72690
|
static async fromJsonLd(json, options = {}) {
|
|
72691
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
72691
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
72692
72692
|
try {
|
|
72693
72693
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
72694
72694
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -73593,7 +73593,7 @@ var Source = class {
|
|
|
73593
73593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
73594
73594
|
*/
|
|
73595
73595
|
static async fromJsonLd(json, options = {}) {
|
|
73596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
73596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
73597
73597
|
try {
|
|
73598
73598
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
73599
73599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -73821,7 +73821,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
73821
73821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
73822
73822
|
*/
|
|
73823
73823
|
static async fromJsonLd(json, options = {}) {
|
|
73824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
73824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
73825
73825
|
try {
|
|
73826
73826
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
73827
73827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74013,7 +74013,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
74013
74013
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74014
74014
|
*/
|
|
74015
74015
|
static async fromJsonLd(json, options = {}) {
|
|
74016
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74016
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74017
74017
|
try {
|
|
74018
74018
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
74019
74019
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74304,7 +74304,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
74304
74304
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74305
74305
|
*/
|
|
74306
74306
|
static async fromJsonLd(json, options = {}) {
|
|
74307
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74307
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74308
74308
|
try {
|
|
74309
74309
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
74310
74310
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74541,7 +74541,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
74541
74541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74542
74542
|
*/
|
|
74543
74543
|
static async fromJsonLd(json, options = {}) {
|
|
74544
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74545
74545
|
try {
|
|
74546
74546
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
74547
74547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74747,7 +74747,7 @@ var Undo = class Undo extends Activity {
|
|
|
74747
74747
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74748
74748
|
*/
|
|
74749
74749
|
static async fromJsonLd(json, options = {}) {
|
|
74750
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74750
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74751
74751
|
try {
|
|
74752
74752
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
74753
74753
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75001,7 +75001,7 @@ var Update = class Update extends Activity {
|
|
|
75001
75001
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75002
75002
|
*/
|
|
75003
75003
|
static async fromJsonLd(json, options = {}) {
|
|
75004
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
75004
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75005
75005
|
try {
|
|
75006
75006
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
75007
75007
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75208,7 +75208,7 @@ var Video = class Video extends Document {
|
|
|
75208
75208
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75209
75209
|
*/
|
|
75210
75210
|
static async fromJsonLd(json, options = {}) {
|
|
75211
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
75211
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75212
75212
|
try {
|
|
75213
75213
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
75214
75214
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75399,7 +75399,7 @@ var View = class View extends Activity {
|
|
|
75399
75399
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75400
75400
|
*/
|
|
75401
75401
|
static async fromJsonLd(json, options = {}) {
|
|
75402
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
75402
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75403
75403
|
try {
|
|
75404
75404
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
75405
75405
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|