@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
package/dist/mod.js
CHANGED
|
@@ -12,7 +12,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
12
12
|
import { delay } from "es-toolkit";
|
|
13
13
|
//#region deno.json
|
|
14
14
|
var name = "@fedify/vocab";
|
|
15
|
-
var version = "2.
|
|
15
|
+
var version = "2.5.0-dev.2271+49d937e2";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/type.ts
|
|
18
18
|
function getTypeId(object) {
|
|
@@ -989,7 +989,7 @@ var Object$1 = class Object$1 {
|
|
|
989
989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
990
990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
991
991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
992
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
992
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
993
993
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
994
994
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
995
995
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1246,7 +1246,7 @@ var Object$1 = class Object$1 {
|
|
|
1246
1246
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1247
1247
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1248
1248
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1249
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1249
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
1250
1250
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1251
1251
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1252
1252
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1598,7 +1598,7 @@ var Object$1 = class Object$1 {
|
|
|
1598
1598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1599
1599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1600
1600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1601
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1601
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
1602
1602
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1603
1603
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1604
1604
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -1918,7 +1918,7 @@ var Object$1 = class Object$1 {
|
|
|
1918
1918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1919
1919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1920
1920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1921
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1921
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
1922
1922
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
1923
1923
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1924
1924
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2190,7 +2190,7 @@ var Object$1 = class Object$1 {
|
|
|
2190
2190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2191
2191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2192
2192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2193
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2193
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2194
2194
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2195
2195
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2196
2196
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2430,7 +2430,7 @@ var Object$1 = class Object$1 {
|
|
|
2430
2430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2431
2431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2432
2432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2433
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2433
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2434
2434
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2435
2435
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2436
2436
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -2749,7 +2749,7 @@ var Object$1 = class Object$1 {
|
|
|
2749
2749
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2750
2750
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2751
2751
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2752
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2752
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
2753
2753
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
2754
2754
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2755
2755
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3068,7 +3068,7 @@ var Object$1 = class Object$1 {
|
|
|
3068
3068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3069
3069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3070
3070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3071
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3071
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
3072
3072
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3073
3073
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3074
3074
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3379,7 +3379,7 @@ var Object$1 = class Object$1 {
|
|
|
3379
3379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3380
3380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3381
3381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3382
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3382
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
3383
3383
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3384
3384
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3385
3385
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -3690,7 +3690,7 @@ var Object$1 = class Object$1 {
|
|
|
3690
3690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3691
3691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3692
3692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3693
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3693
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
3694
3694
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
3695
3695
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3696
3696
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4006,7 +4006,7 @@ var Object$1 = class Object$1 {
|
|
|
4006
4006
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4007
4007
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4008
4008
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4009
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4009
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4010
4010
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4011
4011
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4012
4012
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4232,7 +4232,7 @@ var Object$1 = class Object$1 {
|
|
|
4232
4232
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4233
4233
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4234
4234
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4235
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4235
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4236
4236
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4237
4237
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4238
4238
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4464,7 +4464,7 @@ var Object$1 = class Object$1 {
|
|
|
4464
4464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4465
4465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4466
4466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4467
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4467
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4468
4468
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4469
4469
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4470
4470
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4696,7 +4696,7 @@ var Object$1 = class Object$1 {
|
|
|
4696
4696
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4697
4697
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4698
4698
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4699
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4699
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4700
4700
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4701
4701
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4702
4702
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4946,7 +4946,7 @@ var Object$1 = class Object$1 {
|
|
|
4946
4946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4947
4947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4948
4948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4949
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4949
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4950
4950
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4951
4951
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4952
4952
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5208,7 +5208,7 @@ var Object$1 = class Object$1 {
|
|
|
5208
5208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5209
5209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5210
5210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5211
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5211
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5212
5212
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5213
5213
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5214
5214
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5508,7 +5508,7 @@ var Object$1 = class Object$1 {
|
|
|
5508
5508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5509
5509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5510
5510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5511
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5511
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5512
5512
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5513
5513
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5514
5514
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5808,7 +5808,7 @@ var Object$1 = class Object$1 {
|
|
|
5808
5808
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
5809
5809
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
5810
5810
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
5811
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5811
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5812
5812
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5813
5813
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5814
5814
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6108,7 +6108,7 @@ var Object$1 = class Object$1 {
|
|
|
6108
6108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6109
6109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6110
6110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6111
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6111
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6112
6112
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6113
6113
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6114
6114
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6445,7 +6445,7 @@ var Object$1 = class Object$1 {
|
|
|
6445
6445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6446
6446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6447
6447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6448
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6448
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6449
6449
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6450
6450
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6451
6451
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6768,7 +6768,7 @@ var Object$1 = class Object$1 {
|
|
|
6768
6768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6769
6769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6770
6770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6771
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6771
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6772
6772
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6773
6773
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6774
6774
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6994,7 +6994,7 @@ var Object$1 = class Object$1 {
|
|
|
6994
6994
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6995
6995
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6996
6996
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6997
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6997
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6998
6998
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6999
6999
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7000
7000
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7220,7 +7220,7 @@ var Object$1 = class Object$1 {
|
|
|
7220
7220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7221
7221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7222
7222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7223
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7223
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
7224
7224
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7225
7225
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7226
7226
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8385,7 +8385,7 @@ var Object$1 = class Object$1 {
|
|
|
8385
8385
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8386
8386
|
*/
|
|
8387
8387
|
static async fromJsonLd(json, options = {}) {
|
|
8388
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
8388
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8389
8389
|
try {
|
|
8390
8390
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
8391
8391
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10145,7 +10145,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
10145
10145
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10146
10146
|
*/
|
|
10147
10147
|
static async fromJsonLd(json, options = {}) {
|
|
10148
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10148
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10149
10149
|
try {
|
|
10150
10150
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
10151
10151
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10306,7 +10306,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10306
10306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10307
10307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10308
10308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10309
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10309
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10310
10310
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10311
10311
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10312
10312
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10549,7 +10549,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10549
10549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10550
10550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10551
10551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10552
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10552
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10553
10553
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10554
10554
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10555
10555
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10969,7 +10969,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
10969
10969
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10970
10970
|
*/
|
|
10971
10971
|
static async fromJsonLd(json, options = {}) {
|
|
10972
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10972
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10973
10973
|
try {
|
|
10974
10974
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
10975
10975
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11335,7 +11335,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11335
11335
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11336
11336
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11337
11337
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11338
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11338
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
11339
11339
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11340
11340
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11341
11341
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11687,7 +11687,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11687
11687
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11688
11688
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11689
11689
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11690
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11690
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
11691
11691
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11692
11692
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11693
11693
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11989,7 +11989,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
11989
11989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11990
11990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11991
11991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11992
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11992
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
11993
11993
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
11994
11994
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11995
11995
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12297,7 +12297,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12297
12297
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12298
12298
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12299
12299
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12300
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12300
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
12301
12301
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12302
12302
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12303
12303
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12599,7 +12599,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12599
12599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12600
12600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12601
12601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12602
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12602
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
12603
12603
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12604
12604
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12605
12605
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -12903,7 +12903,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
12903
12903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12904
12904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12905
12905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12906
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12906
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
12907
12907
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
12908
12908
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12909
12909
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -13336,7 +13336,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
13336
13336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13337
13337
|
*/
|
|
13338
13338
|
static async fromJsonLd(json, options = {}) {
|
|
13339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13340
13340
|
try {
|
|
13341
13341
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
13342
13342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13743,7 +13743,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
13743
13743
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13744
13744
|
*/
|
|
13745
13745
|
static async fromJsonLd(json, options = {}) {
|
|
13746
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13746
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13747
13747
|
try {
|
|
13748
13748
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
13749
13749
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14066,7 +14066,7 @@ var PropertyValue = class {
|
|
|
14066
14066
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14067
14067
|
*/
|
|
14068
14068
|
static async fromJsonLd(json, options = {}) {
|
|
14069
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14069
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14070
14070
|
try {
|
|
14071
14071
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
14072
14072
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14415,7 +14415,7 @@ var Measure = class {
|
|
|
14415
14415
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14416
14416
|
*/
|
|
14417
14417
|
static async fromJsonLd(json, options = {}) {
|
|
14418
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14418
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14419
14419
|
try {
|
|
14420
14420
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
14421
14421
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14609,7 +14609,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
14609
14609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14610
14610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14611
14611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14612
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14612
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
14613
14613
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14614
14614
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14615
14615
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -14835,7 +14835,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
14835
14835
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14836
14836
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14837
14837
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14838
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14838
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
14839
14839
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14840
14840
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14841
14841
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15182,7 +15182,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
15182
15182
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15183
15183
|
*/
|
|
15184
15184
|
static async fromJsonLd(json, options = {}) {
|
|
15185
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15185
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15186
15186
|
try {
|
|
15187
15187
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
15188
15188
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15436,7 +15436,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
15436
15436
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15437
15437
|
*/
|
|
15438
15438
|
static async fromJsonLd(json, options = {}) {
|
|
15439
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15439
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15440
15440
|
try {
|
|
15441
15441
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
15442
15442
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15815,7 +15815,7 @@ var InteractionPolicy = class {
|
|
|
15815
15815
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15816
15816
|
*/
|
|
15817
15817
|
static async fromJsonLd(json, options = {}) {
|
|
15818
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15818
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15819
15819
|
try {
|
|
15820
15820
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
15821
15821
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16253,7 +16253,7 @@ var InteractionRule = class {
|
|
|
16253
16253
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16254
16254
|
*/
|
|
16255
16255
|
static async fromJsonLd(json, options = {}) {
|
|
16256
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
16256
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16257
16257
|
try {
|
|
16258
16258
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
16259
16259
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16448,7 +16448,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
16448
16448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16449
16449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16450
16450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16451
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16451
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
16452
16452
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16453
16453
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16454
16454
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -16674,7 +16674,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
16674
16674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16675
16675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16676
16676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16677
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16677
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
16678
16678
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16679
16679
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16680
16680
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -17021,7 +17021,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
17021
17021
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17022
17022
|
*/
|
|
17023
17023
|
static async fromJsonLd(json, options = {}) {
|
|
17024
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
17024
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17025
17025
|
try {
|
|
17026
17026
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
17027
17027
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17274,7 +17274,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
17274
17274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17275
17275
|
*/
|
|
17276
17276
|
static async fromJsonLd(json, options = {}) {
|
|
17277
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
17277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17278
17278
|
try {
|
|
17279
17279
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
17280
17280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17432,7 +17432,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
17432
17432
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17433
17433
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17434
17434
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17435
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17435
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
17436
17436
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
17437
17437
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17438
17438
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -17658,7 +17658,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
17658
17658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17659
17659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17660
17660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17661
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17661
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
17662
17662
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
17663
17663
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17664
17664
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18005,7 +18005,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
18005
18005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18006
18006
|
*/
|
|
18007
18007
|
static async fromJsonLd(json, options = {}) {
|
|
18008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18009
18009
|
try {
|
|
18010
18010
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
18011
18011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18258,7 +18258,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
18258
18258
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18259
18259
|
*/
|
|
18260
18260
|
static async fromJsonLd(json, options = {}) {
|
|
18261
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18261
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18262
18262
|
try {
|
|
18263
18263
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
18264
18264
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18416,7 +18416,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18416
18416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18417
18417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18418
18418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18419
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
18419
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
18420
18420
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18421
18421
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18422
18422
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18641,7 +18641,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18641
18641
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18642
18642
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18643
18643
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18644
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
18644
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
18645
18645
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18646
18646
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18647
18647
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18990,7 +18990,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
18990
18990
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18991
18991
|
*/
|
|
18992
18992
|
static async fromJsonLd(json, options = {}) {
|
|
18993
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18993
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18994
18994
|
try {
|
|
18995
18995
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
18996
18996
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19273,7 +19273,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
19273
19273
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19274
19274
|
*/
|
|
19275
19275
|
static async fromJsonLd(json, options = {}) {
|
|
19276
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19276
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19277
19277
|
try {
|
|
19278
19278
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
19279
19279
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19534,7 +19534,7 @@ var Translation = class {
|
|
|
19534
19534
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19535
19535
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19536
19536
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19537
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
19537
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
19538
19538
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
19539
19539
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19540
19540
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20123,7 +20123,7 @@ var Translation = class {
|
|
|
20123
20123
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20124
20124
|
*/
|
|
20125
20125
|
static async fromJsonLd(json, options = {}) {
|
|
20126
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20126
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20127
20127
|
try {
|
|
20128
20128
|
const object = await this.__fromJsonLd__Translation__(json, span, options);
|
|
20129
20129
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20413,7 +20413,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
20413
20413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20414
20414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20415
20415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20416
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20416
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
20417
20417
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20418
20418
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20419
20419
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20638,7 +20638,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
20638
20638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20639
20639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20640
20640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20641
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20641
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
20642
20642
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20643
20643
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20644
20644
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20987,7 +20987,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
20987
20987
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20988
20988
|
*/
|
|
20989
20989
|
static async fromJsonLd(json, options = {}) {
|
|
20990
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20990
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20991
20991
|
try {
|
|
20992
20992
|
const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
|
|
20993
20993
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21238,7 +21238,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
|
|
|
21238
21238
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21239
21239
|
*/
|
|
21240
21240
|
static async fromJsonLd(json, options = {}) {
|
|
21241
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
21241
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21242
21242
|
try {
|
|
21243
21243
|
const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
|
|
21244
21244
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21529,7 +21529,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21529
21529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21530
21530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21531
21531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21532
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21532
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21533
21533
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21534
21534
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21535
21535
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21755,7 +21755,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21755
21755
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21756
21756
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21757
21757
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21758
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21758
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21759
21759
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21760
21760
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21761
21761
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21981,7 +21981,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21981
21981
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21982
21982
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21983
21983
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21984
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21984
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21985
21985
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21986
21986
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21987
21987
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22207,7 +22207,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22207
22207
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22208
22208
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22209
22209
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22210
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22210
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22211
22211
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22212
22212
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22213
22213
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22448,7 +22448,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22448
22448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22449
22449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22450
22450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22451
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22451
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22452
22452
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22453
22453
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22454
22454
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22673,7 +22673,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22673
22673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22674
22674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22675
22675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22676
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22676
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22677
22677
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22678
22678
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22679
22679
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22898,7 +22898,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22898
22898
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22899
22899
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22900
22900
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22901
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22901
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22902
22902
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22903
22903
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22904
22904
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23123,7 +23123,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23123
23123
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23124
23124
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23125
23125
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23126
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23126
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23127
23127
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23128
23128
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23129
23129
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23348,7 +23348,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23348
23348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23349
23349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23350
23350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23351
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23351
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23352
23352
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23353
23353
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23354
23354
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23573,7 +23573,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23573
23573
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23574
23574
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23575
23575
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23576
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23576
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23577
23577
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23578
23578
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23579
23579
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -23798,7 +23798,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23798
23798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23799
23799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23800
23800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23801
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23801
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
23802
23802
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
23803
23803
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23804
23804
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24023,7 +24023,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24023
24023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24024
24024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24025
24025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24026
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
24026
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
24027
24027
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
24028
24028
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24029
24029
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24658,7 +24658,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24658
24658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24659
24659
|
*/
|
|
24660
24660
|
static async fromJsonLd(json, options = {}) {
|
|
24661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24662
24662
|
try {
|
|
24663
24663
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24664
24664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25211,7 +25211,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25211
25211
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25212
25212
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25213
25213
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25214
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25214
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
25215
25215
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25216
25216
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25217
25217
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -25612,7 +25612,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25612
25612
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25613
25613
|
*/
|
|
25614
25614
|
static async fromJsonLd(json, options = {}) {
|
|
25615
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
25615
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25616
25616
|
try {
|
|
25617
25617
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25618
25618
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26007,7 +26007,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
|
|
|
26007
26007
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26008
26008
|
*/
|
|
26009
26009
|
static async fromJsonLd(json, options = {}) {
|
|
26010
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
26010
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26011
26011
|
try {
|
|
26012
26012
|
const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
|
|
26013
26013
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26200,7 +26200,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26200
26200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26201
26201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26202
26202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26203
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26203
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26204
26204
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26205
26205
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26206
26206
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26425,7 +26425,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26425
26425
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26426
26426
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26427
26427
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26428
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26428
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26429
26429
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26430
26430
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26431
26431
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26775,7 +26775,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
26775
26775
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26776
26776
|
*/
|
|
26777
26777
|
static async fromJsonLd(json, options = {}) {
|
|
26778
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
26778
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26779
26779
|
try {
|
|
26780
26780
|
const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
|
|
26781
26781
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27106,7 +27106,7 @@ var DidService = class {
|
|
|
27106
27106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27107
27107
|
*/
|
|
27108
27108
|
static async fromJsonLd(json, options = {}) {
|
|
27109
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
27109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27110
27110
|
try {
|
|
27111
27111
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
27112
27112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27308,7 +27308,7 @@ var Export = class Export extends DidService {
|
|
|
27308
27308
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27309
27309
|
*/
|
|
27310
27310
|
static async fromJsonLd(json, options = {}) {
|
|
27311
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
27311
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27312
27312
|
try {
|
|
27313
27313
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
27314
27314
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27532,7 +27532,7 @@ var DataIntegrityProof = class {
|
|
|
27532
27532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27533
27533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27534
27534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27535
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27535
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
27536
27536
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
27537
27537
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27538
27538
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -27884,7 +27884,7 @@ var DataIntegrityProof = class {
|
|
|
27884
27884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27885
27885
|
*/
|
|
27886
27886
|
static async fromJsonLd(json, options = {}) {
|
|
27887
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
27887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27888
27888
|
try {
|
|
27889
27889
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
27890
27890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28179,7 +28179,7 @@ var CryptographicKey = class {
|
|
|
28179
28179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28180
28180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28181
28181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28182
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28182
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
28183
28183
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28184
28184
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28185
28185
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -28576,7 +28576,7 @@ var CryptographicKey = class {
|
|
|
28576
28576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28577
28577
|
*/
|
|
28578
28578
|
static async fromJsonLd(json, options = {}) {
|
|
28579
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
28579
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28580
28580
|
try {
|
|
28581
28581
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
28582
28582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28832,7 +28832,7 @@ var Multikey = class {
|
|
|
28832
28832
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28833
28833
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28834
28834
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28835
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28835
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
28836
28836
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28837
28837
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28838
28838
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -29235,7 +29235,7 @@ var Multikey = class {
|
|
|
29235
29235
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29236
29236
|
*/
|
|
29237
29237
|
static async fromJsonLd(json, options = {}) {
|
|
29238
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29238
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29239
29239
|
try {
|
|
29240
29240
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
29241
29241
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29622,7 +29622,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
29622
29622
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29623
29623
|
*/
|
|
29624
29624
|
static async fromJsonLd(json, options = {}) {
|
|
29625
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29625
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29626
29626
|
try {
|
|
29627
29627
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
29628
29628
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30001,7 +30001,7 @@ var Commitment = class {
|
|
|
30001
30001
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30002
30002
|
*/
|
|
30003
30003
|
static async fromJsonLd(json, options = {}) {
|
|
30004
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30004
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30005
30005
|
try {
|
|
30006
30006
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
30007
30007
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30472,7 +30472,7 @@ var Intent = class {
|
|
|
30472
30472
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30473
30473
|
*/
|
|
30474
30474
|
static async fromJsonLd(json, options = {}) {
|
|
30475
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30475
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30476
30476
|
try {
|
|
30477
30477
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
30478
30478
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30971,7 +30971,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
30971
30971
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30972
30972
|
*/
|
|
30973
30973
|
static async fromJsonLd(json, options = {}) {
|
|
30974
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30974
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30975
30975
|
try {
|
|
30976
30976
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
30977
30977
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31243,7 +31243,7 @@ var Accept = class Accept extends Activity {
|
|
|
31243
31243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31244
31244
|
*/
|
|
31245
31245
|
static async fromJsonLd(json, options = {}) {
|
|
31246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31247
31247
|
try {
|
|
31248
31248
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
31249
31249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31438,7 +31438,7 @@ var Add = class Add extends Activity {
|
|
|
31438
31438
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31439
31439
|
*/
|
|
31440
31440
|
static async fromJsonLd(json, options = {}) {
|
|
31441
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31441
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31442
31442
|
try {
|
|
31443
31443
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
31444
31444
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31660,7 +31660,7 @@ var Announce = class Announce extends Activity {
|
|
|
31660
31660
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31661
31661
|
*/
|
|
31662
31662
|
static async fromJsonLd(json, options = {}) {
|
|
31663
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31663
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31664
31664
|
try {
|
|
31665
31665
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
31666
31666
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32110,7 +32110,7 @@ var Application = class Application extends Object$1 {
|
|
|
32110
32110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32111
32111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32112
32112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32113
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32113
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32114
32114
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32115
32115
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32116
32116
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32408,7 +32408,7 @@ var Application = class Application extends Object$1 {
|
|
|
32408
32408
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32409
32409
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32410
32410
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32411
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32411
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32412
32412
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32413
32413
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32414
32414
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32742,7 +32742,7 @@ var Application = class Application extends Object$1 {
|
|
|
32742
32742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32743
32743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32744
32744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32745
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32745
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32746
32746
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32747
32747
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32748
32748
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32990,7 +32990,7 @@ var Application = class Application extends Object$1 {
|
|
|
32990
32990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32991
32991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32992
32992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32993
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32993
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32994
32994
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32995
32995
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32996
32996
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33235,7 +33235,7 @@ var Application = class Application extends Object$1 {
|
|
|
33235
33235
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33236
33236
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33237
33237
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33238
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33238
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33239
33239
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33240
33240
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33241
33241
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33464,7 +33464,7 @@ var Application = class Application extends Object$1 {
|
|
|
33464
33464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33465
33465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33466
33466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33467
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33467
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33468
33468
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33469
33469
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33470
33470
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33696,7 +33696,7 @@ var Application = class Application extends Object$1 {
|
|
|
33696
33696
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33697
33697
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33698
33698
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33699
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33699
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33700
33700
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33701
33701
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33702
33702
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -33926,7 +33926,7 @@ var Application = class Application extends Object$1 {
|
|
|
33926
33926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33927
33927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33928
33928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33929
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33929
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
33930
33930
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
33931
33931
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33932
33932
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34154,7 +34154,7 @@ var Application = class Application extends Object$1 {
|
|
|
34154
34154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34155
34155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34156
34156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34157
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34157
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34158
34158
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34159
34159
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34160
34160
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34382,7 +34382,7 @@ var Application = class Application extends Object$1 {
|
|
|
34382
34382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34383
34383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34384
34384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34385
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34385
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34386
34386
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34387
34387
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34388
34388
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34607,7 +34607,7 @@ var Application = class Application extends Object$1 {
|
|
|
34607
34607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34608
34608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34609
34609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34610
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34610
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34611
34611
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34612
34612
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34613
34613
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -34878,7 +34878,7 @@ var Application = class Application extends Object$1 {
|
|
|
34878
34878
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34879
34879
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34880
34880
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34881
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34881
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
34882
34882
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
34883
34883
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34884
34884
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35153,7 +35153,7 @@ var Application = class Application extends Object$1 {
|
|
|
35153
35153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35154
35154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35155
35155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35156
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
35156
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
35157
35157
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35158
35158
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35159
35159
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35507,7 +35507,7 @@ var Application = class Application extends Object$1 {
|
|
|
35507
35507
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35508
35508
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35509
35509
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35510
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
35510
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
35511
35511
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35512
35512
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35513
35513
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -36504,7 +36504,7 @@ var Application = class Application extends Object$1 {
|
|
|
36504
36504
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36505
36505
|
*/
|
|
36506
36506
|
static async fromJsonLd(json, options = {}) {
|
|
36507
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
36507
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36508
36508
|
try {
|
|
36509
36509
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
36510
36510
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37281,7 +37281,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
37281
37281
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37282
37282
|
*/
|
|
37283
37283
|
static async fromJsonLd(json, options = {}) {
|
|
37284
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
37284
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37285
37285
|
try {
|
|
37286
37286
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
37287
37287
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37477,7 +37477,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
37477
37477
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37478
37478
|
*/
|
|
37479
37479
|
static async fromJsonLd(json, options = {}) {
|
|
37480
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
37480
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37481
37481
|
try {
|
|
37482
37482
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
37483
37483
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37634,7 +37634,7 @@ var Article = class Article extends Object$1 {
|
|
|
37634
37634
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37635
37635
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37636
37636
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37637
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37637
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37638
37638
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37639
37639
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37640
37640
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37877,7 +37877,7 @@ var Article = class Article extends Object$1 {
|
|
|
37877
37877
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37878
37878
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37879
37879
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37880
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37880
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37881
37881
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37882
37882
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37883
37883
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38299,7 +38299,7 @@ var Article = class Article extends Object$1 {
|
|
|
38299
38299
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38300
38300
|
*/
|
|
38301
38301
|
static async fromJsonLd(json, options = {}) {
|
|
38302
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38302
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38303
38303
|
try {
|
|
38304
38304
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
38305
38305
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38682,7 +38682,7 @@ var Document = class Document extends Object$1 {
|
|
|
38682
38682
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38683
38683
|
*/
|
|
38684
38684
|
static async fromJsonLd(json, options = {}) {
|
|
38685
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38685
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38686
38686
|
try {
|
|
38687
38687
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
38688
38688
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38948,7 +38948,7 @@ var Audio = class Audio extends Document {
|
|
|
38948
38948
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38949
38949
|
*/
|
|
38950
38950
|
static async fromJsonLd(json, options = {}) {
|
|
38951
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38951
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38952
38952
|
try {
|
|
38953
38953
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
38954
38954
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39140,7 +39140,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
39140
39140
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39141
39141
|
*/
|
|
39142
39142
|
static async fromJsonLd(json, options = {}) {
|
|
39143
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39143
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39144
39144
|
try {
|
|
39145
39145
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
39146
39146
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39335,7 +39335,7 @@ var Block = class Block extends Ignore {
|
|
|
39335
39335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39336
39336
|
*/
|
|
39337
39337
|
static async fromJsonLd(json, options = {}) {
|
|
39338
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39339
39339
|
try {
|
|
39340
39340
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
39341
39341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39500,7 +39500,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
39500
39500
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39501
39501
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39502
39502
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39503
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39503
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
39504
39504
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
39505
39505
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39506
39506
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -39726,7 +39726,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
39726
39726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39727
39727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39728
39728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39729
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39729
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
39730
39730
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
39731
39731
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39732
39732
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -39951,7 +39951,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
39951
39951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39952
39952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39953
39953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39954
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39954
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
39955
39955
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
39956
39956
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39957
39957
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -40373,7 +40373,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
40373
40373
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40374
40374
|
*/
|
|
40375
40375
|
static async fromJsonLd(json, options = {}) {
|
|
40376
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40376
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40377
40377
|
try {
|
|
40378
40378
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
40379
40379
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40674,7 +40674,7 @@ var Create = class Create extends Activity {
|
|
|
40674
40674
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40675
40675
|
*/
|
|
40676
40676
|
static async fromJsonLd(json, options = {}) {
|
|
40677
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40677
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40678
40678
|
try {
|
|
40679
40679
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
40680
40680
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40892,7 +40892,7 @@ var Delete = class Delete extends Activity {
|
|
|
40892
40892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40893
40893
|
*/
|
|
40894
40894
|
static async fromJsonLd(json, options = {}) {
|
|
40895
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40896
40896
|
try {
|
|
40897
40897
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
40898
40898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41087,7 +41087,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
41087
41087
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41088
41088
|
*/
|
|
41089
41089
|
static async fromJsonLd(json, options = {}) {
|
|
41090
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41090
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41091
41091
|
try {
|
|
41092
41092
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
41093
41093
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41564,7 +41564,7 @@ var Endpoints = class {
|
|
|
41564
41564
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41565
41565
|
*/
|
|
41566
41566
|
static async fromJsonLd(json, options = {}) {
|
|
41567
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41567
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41568
41568
|
try {
|
|
41569
41569
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
41570
41570
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41894,7 +41894,7 @@ var Event = class Event extends Object$1 {
|
|
|
41894
41894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41895
41895
|
*/
|
|
41896
41896
|
static async fromJsonLd(json, options = {}) {
|
|
41897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41898
41898
|
try {
|
|
41899
41899
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
41900
41900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42087,7 +42087,7 @@ var Flag = class Flag extends Activity {
|
|
|
42087
42087
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42088
42088
|
*/
|
|
42089
42089
|
static async fromJsonLd(json, options = {}) {
|
|
42090
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42090
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42091
42091
|
try {
|
|
42092
42092
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
42093
42093
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42284,7 +42284,7 @@ var Follow = class Follow extends Activity {
|
|
|
42284
42284
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42285
42285
|
*/
|
|
42286
42286
|
static async fromJsonLd(json, options = {}) {
|
|
42287
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42287
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42288
42288
|
try {
|
|
42289
42289
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
42290
42290
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42734,7 +42734,7 @@ var Group = class Group extends Object$1 {
|
|
|
42734
42734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42735
42735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42736
42736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42737
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42737
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
42738
42738
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
42739
42739
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42740
42740
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43032,7 +43032,7 @@ var Group = class Group extends Object$1 {
|
|
|
43032
43032
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43033
43033
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43034
43034
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43035
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43035
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43036
43036
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43037
43037
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43038
43038
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43366,7 +43366,7 @@ var Group = class Group extends Object$1 {
|
|
|
43366
43366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43367
43367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43368
43368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43369
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43369
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43370
43370
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43371
43371
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43372
43372
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43614,7 +43614,7 @@ var Group = class Group extends Object$1 {
|
|
|
43614
43614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43615
43615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43616
43616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43617
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43617
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43618
43618
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43619
43619
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43620
43620
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43859,7 +43859,7 @@ var Group = class Group extends Object$1 {
|
|
|
43859
43859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43860
43860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43861
43861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43862
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43862
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43863
43863
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43864
43864
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43865
43865
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44088,7 +44088,7 @@ var Group = class Group extends Object$1 {
|
|
|
44088
44088
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44089
44089
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44090
44090
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44091
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44091
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44092
44092
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44093
44093
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44094
44094
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44320,7 +44320,7 @@ var Group = class Group extends Object$1 {
|
|
|
44320
44320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44321
44321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44322
44322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44323
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44323
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44324
44324
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44325
44325
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44326
44326
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44550,7 +44550,7 @@ var Group = class Group extends Object$1 {
|
|
|
44550
44550
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44551
44551
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44552
44552
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44553
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44553
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44554
44554
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44555
44555
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44556
44556
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -44778,7 +44778,7 @@ var Group = class Group extends Object$1 {
|
|
|
44778
44778
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44779
44779
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44780
44780
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44781
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44781
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
44782
44782
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
44783
44783
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44784
44784
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45006,7 +45006,7 @@ var Group = class Group extends Object$1 {
|
|
|
45006
45006
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45007
45007
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45008
45008
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45009
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45009
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45010
45010
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45011
45011
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45012
45012
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45231,7 +45231,7 @@ var Group = class Group extends Object$1 {
|
|
|
45231
45231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45232
45232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45233
45233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45234
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45234
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45235
45235
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45236
45236
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45237
45237
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45502,7 +45502,7 @@ var Group = class Group extends Object$1 {
|
|
|
45502
45502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45503
45503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45504
45504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45505
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45505
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45506
45506
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45507
45507
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45508
45508
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -45777,7 +45777,7 @@ var Group = class Group extends Object$1 {
|
|
|
45777
45777
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45778
45778
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45779
45779
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45780
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
45780
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
45781
45781
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
45782
45782
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45783
45783
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46131,7 +46131,7 @@ var Group = class Group extends Object$1 {
|
|
|
46131
46131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46132
46132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46133
46133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46134
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
46134
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
46135
46135
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46136
46136
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46137
46137
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47128,7 +47128,7 @@ var Group = class Group extends Object$1 {
|
|
|
47128
47128
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47129
47129
|
*/
|
|
47130
47130
|
static async fromJsonLd(json, options = {}) {
|
|
47131
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
47131
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47132
47132
|
try {
|
|
47133
47133
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
47134
47134
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48066,7 +48066,7 @@ var Link = class Link {
|
|
|
48066
48066
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48067
48067
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48068
48068
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48069
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
48069
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
48070
48070
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48071
48071
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48072
48072
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -48541,7 +48541,7 @@ var Link = class Link {
|
|
|
48541
48541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48542
48542
|
*/
|
|
48543
48543
|
static async fromJsonLd(json, options = {}) {
|
|
48544
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
48544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48545
48545
|
try {
|
|
48546
48546
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
48547
48547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48987,7 +48987,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
48987
48987
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48988
48988
|
*/
|
|
48989
48989
|
static async fromJsonLd(json, options = {}) {
|
|
48990
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
48990
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48991
48991
|
try {
|
|
48992
48992
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
48993
48993
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49194,7 +49194,7 @@ var Image = class Image extends Document {
|
|
|
49194
49194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49195
49195
|
*/
|
|
49196
49196
|
static async fromJsonLd(json, options = {}) {
|
|
49197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49198
49198
|
try {
|
|
49199
49199
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
49200
49200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49387,7 +49387,7 @@ var Offer = class Offer extends Activity {
|
|
|
49387
49387
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49388
49388
|
*/
|
|
49389
49389
|
static async fromJsonLd(json, options = {}) {
|
|
49390
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49390
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49391
49391
|
try {
|
|
49392
49392
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
49393
49393
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49580,7 +49580,7 @@ var Invite = class Invite extends Offer {
|
|
|
49580
49580
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49581
49581
|
*/
|
|
49582
49582
|
static async fromJsonLd(json, options = {}) {
|
|
49583
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49583
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49584
49584
|
try {
|
|
49585
49585
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
49586
49586
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49772,7 +49772,7 @@ var Join = class Join extends Activity {
|
|
|
49772
49772
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49773
49773
|
*/
|
|
49774
49774
|
static async fromJsonLd(json, options = {}) {
|
|
49775
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49775
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49776
49776
|
try {
|
|
49777
49777
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
49778
49778
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49964,7 +49964,7 @@ var Leave = class Leave extends Activity {
|
|
|
49964
49964
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49965
49965
|
*/
|
|
49966
49966
|
static async fromJsonLd(json, options = {}) {
|
|
49967
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
49967
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49968
49968
|
try {
|
|
49969
49969
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
49970
49970
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50160,7 +50160,7 @@ var Like = class Like extends Activity {
|
|
|
50160
50160
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50161
50161
|
*/
|
|
50162
50162
|
static async fromJsonLd(json, options = {}) {
|
|
50163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50163
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50164
50164
|
try {
|
|
50165
50165
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
50166
50166
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50351,7 +50351,7 @@ var Listen = class Listen extends Activity {
|
|
|
50351
50351
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50352
50352
|
*/
|
|
50353
50353
|
static async fromJsonLd(json, options = {}) {
|
|
50354
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50354
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50355
50355
|
try {
|
|
50356
50356
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
50357
50357
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50545,7 +50545,7 @@ var Mention = class Mention extends Link {
|
|
|
50545
50545
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50546
50546
|
*/
|
|
50547
50547
|
static async fromJsonLd(json, options = {}) {
|
|
50548
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50548
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50549
50549
|
try {
|
|
50550
50550
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
50551
50551
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50738,7 +50738,7 @@ var Move = class Move extends Activity {
|
|
|
50738
50738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50739
50739
|
*/
|
|
50740
50740
|
static async fromJsonLd(json, options = {}) {
|
|
50741
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50742
50742
|
try {
|
|
50743
50743
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
50744
50744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50896,7 +50896,7 @@ var Note = class Note extends Object$1 {
|
|
|
50896
50896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
50897
50897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
50898
50898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
50899
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
50899
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
50900
50900
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
50901
50901
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
50902
50902
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -51139,7 +51139,7 @@ var Note = class Note extends Object$1 {
|
|
|
51139
51139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
51140
51140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
51141
51141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
51142
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
51142
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
51143
51143
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51144
51144
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51145
51145
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -51561,7 +51561,7 @@ var Note = class Note extends Object$1 {
|
|
|
51561
51561
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51562
51562
|
*/
|
|
51563
51563
|
static async fromJsonLd(json, options = {}) {
|
|
51564
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
51564
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51565
51565
|
try {
|
|
51566
51566
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
51567
51567
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51782,7 +51782,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
51782
51782
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
51783
51783
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
51784
51784
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
51785
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
51785
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
51786
51786
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51787
51787
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51788
51788
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -52211,7 +52211,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
52211
52211
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52212
52212
|
*/
|
|
52213
52213
|
static async fromJsonLd(json, options = {}) {
|
|
52214
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
52214
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52215
52215
|
try {
|
|
52216
52216
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
52217
52217
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -52783,7 +52783,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
52783
52783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
52784
52784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
52785
52785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
52786
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
52786
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
52787
52787
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
52788
52788
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
52789
52789
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53081,7 +53081,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53081
53081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53082
53082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53083
53083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53084
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53084
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53085
53085
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53086
53086
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53087
53087
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53415,7 +53415,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53415
53415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53416
53416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53417
53417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53418
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53418
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53419
53419
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53420
53420
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53421
53421
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53663,7 +53663,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53663
53663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53664
53664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53665
53665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53666
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53666
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53667
53667
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53668
53668
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53669
53669
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -53908,7 +53908,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
53908
53908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
53909
53909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
53910
53910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
53911
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
53911
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
53912
53912
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
53913
53913
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
53914
53914
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54137,7 +54137,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54137
54137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54138
54138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54139
54139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54140
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54140
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54141
54141
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54142
54142
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54143
54143
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54369,7 +54369,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54369
54369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54370
54370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54371
54371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54372
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54372
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54373
54373
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54374
54374
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54375
54375
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54599,7 +54599,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54599
54599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54600
54600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54601
54601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54602
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54602
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54603
54603
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54604
54604
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54605
54605
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54827,7 +54827,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
54827
54827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
54828
54828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
54829
54829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
54830
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54830
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54831
54831
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54832
54832
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54833
54833
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55055,7 +55055,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55055
55055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55056
55056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55057
55057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55058
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55058
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55059
55059
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55060
55060
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55061
55061
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55280,7 +55280,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55280
55280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55281
55281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55282
55282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55283
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55283
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55284
55284
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55285
55285
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55286
55286
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55551,7 +55551,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55551
55551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55552
55552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55553
55553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55554
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55554
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55555
55555
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55556
55556
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55557
55557
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55826,7 +55826,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
55826
55826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
55827
55827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
55828
55828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
55829
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55829
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55830
55830
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55831
55831
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55832
55832
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56180,7 +56180,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56180
56180
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
56181
56181
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
56182
56182
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
56183
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
56183
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
56184
56184
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56185
56185
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56186
56186
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57177,7 +57177,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57177
57177
|
* @throws {TypeError} If the given `json` is invalid.
|
|
57178
57178
|
*/
|
|
57179
57179
|
static async fromJsonLd(json, options = {}) {
|
|
57180
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
57180
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
57181
57181
|
try {
|
|
57182
57182
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
57183
57183
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -57968,7 +57968,7 @@ var Page = class Page extends Document {
|
|
|
57968
57968
|
* @throws {TypeError} If the given `json` is invalid.
|
|
57969
57969
|
*/
|
|
57970
57970
|
static async fromJsonLd(json, options = {}) {
|
|
57971
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
57971
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
57972
57972
|
try {
|
|
57973
57973
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
57974
57974
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -58418,7 +58418,7 @@ var Person = class Person extends Object$1 {
|
|
|
58418
58418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
58419
58419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
58420
58420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
58421
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58421
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58422
58422
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58423
58423
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58424
58424
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58716,7 +58716,7 @@ var Person = class Person extends Object$1 {
|
|
|
58716
58716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
58717
58717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
58718
58718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
58719
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58719
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58720
58720
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58721
58721
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58722
58722
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59050,7 +59050,7 @@ var Person = class Person extends Object$1 {
|
|
|
59050
59050
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59051
59051
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59052
59052
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59053
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59053
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59054
59054
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59055
59055
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59056
59056
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59298,7 +59298,7 @@ var Person = class Person extends Object$1 {
|
|
|
59298
59298
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59299
59299
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59300
59300
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59301
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59301
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59302
59302
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59303
59303
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59304
59304
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59543,7 +59543,7 @@ var Person = class Person extends Object$1 {
|
|
|
59543
59543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59544
59544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59545
59545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59546
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59546
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59547
59547
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59548
59548
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59549
59549
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59772,7 +59772,7 @@ var Person = class Person extends Object$1 {
|
|
|
59772
59772
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
59773
59773
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
59774
59774
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
59775
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59775
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59776
59776
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59777
59777
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59778
59778
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60004,7 +60004,7 @@ var Person = class Person extends Object$1 {
|
|
|
60004
60004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60005
60005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60006
60006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60007
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60007
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60008
60008
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60009
60009
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60010
60010
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60234,7 +60234,7 @@ var Person = class Person extends Object$1 {
|
|
|
60234
60234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60235
60235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60236
60236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60237
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60237
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60238
60238
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60239
60239
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60240
60240
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60462,7 +60462,7 @@ var Person = class Person extends Object$1 {
|
|
|
60462
60462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60463
60463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60464
60464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60465
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60465
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60466
60466
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60467
60467
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60468
60468
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60690,7 +60690,7 @@ var Person = class Person extends Object$1 {
|
|
|
60690
60690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60691
60691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60692
60692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60693
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60693
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60694
60694
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60695
60695
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60696
60696
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60915,7 +60915,7 @@ var Person = class Person extends Object$1 {
|
|
|
60915
60915
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
60916
60916
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
60917
60917
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
60918
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
60918
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
60919
60919
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
60920
60920
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
60921
60921
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61186,7 +61186,7 @@ var Person = class Person extends Object$1 {
|
|
|
61186
61186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61187
61187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61188
61188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61189
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61189
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61190
61190
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61191
61191
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61192
61192
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61461,7 +61461,7 @@ var Person = class Person extends Object$1 {
|
|
|
61461
61461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61462
61462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61463
61463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61464
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61464
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61465
61465
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61466
61466
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61467
61467
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -61815,7 +61815,7 @@ var Person = class Person extends Object$1 {
|
|
|
61815
61815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
61816
61816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
61817
61817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
61818
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
61818
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
61819
61819
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
61820
61820
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
61821
61821
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62812,7 +62812,7 @@ var Person = class Person extends Object$1 {
|
|
|
62812
62812
|
* @throws {TypeError} If the given `json` is invalid.
|
|
62813
62813
|
*/
|
|
62814
62814
|
static async fromJsonLd(json, options = {}) {
|
|
62815
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
62815
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
62816
62816
|
try {
|
|
62817
62817
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
62818
62818
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -63808,7 +63808,7 @@ var Place = class Place extends Object$1 {
|
|
|
63808
63808
|
* @throws {TypeError} If the given `json` is invalid.
|
|
63809
63809
|
*/
|
|
63810
63810
|
static async fromJsonLd(json, options = {}) {
|
|
63811
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
63811
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
63812
63812
|
try {
|
|
63813
63813
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
63814
63814
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -64060,7 +64060,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
64060
64060
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
64061
64061
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
64062
64062
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
64063
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64063
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64064
64064
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64065
64065
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64066
64066
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64387,7 +64387,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
64387
64387
|
* @throws {TypeError} If the given `json` is invalid.
|
|
64388
64388
|
*/
|
|
64389
64389
|
static async fromJsonLd(json, options = {}) {
|
|
64390
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
64390
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
64391
64391
|
try {
|
|
64392
64392
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
64393
64393
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -64616,7 +64616,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
64616
64616
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
64617
64617
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
64618
64618
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
64619
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64619
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64620
64620
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64621
64621
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64622
64622
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64847,7 +64847,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
64847
64847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
64848
64848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
64849
64849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
64850
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64850
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64851
64851
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64852
64852
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64853
64853
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65094,7 +65094,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65094
65094
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65095
65095
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65096
65096
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65097
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
65097
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
65098
65098
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65099
65099
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65100
65100
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65337,7 +65337,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65337
65337
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
65338
65338
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
65339
65339
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
65340
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
65340
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
65341
65341
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65342
65342
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65343
65343
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65745,7 +65745,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
65745
65745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
65746
65746
|
*/
|
|
65747
65747
|
static async fromJsonLd(json, options = {}) {
|
|
65748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
65748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
65749
65749
|
try {
|
|
65750
65750
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
65751
65751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -66097,7 +66097,7 @@ var Read = class Read extends Activity {
|
|
|
66097
66097
|
* @throws {TypeError} If the given `json` is invalid.
|
|
66098
66098
|
*/
|
|
66099
66099
|
static async fromJsonLd(json, options = {}) {
|
|
66100
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
66100
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
66101
66101
|
try {
|
|
66102
66102
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
66103
66103
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -66289,7 +66289,7 @@ var Reject = class Reject extends Activity {
|
|
|
66289
66289
|
* @throws {TypeError} If the given `json` is invalid.
|
|
66290
66290
|
*/
|
|
66291
66291
|
static async fromJsonLd(json, options = {}) {
|
|
66292
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
66292
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
66293
66293
|
try {
|
|
66294
66294
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
66295
66295
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -66489,7 +66489,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
66489
66489
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
66490
66490
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
66491
66491
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
66492
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
66492
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
66493
66493
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
66494
66494
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
66495
66495
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -66717,7 +66717,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
66717
66717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
66718
66718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
66719
66719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
66720
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
66720
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
66721
66721
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
66722
66722
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
66723
66723
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -67015,7 +67015,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
67015
67015
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
67016
67016
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
67017
67017
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
67018
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
67018
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
67019
67019
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
67020
67020
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
67021
67021
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -67460,7 +67460,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
67460
67460
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67461
67461
|
*/
|
|
67462
67462
|
static async fromJsonLd(json, options = {}) {
|
|
67463
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
67463
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67464
67464
|
try {
|
|
67465
67465
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
67466
67466
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67733,7 +67733,7 @@ var Remove = class Remove extends Activity {
|
|
|
67733
67733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67734
67734
|
*/
|
|
67735
67735
|
static async fromJsonLd(json, options = {}) {
|
|
67736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
67736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67737
67737
|
try {
|
|
67738
67738
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
67739
67739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -68183,7 +68183,7 @@ var Service = class Service extends Object$1 {
|
|
|
68183
68183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68184
68184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68185
68185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68186
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68186
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68187
68187
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68188
68188
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68189
68189
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68481,7 +68481,7 @@ var Service = class Service extends Object$1 {
|
|
|
68481
68481
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68482
68482
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68483
68483
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68484
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68484
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68485
68485
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68486
68486
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68487
68487
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68815,7 +68815,7 @@ var Service = class Service extends Object$1 {
|
|
|
68815
68815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
68816
68816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
68817
68817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
68818
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68818
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68819
68819
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68820
68820
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68821
68821
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69063,7 +69063,7 @@ var Service = class Service extends Object$1 {
|
|
|
69063
69063
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69064
69064
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69065
69065
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69066
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69066
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69067
69067
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69068
69068
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69069
69069
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69308,7 +69308,7 @@ var Service = class Service extends Object$1 {
|
|
|
69308
69308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69309
69309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69310
69310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69311
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69311
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69312
69312
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69313
69313
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69314
69314
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69537,7 +69537,7 @@ var Service = class Service extends Object$1 {
|
|
|
69537
69537
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69538
69538
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69539
69539
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69540
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69540
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69541
69541
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69542
69542
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69543
69543
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69769,7 +69769,7 @@ var Service = class Service extends Object$1 {
|
|
|
69769
69769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
69770
69770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
69771
69771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
69772
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
69772
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
69773
69773
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
69774
69774
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
69775
69775
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69999,7 +69999,7 @@ var Service = class Service extends Object$1 {
|
|
|
69999
69999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70000
70000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70001
70001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70002
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70002
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70003
70003
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70004
70004
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70005
70005
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70227,7 +70227,7 @@ var Service = class Service extends Object$1 {
|
|
|
70227
70227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70228
70228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70229
70229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70230
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70230
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70231
70231
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70232
70232
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70233
70233
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70455,7 +70455,7 @@ var Service = class Service extends Object$1 {
|
|
|
70455
70455
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70456
70456
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70457
70457
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70458
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70458
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70459
70459
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70460
70460
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70461
70461
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70680,7 +70680,7 @@ var Service = class Service extends Object$1 {
|
|
|
70680
70680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70681
70681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70682
70682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70683
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70683
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70684
70684
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70685
70685
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70686
70686
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70951,7 +70951,7 @@ var Service = class Service extends Object$1 {
|
|
|
70951
70951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
70952
70952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
70953
70953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
70954
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70954
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70955
70955
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70956
70956
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70957
70957
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71226,7 +71226,7 @@ var Service = class Service extends Object$1 {
|
|
|
71226
71226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71227
71227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71228
71228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71229
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
71229
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
71230
71230
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71231
71231
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71232
71232
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71580,7 +71580,7 @@ var Service = class Service extends Object$1 {
|
|
|
71580
71580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
71581
71581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
71582
71582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
71583
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
71583
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
71584
71584
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71585
71585
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71586
71586
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72577,7 +72577,7 @@ var Service = class Service extends Object$1 {
|
|
|
72577
72577
|
* @throws {TypeError} If the given `json` is invalid.
|
|
72578
72578
|
*/
|
|
72579
72579
|
static async fromJsonLd(json, options = {}) {
|
|
72580
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
72580
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
72581
72581
|
try {
|
|
72582
72582
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
72583
72583
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -73482,7 +73482,7 @@ var Source = class {
|
|
|
73482
73482
|
* @throws {TypeError} If the given `json` is invalid.
|
|
73483
73483
|
*/
|
|
73484
73484
|
static async fromJsonLd(json, options = {}) {
|
|
73485
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
73485
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
73486
73486
|
try {
|
|
73487
73487
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
73488
73488
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -73710,7 +73710,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
73710
73710
|
* @throws {TypeError} If the given `json` is invalid.
|
|
73711
73711
|
*/
|
|
73712
73712
|
static async fromJsonLd(json, options = {}) {
|
|
73713
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
73713
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
73714
73714
|
try {
|
|
73715
73715
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
73716
73716
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -73902,7 +73902,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
73902
73902
|
* @throws {TypeError} If the given `json` is invalid.
|
|
73903
73903
|
*/
|
|
73904
73904
|
static async fromJsonLd(json, options = {}) {
|
|
73905
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
73905
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
73906
73906
|
try {
|
|
73907
73907
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
73908
73908
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74193,7 +74193,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
74193
74193
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74194
74194
|
*/
|
|
74195
74195
|
static async fromJsonLd(json, options = {}) {
|
|
74196
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74196
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74197
74197
|
try {
|
|
74198
74198
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
74199
74199
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74430,7 +74430,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
74430
74430
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74431
74431
|
*/
|
|
74432
74432
|
static async fromJsonLd(json, options = {}) {
|
|
74433
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74433
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74434
74434
|
try {
|
|
74435
74435
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
74436
74436
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74636,7 +74636,7 @@ var Undo = class Undo extends Activity {
|
|
|
74636
74636
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74637
74637
|
*/
|
|
74638
74638
|
static async fromJsonLd(json, options = {}) {
|
|
74639
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74639
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74640
74640
|
try {
|
|
74641
74641
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
74642
74642
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -74890,7 +74890,7 @@ var Update = class Update extends Activity {
|
|
|
74890
74890
|
* @throws {TypeError} If the given `json` is invalid.
|
|
74891
74891
|
*/
|
|
74892
74892
|
static async fromJsonLd(json, options = {}) {
|
|
74893
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
74893
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
74894
74894
|
try {
|
|
74895
74895
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
74896
74896
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75097,7 +75097,7 @@ var Video = class Video extends Document {
|
|
|
75097
75097
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75098
75098
|
*/
|
|
75099
75099
|
static async fromJsonLd(json, options = {}) {
|
|
75100
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
75100
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75101
75101
|
try {
|
|
75102
75102
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
75103
75103
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -75288,7 +75288,7 @@ var View = class View extends Activity {
|
|
|
75288
75288
|
* @throws {TypeError} If the given `json` is invalid.
|
|
75289
75289
|
*/
|
|
75290
75290
|
static async fromJsonLd(json, options = {}) {
|
|
75291
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
75291
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
75292
75292
|
try {
|
|
75293
75293
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
75294
75294
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|