@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.cjs
CHANGED
|
@@ -36,7 +36,7 @@ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
|
|
|
36
36
|
let es_toolkit = require("es-toolkit");
|
|
37
37
|
//#region deno.json
|
|
38
38
|
var name = "@fedify/vocab";
|
|
39
|
-
var version = "2.
|
|
39
|
+
var version = "2.5.0-dev.2271+49d937e2";
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/type.ts
|
|
42
42
|
function getTypeId(object) {
|
|
@@ -4578,7 +4578,7 @@ var Object$1 = class Object$1 {
|
|
|
4578
4578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
4579
4579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
4580
4580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
4581
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4581
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4582
4582
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4583
4583
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4584
4584
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -4835,7 +4835,7 @@ var Object$1 = class Object$1 {
|
|
|
4835
4835
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
4836
4836
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
4837
4837
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
4838
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4838
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
4839
4839
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
4840
4840
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4841
4841
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5187,7 +5187,7 @@ var Object$1 = class Object$1 {
|
|
|
5187
5187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
5188
5188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
5189
5189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
5190
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5190
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5191
5191
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5192
5192
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5193
5193
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5507,7 +5507,7 @@ var Object$1 = class Object$1 {
|
|
|
5507
5507
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
5508
5508
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
5509
5509
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
5510
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5510
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5511
5511
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5512
5512
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5513
5513
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -5779,7 +5779,7 @@ var Object$1 = class Object$1 {
|
|
|
5779
5779
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
5780
5780
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
5781
5781
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
5782
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
5782
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
5783
5783
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
5784
5784
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
5785
5785
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6019,7 +6019,7 @@ var Object$1 = class Object$1 {
|
|
|
6019
6019
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6020
6020
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6021
6021
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
6022
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6022
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6023
6023
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6024
6024
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6025
6025
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6338,7 +6338,7 @@ var Object$1 = class Object$1 {
|
|
|
6338
6338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6339
6339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6340
6340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
6341
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6341
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6342
6342
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6343
6343
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6344
6344
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6657,7 +6657,7 @@ var Object$1 = class Object$1 {
|
|
|
6657
6657
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6658
6658
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6659
6659
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
6660
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6660
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6661
6661
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6662
6662
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6663
6663
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -6968,7 +6968,7 @@ var Object$1 = class Object$1 {
|
|
|
6968
6968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6969
6969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
6970
6970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
6971
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6971
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
6972
6972
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
6973
6973
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6974
6974
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7279,7 +7279,7 @@ var Object$1 = class Object$1 {
|
|
|
7279
7279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
7280
7280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
7281
7281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
7282
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7282
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
7283
7283
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7284
7284
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7285
7285
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7595,7 +7595,7 @@ var Object$1 = class Object$1 {
|
|
|
7595
7595
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
7596
7596
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
7597
7597
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
7598
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7598
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
7599
7599
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7600
7600
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7601
7601
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -7821,7 +7821,7 @@ var Object$1 = class Object$1 {
|
|
|
7821
7821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
7822
7822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
7823
7823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
7824
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7824
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
7825
7825
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
7826
7826
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7827
7827
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8053,7 +8053,7 @@ var Object$1 = class Object$1 {
|
|
|
8053
8053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8054
8054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8055
8055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
8056
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8056
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
8057
8057
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
8058
8058
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8059
8059
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8285,7 +8285,7 @@ var Object$1 = class Object$1 {
|
|
|
8285
8285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8286
8286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8287
8287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
8288
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8288
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
8289
8289
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
8290
8290
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8291
8291
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8535,7 +8535,7 @@ var Object$1 = class Object$1 {
|
|
|
8535
8535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8536
8536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8537
8537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
8538
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8538
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
8539
8539
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
8540
8540
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8541
8541
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -8797,7 +8797,7 @@ var Object$1 = class Object$1 {
|
|
|
8797
8797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8798
8798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
8799
8799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
8800
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8800
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
8801
8801
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
8802
8802
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8803
8803
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -9097,7 +9097,7 @@ var Object$1 = class Object$1 {
|
|
|
9097
9097
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
9098
9098
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
9099
9099
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
9100
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9100
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
9101
9101
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
9102
9102
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9103
9103
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -9397,7 +9397,7 @@ var Object$1 = class Object$1 {
|
|
|
9397
9397
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
9398
9398
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
9399
9399
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
9400
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9400
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
9401
9401
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
9402
9402
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9403
9403
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -9697,7 +9697,7 @@ var Object$1 = class Object$1 {
|
|
|
9697
9697
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
9698
9698
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
9699
9699
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
9700
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9700
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
9701
9701
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
9702
9702
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9703
9703
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10034,7 +10034,7 @@ var Object$1 = class Object$1 {
|
|
|
10034
10034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10035
10035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10036
10036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
10037
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10037
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10038
10038
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10039
10039
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10040
10040
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10357,7 +10357,7 @@ var Object$1 = class Object$1 {
|
|
|
10357
10357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10358
10358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10359
10359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
10360
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10360
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10361
10361
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10362
10362
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10363
10363
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10583,7 +10583,7 @@ var Object$1 = class Object$1 {
|
|
|
10583
10583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10584
10584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10585
10585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
10586
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10586
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10587
10587
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10588
10588
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10589
10589
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -10809,7 +10809,7 @@ var Object$1 = class Object$1 {
|
|
|
10809
10809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10810
10810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
10811
10811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
10812
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10812
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
10813
10813
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
10814
10814
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10815
10815
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -11974,7 +11974,7 @@ var Object$1 = class Object$1 {
|
|
|
11974
11974
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11975
11975
|
*/
|
|
11976
11976
|
static async fromJsonLd(json, options = {}) {
|
|
11977
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11977
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11978
11978
|
try {
|
|
11979
11979
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
11980
11980
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13734,7 +13734,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
13734
13734
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13735
13735
|
*/
|
|
13736
13736
|
static async fromJsonLd(json, options = {}) {
|
|
13737
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13737
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13738
13738
|
try {
|
|
13739
13739
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
13740
13740
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13895,7 +13895,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
13895
13895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
13896
13896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
13897
13897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
13898
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
13898
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
13899
13899
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
13900
13900
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13901
13901
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -14138,7 +14138,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
14138
14138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
14139
14139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
14140
14140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
14141
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14141
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
14142
14142
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14143
14143
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14144
14144
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -14558,7 +14558,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
14558
14558
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14559
14559
|
*/
|
|
14560
14560
|
static async fromJsonLd(json, options = {}) {
|
|
14561
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14561
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14562
14562
|
try {
|
|
14563
14563
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
14564
14564
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14924,7 +14924,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
14924
14924
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
14925
14925
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
14926
14926
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
14927
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14927
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
14928
14928
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
14929
14929
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14930
14930
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15276,7 +15276,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
15276
15276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
15277
15277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
15278
15278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
15279
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
15279
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
15280
15280
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
15281
15281
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15282
15282
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15578,7 +15578,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
15578
15578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
15579
15579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
15580
15580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
15581
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
15581
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
15582
15582
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
15583
15583
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15584
15584
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -15886,7 +15886,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
15886
15886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
15887
15887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
15888
15888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
15889
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
15889
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
15890
15890
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
15891
15891
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15892
15892
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -16188,7 +16188,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
16188
16188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
16189
16189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
16190
16190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
16191
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16191
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
16192
16192
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16193
16193
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16194
16194
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -16492,7 +16492,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
16492
16492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
16493
16493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
16494
16494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
16495
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16495
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
16496
16496
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
16497
16497
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16498
16498
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -16925,7 +16925,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
16925
16925
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16926
16926
|
*/
|
|
16927
16927
|
static async fromJsonLd(json, options = {}) {
|
|
16928
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
16928
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16929
16929
|
try {
|
|
16930
16930
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
16931
16931
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17332,7 +17332,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
17332
17332
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17333
17333
|
*/
|
|
17334
17334
|
static async fromJsonLd(json, options = {}) {
|
|
17335
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
17335
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17336
17336
|
try {
|
|
17337
17337
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
17338
17338
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17655,7 +17655,7 @@ var PropertyValue = class {
|
|
|
17655
17655
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17656
17656
|
*/
|
|
17657
17657
|
static async fromJsonLd(json, options = {}) {
|
|
17658
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
17658
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17659
17659
|
try {
|
|
17660
17660
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
17661
17661
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18004,7 +18004,7 @@ var Measure = class {
|
|
|
18004
18004
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18005
18005
|
*/
|
|
18006
18006
|
static async fromJsonLd(json, options = {}) {
|
|
18007
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18007
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18008
18008
|
try {
|
|
18009
18009
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
18010
18010
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18198,7 +18198,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
18198
18198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
18199
18199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
18200
18200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
18201
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
18201
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
18202
18202
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18203
18203
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18204
18204
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18424,7 +18424,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
18424
18424
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
18425
18425
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
18426
18426
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
18427
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
18427
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
18428
18428
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
18429
18429
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18430
18430
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -18771,7 +18771,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
18771
18771
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18772
18772
|
*/
|
|
18773
18773
|
static async fromJsonLd(json, options = {}) {
|
|
18774
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18774
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18775
18775
|
try {
|
|
18776
18776
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
18777
18777
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19025,7 +19025,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
19025
19025
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19026
19026
|
*/
|
|
19027
19027
|
static async fromJsonLd(json, options = {}) {
|
|
19028
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19028
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19029
19029
|
try {
|
|
19030
19030
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
19031
19031
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19404,7 +19404,7 @@ var InteractionPolicy = class {
|
|
|
19404
19404
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19405
19405
|
*/
|
|
19406
19406
|
static async fromJsonLd(json, options = {}) {
|
|
19407
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19407
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19408
19408
|
try {
|
|
19409
19409
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
19410
19410
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19842,7 +19842,7 @@ var InteractionRule = class {
|
|
|
19842
19842
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19843
19843
|
*/
|
|
19844
19844
|
static async fromJsonLd(json, options = {}) {
|
|
19845
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19845
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19846
19846
|
try {
|
|
19847
19847
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
19848
19848
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20037,7 +20037,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
20037
20037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
20038
20038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
20039
20039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
20040
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20040
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
20041
20041
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20042
20042
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20043
20043
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20263,7 +20263,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
20263
20263
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
20264
20264
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
20265
20265
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
20266
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20266
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
20267
20267
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
20268
20268
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20269
20269
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -20610,7 +20610,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
20610
20610
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20611
20611
|
*/
|
|
20612
20612
|
static async fromJsonLd(json, options = {}) {
|
|
20613
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20613
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20614
20614
|
try {
|
|
20615
20615
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
20616
20616
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20863,7 +20863,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
20863
20863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20864
20864
|
*/
|
|
20865
20865
|
static async fromJsonLd(json, options = {}) {
|
|
20866
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20866
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20867
20867
|
try {
|
|
20868
20868
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
20869
20869
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21021,7 +21021,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
21021
21021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
21022
21022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
21023
21023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
21024
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21024
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21025
21025
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21026
21026
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21027
21027
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21247,7 +21247,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
21247
21247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
21248
21248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
21249
21249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
21250
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21250
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
21251
21251
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
21252
21252
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21253
21253
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -21594,7 +21594,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
21594
21594
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21595
21595
|
*/
|
|
21596
21596
|
static async fromJsonLd(json, options = {}) {
|
|
21597
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
21597
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21598
21598
|
try {
|
|
21599
21599
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
21600
21600
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21847,7 +21847,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
21847
21847
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21848
21848
|
*/
|
|
21849
21849
|
static async fromJsonLd(json, options = {}) {
|
|
21850
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
21850
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21851
21851
|
try {
|
|
21852
21852
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
21853
21853
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22005,7 +22005,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
22005
22005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
22006
22006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
22007
22007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
22008
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22008
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22009
22009
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22010
22010
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22011
22011
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22230,7 +22230,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
22230
22230
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
22231
22231
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
22232
22232
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
22233
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22233
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
22234
22234
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
22235
22235
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22236
22236
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -22579,7 +22579,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
22579
22579
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22580
22580
|
*/
|
|
22581
22581
|
static async fromJsonLd(json, options = {}) {
|
|
22582
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
22582
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22583
22583
|
try {
|
|
22584
22584
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
22585
22585
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22862,7 +22862,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
22862
22862
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22863
22863
|
*/
|
|
22864
22864
|
static async fromJsonLd(json, options = {}) {
|
|
22865
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
22865
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22866
22866
|
try {
|
|
22867
22867
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
22868
22868
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23123,7 +23123,7 @@ var Translation = class {
|
|
|
23123
23123
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
23124
23124
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
23125
23125
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.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 = {}) => {
|
|
@@ -23712,7 +23712,7 @@ var Translation = class {
|
|
|
23712
23712
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23713
23713
|
*/
|
|
23714
23714
|
static async fromJsonLd(json, options = {}) {
|
|
23715
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
23715
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23716
23716
|
try {
|
|
23717
23717
|
const object = await this.__fromJsonLd__Translation__(json, span, options);
|
|
23718
23718
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24002,7 +24002,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
24002
24002
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
24003
24003
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
24004
24004
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
24005
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
24005
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
24006
24006
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
24007
24007
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24008
24008
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24227,7 +24227,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
24227
24227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
24228
24228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
24229
24229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
24230
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
24230
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
24231
24231
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
24232
24232
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24233
24233
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -24576,7 +24576,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
|
|
|
24576
24576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24577
24577
|
*/
|
|
24578
24578
|
static async fromJsonLd(json, options = {}) {
|
|
24579
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24579
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24580
24580
|
try {
|
|
24581
24581
|
const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
|
|
24582
24582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24827,7 +24827,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
|
|
|
24827
24827
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24828
24828
|
*/
|
|
24829
24829
|
static async fromJsonLd(json, options = {}) {
|
|
24830
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24830
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24831
24831
|
try {
|
|
24832
24832
|
const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
|
|
24833
24833
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25118,7 +25118,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25118
25118
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25119
25119
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25120
25120
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
25121
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25121
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
25122
25122
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25123
25123
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25124
25124
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -25344,7 +25344,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25344
25344
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25345
25345
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25346
25346
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
25347
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25347
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
25348
25348
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25349
25349
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25350
25350
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -25570,7 +25570,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25570
25570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25571
25571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25572
25572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
25573
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25573
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
25574
25574
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25575
25575
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25576
25576
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -25796,7 +25796,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25796
25796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25797
25797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
25798
25798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
25799
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25799
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
25800
25800
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
25801
25801
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25802
25802
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26037,7 +26037,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
26037
26037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26038
26038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26039
26039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
26040
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26040
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26041
26041
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26042
26042
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26043
26043
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26262,7 +26262,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
26262
26262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26263
26263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26264
26264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
26265
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26265
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26266
26266
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26267
26267
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26268
26268
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26487,7 +26487,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
26487
26487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26488
26488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26489
26489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
26490
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26490
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26491
26491
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26492
26492
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26493
26493
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26712,7 +26712,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
26712
26712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26713
26713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26714
26714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
26715
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26715
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26716
26716
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26717
26717
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26718
26718
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -26937,7 +26937,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
26937
26937
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26938
26938
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
26939
26939
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
26940
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26940
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
26941
26941
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
26942
26942
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26943
26943
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -27162,7 +27162,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
27162
27162
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
27163
27163
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
27164
27164
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
27165
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27165
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
27166
27166
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
27167
27167
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27168
27168
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -27387,7 +27387,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
27387
27387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
27388
27388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
27389
27389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
27390
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27390
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
27391
27391
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
27392
27392
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27393
27393
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -27612,7 +27612,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
27612
27612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
27613
27613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
27614
27614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
27615
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27615
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
27616
27616
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
27617
27617
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27618
27618
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -28247,7 +28247,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
28247
28247
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28248
28248
|
*/
|
|
28249
28249
|
static async fromJsonLd(json, options = {}) {
|
|
28250
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
28250
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28251
28251
|
try {
|
|
28252
28252
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
28253
28253
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28800,7 +28800,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28800
28800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
28801
28801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
28802
28802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
28803
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28803
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
28804
28804
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
28805
28805
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28806
28806
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -29201,7 +29201,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29201
29201
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29202
29202
|
*/
|
|
29203
29203
|
static async fromJsonLd(json, options = {}) {
|
|
29204
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29204
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29205
29205
|
try {
|
|
29206
29206
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
29207
29207
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29596,7 +29596,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
|
|
|
29596
29596
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29597
29597
|
*/
|
|
29598
29598
|
static async fromJsonLd(json, options = {}) {
|
|
29599
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29599
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29600
29600
|
try {
|
|
29601
29601
|
const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
|
|
29602
29602
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29789,7 +29789,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
29789
29789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
29790
29790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
29791
29791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
29792
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
29792
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
29793
29793
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
29794
29794
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29795
29795
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -30014,7 +30014,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
30014
30014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
30015
30015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
30016
30016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
30017
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
30017
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
30018
30018
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
30019
30019
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30020
30020
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -30364,7 +30364,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
|
|
|
30364
30364
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30365
30365
|
*/
|
|
30366
30366
|
static async fromJsonLd(json, options = {}) {
|
|
30367
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30367
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30368
30368
|
try {
|
|
30369
30369
|
const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
|
|
30370
30370
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30695,7 +30695,7 @@ var DidService = class {
|
|
|
30695
30695
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30696
30696
|
*/
|
|
30697
30697
|
static async fromJsonLd(json, options = {}) {
|
|
30698
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30698
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30699
30699
|
try {
|
|
30700
30700
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
30701
30701
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30897,7 +30897,7 @@ var Export = class Export extends DidService {
|
|
|
30897
30897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30898
30898
|
*/
|
|
30899
30899
|
static async fromJsonLd(json, options = {}) {
|
|
30900
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30900
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30901
30901
|
try {
|
|
30902
30902
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
30903
30903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31121,7 +31121,7 @@ var DataIntegrityProof = class {
|
|
|
31121
31121
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
31122
31122
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
31123
31123
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
31124
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31124
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
31125
31125
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
31126
31126
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31127
31127
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -31473,7 +31473,7 @@ var DataIntegrityProof = class {
|
|
|
31473
31473
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31474
31474
|
*/
|
|
31475
31475
|
static async fromJsonLd(json, options = {}) {
|
|
31476
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31476
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31477
31477
|
try {
|
|
31478
31478
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
31479
31479
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31768,7 +31768,7 @@ var CryptographicKey = class {
|
|
|
31768
31768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
31769
31769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
31770
31770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
31771
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31771
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
31772
31772
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
31773
31773
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31774
31774
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32165,7 +32165,7 @@ var CryptographicKey = class {
|
|
|
32165
32165
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32166
32166
|
*/
|
|
32167
32167
|
static async fromJsonLd(json, options = {}) {
|
|
32168
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
32168
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32169
32169
|
try {
|
|
32170
32170
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
32171
32171
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32421,7 +32421,7 @@ var Multikey = class {
|
|
|
32421
32421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
32422
32422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
32423
32423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
32424
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32424
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
32425
32425
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
32426
32426
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32427
32427
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -32824,7 +32824,7 @@ var Multikey = class {
|
|
|
32824
32824
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32825
32825
|
*/
|
|
32826
32826
|
static async fromJsonLd(json, options = {}) {
|
|
32827
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
32827
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32828
32828
|
try {
|
|
32829
32829
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
32830
32830
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33211,7 +33211,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
33211
33211
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33212
33212
|
*/
|
|
33213
33213
|
static async fromJsonLd(json, options = {}) {
|
|
33214
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
33214
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33215
33215
|
try {
|
|
33216
33216
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
33217
33217
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33590,7 +33590,7 @@ var Commitment = class {
|
|
|
33590
33590
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33591
33591
|
*/
|
|
33592
33592
|
static async fromJsonLd(json, options = {}) {
|
|
33593
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
33593
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33594
33594
|
try {
|
|
33595
33595
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
33596
33596
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34061,7 +34061,7 @@ var Intent = class {
|
|
|
34061
34061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34062
34062
|
*/
|
|
34063
34063
|
static async fromJsonLd(json, options = {}) {
|
|
34064
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
34064
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34065
34065
|
try {
|
|
34066
34066
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
34067
34067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34560,7 +34560,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
34560
34560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34561
34561
|
*/
|
|
34562
34562
|
static async fromJsonLd(json, options = {}) {
|
|
34563
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
34563
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34564
34564
|
try {
|
|
34565
34565
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
34566
34566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34832,7 +34832,7 @@ var Accept = class Accept extends Activity {
|
|
|
34832
34832
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34833
34833
|
*/
|
|
34834
34834
|
static async fromJsonLd(json, options = {}) {
|
|
34835
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
34835
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34836
34836
|
try {
|
|
34837
34837
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
34838
34838
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35027,7 +35027,7 @@ var Add = class Add extends Activity {
|
|
|
35027
35027
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35028
35028
|
*/
|
|
35029
35029
|
static async fromJsonLd(json, options = {}) {
|
|
35030
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
35030
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35031
35031
|
try {
|
|
35032
35032
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
35033
35033
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35249,7 +35249,7 @@ var Announce = class Announce extends Activity {
|
|
|
35249
35249
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35250
35250
|
*/
|
|
35251
35251
|
static async fromJsonLd(json, options = {}) {
|
|
35252
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
35252
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35253
35253
|
try {
|
|
35254
35254
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
35255
35255
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35699,7 +35699,7 @@ var Application = class Application extends Object$1 {
|
|
|
35699
35699
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
35700
35700
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
35701
35701
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
35702
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
35702
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
35703
35703
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
35704
35704
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35705
35705
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -35997,7 +35997,7 @@ var Application = class Application extends Object$1 {
|
|
|
35997
35997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
35998
35998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
35999
35999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
36000
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36000
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
36001
36001
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
36002
36002
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36003
36003
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -36331,7 +36331,7 @@ var Application = class Application extends Object$1 {
|
|
|
36331
36331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
36332
36332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
36333
36333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
36334
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36334
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
36335
36335
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
36336
36336
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36337
36337
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -36579,7 +36579,7 @@ var Application = class Application extends Object$1 {
|
|
|
36579
36579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
36580
36580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
36581
36581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
36582
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36582
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
36583
36583
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
36584
36584
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36585
36585
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -36824,7 +36824,7 @@ var Application = class Application extends Object$1 {
|
|
|
36824
36824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
36825
36825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
36826
36826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
36827
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36827
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
36828
36828
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
36829
36829
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36830
36830
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37053,7 +37053,7 @@ var Application = class Application extends Object$1 {
|
|
|
37053
37053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37054
37054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37055
37055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
37056
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37056
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37057
37057
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37058
37058
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37059
37059
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37285,7 +37285,7 @@ var Application = class Application extends Object$1 {
|
|
|
37285
37285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37286
37286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37287
37287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
37288
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37288
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37289
37289
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37290
37290
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37291
37291
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37515,7 +37515,7 @@ var Application = class Application extends Object$1 {
|
|
|
37515
37515
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37516
37516
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37517
37517
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
37518
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37518
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37519
37519
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37520
37520
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37521
37521
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37743,7 +37743,7 @@ var Application = class Application extends Object$1 {
|
|
|
37743
37743
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37744
37744
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37745
37745
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
37746
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37746
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37747
37747
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37748
37748
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37749
37749
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -37971,7 +37971,7 @@ var Application = class Application extends Object$1 {
|
|
|
37971
37971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37972
37972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
37973
37973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
37974
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37974
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
37975
37975
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
37976
37976
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37977
37977
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38196,7 +38196,7 @@ var Application = class Application extends Object$1 {
|
|
|
38196
38196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
38197
38197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
38198
38198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
38199
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
38199
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
38200
38200
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
38201
38201
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38202
38202
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38467,7 +38467,7 @@ var Application = class Application extends Object$1 {
|
|
|
38467
38467
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
38468
38468
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
38469
38469
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
38470
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
38470
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
38471
38471
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
38472
38472
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38473
38473
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -38742,7 +38742,7 @@ var Application = class Application extends Object$1 {
|
|
|
38742
38742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
38743
38743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
38744
38744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
38745
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
38745
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
38746
38746
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
38747
38747
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38748
38748
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -39096,7 +39096,7 @@ var Application = class Application extends Object$1 {
|
|
|
39096
39096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
39097
39097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
39098
39098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
39099
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39099
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
39100
39100
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
39101
39101
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39102
39102
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -40093,7 +40093,7 @@ var Application = class Application extends Object$1 {
|
|
|
40093
40093
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40094
40094
|
*/
|
|
40095
40095
|
static async fromJsonLd(json, options = {}) {
|
|
40096
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40096
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40097
40097
|
try {
|
|
40098
40098
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
40099
40099
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40870,7 +40870,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
40870
40870
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40871
40871
|
*/
|
|
40872
40872
|
static async fromJsonLd(json, options = {}) {
|
|
40873
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40873
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40874
40874
|
try {
|
|
40875
40875
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
40876
40876
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41066,7 +41066,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
41066
41066
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41067
41067
|
*/
|
|
41068
41068
|
static async fromJsonLd(json, options = {}) {
|
|
41069
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41069
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41070
41070
|
try {
|
|
41071
41071
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
41072
41072
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41223,7 +41223,7 @@ var Article = class Article extends Object$1 {
|
|
|
41223
41223
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
41224
41224
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
41225
41225
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
41226
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41226
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
41227
41227
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
41228
41228
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41229
41229
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -41466,7 +41466,7 @@ var Article = class Article extends Object$1 {
|
|
|
41466
41466
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
41467
41467
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
41468
41468
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
41469
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41469
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
41470
41470
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
41471
41471
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41472
41472
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -41888,7 +41888,7 @@ var Article = class Article extends Object$1 {
|
|
|
41888
41888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41889
41889
|
*/
|
|
41890
41890
|
static async fromJsonLd(json, options = {}) {
|
|
41891
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41891
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41892
41892
|
try {
|
|
41893
41893
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
41894
41894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42271,7 +42271,7 @@ var Document = class Document extends Object$1 {
|
|
|
42271
42271
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42272
42272
|
*/
|
|
42273
42273
|
static async fromJsonLd(json, options = {}) {
|
|
42274
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42274
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42275
42275
|
try {
|
|
42276
42276
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
42277
42277
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42537,7 +42537,7 @@ var Audio = class Audio extends Document {
|
|
|
42537
42537
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42538
42538
|
*/
|
|
42539
42539
|
static async fromJsonLd(json, options = {}) {
|
|
42540
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42540
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42541
42541
|
try {
|
|
42542
42542
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
42543
42543
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42729,7 +42729,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
42729
42729
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42730
42730
|
*/
|
|
42731
42731
|
static async fromJsonLd(json, options = {}) {
|
|
42732
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42732
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42733
42733
|
try {
|
|
42734
42734
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
42735
42735
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42924,7 +42924,7 @@ var Block = class Block extends Ignore {
|
|
|
42924
42924
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42925
42925
|
*/
|
|
42926
42926
|
static async fromJsonLd(json, options = {}) {
|
|
42927
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42927
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42928
42928
|
try {
|
|
42929
42929
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
42930
42930
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43089,7 +43089,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
43089
43089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
43090
43090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
43091
43091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
43092
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43092
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43093
43093
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43094
43094
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43095
43095
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43315,7 +43315,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
43315
43315
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
43316
43316
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
43317
43317
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
43318
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43318
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43319
43319
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43320
43320
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43321
43321
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43540,7 +43540,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
43540
43540
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
43541
43541
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
43542
43542
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
43543
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43543
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
43544
43544
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
43545
43545
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43546
43546
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -43962,7 +43962,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
43962
43962
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43963
43963
|
*/
|
|
43964
43964
|
static async fromJsonLd(json, options = {}) {
|
|
43965
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
43965
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43966
43966
|
try {
|
|
43967
43967
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
43968
43968
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44263,7 +44263,7 @@ var Create = class Create extends Activity {
|
|
|
44263
44263
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44264
44264
|
*/
|
|
44265
44265
|
static async fromJsonLd(json, options = {}) {
|
|
44266
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
44266
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44267
44267
|
try {
|
|
44268
44268
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
44269
44269
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44481,7 +44481,7 @@ var Delete = class Delete extends Activity {
|
|
|
44481
44481
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44482
44482
|
*/
|
|
44483
44483
|
static async fromJsonLd(json, options = {}) {
|
|
44484
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
44484
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44485
44485
|
try {
|
|
44486
44486
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
44487
44487
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44676,7 +44676,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
44676
44676
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44677
44677
|
*/
|
|
44678
44678
|
static async fromJsonLd(json, options = {}) {
|
|
44679
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
44679
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44680
44680
|
try {
|
|
44681
44681
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
44682
44682
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45153,7 +45153,7 @@ var Endpoints = class {
|
|
|
45153
45153
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45154
45154
|
*/
|
|
45155
45155
|
static async fromJsonLd(json, options = {}) {
|
|
45156
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45156
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45157
45157
|
try {
|
|
45158
45158
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
45159
45159
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45483,7 +45483,7 @@ var Event = class Event extends Object$1 {
|
|
|
45483
45483
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45484
45484
|
*/
|
|
45485
45485
|
static async fromJsonLd(json, options = {}) {
|
|
45486
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45486
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45487
45487
|
try {
|
|
45488
45488
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
45489
45489
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45676,7 +45676,7 @@ var Flag = class Flag extends Activity {
|
|
|
45676
45676
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45677
45677
|
*/
|
|
45678
45678
|
static async fromJsonLd(json, options = {}) {
|
|
45679
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45679
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45680
45680
|
try {
|
|
45681
45681
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
45682
45682
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45873,7 +45873,7 @@ var Follow = class Follow extends Activity {
|
|
|
45873
45873
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45874
45874
|
*/
|
|
45875
45875
|
static async fromJsonLd(json, options = {}) {
|
|
45876
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45876
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45877
45877
|
try {
|
|
45878
45878
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
45879
45879
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46323,7 +46323,7 @@ var Group = class Group extends Object$1 {
|
|
|
46323
46323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
46324
46324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
46325
46325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
46326
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
46326
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
46327
46327
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46328
46328
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46329
46329
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46621,7 +46621,7 @@ var Group = class Group extends Object$1 {
|
|
|
46621
46621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
46622
46622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
46623
46623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
46624
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
46624
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
46625
46625
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46626
46626
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46627
46627
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -46955,7 +46955,7 @@ var Group = class Group extends Object$1 {
|
|
|
46955
46955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
46956
46956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
46957
46957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
46958
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
46958
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
46959
46959
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
46960
46960
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46961
46961
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47203,7 +47203,7 @@ var Group = class Group extends Object$1 {
|
|
|
47203
47203
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47204
47204
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47205
47205
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
47206
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
47206
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
47207
47207
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
47208
47208
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47209
47209
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47448,7 +47448,7 @@ var Group = class Group extends Object$1 {
|
|
|
47448
47448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47449
47449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47450
47450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
47451
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
47451
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
47452
47452
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
47453
47453
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47454
47454
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47677,7 +47677,7 @@ var Group = class Group extends Object$1 {
|
|
|
47677
47677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47678
47678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47679
47679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
47680
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
47680
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
47681
47681
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
47682
47682
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47683
47683
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -47909,7 +47909,7 @@ var Group = class Group extends Object$1 {
|
|
|
47909
47909
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47910
47910
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
47911
47911
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
47912
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
47912
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
47913
47913
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
47914
47914
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47915
47915
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -48139,7 +48139,7 @@ var Group = class Group extends Object$1 {
|
|
|
48139
48139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48140
48140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48141
48141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
48142
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
48142
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
48143
48143
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48144
48144
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48145
48145
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -48367,7 +48367,7 @@ var Group = class Group extends Object$1 {
|
|
|
48367
48367
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48368
48368
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48369
48369
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
48370
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
48370
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
48371
48371
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48372
48372
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48373
48373
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -48595,7 +48595,7 @@ var Group = class Group extends Object$1 {
|
|
|
48595
48595
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48596
48596
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48597
48597
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
48598
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
48598
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
48599
48599
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48600
48600
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48601
48601
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -48820,7 +48820,7 @@ var Group = class Group extends Object$1 {
|
|
|
48820
48820
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48821
48821
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
48822
48822
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
48823
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
48823
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
48824
48824
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
48825
48825
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48826
48826
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -49091,7 +49091,7 @@ var Group = class Group extends Object$1 {
|
|
|
49091
49091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
49092
49092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
49093
49093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
49094
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
49094
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
49095
49095
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
49096
49096
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
49097
49097
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -49366,7 +49366,7 @@ var Group = class Group extends Object$1 {
|
|
|
49366
49366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
49367
49367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
49368
49368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
49369
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
49369
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
49370
49370
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
49371
49371
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
49372
49372
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -49720,7 +49720,7 @@ var Group = class Group extends Object$1 {
|
|
|
49720
49720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
49721
49721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
49722
49722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
49723
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
49723
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
49724
49724
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
49725
49725
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
49726
49726
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -50717,7 +50717,7 @@ var Group = class Group extends Object$1 {
|
|
|
50717
50717
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50718
50718
|
*/
|
|
50719
50719
|
static async fromJsonLd(json, options = {}) {
|
|
50720
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
50720
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50721
50721
|
try {
|
|
50722
50722
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
50723
50723
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51655,7 +51655,7 @@ var Link = class Link {
|
|
|
51655
51655
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
51656
51656
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
51657
51657
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
51658
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
51658
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
51659
51659
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
51660
51660
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
51661
51661
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -52130,7 +52130,7 @@ var Link = class Link {
|
|
|
52130
52130
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52131
52131
|
*/
|
|
52132
52132
|
static async fromJsonLd(json, options = {}) {
|
|
52133
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
52133
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52134
52134
|
try {
|
|
52135
52135
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
52136
52136
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -52576,7 +52576,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
52576
52576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52577
52577
|
*/
|
|
52578
52578
|
static async fromJsonLd(json, options = {}) {
|
|
52579
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
52579
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52580
52580
|
try {
|
|
52581
52581
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
52582
52582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -52783,7 +52783,7 @@ var Image = class Image extends Document {
|
|
|
52783
52783
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52784
52784
|
*/
|
|
52785
52785
|
static async fromJsonLd(json, options = {}) {
|
|
52786
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
52786
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52787
52787
|
try {
|
|
52788
52788
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
52789
52789
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -52976,7 +52976,7 @@ var Offer = class Offer extends Activity {
|
|
|
52976
52976
|
* @throws {TypeError} If the given `json` is invalid.
|
|
52977
52977
|
*/
|
|
52978
52978
|
static async fromJsonLd(json, options = {}) {
|
|
52979
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
52979
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
52980
52980
|
try {
|
|
52981
52981
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
52982
52982
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -53169,7 +53169,7 @@ var Invite = class Invite extends Offer {
|
|
|
53169
53169
|
* @throws {TypeError} If the given `json` is invalid.
|
|
53170
53170
|
*/
|
|
53171
53171
|
static async fromJsonLd(json, options = {}) {
|
|
53172
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
53172
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
53173
53173
|
try {
|
|
53174
53174
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
53175
53175
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -53361,7 +53361,7 @@ var Join = class Join extends Activity {
|
|
|
53361
53361
|
* @throws {TypeError} If the given `json` is invalid.
|
|
53362
53362
|
*/
|
|
53363
53363
|
static async fromJsonLd(json, options = {}) {
|
|
53364
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
53364
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
53365
53365
|
try {
|
|
53366
53366
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
53367
53367
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -53553,7 +53553,7 @@ var Leave = class Leave extends Activity {
|
|
|
53553
53553
|
* @throws {TypeError} If the given `json` is invalid.
|
|
53554
53554
|
*/
|
|
53555
53555
|
static async fromJsonLd(json, options = {}) {
|
|
53556
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
53556
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
53557
53557
|
try {
|
|
53558
53558
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
53559
53559
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -53749,7 +53749,7 @@ var Like = class Like extends Activity {
|
|
|
53749
53749
|
* @throws {TypeError} If the given `json` is invalid.
|
|
53750
53750
|
*/
|
|
53751
53751
|
static async fromJsonLd(json, options = {}) {
|
|
53752
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
53752
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
53753
53753
|
try {
|
|
53754
53754
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
53755
53755
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -53940,7 +53940,7 @@ var Listen = class Listen extends Activity {
|
|
|
53940
53940
|
* @throws {TypeError} If the given `json` is invalid.
|
|
53941
53941
|
*/
|
|
53942
53942
|
static async fromJsonLd(json, options = {}) {
|
|
53943
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
53943
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
53944
53944
|
try {
|
|
53945
53945
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
53946
53946
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -54134,7 +54134,7 @@ var Mention = class Mention extends Link {
|
|
|
54134
54134
|
* @throws {TypeError} If the given `json` is invalid.
|
|
54135
54135
|
*/
|
|
54136
54136
|
static async fromJsonLd(json, options = {}) {
|
|
54137
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
54137
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
54138
54138
|
try {
|
|
54139
54139
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
54140
54140
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -54327,7 +54327,7 @@ var Move = class Move extends Activity {
|
|
|
54327
54327
|
* @throws {TypeError} If the given `json` is invalid.
|
|
54328
54328
|
*/
|
|
54329
54329
|
static async fromJsonLd(json, options = {}) {
|
|
54330
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
54330
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
54331
54331
|
try {
|
|
54332
54332
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
54333
54333
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -54485,7 +54485,7 @@ var Note = class Note extends Object$1 {
|
|
|
54485
54485
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
54486
54486
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
54487
54487
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
54488
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54488
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54489
54489
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54490
54490
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54491
54491
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -54728,7 +54728,7 @@ var Note = class Note extends Object$1 {
|
|
|
54728
54728
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
54729
54729
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
54730
54730
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
54731
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
54731
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
54732
54732
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
54733
54733
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
54734
54734
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55150,7 +55150,7 @@ var Note = class Note extends Object$1 {
|
|
|
55150
55150
|
* @throws {TypeError} If the given `json` is invalid.
|
|
55151
55151
|
*/
|
|
55152
55152
|
static async fromJsonLd(json, options = {}) {
|
|
55153
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
55153
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
55154
55154
|
try {
|
|
55155
55155
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
55156
55156
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -55371,7 +55371,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
55371
55371
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
55372
55372
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
55373
55373
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
55374
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
55374
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
55375
55375
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
55376
55376
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
55377
55377
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -55800,7 +55800,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
55800
55800
|
* @throws {TypeError} If the given `json` is invalid.
|
|
55801
55801
|
*/
|
|
55802
55802
|
static async fromJsonLd(json, options = {}) {
|
|
55803
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
55803
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
55804
55804
|
try {
|
|
55805
55805
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
55806
55806
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -56372,7 +56372,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56372
56372
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
56373
56373
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
56374
56374
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
56375
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
56375
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
56376
56376
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56377
56377
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56378
56378
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -56670,7 +56670,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
56670
56670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
56671
56671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
56672
56672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
56673
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
56673
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
56674
56674
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
56675
56675
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
56676
56676
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57004,7 +57004,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57004
57004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57005
57005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57006
57006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
57007
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
57007
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
57008
57008
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
57009
57009
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
57010
57010
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57252,7 +57252,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57252
57252
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57253
57253
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57254
57254
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
57255
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
57255
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
57256
57256
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
57257
57257
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
57258
57258
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57497,7 +57497,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57497
57497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57498
57498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57499
57499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
57500
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
57500
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
57501
57501
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
57502
57502
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
57503
57503
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57726,7 +57726,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57726
57726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57727
57727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57728
57728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
57729
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
57729
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
57730
57730
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
57731
57731
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
57732
57732
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -57958,7 +57958,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
57958
57958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57959
57959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
57960
57960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
57961
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
57961
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
57962
57962
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
57963
57963
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
57964
57964
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58188,7 +58188,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
58188
58188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58189
58189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58190
58190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
58191
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58191
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58192
58192
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58193
58193
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58194
58194
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58416,7 +58416,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
58416
58416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58417
58417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58418
58418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
58419
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58419
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58420
58420
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58421
58421
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58422
58422
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58644,7 +58644,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
58644
58644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58645
58645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58646
58646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
58647
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58647
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58648
58648
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58649
58649
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58650
58650
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -58869,7 +58869,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
58869
58869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58870
58870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
58871
58871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
58872
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
58872
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
58873
58873
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
58874
58874
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
58875
58875
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59140,7 +59140,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
59140
59140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
59141
59141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
59142
59142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
59143
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59143
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59144
59144
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59145
59145
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59146
59146
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59415,7 +59415,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
59415
59415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
59416
59416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
59417
59417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
59418
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59418
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59419
59419
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59420
59420
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59421
59421
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -59769,7 +59769,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
59769
59769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
59770
59770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
59771
59771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
59772
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
59772
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
59773
59773
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
59774
59774
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
59775
59775
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -60766,7 +60766,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
60766
60766
|
* @throws {TypeError} If the given `json` is invalid.
|
|
60767
60767
|
*/
|
|
60768
60768
|
static async fromJsonLd(json, options = {}) {
|
|
60769
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
60769
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
60770
60770
|
try {
|
|
60771
60771
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
60772
60772
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -61557,7 +61557,7 @@ var Page = class Page extends Document {
|
|
|
61557
61557
|
* @throws {TypeError} If the given `json` is invalid.
|
|
61558
61558
|
*/
|
|
61559
61559
|
static async fromJsonLd(json, options = {}) {
|
|
61560
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
61560
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
61561
61561
|
try {
|
|
61562
61562
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
61563
61563
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -62007,7 +62007,7 @@ var Person = class Person extends Object$1 {
|
|
|
62007
62007
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62008
62008
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62009
62009
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
62010
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
62010
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
62011
62011
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62012
62012
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62013
62013
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62305,7 +62305,7 @@ var Person = class Person extends Object$1 {
|
|
|
62305
62305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62306
62306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62307
62307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
62308
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
62308
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
62309
62309
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62310
62310
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62311
62311
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62639,7 +62639,7 @@ var Person = class Person extends Object$1 {
|
|
|
62639
62639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62640
62640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62641
62641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
62642
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
62642
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
62643
62643
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62644
62644
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62645
62645
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -62887,7 +62887,7 @@ var Person = class Person extends Object$1 {
|
|
|
62887
62887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62888
62888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
62889
62889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
62890
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
62890
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
62891
62891
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
62892
62892
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
62893
62893
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -63132,7 +63132,7 @@ var Person = class Person extends Object$1 {
|
|
|
63132
63132
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63133
63133
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63134
63134
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
63135
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
63135
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
63136
63136
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
63137
63137
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
63138
63138
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -63361,7 +63361,7 @@ var Person = class Person extends Object$1 {
|
|
|
63361
63361
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63362
63362
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63363
63363
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
63364
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
63364
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
63365
63365
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
63366
63366
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
63367
63367
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -63593,7 +63593,7 @@ var Person = class Person extends Object$1 {
|
|
|
63593
63593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63594
63594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63595
63595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
63596
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
63596
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
63597
63597
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
63598
63598
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
63599
63599
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -63823,7 +63823,7 @@ var Person = class Person extends Object$1 {
|
|
|
63823
63823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63824
63824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
63825
63825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
63826
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
63826
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
63827
63827
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
63828
63828
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
63829
63829
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64051,7 +64051,7 @@ var Person = class Person extends Object$1 {
|
|
|
64051
64051
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64052
64052
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64053
64053
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
64054
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64054
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64055
64055
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64056
64056
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64057
64057
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64279,7 +64279,7 @@ var Person = class Person extends Object$1 {
|
|
|
64279
64279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64280
64280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64281
64281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
64282
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64282
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64283
64283
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64284
64284
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64285
64285
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64504,7 +64504,7 @@ var Person = class Person extends Object$1 {
|
|
|
64504
64504
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64505
64505
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64506
64506
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
64507
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64507
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64508
64508
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64509
64509
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64510
64510
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -64775,7 +64775,7 @@ var Person = class Person extends Object$1 {
|
|
|
64775
64775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64776
64776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
64777
64777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
64778
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
64778
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
64779
64779
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
64780
64780
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
64781
64781
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65050,7 +65050,7 @@ var Person = class Person extends Object$1 {
|
|
|
65050
65050
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
65051
65051
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
65052
65052
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
65053
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
65053
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
65054
65054
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65055
65055
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65056
65056
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -65404,7 +65404,7 @@ var Person = class Person extends Object$1 {
|
|
|
65404
65404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
65405
65405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
65406
65406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
65407
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
65407
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
65408
65408
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
65409
65409
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
65410
65410
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -66401,7 +66401,7 @@ var Person = class Person extends Object$1 {
|
|
|
66401
66401
|
* @throws {TypeError} If the given `json` is invalid.
|
|
66402
66402
|
*/
|
|
66403
66403
|
static async fromJsonLd(json, options = {}) {
|
|
66404
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
66404
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
66405
66405
|
try {
|
|
66406
66406
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
66407
66407
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67397,7 +67397,7 @@ var Place = class Place extends Object$1 {
|
|
|
67397
67397
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67398
67398
|
*/
|
|
67399
67399
|
static async fromJsonLd(json, options = {}) {
|
|
67400
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
67400
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67401
67401
|
try {
|
|
67402
67402
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
67403
67403
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -67649,7 +67649,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
67649
67649
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
67650
67650
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
67651
67651
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
67652
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
67652
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
67653
67653
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
67654
67654
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
67655
67655
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -67976,7 +67976,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
67976
67976
|
* @throws {TypeError} If the given `json` is invalid.
|
|
67977
67977
|
*/
|
|
67978
67978
|
static async fromJsonLd(json, options = {}) {
|
|
67979
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
67979
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
67980
67980
|
try {
|
|
67981
67981
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
67982
67982
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -68205,7 +68205,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
68205
68205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68206
68206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68207
68207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
68208
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68208
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68209
68209
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68210
68210
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68211
68211
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68436,7 +68436,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
68436
68436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68437
68437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68438
68438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
68439
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68439
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68440
68440
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68441
68441
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68442
68442
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68683,7 +68683,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
68683
68683
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68684
68684
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68685
68685
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
68686
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68686
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68687
68687
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68688
68688
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68689
68689
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -68926,7 +68926,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
68926
68926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68927
68927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
68928
68928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
68929
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
68929
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
68930
68930
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
68931
68931
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
68932
68932
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -69334,7 +69334,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
69334
69334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
69335
69335
|
*/
|
|
69336
69336
|
static async fromJsonLd(json, options = {}) {
|
|
69337
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
69337
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
69338
69338
|
try {
|
|
69339
69339
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
69340
69340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -69686,7 +69686,7 @@ var Read = class Read extends Activity {
|
|
|
69686
69686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
69687
69687
|
*/
|
|
69688
69688
|
static async fromJsonLd(json, options = {}) {
|
|
69689
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
69689
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
69690
69690
|
try {
|
|
69691
69691
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
69692
69692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -69878,7 +69878,7 @@ var Reject = class Reject extends Activity {
|
|
|
69878
69878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
69879
69879
|
*/
|
|
69880
69880
|
static async fromJsonLd(json, options = {}) {
|
|
69881
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
69881
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
69882
69882
|
try {
|
|
69883
69883
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
69884
69884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -70078,7 +70078,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
70078
70078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
70079
70079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
70080
70080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
70081
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70081
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70082
70082
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70083
70083
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70084
70084
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70306,7 +70306,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
70306
70306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
70307
70307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
70308
70308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
70309
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70309
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70310
70310
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70311
70311
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70312
70312
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -70604,7 +70604,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
70604
70604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
70605
70605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
70606
70606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
70607
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
70607
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
70608
70608
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
70609
70609
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
70610
70610
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -71049,7 +71049,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
71049
71049
|
* @throws {TypeError} If the given `json` is invalid.
|
|
71050
71050
|
*/
|
|
71051
71051
|
static async fromJsonLd(json, options = {}) {
|
|
71052
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
71052
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
71053
71053
|
try {
|
|
71054
71054
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
71055
71055
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -71322,7 +71322,7 @@ var Remove = class Remove extends Activity {
|
|
|
71322
71322
|
* @throws {TypeError} If the given `json` is invalid.
|
|
71323
71323
|
*/
|
|
71324
71324
|
static async fromJsonLd(json, options = {}) {
|
|
71325
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
71325
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
71326
71326
|
try {
|
|
71327
71327
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
71328
71328
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -71772,7 +71772,7 @@ var Service = class Service extends Object$1 {
|
|
|
71772
71772
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
71773
71773
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
71774
71774
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
71775
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
71775
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
71776
71776
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
71777
71777
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
71778
71778
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72070,7 +72070,7 @@ var Service = class Service extends Object$1 {
|
|
|
72070
72070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72071
72071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72072
72072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
72073
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
72073
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
72074
72074
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72075
72075
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72076
72076
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72404,7 +72404,7 @@ var Service = class Service extends Object$1 {
|
|
|
72404
72404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72405
72405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72406
72406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
72407
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
72407
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
72408
72408
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72409
72409
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72410
72410
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72652,7 +72652,7 @@ var Service = class Service extends Object$1 {
|
|
|
72652
72652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72653
72653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72654
72654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
72655
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
72655
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
72656
72656
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72657
72657
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72658
72658
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -72897,7 +72897,7 @@ var Service = class Service extends Object$1 {
|
|
|
72897
72897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72898
72898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
72899
72899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
72900
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
72900
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
72901
72901
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
72902
72902
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
72903
72903
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -73126,7 +73126,7 @@ var Service = class Service extends Object$1 {
|
|
|
73126
73126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73127
73127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73128
73128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
73129
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
73129
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
73130
73130
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
73131
73131
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
73132
73132
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -73358,7 +73358,7 @@ var Service = class Service extends Object$1 {
|
|
|
73358
73358
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73359
73359
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73360
73360
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
73361
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
73361
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
73362
73362
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
73363
73363
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
73364
73364
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -73588,7 +73588,7 @@ var Service = class Service extends Object$1 {
|
|
|
73588
73588
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73589
73589
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73590
73590
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
73591
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
73591
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
73592
73592
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
73593
73593
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
73594
73594
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -73816,7 +73816,7 @@ var Service = class Service extends Object$1 {
|
|
|
73816
73816
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73817
73817
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
73818
73818
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
73819
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
73819
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
73820
73820
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
73821
73821
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
73822
73822
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -74044,7 +74044,7 @@ var Service = class Service extends Object$1 {
|
|
|
74044
74044
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74045
74045
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74046
74046
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
74047
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
74047
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
74048
74048
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
74049
74049
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
74050
74050
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -74269,7 +74269,7 @@ var Service = class Service extends Object$1 {
|
|
|
74269
74269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74270
74270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74271
74271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
74272
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
74272
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
74273
74273
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
74274
74274
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
74275
74275
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -74540,7 +74540,7 @@ var Service = class Service extends Object$1 {
|
|
|
74540
74540
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74541
74541
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74542
74542
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
74543
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
74543
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
74544
74544
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
74545
74545
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
74546
74546
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -74815,7 +74815,7 @@ var Service = class Service extends Object$1 {
|
|
|
74815
74815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74816
74816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
74817
74817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
74818
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
74818
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
74819
74819
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
74820
74820
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
74821
74821
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -75169,7 +75169,7 @@ var Service = class Service extends Object$1 {
|
|
|
75169
75169
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
75170
75170
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
|
|
75171
75171
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
|
|
75172
|
-
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
75172
|
+
const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.5.0");
|
|
75173
75173
|
const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
|
|
75174
75174
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
75175
75175
|
const dereferencePortable = async (portableUrl, extra = {}) => {
|
|
@@ -76166,7 +76166,7 @@ var Service = class Service extends Object$1 {
|
|
|
76166
76166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
76167
76167
|
*/
|
|
76168
76168
|
static async fromJsonLd(json, options = {}) {
|
|
76169
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
76169
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
76170
76170
|
try {
|
|
76171
76171
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
76172
76172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -77071,7 +77071,7 @@ var Source = class {
|
|
|
77071
77071
|
* @throws {TypeError} If the given `json` is invalid.
|
|
77072
77072
|
*/
|
|
77073
77073
|
static async fromJsonLd(json, options = {}) {
|
|
77074
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
77074
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
77075
77075
|
try {
|
|
77076
77076
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
77077
77077
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -77299,7 +77299,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
77299
77299
|
* @throws {TypeError} If the given `json` is invalid.
|
|
77300
77300
|
*/
|
|
77301
77301
|
static async fromJsonLd(json, options = {}) {
|
|
77302
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
77302
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
77303
77303
|
try {
|
|
77304
77304
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
77305
77305
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -77491,7 +77491,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
77491
77491
|
* @throws {TypeError} If the given `json` is invalid.
|
|
77492
77492
|
*/
|
|
77493
77493
|
static async fromJsonLd(json, options = {}) {
|
|
77494
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
77494
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
77495
77495
|
try {
|
|
77496
77496
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
77497
77497
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -77782,7 +77782,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
77782
77782
|
* @throws {TypeError} If the given `json` is invalid.
|
|
77783
77783
|
*/
|
|
77784
77784
|
static async fromJsonLd(json, options = {}) {
|
|
77785
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
77785
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
77786
77786
|
try {
|
|
77787
77787
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
77788
77788
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -78019,7 +78019,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
78019
78019
|
* @throws {TypeError} If the given `json` is invalid.
|
|
78020
78020
|
*/
|
|
78021
78021
|
static async fromJsonLd(json, options = {}) {
|
|
78022
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
78022
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
78023
78023
|
try {
|
|
78024
78024
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
78025
78025
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -78225,7 +78225,7 @@ var Undo = class Undo extends Activity {
|
|
|
78225
78225
|
* @throws {TypeError} If the given `json` is invalid.
|
|
78226
78226
|
*/
|
|
78227
78227
|
static async fromJsonLd(json, options = {}) {
|
|
78228
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
78228
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
78229
78229
|
try {
|
|
78230
78230
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
78231
78231
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -78479,7 +78479,7 @@ var Update = class Update extends Activity {
|
|
|
78479
78479
|
* @throws {TypeError} If the given `json` is invalid.
|
|
78480
78480
|
*/
|
|
78481
78481
|
static async fromJsonLd(json, options = {}) {
|
|
78482
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
78482
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
78483
78483
|
try {
|
|
78484
78484
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
78485
78485
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -78686,7 +78686,7 @@ var Video = class Video extends Document {
|
|
|
78686
78686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
78687
78687
|
*/
|
|
78688
78688
|
static async fromJsonLd(json, options = {}) {
|
|
78689
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
78689
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
78690
78690
|
try {
|
|
78691
78691
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
78692
78692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -78877,7 +78877,7 @@ var View = class View extends Activity {
|
|
|
78877
78877
|
* @throws {TypeError} If the given `json` is invalid.
|
|
78878
78878
|
*/
|
|
78879
78879
|
static async fromJsonLd(json, options = {}) {
|
|
78880
|
-
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
78880
|
+
return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.5.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
78881
78881
|
try {
|
|
78882
78882
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
78883
78883
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|