@fedify/vocab 2.0.35-dev.2485 → 2.0.36-dev.2530
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 +192 -192
- package/dist/mod.js +193 -193
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-CMV97EJ4.mjs → deno-B05_iH_G.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-4POt9BSw.mjs → vocab-ZYaaH8Qo.mjs} +192 -192
- package/dist-tests/vocab.test.mjs +30 -1
- package/package.json +4 -4
- package/src/vocab.test.ts +39 -0
|
@@ -4,7 +4,7 @@ import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
|
4
4
|
import jsonld from "@fedify/vocab-runtime/jsonld";
|
|
5
5
|
import { getLogger } from "@logtape/logtape";
|
|
6
6
|
import { LanguageString, decodeMultibase, encodeMultibase, exportMultibaseKey, exportSpki, getDocumentLoader, importMultibaseKey, importPem, normalizeLanguageTag } from "@fedify/vocab-runtime";
|
|
7
|
-
import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/temporal";
|
|
7
|
+
import { isTemporalDuration, isTemporalInstant, normalizeDateTimeLiteral } from "@fedify/vocab-runtime/temporal";
|
|
8
8
|
//#region \0rolldown/runtime.js
|
|
9
9
|
var __create = Object.create;
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
@@ -746,7 +746,7 @@ var Object$1 = class Object$1 {
|
|
|
746
746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
747
747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
748
748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
750
750
|
let fetchResult;
|
|
751
751
|
try {
|
|
752
752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -902,7 +902,7 @@ var Object$1 = class Object$1 {
|
|
|
902
902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
903
903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
904
904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
905
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
905
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
906
906
|
let fetchResult;
|
|
907
907
|
try {
|
|
908
908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1133,7 +1133,7 @@ var Object$1 = class Object$1 {
|
|
|
1133
1133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1134
1134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1135
1135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1137
1137
|
let fetchResult;
|
|
1138
1138
|
try {
|
|
1139
1139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1336,7 +1336,7 @@ var Object$1 = class Object$1 {
|
|
|
1336
1336
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1337
1337
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1338
1338
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1339
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1339
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1340
1340
|
let fetchResult;
|
|
1341
1341
|
try {
|
|
1342
1342
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1508,7 +1508,7 @@ var Object$1 = class Object$1 {
|
|
|
1508
1508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1509
1509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1510
1510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1511
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1512
1512
|
let fetchResult;
|
|
1513
1513
|
try {
|
|
1514
1514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1648,7 +1648,7 @@ var Object$1 = class Object$1 {
|
|
|
1648
1648
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1649
1649
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1650
1650
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1651
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1651
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1652
1652
|
let fetchResult;
|
|
1653
1653
|
try {
|
|
1654
1654
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1833,7 +1833,7 @@ var Object$1 = class Object$1 {
|
|
|
1833
1833
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1834
1834
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1835
1835
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1836
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1836
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1837
1837
|
let fetchResult;
|
|
1838
1838
|
try {
|
|
1839
1839
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2018,7 +2018,7 @@ var Object$1 = class Object$1 {
|
|
|
2018
2018
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2019
2019
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2020
2020
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2021
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2021
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2022
2022
|
let fetchResult;
|
|
2023
2023
|
try {
|
|
2024
2024
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2211,7 +2211,7 @@ var Object$1 = class Object$1 {
|
|
|
2211
2211
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2212
2212
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2213
2213
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2214
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2214
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2215
2215
|
let fetchResult;
|
|
2216
2216
|
try {
|
|
2217
2217
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2404,7 +2404,7 @@ var Object$1 = class Object$1 {
|
|
|
2404
2404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2405
2405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2406
2406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2407
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2407
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2408
2408
|
let fetchResult;
|
|
2409
2409
|
try {
|
|
2410
2410
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2602,7 +2602,7 @@ var Object$1 = class Object$1 {
|
|
|
2602
2602
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2603
2603
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2604
2604
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2605
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2605
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2606
2606
|
let fetchResult;
|
|
2607
2607
|
try {
|
|
2608
2608
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2732,7 +2732,7 @@ var Object$1 = class Object$1 {
|
|
|
2732
2732
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2733
2733
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2734
2734
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2735
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2735
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2736
2736
|
let fetchResult;
|
|
2737
2737
|
try {
|
|
2738
2738
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2868,7 +2868,7 @@ var Object$1 = class Object$1 {
|
|
|
2868
2868
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2869
2869
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2870
2870
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2871
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2871
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2872
2872
|
let fetchResult;
|
|
2873
2873
|
try {
|
|
2874
2874
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3004,7 +3004,7 @@ var Object$1 = class Object$1 {
|
|
|
3004
3004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3005
3005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3006
3006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3007
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3007
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3008
3008
|
let fetchResult;
|
|
3009
3009
|
try {
|
|
3010
3010
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3158,7 +3158,7 @@ var Object$1 = class Object$1 {
|
|
|
3158
3158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3159
3159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3160
3160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3161
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3161
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3162
3162
|
let fetchResult;
|
|
3163
3163
|
try {
|
|
3164
3164
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3320,7 +3320,7 @@ var Object$1 = class Object$1 {
|
|
|
3320
3320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3321
3321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3322
3322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3323
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3323
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3324
3324
|
let fetchResult;
|
|
3325
3325
|
try {
|
|
3326
3326
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3503,7 +3503,7 @@ var Object$1 = class Object$1 {
|
|
|
3503
3503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3504
3504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3505
3505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3507
3507
|
let fetchResult;
|
|
3508
3508
|
try {
|
|
3509
3509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3686,7 +3686,7 @@ var Object$1 = class Object$1 {
|
|
|
3686
3686
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3687
3687
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3688
3688
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3689
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3689
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3690
3690
|
let fetchResult;
|
|
3691
3691
|
try {
|
|
3692
3692
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3869,7 +3869,7 @@ var Object$1 = class Object$1 {
|
|
|
3869
3869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3870
3870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3871
3871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3872
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3872
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3873
3873
|
let fetchResult;
|
|
3874
3874
|
try {
|
|
3875
3875
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4089,7 +4089,7 @@ var Object$1 = class Object$1 {
|
|
|
4089
4089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4090
4090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4091
4091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4092
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
4092
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4093
4093
|
let fetchResult;
|
|
4094
4094
|
try {
|
|
4095
4095
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4897,7 +4897,7 @@ var Object$1 = class Object$1 {
|
|
|
4897
4897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4898
4898
|
*/
|
|
4899
4899
|
static async fromJsonLd(json, options = {}) {
|
|
4900
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4900
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4901
4901
|
try {
|
|
4902
4902
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4903
4903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5239,7 +5239,7 @@ var Object$1 = class Object$1 {
|
|
|
5239
5239
|
let _219RwDanjScTv5tYCjwGZVCM7KZ9_endTime__array = values["https://www.w3.org/ns/activitystreams#endTime"];
|
|
5240
5240
|
for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9_endTime__array == null ? [] : _219RwDanjScTv5tYCjwGZVCM7KZ9_endTime__array.length === 1 && "@list" in _219RwDanjScTv5tYCjwGZVCM7KZ9_endTime__array[0] ? _219RwDanjScTv5tYCjwGZVCM7KZ9_endTime__array[0]["@list"] : _219RwDanjScTv5tYCjwGZVCM7KZ9_endTime__array) {
|
|
5241
5241
|
if (v == null) continue;
|
|
5242
|
-
const decoded = Temporal.Instant.from(v["@value"]
|
|
5242
|
+
const decoded = Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"]));
|
|
5243
5243
|
if (!this._shouldCacheDecodedJsonLd(decoded)) shouldCacheJsonLd = false;
|
|
5244
5244
|
_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime.push(decoded);
|
|
5245
5245
|
}
|
|
@@ -5612,7 +5612,7 @@ var Object$1 = class Object$1 {
|
|
|
5612
5612
|
let _5e258TDXtuhaFRPZiGoDfEpjdMr_published__array = values["https://www.w3.org/ns/activitystreams#published"];
|
|
5613
5613
|
for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr_published__array == null ? [] : _5e258TDXtuhaFRPZiGoDfEpjdMr_published__array.length === 1 && "@list" in _5e258TDXtuhaFRPZiGoDfEpjdMr_published__array[0] ? _5e258TDXtuhaFRPZiGoDfEpjdMr_published__array[0]["@list"] : _5e258TDXtuhaFRPZiGoDfEpjdMr_published__array) {
|
|
5614
5614
|
if (v == null) continue;
|
|
5615
|
-
const decoded = Temporal.Instant.from(v["@value"]
|
|
5615
|
+
const decoded = Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"]));
|
|
5616
5616
|
if (!this._shouldCacheDecodedJsonLd(decoded)) shouldCacheJsonLd = false;
|
|
5617
5617
|
_5e258TDXtuhaFRPZiGoDfEpjdMr_published.push(decoded);
|
|
5618
5618
|
}
|
|
@@ -5685,7 +5685,7 @@ var Object$1 = class Object$1 {
|
|
|
5685
5685
|
let _2w3Jmue4up8iVDUA51WZqomEF438_startTime__array = values["https://www.w3.org/ns/activitystreams#startTime"];
|
|
5686
5686
|
for (const v of _2w3Jmue4up8iVDUA51WZqomEF438_startTime__array == null ? [] : _2w3Jmue4up8iVDUA51WZqomEF438_startTime__array.length === 1 && "@list" in _2w3Jmue4up8iVDUA51WZqomEF438_startTime__array[0] ? _2w3Jmue4up8iVDUA51WZqomEF438_startTime__array[0]["@list"] : _2w3Jmue4up8iVDUA51WZqomEF438_startTime__array) {
|
|
5687
5687
|
if (v == null) continue;
|
|
5688
|
-
const decoded = Temporal.Instant.from(v["@value"]
|
|
5688
|
+
const decoded = Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"]));
|
|
5689
5689
|
if (!this._shouldCacheDecodedJsonLd(decoded)) shouldCacheJsonLd = false;
|
|
5690
5690
|
_2w3Jmue4up8iVDUA51WZqomEF438_startTime.push(decoded);
|
|
5691
5691
|
}
|
|
@@ -5790,7 +5790,7 @@ var Object$1 = class Object$1 {
|
|
|
5790
5790
|
let _385aB7ySixcf5Un6z3VsWmThgCzQ_updated__array = values["https://www.w3.org/ns/activitystreams#updated"];
|
|
5791
5791
|
for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ_updated__array == null ? [] : _385aB7ySixcf5Un6z3VsWmThgCzQ_updated__array.length === 1 && "@list" in _385aB7ySixcf5Un6z3VsWmThgCzQ_updated__array[0] ? _385aB7ySixcf5Un6z3VsWmThgCzQ_updated__array[0]["@list"] : _385aB7ySixcf5Un6z3VsWmThgCzQ_updated__array) {
|
|
5792
5792
|
if (v == null) continue;
|
|
5793
|
-
const decoded = Temporal.Instant.from(v["@value"]
|
|
5793
|
+
const decoded = Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"]));
|
|
5794
5794
|
if (!this._shouldCacheDecodedJsonLd(decoded)) shouldCacheJsonLd = false;
|
|
5795
5795
|
_385aB7ySixcf5Un6z3VsWmThgCzQ_updated.push(decoded);
|
|
5796
5796
|
}
|
|
@@ -6232,7 +6232,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6232
6232
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6233
6233
|
*/
|
|
6234
6234
|
static async fromJsonLd(json, options = {}) {
|
|
6235
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6235
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6236
6236
|
try {
|
|
6237
6237
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6238
6238
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6472,7 +6472,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6472
6472
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6473
6473
|
*/
|
|
6474
6474
|
static async fromJsonLd(json, options = {}) {
|
|
6475
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6475
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6476
6476
|
try {
|
|
6477
6477
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6478
6478
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6762,7 +6762,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6762
6762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6763
6763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6764
6764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6766
6766
|
let fetchResult;
|
|
6767
6767
|
try {
|
|
6768
6768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6993,7 +6993,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6993
6993
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6994
6994
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6995
6995
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6996
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6996
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6997
6997
|
let fetchResult;
|
|
6998
6998
|
try {
|
|
6999
6999
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7178,7 +7178,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7178
7178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7179
7179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7180
7180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7182
7182
|
let fetchResult;
|
|
7183
7183
|
try {
|
|
7184
7184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7369,7 +7369,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7369
7369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7370
7370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7371
7371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7372
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7372
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7373
7373
|
let fetchResult;
|
|
7374
7374
|
try {
|
|
7375
7375
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7554,7 +7554,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7554
7554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7555
7555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7556
7556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7558
7558
|
let fetchResult;
|
|
7559
7559
|
try {
|
|
7560
7560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7741,7 +7741,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7741
7741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7742
7742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7743
7743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7745
7745
|
let fetchResult;
|
|
7746
7746
|
try {
|
|
7747
7747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8010,7 +8010,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8010
8010
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8011
8011
|
*/
|
|
8012
8012
|
static async fromJsonLd(json, options = {}) {
|
|
8013
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8013
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8014
8014
|
try {
|
|
8015
8015
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8016
8016
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8345,7 +8345,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8345
8345
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8346
8346
|
*/
|
|
8347
8347
|
static async fromJsonLd(json, options = {}) {
|
|
8348
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8348
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8349
8349
|
try {
|
|
8350
8350
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8351
8351
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8611,7 +8611,7 @@ var PropertyValue = class {
|
|
|
8611
8611
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8612
8612
|
*/
|
|
8613
8613
|
static async fromJsonLd(json, options = {}) {
|
|
8614
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8614
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8615
8615
|
try {
|
|
8616
8616
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8617
8617
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8873,7 +8873,7 @@ var DidService = class {
|
|
|
8873
8873
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8874
8874
|
*/
|
|
8875
8875
|
static async fromJsonLd(json, options = {}) {
|
|
8876
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8876
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8877
8877
|
try {
|
|
8878
8878
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8879
8879
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9032,7 +9032,7 @@ var Export = class Export extends DidService {
|
|
|
9032
9032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9033
9033
|
*/
|
|
9034
9034
|
static async fromJsonLd(json, options = {}) {
|
|
9035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9036
9036
|
try {
|
|
9037
9037
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
9038
9038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9225,7 +9225,7 @@ var DataIntegrityProof = class {
|
|
|
9225
9225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9226
9226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9227
9227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9228
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9228
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9229
9229
|
let fetchResult;
|
|
9230
9230
|
try {
|
|
9231
9231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9444,7 +9444,7 @@ var DataIntegrityProof = class {
|
|
|
9444
9444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9445
9445
|
*/
|
|
9446
9446
|
static async fromJsonLd(json, options = {}) {
|
|
9447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9448
9448
|
try {
|
|
9449
9449
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
9450
9450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9532,7 +9532,7 @@ var DataIntegrityProof = class {
|
|
|
9532
9532
|
let _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
|
|
9533
9533
|
for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array == null ? [] : _3qzP3ukEZoUziK5FEiA1RhU4aqac__array.length === 1 && "@list" in _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0] ? _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]["@list"] : _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
|
|
9534
9534
|
if (v == null) continue;
|
|
9535
|
-
const decoded = Temporal.Instant.from(v["@value"]
|
|
9535
|
+
const decoded = Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"]));
|
|
9536
9536
|
if (!this._shouldCacheDecodedJsonLd(decoded)) shouldCacheJsonLd = false;
|
|
9537
9537
|
_3qzP3ukEZoUziK5FEiA1RhU4aqac.push(decoded);
|
|
9538
9538
|
}
|
|
@@ -9688,7 +9688,7 @@ var CryptographicKey = class {
|
|
|
9688
9688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9689
9689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9690
9690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9691
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9691
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9692
9692
|
let fetchResult;
|
|
9693
9693
|
try {
|
|
9694
9694
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9959,7 +9959,7 @@ var CryptographicKey = class {
|
|
|
9959
9959
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9960
9960
|
*/
|
|
9961
9961
|
static async fromJsonLd(json, options = {}) {
|
|
9962
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9962
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9963
9963
|
try {
|
|
9964
9964
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9965
9965
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10180,7 +10180,7 @@ var Multikey = class {
|
|
|
10180
10180
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10181
10181
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10182
10182
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10183
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10183
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10184
10184
|
let fetchResult;
|
|
10185
10185
|
try {
|
|
10186
10186
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10457,7 +10457,7 @@ var Multikey = class {
|
|
|
10457
10457
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10458
10458
|
*/
|
|
10459
10459
|
static async fromJsonLd(json, options = {}) {
|
|
10460
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10460
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10461
10461
|
try {
|
|
10462
10462
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
10463
10463
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10660,7 +10660,7 @@ var Accept = class Accept extends Activity {
|
|
|
10660
10660
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10661
10661
|
*/
|
|
10662
10662
|
static async fromJsonLd(json, options = {}) {
|
|
10663
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10663
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10664
10664
|
try {
|
|
10665
10665
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10666
10666
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10814,7 +10814,7 @@ var Add = class Add extends Activity {
|
|
|
10814
10814
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10815
10815
|
*/
|
|
10816
10816
|
static async fromJsonLd(json, options = {}) {
|
|
10817
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10817
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10818
10818
|
try {
|
|
10819
10819
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10820
10820
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10985,7 +10985,7 @@ var Announce = class Announce extends Activity {
|
|
|
10985
10985
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10986
10986
|
*/
|
|
10987
10987
|
static async fromJsonLd(json, options = {}) {
|
|
10988
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10988
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10989
10989
|
try {
|
|
10990
10990
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10991
10991
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11383,7 +11383,7 @@ var Application = class Application extends Object$1 {
|
|
|
11383
11383
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11384
11384
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11385
11385
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11386
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11386
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11387
11387
|
let fetchResult;
|
|
11388
11388
|
try {
|
|
11389
11389
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11564,7 +11564,7 @@ var Application = class Application extends Object$1 {
|
|
|
11564
11564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11565
11565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11566
11566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11567
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11567
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11568
11568
|
let fetchResult;
|
|
11569
11569
|
try {
|
|
11570
11570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11763,7 +11763,7 @@ var Application = class Application extends Object$1 {
|
|
|
11763
11763
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11764
11764
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11765
11765
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11766
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11766
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11767
11767
|
let fetchResult;
|
|
11768
11768
|
try {
|
|
11769
11769
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11914,7 +11914,7 @@ var Application = class Application extends Object$1 {
|
|
|
11914
11914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11915
11915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11916
11916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11918
11918
|
let fetchResult;
|
|
11919
11919
|
try {
|
|
11920
11920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12062,7 +12062,7 @@ var Application = class Application extends Object$1 {
|
|
|
12062
12062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12063
12063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12064
12064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12065
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12065
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12066
12066
|
let fetchResult;
|
|
12067
12067
|
try {
|
|
12068
12068
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12195,7 +12195,7 @@ var Application = class Application extends Object$1 {
|
|
|
12195
12195
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12196
12196
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12197
12197
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12198
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12198
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12199
12199
|
let fetchResult;
|
|
12200
12200
|
try {
|
|
12201
12201
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12331,7 +12331,7 @@ var Application = class Application extends Object$1 {
|
|
|
12331
12331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12332
12332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12333
12333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12334
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12334
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12335
12335
|
let fetchResult;
|
|
12336
12336
|
try {
|
|
12337
12337
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12465,7 +12465,7 @@ var Application = class Application extends Object$1 {
|
|
|
12465
12465
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12466
12466
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12467
12467
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12468
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12468
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12469
12469
|
let fetchResult;
|
|
12470
12470
|
try {
|
|
12471
12471
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12597,7 +12597,7 @@ var Application = class Application extends Object$1 {
|
|
|
12597
12597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12598
12598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12599
12599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12600
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12600
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12601
12601
|
let fetchResult;
|
|
12602
12602
|
try {
|
|
12603
12603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12729,7 +12729,7 @@ var Application = class Application extends Object$1 {
|
|
|
12729
12729
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12730
12730
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12731
12731
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12732
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12732
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12733
12733
|
let fetchResult;
|
|
12734
12734
|
try {
|
|
12735
12735
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12901,7 +12901,7 @@ var Application = class Application extends Object$1 {
|
|
|
12901
12901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12902
12902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12903
12903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12904
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12904
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12905
12905
|
let fetchResult;
|
|
12906
12906
|
try {
|
|
12907
12907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13076,7 +13076,7 @@ var Application = class Application extends Object$1 {
|
|
|
13076
13076
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13077
13077
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13078
13078
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13079
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13079
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13080
13080
|
let fetchResult;
|
|
13081
13081
|
try {
|
|
13082
13082
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13309,7 +13309,7 @@ var Application = class Application extends Object$1 {
|
|
|
13309
13309
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13310
13310
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13311
13311
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13312
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13312
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13313
13313
|
let fetchResult;
|
|
13314
13314
|
try {
|
|
13315
13315
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14011,7 +14011,7 @@ var Application = class Application extends Object$1 {
|
|
|
14011
14011
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14012
14012
|
*/
|
|
14013
14013
|
static async fromJsonLd(json, options = {}) {
|
|
14014
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14014
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14015
14015
|
try {
|
|
14016
14016
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
14017
14017
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14621,7 +14621,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
14621
14621
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14622
14622
|
*/
|
|
14623
14623
|
static async fromJsonLd(json, options = {}) {
|
|
14624
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14624
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14625
14625
|
try {
|
|
14626
14626
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
14627
14627
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14776,7 +14776,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14776
14776
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14777
14777
|
*/
|
|
14778
14778
|
static async fromJsonLd(json, options = {}) {
|
|
14779
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14779
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14780
14780
|
try {
|
|
14781
14781
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14782
14782
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15014,7 +15014,7 @@ var Article = class Article extends Object$1 {
|
|
|
15014
15014
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15015
15015
|
*/
|
|
15016
15016
|
static async fromJsonLd(json, options = {}) {
|
|
15017
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15017
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15018
15018
|
try {
|
|
15019
15019
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
15020
15020
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15252,7 +15252,7 @@ var Document = class Document extends Object$1 {
|
|
|
15252
15252
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15253
15253
|
*/
|
|
15254
15254
|
static async fromJsonLd(json, options = {}) {
|
|
15255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15255
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15256
15256
|
try {
|
|
15257
15257
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
15258
15258
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15442,7 +15442,7 @@ var Audio = class Audio extends Document {
|
|
|
15442
15442
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15443
15443
|
*/
|
|
15444
15444
|
static async fromJsonLd(json, options = {}) {
|
|
15445
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15445
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15446
15446
|
try {
|
|
15447
15447
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
15448
15448
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15593,7 +15593,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
15593
15593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15594
15594
|
*/
|
|
15595
15595
|
static async fromJsonLd(json, options = {}) {
|
|
15596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15597
15597
|
try {
|
|
15598
15598
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
15599
15599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15747,7 +15747,7 @@ var Block = class Block extends Ignore {
|
|
|
15747
15747
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15748
15748
|
*/
|
|
15749
15749
|
static async fromJsonLd(json, options = {}) {
|
|
15750
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15750
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15751
15751
|
try {
|
|
15752
15752
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15753
15753
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16014,7 +16014,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16014
16014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16015
16015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16016
16016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16018
16018
|
let fetchResult;
|
|
16019
16019
|
try {
|
|
16020
16020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16144,7 +16144,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16144
16144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16145
16145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16146
16146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16147
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16147
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16148
16148
|
let fetchResult;
|
|
16149
16149
|
try {
|
|
16150
16150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16274,7 +16274,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16274
16274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16275
16275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16276
16276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16278
16278
|
let fetchResult;
|
|
16279
16279
|
try {
|
|
16280
16280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16404,7 +16404,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16404
16404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16405
16405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16406
16406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16407
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16407
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16408
16408
|
let fetchResult;
|
|
16409
16409
|
try {
|
|
16410
16410
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16545,7 +16545,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16545
16545
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16546
16546
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16547
16547
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16548
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16548
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16549
16549
|
let fetchResult;
|
|
16550
16550
|
try {
|
|
16551
16551
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16674,7 +16674,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16674
16674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16675
16675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16676
16676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16677
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16677
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16678
16678
|
let fetchResult;
|
|
16679
16679
|
try {
|
|
16680
16680
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16803,7 +16803,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16803
16803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16804
16804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16805
16805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16807
16807
|
let fetchResult;
|
|
16808
16808
|
try {
|
|
16809
16809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16932,7 +16932,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16932
16932
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16933
16933
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16934
16934
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16935
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16935
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16936
16936
|
let fetchResult;
|
|
16937
16937
|
try {
|
|
16938
16938
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17061,7 +17061,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17061
17061
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17062
17062
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17063
17063
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17064
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17064
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17065
17065
|
let fetchResult;
|
|
17066
17066
|
try {
|
|
17067
17067
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17190,7 +17190,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17190
17190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17191
17191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17192
17192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17193
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17193
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17194
17194
|
let fetchResult;
|
|
17195
17195
|
try {
|
|
17196
17196
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17319,7 +17319,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17319
17319
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17320
17320
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17321
17321
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17322
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17322
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17323
17323
|
let fetchResult;
|
|
17324
17324
|
try {
|
|
17325
17325
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17448,7 +17448,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17448
17448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17449
17449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17450
17450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17451
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17451
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17452
17452
|
let fetchResult;
|
|
17453
17453
|
try {
|
|
17454
17454
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17884,7 +17884,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17884
17884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17885
17885
|
*/
|
|
17886
17886
|
static async fromJsonLd(json, options = {}) {
|
|
17887
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17888
17888
|
try {
|
|
17889
17889
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17890
17890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18362,7 +18362,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18362
18362
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18363
18363
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18364
18364
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18365
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18365
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18366
18366
|
let fetchResult;
|
|
18367
18367
|
try {
|
|
18368
18368
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18492,7 +18492,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18492
18492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18493
18493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18494
18494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18496
18496
|
let fetchResult;
|
|
18497
18497
|
try {
|
|
18498
18498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18621,7 +18621,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18621
18621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18622
18622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18623
18623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18624
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18624
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18625
18625
|
let fetchResult;
|
|
18626
18626
|
try {
|
|
18627
18627
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18894,7 +18894,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18894
18894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18895
18895
|
*/
|
|
18896
18896
|
static async fromJsonLd(json, options = {}) {
|
|
18897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18898
18898
|
try {
|
|
18899
18899
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18900
18900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19129,7 +19129,7 @@ var Create = class Create extends Activity {
|
|
|
19129
19129
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19130
19130
|
*/
|
|
19131
19131
|
static async fromJsonLd(json, options = {}) {
|
|
19132
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19132
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19133
19133
|
try {
|
|
19134
19134
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
19135
19135
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19296,7 +19296,7 @@ var Delete = class Delete extends Activity {
|
|
|
19296
19296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19297
19297
|
*/
|
|
19298
19298
|
static async fromJsonLd(json, options = {}) {
|
|
19299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19300
19300
|
try {
|
|
19301
19301
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
19302
19302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19450,7 +19450,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
19450
19450
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19451
19451
|
*/
|
|
19452
19452
|
static async fromJsonLd(json, options = {}) {
|
|
19453
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19453
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19454
19454
|
try {
|
|
19455
19455
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
19456
19456
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19817,7 +19817,7 @@ var Endpoints = class {
|
|
|
19817
19817
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19818
19818
|
*/
|
|
19819
19819
|
static async fromJsonLd(json, options = {}) {
|
|
19820
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19820
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19821
19821
|
try {
|
|
19822
19822
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
19823
19823
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20058,7 +20058,7 @@ var Event = class Event extends Object$1 {
|
|
|
20058
20058
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20059
20059
|
*/
|
|
20060
20060
|
static async fromJsonLd(json, options = {}) {
|
|
20061
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20061
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20062
20062
|
try {
|
|
20063
20063
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
20064
20064
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20210,7 +20210,7 @@ var Flag = class Flag extends Activity {
|
|
|
20210
20210
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20211
20211
|
*/
|
|
20212
20212
|
static async fromJsonLd(json, options = {}) {
|
|
20213
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20213
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20214
20214
|
try {
|
|
20215
20215
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
20216
20216
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20366,7 +20366,7 @@ var Follow = class Follow extends Activity {
|
|
|
20366
20366
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20367
20367
|
*/
|
|
20368
20368
|
static async fromJsonLd(json, options = {}) {
|
|
20369
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20369
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20370
20370
|
try {
|
|
20371
20371
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
20372
20372
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20764,7 +20764,7 @@ var Group = class Group extends Object$1 {
|
|
|
20764
20764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20765
20765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20766
20766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20768
20768
|
let fetchResult;
|
|
20769
20769
|
try {
|
|
20770
20770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20945,7 +20945,7 @@ var Group = class Group extends Object$1 {
|
|
|
20945
20945
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20946
20946
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20947
20947
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20948
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20948
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20949
20949
|
let fetchResult;
|
|
20950
20950
|
try {
|
|
20951
20951
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21144,7 +21144,7 @@ var Group = class Group extends Object$1 {
|
|
|
21144
21144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21145
21145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21146
21146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21147
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21147
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21148
21148
|
let fetchResult;
|
|
21149
21149
|
try {
|
|
21150
21150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21295,7 +21295,7 @@ var Group = class Group extends Object$1 {
|
|
|
21295
21295
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21296
21296
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21297
21297
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21298
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21298
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21299
21299
|
let fetchResult;
|
|
21300
21300
|
try {
|
|
21301
21301
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21443,7 +21443,7 @@ var Group = class Group extends Object$1 {
|
|
|
21443
21443
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21444
21444
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21445
21445
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21446
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21446
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21447
21447
|
let fetchResult;
|
|
21448
21448
|
try {
|
|
21449
21449
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21576,7 +21576,7 @@ var Group = class Group extends Object$1 {
|
|
|
21576
21576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21577
21577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21578
21578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21579
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21579
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21580
21580
|
let fetchResult;
|
|
21581
21581
|
try {
|
|
21582
21582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21712,7 +21712,7 @@ var Group = class Group extends Object$1 {
|
|
|
21712
21712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21713
21713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21714
21714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21716
21716
|
let fetchResult;
|
|
21717
21717
|
try {
|
|
21718
21718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21846,7 +21846,7 @@ var Group = class Group extends Object$1 {
|
|
|
21846
21846
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21847
21847
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21848
21848
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21849
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21849
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21850
21850
|
let fetchResult;
|
|
21851
21851
|
try {
|
|
21852
21852
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21978,7 +21978,7 @@ var Group = class Group extends Object$1 {
|
|
|
21978
21978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21979
21979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21980
21980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21982
21982
|
let fetchResult;
|
|
21983
21983
|
try {
|
|
21984
21984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22110,7 +22110,7 @@ var Group = class Group extends Object$1 {
|
|
|
22110
22110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22111
22111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22112
22112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22113
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22113
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22114
22114
|
let fetchResult;
|
|
22115
22115
|
try {
|
|
22116
22116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22282,7 +22282,7 @@ var Group = class Group extends Object$1 {
|
|
|
22282
22282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22283
22283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22284
22284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22286
22286
|
let fetchResult;
|
|
22287
22287
|
try {
|
|
22288
22288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22457,7 +22457,7 @@ var Group = class Group extends Object$1 {
|
|
|
22457
22457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22458
22458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22459
22459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22461
22461
|
let fetchResult;
|
|
22462
22462
|
try {
|
|
22463
22463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22690,7 +22690,7 @@ var Group = class Group extends Object$1 {
|
|
|
22690
22690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22691
22691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22692
22692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22693
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22693
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22694
22694
|
let fetchResult;
|
|
22695
22695
|
try {
|
|
22696
22696
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23392,7 +23392,7 @@ var Group = class Group extends Object$1 {
|
|
|
23392
23392
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23393
23393
|
*/
|
|
23394
23394
|
static async fromJsonLd(json, options = {}) {
|
|
23395
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23395
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23396
23396
|
try {
|
|
23397
23397
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
23398
23398
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24158,7 +24158,7 @@ var Link = class Link {
|
|
|
24158
24158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24159
24159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24160
24160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24161
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
24161
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24162
24162
|
let fetchResult;
|
|
24163
24163
|
try {
|
|
24164
24164
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24460,7 +24460,7 @@ var Link = class Link {
|
|
|
24460
24460
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24461
24461
|
*/
|
|
24462
24462
|
static async fromJsonLd(json, options = {}) {
|
|
24463
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24463
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24464
24464
|
try {
|
|
24465
24465
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
24466
24466
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24810,7 +24810,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
24810
24810
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24811
24811
|
*/
|
|
24812
24812
|
static async fromJsonLd(json, options = {}) {
|
|
24813
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24813
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24814
24814
|
try {
|
|
24815
24815
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
24816
24816
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24967,7 +24967,7 @@ var Image = class Image extends Document {
|
|
|
24967
24967
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24968
24968
|
*/
|
|
24969
24969
|
static async fromJsonLd(json, options = {}) {
|
|
24970
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24970
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24971
24971
|
try {
|
|
24972
24972
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
24973
24973
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25119,7 +25119,7 @@ var Offer = class Offer extends Activity {
|
|
|
25119
25119
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25120
25120
|
*/
|
|
25121
25121
|
static async fromJsonLd(json, options = {}) {
|
|
25122
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25122
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25123
25123
|
try {
|
|
25124
25124
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
25125
25125
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25271,7 +25271,7 @@ var Invite = class Invite extends Offer {
|
|
|
25271
25271
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25272
25272
|
*/
|
|
25273
25273
|
static async fromJsonLd(json, options = {}) {
|
|
25274
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25274
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25275
25275
|
try {
|
|
25276
25276
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
25277
25277
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25422,7 +25422,7 @@ var Join = class Join extends Activity {
|
|
|
25422
25422
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25423
25423
|
*/
|
|
25424
25424
|
static async fromJsonLd(json, options = {}) {
|
|
25425
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25425
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25426
25426
|
try {
|
|
25427
25427
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
25428
25428
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25573,7 +25573,7 @@ var Leave = class Leave extends Activity {
|
|
|
25573
25573
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25574
25574
|
*/
|
|
25575
25575
|
static async fromJsonLd(json, options = {}) {
|
|
25576
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25576
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25577
25577
|
try {
|
|
25578
25578
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
25579
25579
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25728,7 +25728,7 @@ var Like = class Like extends Activity {
|
|
|
25728
25728
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25729
25729
|
*/
|
|
25730
25730
|
static async fromJsonLd(json, options = {}) {
|
|
25731
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25731
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25732
25732
|
try {
|
|
25733
25733
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
25734
25734
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25878,7 +25878,7 @@ var Listen = class Listen extends Activity {
|
|
|
25878
25878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25879
25879
|
*/
|
|
25880
25880
|
static async fromJsonLd(json, options = {}) {
|
|
25881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25882
25882
|
try {
|
|
25883
25883
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
25884
25884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26032,7 +26032,7 @@ var Mention = class Mention extends Link {
|
|
|
26032
26032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26033
26033
|
*/
|
|
26034
26034
|
static async fromJsonLd(json, options = {}) {
|
|
26035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26036
26036
|
try {
|
|
26037
26037
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
26038
26038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26184,7 +26184,7 @@ var Move = class Move extends Activity {
|
|
|
26184
26184
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26185
26185
|
*/
|
|
26186
26186
|
static async fromJsonLd(json, options = {}) {
|
|
26187
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26187
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26188
26188
|
try {
|
|
26189
26189
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
26190
26190
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26423,7 +26423,7 @@ var Note = class Note extends Object$1 {
|
|
|
26423
26423
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26424
26424
|
*/
|
|
26425
26425
|
static async fromJsonLd(json, options = {}) {
|
|
26426
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26426
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26427
26427
|
try {
|
|
26428
26428
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
26429
26429
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26561,7 +26561,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26561
26561
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26562
26562
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26563
26563
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26564
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26564
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26565
26565
|
let fetchResult;
|
|
26566
26566
|
try {
|
|
26567
26567
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26819,7 +26819,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26819
26819
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26820
26820
|
*/
|
|
26821
26821
|
static async fromJsonLd(json, options = {}) {
|
|
26822
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26822
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26823
26823
|
try {
|
|
26824
26824
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
26825
26825
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27032,7 +27032,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
27032
27032
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27033
27033
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27034
27034
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27035
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27035
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27036
27036
|
let fetchResult;
|
|
27037
27037
|
try {
|
|
27038
27038
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27313,7 +27313,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
27313
27313
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27314
27314
|
*/
|
|
27315
27315
|
static async fromJsonLd(json, options = {}) {
|
|
27316
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
27316
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27317
27317
|
try {
|
|
27318
27318
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
27319
27319
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27814,7 +27814,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27814
27814
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27815
27815
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27816
27816
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27817
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27817
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27818
27818
|
let fetchResult;
|
|
27819
27819
|
try {
|
|
27820
27820
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27995,7 +27995,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27995
27995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27996
27996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27997
27997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27998
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27998
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27999
27999
|
let fetchResult;
|
|
28000
28000
|
try {
|
|
28001
28001
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28194,7 +28194,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28194
28194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28195
28195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28196
28196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28197
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28197
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28198
28198
|
let fetchResult;
|
|
28199
28199
|
try {
|
|
28200
28200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28345,7 +28345,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28345
28345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28346
28346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28347
28347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28348
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28348
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28349
28349
|
let fetchResult;
|
|
28350
28350
|
try {
|
|
28351
28351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28493,7 +28493,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28493
28493
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28494
28494
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28495
28495
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28496
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28496
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28497
28497
|
let fetchResult;
|
|
28498
28498
|
try {
|
|
28499
28499
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28626,7 +28626,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28626
28626
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28627
28627
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28628
28628
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28629
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28629
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28630
28630
|
let fetchResult;
|
|
28631
28631
|
try {
|
|
28632
28632
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28762,7 +28762,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28762
28762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28763
28763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28764
28764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28766
28766
|
let fetchResult;
|
|
28767
28767
|
try {
|
|
28768
28768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28896,7 +28896,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28896
28896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28897
28897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28898
28898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28900
28900
|
let fetchResult;
|
|
28901
28901
|
try {
|
|
28902
28902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29028,7 +29028,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29028
29028
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29029
29029
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29030
29030
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29031
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29031
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29032
29032
|
let fetchResult;
|
|
29033
29033
|
try {
|
|
29034
29034
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29160,7 +29160,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29160
29160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29161
29161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29162
29162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29164
29164
|
let fetchResult;
|
|
29165
29165
|
try {
|
|
29166
29166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29332,7 +29332,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29332
29332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29333
29333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29334
29334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29336
29336
|
let fetchResult;
|
|
29337
29337
|
try {
|
|
29338
29338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29507,7 +29507,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29507
29507
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29508
29508
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29509
29509
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29510
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29510
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29511
29511
|
let fetchResult;
|
|
29512
29512
|
try {
|
|
29513
29513
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29740,7 +29740,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29740
29740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29741
29741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29742
29742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29744
29744
|
let fetchResult;
|
|
29745
29745
|
try {
|
|
29746
29746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30442,7 +30442,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30442
30442
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30443
30443
|
*/
|
|
30444
30444
|
static async fromJsonLd(json, options = {}) {
|
|
30445
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30445
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30446
30446
|
try {
|
|
30447
30447
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
30448
30448
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31057,7 +31057,7 @@ var Page = class Page extends Document {
|
|
|
31057
31057
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31058
31058
|
*/
|
|
31059
31059
|
static async fromJsonLd(json, options = {}) {
|
|
31060
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
31060
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31061
31061
|
try {
|
|
31062
31062
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
31063
31063
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31455,7 +31455,7 @@ var Person = class Person extends Object$1 {
|
|
|
31455
31455
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31456
31456
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31457
31457
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31458
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31458
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31459
31459
|
let fetchResult;
|
|
31460
31460
|
try {
|
|
31461
31461
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31636,7 +31636,7 @@ var Person = class Person extends Object$1 {
|
|
|
31636
31636
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31637
31637
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31638
31638
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31639
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31639
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31640
31640
|
let fetchResult;
|
|
31641
31641
|
try {
|
|
31642
31642
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31835,7 +31835,7 @@ var Person = class Person extends Object$1 {
|
|
|
31835
31835
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31836
31836
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31837
31837
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31838
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31838
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31839
31839
|
let fetchResult;
|
|
31840
31840
|
try {
|
|
31841
31841
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31986,7 +31986,7 @@ var Person = class Person extends Object$1 {
|
|
|
31986
31986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31987
31987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31988
31988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31990
31990
|
let fetchResult;
|
|
31991
31991
|
try {
|
|
31992
31992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32134,7 +32134,7 @@ var Person = class Person extends Object$1 {
|
|
|
32134
32134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32135
32135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32136
32136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32138
32138
|
let fetchResult;
|
|
32139
32139
|
try {
|
|
32140
32140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32267,7 +32267,7 @@ var Person = class Person extends Object$1 {
|
|
|
32267
32267
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32268
32268
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32269
32269
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32270
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32270
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32271
32271
|
let fetchResult;
|
|
32272
32272
|
try {
|
|
32273
32273
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32403,7 +32403,7 @@ var Person = class Person extends Object$1 {
|
|
|
32403
32403
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32404
32404
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32405
32405
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32406
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32406
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32407
32407
|
let fetchResult;
|
|
32408
32408
|
try {
|
|
32409
32409
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32537,7 +32537,7 @@ var Person = class Person extends Object$1 {
|
|
|
32537
32537
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32538
32538
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32539
32539
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32540
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32540
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32541
32541
|
let fetchResult;
|
|
32542
32542
|
try {
|
|
32543
32543
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32669,7 +32669,7 @@ var Person = class Person extends Object$1 {
|
|
|
32669
32669
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32670
32670
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32671
32671
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32672
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32672
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32673
32673
|
let fetchResult;
|
|
32674
32674
|
try {
|
|
32675
32675
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32801,7 +32801,7 @@ var Person = class Person extends Object$1 {
|
|
|
32801
32801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32802
32802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32803
32803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32805
32805
|
let fetchResult;
|
|
32806
32806
|
try {
|
|
32807
32807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32973,7 +32973,7 @@ var Person = class Person extends Object$1 {
|
|
|
32973
32973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32974
32974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32975
32975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32977
32977
|
let fetchResult;
|
|
32978
32978
|
try {
|
|
32979
32979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33148,7 +33148,7 @@ var Person = class Person extends Object$1 {
|
|
|
33148
33148
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33149
33149
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33150
33150
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33151
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33151
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33152
33152
|
let fetchResult;
|
|
33153
33153
|
try {
|
|
33154
33154
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33381,7 +33381,7 @@ var Person = class Person extends Object$1 {
|
|
|
33381
33381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33382
33382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33383
33383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33384
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33384
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33385
33385
|
let fetchResult;
|
|
33386
33386
|
try {
|
|
33387
33387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34083,7 +34083,7 @@ var Person = class Person extends Object$1 {
|
|
|
34083
34083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34084
34084
|
*/
|
|
34085
34085
|
static async fromJsonLd(json, options = {}) {
|
|
34086
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34087
34087
|
try {
|
|
34088
34088
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
34089
34089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34875,7 +34875,7 @@ var Place = class Place extends Object$1 {
|
|
|
34875
34875
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34876
34876
|
*/
|
|
34877
34877
|
static async fromJsonLd(json, options = {}) {
|
|
34878
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34878
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34879
34879
|
try {
|
|
34880
34880
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
34881
34881
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35083,7 +35083,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35083
35083
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35084
35084
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35085
35085
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35086
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35086
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35087
35087
|
let fetchResult;
|
|
35088
35088
|
try {
|
|
35089
35089
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35285,7 +35285,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35285
35285
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35286
35286
|
*/
|
|
35287
35287
|
static async fromJsonLd(json, options = {}) {
|
|
35288
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35288
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35289
35289
|
try {
|
|
35290
35290
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
35291
35291
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35461,7 +35461,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35461
35461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35462
35462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35463
35463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35464
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35464
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35465
35465
|
let fetchResult;
|
|
35466
35466
|
try {
|
|
35467
35467
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35593,7 +35593,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35593
35593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35594
35594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35595
35595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35596
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35596
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35597
35597
|
let fetchResult;
|
|
35598
35598
|
try {
|
|
35599
35599
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35866,7 +35866,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35866
35866
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35867
35867
|
*/
|
|
35868
35868
|
static async fromJsonLd(json, options = {}) {
|
|
35869
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35869
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35870
35870
|
try {
|
|
35871
35871
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
35872
35872
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35948,7 +35948,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35948
35948
|
let _3KronwL8DiiKBRcJFKQPiEHm8xb6_closed__array = values["https://www.w3.org/ns/activitystreams#closed"];
|
|
35949
35949
|
for (const v of _3KronwL8DiiKBRcJFKQPiEHm8xb6_closed__array == null ? [] : _3KronwL8DiiKBRcJFKQPiEHm8xb6_closed__array.length === 1 && "@list" in _3KronwL8DiiKBRcJFKQPiEHm8xb6_closed__array[0] ? _3KronwL8DiiKBRcJFKQPiEHm8xb6_closed__array[0]["@list"] : _3KronwL8DiiKBRcJFKQPiEHm8xb6_closed__array) {
|
|
35950
35950
|
if (v == null) continue;
|
|
35951
|
-
const decoded = typeof v === "object" && "@type" in v && "@value" in v && typeof v["@value"] === "string" && v["@type"] === "http://www.w3.org/2001/XMLSchema#dateTime" && new Date(v["@value"]).toString() !== "Invalid Date"
|
|
35951
|
+
const decoded = typeof v === "object" && "@type" in v && "@value" in v && typeof v["@value"] === "string" && v["@type"] === "http://www.w3.org/2001/XMLSchema#dateTime" && (new Date(v["@value"]).toString() !== "Invalid Date" || new Date(normalizeDateTimeLiteral(v["@value"])).toString() !== "Invalid Date") ? Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"])) : typeof v === "object" && "@value" in v && typeof v["@value"] === "boolean" ? v["@value"] : void 0;
|
|
35952
35952
|
if (typeof decoded === "undefined") {
|
|
35953
35953
|
shouldCacheJsonLd = false;
|
|
35954
35954
|
continue;
|
|
@@ -36111,7 +36111,7 @@ var Read = class Read extends Activity {
|
|
|
36111
36111
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36112
36112
|
*/
|
|
36113
36113
|
static async fromJsonLd(json, options = {}) {
|
|
36114
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36114
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36115
36115
|
try {
|
|
36116
36116
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
36117
36117
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36262,7 +36262,7 @@ var Reject = class Reject extends Activity {
|
|
|
36262
36262
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36263
36263
|
*/
|
|
36264
36264
|
static async fromJsonLd(json, options = {}) {
|
|
36265
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36265
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36266
36266
|
try {
|
|
36267
36267
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
36268
36268
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36438,7 +36438,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36438
36438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36439
36439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36440
36440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36442
36442
|
let fetchResult;
|
|
36443
36443
|
try {
|
|
36444
36444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36570,7 +36570,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36570
36570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36571
36571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36572
36572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36574
36574
|
let fetchResult;
|
|
36575
36575
|
try {
|
|
36576
36576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36751,7 +36751,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36751
36751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36752
36752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36753
36753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36754
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36754
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36755
36755
|
let fetchResult;
|
|
36756
36756
|
try {
|
|
36757
36757
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37040,7 +37040,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37040
37040
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37041
37041
|
*/
|
|
37042
37042
|
static async fromJsonLd(json, options = {}) {
|
|
37043
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37043
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37044
37044
|
try {
|
|
37045
37045
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
37046
37046
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37257,7 +37257,7 @@ var Remove = class Remove extends Activity {
|
|
|
37257
37257
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37258
37258
|
*/
|
|
37259
37259
|
static async fromJsonLd(json, options = {}) {
|
|
37260
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37260
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37261
37261
|
try {
|
|
37262
37262
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
37263
37263
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37655,7 +37655,7 @@ var Service = class Service extends Object$1 {
|
|
|
37655
37655
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37656
37656
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37657
37657
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37658
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37658
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37659
37659
|
let fetchResult;
|
|
37660
37660
|
try {
|
|
37661
37661
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37836,7 +37836,7 @@ var Service = class Service extends Object$1 {
|
|
|
37836
37836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37837
37837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37838
37838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37840
37840
|
let fetchResult;
|
|
37841
37841
|
try {
|
|
37842
37842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38035,7 +38035,7 @@ var Service = class Service extends Object$1 {
|
|
|
38035
38035
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38036
38036
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38037
38037
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38038
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38038
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38039
38039
|
let fetchResult;
|
|
38040
38040
|
try {
|
|
38041
38041
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38186,7 +38186,7 @@ var Service = class Service extends Object$1 {
|
|
|
38186
38186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38187
38187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38188
38188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38189
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38190
38190
|
let fetchResult;
|
|
38191
38191
|
try {
|
|
38192
38192
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38334,7 +38334,7 @@ var Service = class Service extends Object$1 {
|
|
|
38334
38334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38335
38335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38336
38336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38338
38338
|
let fetchResult;
|
|
38339
38339
|
try {
|
|
38340
38340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38467,7 +38467,7 @@ var Service = class Service extends Object$1 {
|
|
|
38467
38467
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38468
38468
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38469
38469
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38470
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38470
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38471
38471
|
let fetchResult;
|
|
38472
38472
|
try {
|
|
38473
38473
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38603,7 +38603,7 @@ var Service = class Service extends Object$1 {
|
|
|
38603
38603
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38604
38604
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38605
38605
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38606
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38606
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38607
38607
|
let fetchResult;
|
|
38608
38608
|
try {
|
|
38609
38609
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38737,7 +38737,7 @@ var Service = class Service extends Object$1 {
|
|
|
38737
38737
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38738
38738
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38739
38739
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38740
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38740
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38741
38741
|
let fetchResult;
|
|
38742
38742
|
try {
|
|
38743
38743
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38869,7 +38869,7 @@ var Service = class Service extends Object$1 {
|
|
|
38869
38869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38870
38870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38871
38871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38872
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38872
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38873
38873
|
let fetchResult;
|
|
38874
38874
|
try {
|
|
38875
38875
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39001,7 +39001,7 @@ var Service = class Service extends Object$1 {
|
|
|
39001
39001
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39002
39002
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39003
39003
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39004
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39004
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39005
39005
|
let fetchResult;
|
|
39006
39006
|
try {
|
|
39007
39007
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39173,7 +39173,7 @@ var Service = class Service extends Object$1 {
|
|
|
39173
39173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39174
39174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39175
39175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39176
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39176
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39177
39177
|
let fetchResult;
|
|
39178
39178
|
try {
|
|
39179
39179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39348,7 +39348,7 @@ var Service = class Service extends Object$1 {
|
|
|
39348
39348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39349
39349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39350
39350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39352
39352
|
let fetchResult;
|
|
39353
39353
|
try {
|
|
39354
39354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39581,7 +39581,7 @@ var Service = class Service extends Object$1 {
|
|
|
39581
39581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39582
39582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39583
39583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39585
39585
|
let fetchResult;
|
|
39586
39586
|
try {
|
|
39587
39587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40283,7 +40283,7 @@ var Service = class Service extends Object$1 {
|
|
|
40283
40283
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40284
40284
|
*/
|
|
40285
40285
|
static async fromJsonLd(json, options = {}) {
|
|
40286
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40286
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40287
40287
|
try {
|
|
40288
40288
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
40289
40289
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41007,7 +41007,7 @@ var Source = class {
|
|
|
41007
41007
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41008
41008
|
*/
|
|
41009
41009
|
static async fromJsonLd(json, options = {}) {
|
|
41010
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41010
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41011
41011
|
try {
|
|
41012
41012
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
41013
41013
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41191,7 +41191,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
41191
41191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41192
41192
|
*/
|
|
41193
41193
|
static async fromJsonLd(json, options = {}) {
|
|
41194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41194
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41195
41195
|
try {
|
|
41196
41196
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
41197
41197
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41342,7 +41342,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
41342
41342
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41343
41343
|
*/
|
|
41344
41344
|
static async fromJsonLd(json, options = {}) {
|
|
41345
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41345
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41346
41346
|
try {
|
|
41347
41347
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
41348
41348
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41532,7 +41532,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
41532
41532
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41533
41533
|
*/
|
|
41534
41534
|
static async fromJsonLd(json, options = {}) {
|
|
41535
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41535
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41536
41536
|
try {
|
|
41537
41537
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
41538
41538
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41582,7 +41582,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
41582
41582
|
let _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted__array = values["https://www.w3.org/ns/activitystreams#deleted"];
|
|
41583
41583
|
for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted__array == null ? [] : _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted__array.length === 1 && "@list" in _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted__array[0] ? _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted__array[0]["@list"] : _8g8g4LiVMhFTXskuDEqx4ascxUr_deleted__array) {
|
|
41584
41584
|
if (v == null) continue;
|
|
41585
|
-
const decoded = Temporal.Instant.from(v["@value"]
|
|
41585
|
+
const decoded = Temporal.Instant.from(normalizeDateTimeLiteral(v["@value"]));
|
|
41586
41586
|
if (!this._shouldCacheDecodedJsonLd(decoded)) shouldCacheJsonLd = false;
|
|
41587
41587
|
_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted.push(decoded);
|
|
41588
41588
|
}
|
|
@@ -41700,7 +41700,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
41700
41700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41701
41701
|
*/
|
|
41702
41702
|
static async fromJsonLd(json, options = {}) {
|
|
41703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41704
41704
|
try {
|
|
41705
41705
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
41706
41706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41865,7 +41865,7 @@ var Undo = class Undo extends Activity {
|
|
|
41865
41865
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41866
41866
|
*/
|
|
41867
41867
|
static async fromJsonLd(json, options = {}) {
|
|
41868
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41868
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41869
41869
|
try {
|
|
41870
41870
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
41871
41871
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42068,7 +42068,7 @@ var Update = class Update extends Activity {
|
|
|
42068
42068
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42069
42069
|
*/
|
|
42070
42070
|
static async fromJsonLd(json, options = {}) {
|
|
42071
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42071
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42072
42072
|
try {
|
|
42073
42073
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
42074
42074
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42225,7 +42225,7 @@ var Video = class Video extends Document {
|
|
|
42225
42225
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42226
42226
|
*/
|
|
42227
42227
|
static async fromJsonLd(json, options = {}) {
|
|
42228
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42228
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42229
42229
|
try {
|
|
42230
42230
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
42231
42231
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42375,7 +42375,7 @@ var View = class View extends Activity {
|
|
|
42375
42375
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42376
42376
|
*/
|
|
42377
42377
|
static async fromJsonLd(json, options = {}) {
|
|
42378
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42378
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.36").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42379
42379
|
try {
|
|
42380
42380
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
42381
42381
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|