@fedify/vocab 2.3.2 → 2.3.4
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 +219 -219
- package/dist/mod.js +219 -219
- package/dist-tests/{actor-C1JXaHGB.mjs → actor-I2IXSOjk.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-qOXUdrGm.mjs → vocab-BGZtjUY0.mjs} +218 -218
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.3.
|
|
12
|
+
var version = "2.3.4";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -732,7 +732,7 @@ var Object$1 = class Object$1 {
|
|
|
732
732
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
733
733
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
734
734
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
735
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
735
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
736
736
|
let fetchResult;
|
|
737
737
|
try {
|
|
738
738
|
fetchResult = await documentLoader(url.href);
|
|
@@ -881,7 +881,7 @@ var Object$1 = class Object$1 {
|
|
|
881
881
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
882
882
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
883
883
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
884
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
884
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
885
885
|
let fetchResult;
|
|
886
886
|
try {
|
|
887
887
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1099,7 +1099,7 @@ var Object$1 = class Object$1 {
|
|
|
1099
1099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1100
1100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1101
1101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1102
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1102
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1103
1103
|
let fetchResult;
|
|
1104
1104
|
try {
|
|
1105
1105
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1289,7 +1289,7 @@ var Object$1 = class Object$1 {
|
|
|
1289
1289
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1290
1290
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1291
1291
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1292
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1292
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1293
1293
|
let fetchResult;
|
|
1294
1294
|
try {
|
|
1295
1295
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1454,7 +1454,7 @@ var Object$1 = class Object$1 {
|
|
|
1454
1454
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1455
1455
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1456
1456
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1457
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1457
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1458
1458
|
let fetchResult;
|
|
1459
1459
|
try {
|
|
1460
1460
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1587,7 +1587,7 @@ var Object$1 = class Object$1 {
|
|
|
1587
1587
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1588
1588
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1589
1589
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1590
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1590
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1591
1591
|
let fetchResult;
|
|
1592
1592
|
try {
|
|
1593
1593
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1775,7 +1775,7 @@ var Object$1 = class Object$1 {
|
|
|
1775
1775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1776
1776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1777
1777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1779
1779
|
let fetchResult;
|
|
1780
1780
|
try {
|
|
1781
1781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1963,7 +1963,7 @@ var Object$1 = class Object$1 {
|
|
|
1963
1963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1964
1964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1965
1965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1967
1967
|
let fetchResult;
|
|
1968
1968
|
try {
|
|
1969
1969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2143,7 +2143,7 @@ var Object$1 = class Object$1 {
|
|
|
2143
2143
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2144
2144
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2145
2145
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2146
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2146
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2147
2147
|
let fetchResult;
|
|
2148
2148
|
try {
|
|
2149
2149
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2323,7 +2323,7 @@ var Object$1 = class Object$1 {
|
|
|
2323
2323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2324
2324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2325
2325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2327
2327
|
let fetchResult;
|
|
2328
2328
|
try {
|
|
2329
2329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2508,7 +2508,7 @@ var Object$1 = class Object$1 {
|
|
|
2508
2508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2509
2509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2510
2510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2511
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2512
2512
|
let fetchResult;
|
|
2513
2513
|
try {
|
|
2514
2514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2632,7 +2632,7 @@ var Object$1 = class Object$1 {
|
|
|
2632
2632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2633
2633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2634
2634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2635
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2635
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2636
2636
|
let fetchResult;
|
|
2637
2637
|
try {
|
|
2638
2638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2762,7 +2762,7 @@ var Object$1 = class Object$1 {
|
|
|
2762
2762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2763
2763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2764
2764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2766
2766
|
let fetchResult;
|
|
2767
2767
|
try {
|
|
2768
2768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2892,7 +2892,7 @@ var Object$1 = class Object$1 {
|
|
|
2892
2892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2893
2893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2894
2894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2895
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2895
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2896
2896
|
let fetchResult;
|
|
2897
2897
|
try {
|
|
2898
2898
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3040,7 +3040,7 @@ var Object$1 = class Object$1 {
|
|
|
3040
3040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3041
3041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3042
3042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3044
3044
|
let fetchResult;
|
|
3045
3045
|
try {
|
|
3046
3046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3195,7 +3195,7 @@ var Object$1 = class Object$1 {
|
|
|
3195
3195
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3196
3196
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3197
3197
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3198
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3198
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3199
3199
|
let fetchResult;
|
|
3200
3200
|
try {
|
|
3201
3201
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3365,7 +3365,7 @@ var Object$1 = class Object$1 {
|
|
|
3365
3365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3366
3366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3367
3367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3369
3369
|
let fetchResult;
|
|
3370
3370
|
try {
|
|
3371
3371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3535,7 +3535,7 @@ var Object$1 = class Object$1 {
|
|
|
3535
3535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3536
3536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3537
3537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3538
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3538
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3539
3539
|
let fetchResult;
|
|
3540
3540
|
try {
|
|
3541
3541
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3705,7 +3705,7 @@ var Object$1 = class Object$1 {
|
|
|
3705
3705
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3706
3706
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3707
3707
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3708
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3708
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3709
3709
|
let fetchResult;
|
|
3710
3710
|
try {
|
|
3711
3711
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3912,7 +3912,7 @@ var Object$1 = class Object$1 {
|
|
|
3912
3912
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3913
3913
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3914
3914
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3915
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3915
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3916
3916
|
let fetchResult;
|
|
3917
3917
|
try {
|
|
3918
3918
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4105,7 +4105,7 @@ var Object$1 = class Object$1 {
|
|
|
4105
4105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4106
4106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4107
4107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4109
4109
|
let fetchResult;
|
|
4110
4110
|
try {
|
|
4111
4111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4229,7 +4229,7 @@ var Object$1 = class Object$1 {
|
|
|
4229
4229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4230
4230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4231
4231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4233
4233
|
let fetchResult;
|
|
4234
4234
|
try {
|
|
4235
4235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4353,7 +4353,7 @@ var Object$1 = class Object$1 {
|
|
|
4353
4353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4354
4354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4355
4355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4357
4357
|
let fetchResult;
|
|
4358
4358
|
try {
|
|
4359
4359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5183,7 +5183,7 @@ var Object$1 = class Object$1 {
|
|
|
5183
5183
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5184
5184
|
*/
|
|
5185
5185
|
static async fromJsonLd(json, options = {}) {
|
|
5186
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5186
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5187
5187
|
try {
|
|
5188
5188
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5189
5189
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6849,7 +6849,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6849
6849
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6850
6850
|
*/
|
|
6851
6851
|
static async fromJsonLd(json, options = {}) {
|
|
6852
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
6852
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6853
6853
|
try {
|
|
6854
6854
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6855
6855
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6986,7 +6986,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6986
6986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6987
6987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6988
6988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
6989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6990
6990
|
let fetchResult;
|
|
6991
6991
|
try {
|
|
6992
6992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7127,7 +7127,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7127
7127
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7128
7128
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7129
7129
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7130
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7130
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7131
7131
|
let fetchResult;
|
|
7132
7132
|
try {
|
|
7133
7133
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7414,7 +7414,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7414
7414
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7415
7415
|
*/
|
|
7416
7416
|
static async fromJsonLd(json, options = {}) {
|
|
7417
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7417
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7418
7418
|
try {
|
|
7419
7419
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7420
7420
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7756,7 +7756,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7756
7756
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7757
7757
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7758
7758
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7759
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7759
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7760
7760
|
let fetchResult;
|
|
7761
7761
|
try {
|
|
7762
7762
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7974,7 +7974,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7974
7974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7975
7975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7976
7976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7977
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7977
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7978
7978
|
let fetchResult;
|
|
7979
7979
|
try {
|
|
7980
7980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8146,7 +8146,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8146
8146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8147
8147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8148
8148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8150
8150
|
let fetchResult;
|
|
8151
8151
|
try {
|
|
8152
8152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8324,7 +8324,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8324
8324
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8325
8325
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8326
8326
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8327
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8327
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8328
8328
|
let fetchResult;
|
|
8329
8329
|
try {
|
|
8330
8330
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8496,7 +8496,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8496
8496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8497
8497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8498
8498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8500
8500
|
let fetchResult;
|
|
8501
8501
|
try {
|
|
8502
8502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8670,7 +8670,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8670
8670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8671
8671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8672
8672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8674
8674
|
let fetchResult;
|
|
8675
8675
|
try {
|
|
8676
8676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8927,7 +8927,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8927
8927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8928
8928
|
*/
|
|
8929
8929
|
static async fromJsonLd(json, options = {}) {
|
|
8930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
8930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8931
8931
|
try {
|
|
8932
8932
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8933
8933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9293,7 +9293,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9293
9293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9294
9294
|
*/
|
|
9295
9295
|
static async fromJsonLd(json, options = {}) {
|
|
9296
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9297
9297
|
try {
|
|
9298
9298
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9299
9299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9560,7 +9560,7 @@ var PropertyValue = class {
|
|
|
9560
9560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9561
9561
|
*/
|
|
9562
9562
|
static async fromJsonLd(json, options = {}) {
|
|
9563
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9564
9564
|
try {
|
|
9565
9565
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9566
9566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9854,7 +9854,7 @@ var Measure = class {
|
|
|
9854
9854
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9855
9855
|
*/
|
|
9856
9856
|
static async fromJsonLd(json, options = {}) {
|
|
9857
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9857
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9858
9858
|
try {
|
|
9859
9859
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9860
9860
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10025,7 +10025,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10025
10025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10026
10026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10027
10027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10028
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10028
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10029
10029
|
let fetchResult;
|
|
10030
10030
|
try {
|
|
10031
10031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10149,7 +10149,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10149
10149
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10150
10150
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10151
10151
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10152
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10152
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10153
10153
|
let fetchResult;
|
|
10154
10154
|
try {
|
|
10155
10155
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10368,7 +10368,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10368
10368
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10369
10369
|
*/
|
|
10370
10370
|
static async fromJsonLd(json, options = {}) {
|
|
10371
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10371
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10372
10372
|
try {
|
|
10373
10373
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10374
10374
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10582,7 +10582,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10582
10582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10583
10583
|
*/
|
|
10584
10584
|
static async fromJsonLd(json, options = {}) {
|
|
10585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10586
10586
|
try {
|
|
10587
10587
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10588
10588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10867,7 +10867,7 @@ var InteractionPolicy = class {
|
|
|
10867
10867
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10868
10868
|
*/
|
|
10869
10869
|
static async fromJsonLd(json, options = {}) {
|
|
10870
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10870
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10871
10871
|
try {
|
|
10872
10872
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10873
10873
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11229,7 +11229,7 @@ var InteractionRule = class {
|
|
|
11229
11229
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11230
11230
|
*/
|
|
11231
11231
|
static async fromJsonLd(json, options = {}) {
|
|
11232
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11232
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11233
11233
|
try {
|
|
11234
11234
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11235
11235
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11401,7 +11401,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11401
11401
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11402
11402
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11403
11403
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11404
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11404
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11405
11405
|
let fetchResult;
|
|
11406
11406
|
try {
|
|
11407
11407
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11525,7 +11525,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11525
11525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11526
11526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11527
11527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11529
11529
|
let fetchResult;
|
|
11530
11530
|
try {
|
|
11531
11531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11744,7 +11744,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11744
11744
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11745
11745
|
*/
|
|
11746
11746
|
static async fromJsonLd(json, options = {}) {
|
|
11747
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11747
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11748
11748
|
try {
|
|
11749
11749
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11750
11750
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11957,7 +11957,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11957
11957
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11958
11958
|
*/
|
|
11959
11959
|
static async fromJsonLd(json, options = {}) {
|
|
11960
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11960
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11961
11961
|
try {
|
|
11962
11962
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11963
11963
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12091,7 +12091,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12091
12091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12092
12092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12093
12093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12095
12095
|
let fetchResult;
|
|
12096
12096
|
try {
|
|
12097
12097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12215,7 +12215,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12215
12215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12216
12216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12217
12217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12219
12219
|
let fetchResult;
|
|
12220
12220
|
try {
|
|
12221
12221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12434,7 +12434,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12434
12434
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12435
12435
|
*/
|
|
12436
12436
|
static async fromJsonLd(json, options = {}) {
|
|
12437
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12437
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12438
12438
|
try {
|
|
12439
12439
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12440
12440
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12647,7 +12647,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12647
12647
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12648
12648
|
*/
|
|
12649
12649
|
static async fromJsonLd(json, options = {}) {
|
|
12650
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12650
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12651
12651
|
try {
|
|
12652
12652
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12653
12653
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12781,7 +12781,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12781
12781
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12782
12782
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12783
12783
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12784
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12784
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12785
12785
|
let fetchResult;
|
|
12786
12786
|
try {
|
|
12787
12787
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12904,7 +12904,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12904
12904
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12905
12905
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12906
12906
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12907
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12907
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12908
12908
|
let fetchResult;
|
|
12909
12909
|
try {
|
|
12910
12910
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13125,7 +13125,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13125
13125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13126
13126
|
*/
|
|
13127
13127
|
static async fromJsonLd(json, options = {}) {
|
|
13128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13129
13129
|
try {
|
|
13130
13130
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13131
13131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13368,7 +13368,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13368
13368
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13369
13369
|
*/
|
|
13370
13370
|
static async fromJsonLd(json, options = {}) {
|
|
13371
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13371
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13372
13372
|
try {
|
|
13373
13373
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13374
13374
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13595,7 +13595,7 @@ var DidService = class {
|
|
|
13595
13595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13596
13596
|
*/
|
|
13597
13597
|
static async fromJsonLd(json, options = {}) {
|
|
13598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13599
13599
|
try {
|
|
13600
13600
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13601
13601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13758,7 +13758,7 @@ var Export = class Export extends DidService {
|
|
|
13758
13758
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13759
13759
|
*/
|
|
13760
13760
|
static async fromJsonLd(json, options = {}) {
|
|
13761
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13761
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13762
13762
|
try {
|
|
13763
13763
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13764
13764
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13952,7 +13952,7 @@ var DataIntegrityProof = class {
|
|
|
13952
13952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13953
13953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13954
13954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13956
13956
|
let fetchResult;
|
|
13957
13957
|
try {
|
|
13958
13958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14171,7 +14171,7 @@ var DataIntegrityProof = class {
|
|
|
14171
14171
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14172
14172
|
*/
|
|
14173
14173
|
static async fromJsonLd(json, options = {}) {
|
|
14174
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14174
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14175
14175
|
try {
|
|
14176
14176
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14177
14177
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14437,7 +14437,7 @@ var CryptographicKey = class {
|
|
|
14437
14437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14438
14438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14439
14439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14440
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14440
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14441
14441
|
let fetchResult;
|
|
14442
14442
|
try {
|
|
14443
14443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14702,7 +14702,7 @@ var CryptographicKey = class {
|
|
|
14702
14702
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14703
14703
|
*/
|
|
14704
14704
|
static async fromJsonLd(json, options = {}) {
|
|
14705
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14705
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14706
14706
|
try {
|
|
14707
14707
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14708
14708
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14929,7 +14929,7 @@ var Multikey = class {
|
|
|
14929
14929
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14930
14930
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14931
14931
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14932
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14932
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14933
14933
|
let fetchResult;
|
|
14934
14934
|
try {
|
|
14935
14935
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15200,7 +15200,7 @@ var Multikey = class {
|
|
|
15200
15200
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15201
15201
|
*/
|
|
15202
15202
|
static async fromJsonLd(json, options = {}) {
|
|
15203
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15203
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15204
15204
|
try {
|
|
15205
15205
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15206
15206
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15538,7 +15538,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
15538
15538
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15539
15539
|
*/
|
|
15540
15540
|
static async fromJsonLd(json, options = {}) {
|
|
15541
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15541
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15542
15542
|
try {
|
|
15543
15543
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
15544
15544
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15861,7 +15861,7 @@ var Commitment = class {
|
|
|
15861
15861
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15862
15862
|
*/
|
|
15863
15863
|
static async fromJsonLd(json, options = {}) {
|
|
15864
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15864
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15865
15865
|
try {
|
|
15866
15866
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
15867
15867
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16262,7 +16262,7 @@ var Intent = class {
|
|
|
16262
16262
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16263
16263
|
*/
|
|
16264
16264
|
static async fromJsonLd(json, options = {}) {
|
|
16265
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16265
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16266
16266
|
try {
|
|
16267
16267
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
16268
16268
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16702,7 +16702,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16702
16702
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16703
16703
|
*/
|
|
16704
16704
|
static async fromJsonLd(json, options = {}) {
|
|
16705
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16705
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16706
16706
|
try {
|
|
16707
16707
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16708
16708
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16934,7 +16934,7 @@ var Accept = class Accept extends Activity {
|
|
|
16934
16934
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16935
16935
|
*/
|
|
16936
16936
|
static async fromJsonLd(json, options = {}) {
|
|
16937
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16937
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16938
16938
|
try {
|
|
16939
16939
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
16940
16940
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17089,7 +17089,7 @@ var Add = class Add extends Activity {
|
|
|
17089
17089
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17090
17090
|
*/
|
|
17091
17091
|
static async fromJsonLd(json, options = {}) {
|
|
17092
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17092
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17093
17093
|
try {
|
|
17094
17094
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
17095
17095
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17271,7 +17271,7 @@ var Announce = class Announce extends Activity {
|
|
|
17271
17271
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17272
17272
|
*/
|
|
17273
17273
|
static async fromJsonLd(json, options = {}) {
|
|
17274
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17274
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17275
17275
|
try {
|
|
17276
17276
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
17277
17277
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17669,7 +17669,7 @@ var Application = class Application extends Object$1 {
|
|
|
17669
17669
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17670
17670
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17671
17671
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17672
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17672
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17673
17673
|
let fetchResult;
|
|
17674
17674
|
try {
|
|
17675
17675
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17837,7 +17837,7 @@ var Application = class Application extends Object$1 {
|
|
|
17837
17837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17838
17838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17839
17839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17840
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17840
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17841
17841
|
let fetchResult;
|
|
17842
17842
|
try {
|
|
17843
17843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18023,7 +18023,7 @@ var Application = class Application extends Object$1 {
|
|
|
18023
18023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18024
18024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18025
18025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18026
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18026
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18027
18027
|
let fetchResult;
|
|
18028
18028
|
try {
|
|
18029
18029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18168,7 +18168,7 @@ var Application = class Application extends Object$1 {
|
|
|
18168
18168
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18169
18169
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18170
18170
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18171
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18171
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18172
18172
|
let fetchResult;
|
|
18173
18173
|
try {
|
|
18174
18174
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18310,7 +18310,7 @@ var Application = class Application extends Object$1 {
|
|
|
18310
18310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18311
18311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18312
18312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18314
18314
|
let fetchResult;
|
|
18315
18315
|
try {
|
|
18316
18316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18437,7 +18437,7 @@ var Application = class Application extends Object$1 {
|
|
|
18437
18437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18438
18438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18439
18439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18440
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18440
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18441
18441
|
let fetchResult;
|
|
18442
18442
|
try {
|
|
18443
18443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18567,7 +18567,7 @@ var Application = class Application extends Object$1 {
|
|
|
18567
18567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18568
18568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18569
18569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18571
18571
|
let fetchResult;
|
|
18572
18572
|
try {
|
|
18573
18573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18695,7 +18695,7 @@ var Application = class Application extends Object$1 {
|
|
|
18695
18695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18696
18696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18697
18697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18698
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18698
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18699
18699
|
let fetchResult;
|
|
18700
18700
|
try {
|
|
18701
18701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18821,7 +18821,7 @@ var Application = class Application extends Object$1 {
|
|
|
18821
18821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18822
18822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18823
18823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18824
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18824
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18825
18825
|
let fetchResult;
|
|
18826
18826
|
try {
|
|
18827
18827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18947,7 +18947,7 @@ var Application = class Application extends Object$1 {
|
|
|
18947
18947
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18948
18948
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18949
18949
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18950
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18950
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18951
18951
|
let fetchResult;
|
|
18952
18952
|
try {
|
|
18953
18953
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19112,7 +19112,7 @@ var Application = class Application extends Object$1 {
|
|
|
19112
19112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19113
19113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19114
19114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19115
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19115
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19116
19116
|
let fetchResult;
|
|
19117
19117
|
try {
|
|
19118
19118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19281,7 +19281,7 @@ var Application = class Application extends Object$1 {
|
|
|
19281
19281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19282
19282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19283
19283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19284
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19284
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19285
19285
|
let fetchResult;
|
|
19286
19286
|
try {
|
|
19287
19287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19501,7 +19501,7 @@ var Application = class Application extends Object$1 {
|
|
|
19501
19501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19502
19502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19503
19503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19505
19505
|
let fetchResult;
|
|
19506
19506
|
try {
|
|
19507
19507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20192,7 +20192,7 @@ var Application = class Application extends Object$1 {
|
|
|
20192
20192
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20193
20193
|
*/
|
|
20194
20194
|
static async fromJsonLd(json, options = {}) {
|
|
20195
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20195
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20196
20196
|
try {
|
|
20197
20197
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
20198
20198
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20884,7 +20884,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20884
20884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20885
20885
|
*/
|
|
20886
20886
|
static async fromJsonLd(json, options = {}) {
|
|
20887
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20888
20888
|
try {
|
|
20889
20889
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20890
20890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21040,7 +21040,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
21040
21040
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21041
21041
|
*/
|
|
21042
21042
|
static async fromJsonLd(json, options = {}) {
|
|
21043
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21043
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21044
21044
|
try {
|
|
21045
21045
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
21046
21046
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21173,7 +21173,7 @@ var Article = class Article extends Object$1 {
|
|
|
21173
21173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21174
21174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21175
21175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21176
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21176
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21177
21177
|
let fetchResult;
|
|
21178
21178
|
try {
|
|
21179
21179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21314,7 +21314,7 @@ var Article = class Article extends Object$1 {
|
|
|
21314
21314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21315
21315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21316
21316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21318
21318
|
let fetchResult;
|
|
21319
21319
|
try {
|
|
21320
21320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21603,7 +21603,7 @@ var Article = class Article extends Object$1 {
|
|
|
21603
21603
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21604
21604
|
*/
|
|
21605
21605
|
static async fromJsonLd(json, options = {}) {
|
|
21606
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21606
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21607
21607
|
try {
|
|
21608
21608
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
21609
21609
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21901,7 +21901,7 @@ var Document = class Document extends Object$1 {
|
|
|
21901
21901
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21902
21902
|
*/
|
|
21903
21903
|
static async fromJsonLd(json, options = {}) {
|
|
21904
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21904
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21905
21905
|
try {
|
|
21906
21906
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
21907
21907
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22107,7 +22107,7 @@ var Audio = class Audio extends Document {
|
|
|
22107
22107
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22108
22108
|
*/
|
|
22109
22109
|
static async fromJsonLd(json, options = {}) {
|
|
22110
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22110
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22111
22111
|
try {
|
|
22112
22112
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
22113
22113
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22259,7 +22259,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
22259
22259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22260
22260
|
*/
|
|
22261
22261
|
static async fromJsonLd(json, options = {}) {
|
|
22262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22263
22263
|
try {
|
|
22264
22264
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
22265
22265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22414,7 +22414,7 @@ var Block = class Block extends Ignore {
|
|
|
22414
22414
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22415
22415
|
*/
|
|
22416
22416
|
static async fromJsonLd(json, options = {}) {
|
|
22417
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22417
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22418
22418
|
try {
|
|
22419
22419
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
22420
22420
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22681,7 +22681,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22681
22681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22682
22682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22683
22683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22685
22685
|
let fetchResult;
|
|
22686
22686
|
try {
|
|
22687
22687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22805,7 +22805,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22805
22805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22806
22806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22807
22807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22808
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22808
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22809
22809
|
let fetchResult;
|
|
22810
22810
|
try {
|
|
22811
22811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22929,7 +22929,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22929
22929
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22930
22930
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22931
22931
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22932
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22932
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22933
22933
|
let fetchResult;
|
|
22934
22934
|
try {
|
|
22935
22935
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23053,7 +23053,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23053
23053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23054
23054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23055
23055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23056
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23056
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23057
23057
|
let fetchResult;
|
|
23058
23058
|
try {
|
|
23059
23059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23187,7 +23187,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23187
23187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23188
23188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23189
23189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23191
23191
|
let fetchResult;
|
|
23192
23192
|
try {
|
|
23193
23193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23310,7 +23310,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23310
23310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23311
23311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23312
23312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23314
23314
|
let fetchResult;
|
|
23315
23315
|
try {
|
|
23316
23316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23433,7 +23433,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23433
23433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23434
23434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23435
23435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23437
23437
|
let fetchResult;
|
|
23438
23438
|
try {
|
|
23439
23439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23556,7 +23556,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23556
23556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23557
23557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23558
23558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23559
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23559
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23560
23560
|
let fetchResult;
|
|
23561
23561
|
try {
|
|
23562
23562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23679,7 +23679,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23679
23679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23680
23680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23681
23681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23683
23683
|
let fetchResult;
|
|
23684
23684
|
try {
|
|
23685
23685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23802,7 +23802,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23802
23802
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23803
23803
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23804
23804
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23805
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23805
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23806
23806
|
let fetchResult;
|
|
23807
23807
|
try {
|
|
23808
23808
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23925,7 +23925,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23925
23925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23926
23926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23927
23927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23929
23929
|
let fetchResult;
|
|
23930
23930
|
try {
|
|
23931
23931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24048,7 +24048,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24048
24048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24049
24049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24050
24050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24052
24052
|
let fetchResult;
|
|
24053
24053
|
try {
|
|
24054
24054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24500,7 +24500,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24500
24500
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24501
24501
|
*/
|
|
24502
24502
|
static async fromJsonLd(json, options = {}) {
|
|
24503
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
24503
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24504
24504
|
try {
|
|
24505
24505
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24506
24506
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25048,7 +25048,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25048
25048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25049
25049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25050
25050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25052
25052
|
let fetchResult;
|
|
25053
25053
|
try {
|
|
25054
25054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25172,7 +25172,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25172
25172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25173
25173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25174
25174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25175
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25175
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25176
25176
|
let fetchResult;
|
|
25177
25177
|
try {
|
|
25178
25178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25295,7 +25295,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25295
25295
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25296
25296
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25297
25297
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25298
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25298
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25299
25299
|
let fetchResult;
|
|
25300
25300
|
try {
|
|
25301
25301
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25584,7 +25584,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25584
25584
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25585
25585
|
*/
|
|
25586
25586
|
static async fromJsonLd(json, options = {}) {
|
|
25587
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25587
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25588
25588
|
try {
|
|
25589
25589
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
25590
25590
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25845,7 +25845,7 @@ var Create = class Create extends Activity {
|
|
|
25845
25845
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25846
25846
|
*/
|
|
25847
25847
|
static async fromJsonLd(json, options = {}) {
|
|
25848
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25848
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25849
25849
|
try {
|
|
25850
25850
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25851
25851
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26023,7 +26023,7 @@ var Delete = class Delete extends Activity {
|
|
|
26023
26023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26024
26024
|
*/
|
|
26025
26025
|
static async fromJsonLd(json, options = {}) {
|
|
26026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26027
26027
|
try {
|
|
26028
26028
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
26029
26029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26178,7 +26178,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
26178
26178
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26179
26179
|
*/
|
|
26180
26180
|
static async fromJsonLd(json, options = {}) {
|
|
26181
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26181
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26182
26182
|
try {
|
|
26183
26183
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
26184
26184
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26544,7 +26544,7 @@ var Endpoints = class {
|
|
|
26544
26544
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26545
26545
|
*/
|
|
26546
26546
|
static async fromJsonLd(json, options = {}) {
|
|
26547
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26547
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26548
26548
|
try {
|
|
26549
26549
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
26550
26550
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26817,7 +26817,7 @@ var Event = class Event extends Object$1 {
|
|
|
26817
26817
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26818
26818
|
*/
|
|
26819
26819
|
static async fromJsonLd(json, options = {}) {
|
|
26820
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26820
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26821
26821
|
try {
|
|
26822
26822
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26823
26823
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26970,7 +26970,7 @@ var Flag = class Flag extends Activity {
|
|
|
26970
26970
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26971
26971
|
*/
|
|
26972
26972
|
static async fromJsonLd(json, options = {}) {
|
|
26973
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26973
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26974
26974
|
try {
|
|
26975
26975
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
26976
26976
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27127,7 +27127,7 @@ var Follow = class Follow extends Activity {
|
|
|
27127
27127
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27128
27128
|
*/
|
|
27129
27129
|
static async fromJsonLd(json, options = {}) {
|
|
27130
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27130
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27131
27131
|
try {
|
|
27132
27132
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
27133
27133
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27525,7 +27525,7 @@ var Group = class Group extends Object$1 {
|
|
|
27525
27525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27526
27526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27527
27527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27529
27529
|
let fetchResult;
|
|
27530
27530
|
try {
|
|
27531
27531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27693,7 +27693,7 @@ var Group = class Group extends Object$1 {
|
|
|
27693
27693
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27694
27694
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27695
27695
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27696
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27696
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27697
27697
|
let fetchResult;
|
|
27698
27698
|
try {
|
|
27699
27699
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27879,7 +27879,7 @@ var Group = class Group extends Object$1 {
|
|
|
27879
27879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27880
27880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27881
27881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27883
27883
|
let fetchResult;
|
|
27884
27884
|
try {
|
|
27885
27885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28024,7 +28024,7 @@ var Group = class Group extends Object$1 {
|
|
|
28024
28024
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28025
28025
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28026
28026
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28027
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28027
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28028
28028
|
let fetchResult;
|
|
28029
28029
|
try {
|
|
28030
28030
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28166,7 +28166,7 @@ var Group = class Group extends Object$1 {
|
|
|
28166
28166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28167
28167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28168
28168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28169
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28169
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28170
28170
|
let fetchResult;
|
|
28171
28171
|
try {
|
|
28172
28172
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28293,7 +28293,7 @@ var Group = class Group extends Object$1 {
|
|
|
28293
28293
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28294
28294
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28295
28295
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28296
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28296
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28297
28297
|
let fetchResult;
|
|
28298
28298
|
try {
|
|
28299
28299
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28423,7 +28423,7 @@ var Group = class Group extends Object$1 {
|
|
|
28423
28423
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28424
28424
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28425
28425
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28426
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28426
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28427
28427
|
let fetchResult;
|
|
28428
28428
|
try {
|
|
28429
28429
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28551,7 +28551,7 @@ var Group = class Group extends Object$1 {
|
|
|
28551
28551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28552
28552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28553
28553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28554
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28555
28555
|
let fetchResult;
|
|
28556
28556
|
try {
|
|
28557
28557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28677,7 +28677,7 @@ var Group = class Group extends Object$1 {
|
|
|
28677
28677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28678
28678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28679
28679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28681
28681
|
let fetchResult;
|
|
28682
28682
|
try {
|
|
28683
28683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28803,7 +28803,7 @@ var Group = class Group extends Object$1 {
|
|
|
28803
28803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28804
28804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28805
28805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28807
28807
|
let fetchResult;
|
|
28808
28808
|
try {
|
|
28809
28809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28968,7 +28968,7 @@ var Group = class Group extends Object$1 {
|
|
|
28968
28968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28969
28969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28970
28970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28972
28972
|
let fetchResult;
|
|
28973
28973
|
try {
|
|
28974
28974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29137,7 +29137,7 @@ var Group = class Group extends Object$1 {
|
|
|
29137
29137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29138
29138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29139
29139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29141
29141
|
let fetchResult;
|
|
29142
29142
|
try {
|
|
29143
29143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29357,7 +29357,7 @@ var Group = class Group extends Object$1 {
|
|
|
29357
29357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29358
29358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29359
29359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29360
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29360
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29361
29361
|
let fetchResult;
|
|
29362
29362
|
try {
|
|
29363
29363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30048,7 +30048,7 @@ var Group = class Group extends Object$1 {
|
|
|
30048
30048
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30049
30049
|
*/
|
|
30050
30050
|
static async fromJsonLd(json, options = {}) {
|
|
30051
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
30051
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30052
30052
|
try {
|
|
30053
30053
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
30054
30054
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30896,7 +30896,7 @@ var Link = class Link {
|
|
|
30896
30896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30897
30897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30898
30898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30900
30900
|
let fetchResult;
|
|
30901
30901
|
try {
|
|
30902
30902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31191,7 +31191,7 @@ var Link = class Link {
|
|
|
31191
31191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31192
31192
|
*/
|
|
31193
31193
|
static async fromJsonLd(json, options = {}) {
|
|
31194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31194
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31195
31195
|
try {
|
|
31196
31196
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
31197
31197
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31576,7 +31576,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
31576
31576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31577
31577
|
*/
|
|
31578
31578
|
static async fromJsonLd(json, options = {}) {
|
|
31579
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31579
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31580
31580
|
try {
|
|
31581
31581
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
31582
31582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31741,7 +31741,7 @@ var Image = class Image extends Document {
|
|
|
31741
31741
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31742
31742
|
*/
|
|
31743
31743
|
static async fromJsonLd(json, options = {}) {
|
|
31744
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31744
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31745
31745
|
try {
|
|
31746
31746
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
31747
31747
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31894,7 +31894,7 @@ var Offer = class Offer extends Activity {
|
|
|
31894
31894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31895
31895
|
*/
|
|
31896
31896
|
static async fromJsonLd(json, options = {}) {
|
|
31897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31898
31898
|
try {
|
|
31899
31899
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
31900
31900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32047,7 +32047,7 @@ var Invite = class Invite extends Offer {
|
|
|
32047
32047
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32048
32048
|
*/
|
|
32049
32049
|
static async fromJsonLd(json, options = {}) {
|
|
32050
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32050
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32051
32051
|
try {
|
|
32052
32052
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
32053
32053
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32199,7 +32199,7 @@ var Join = class Join extends Activity {
|
|
|
32199
32199
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32200
32200
|
*/
|
|
32201
32201
|
static async fromJsonLd(json, options = {}) {
|
|
32202
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32202
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32203
32203
|
try {
|
|
32204
32204
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
32205
32205
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32351,7 +32351,7 @@ var Leave = class Leave extends Activity {
|
|
|
32351
32351
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32352
32352
|
*/
|
|
32353
32353
|
static async fromJsonLd(json, options = {}) {
|
|
32354
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32354
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32355
32355
|
try {
|
|
32356
32356
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
32357
32357
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32507,7 +32507,7 @@ var Like = class Like extends Activity {
|
|
|
32507
32507
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32508
32508
|
*/
|
|
32509
32509
|
static async fromJsonLd(json, options = {}) {
|
|
32510
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32510
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32511
32511
|
try {
|
|
32512
32512
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
32513
32513
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32658,7 +32658,7 @@ var Listen = class Listen extends Activity {
|
|
|
32658
32658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32659
32659
|
*/
|
|
32660
32660
|
static async fromJsonLd(json, options = {}) {
|
|
32661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32662
32662
|
try {
|
|
32663
32663
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
32664
32664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32812,7 +32812,7 @@ var Mention = class Mention extends Link {
|
|
|
32812
32812
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32813
32813
|
*/
|
|
32814
32814
|
static async fromJsonLd(json, options = {}) {
|
|
32815
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32815
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32816
32816
|
try {
|
|
32817
32817
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
32818
32818
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32965,7 +32965,7 @@ var Move = class Move extends Activity {
|
|
|
32965
32965
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32966
32966
|
*/
|
|
32967
32967
|
static async fromJsonLd(json, options = {}) {
|
|
32968
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32968
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32969
32969
|
try {
|
|
32970
32970
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
32971
32971
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33099,7 +33099,7 @@ var Note = class Note extends Object$1 {
|
|
|
33099
33099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33100
33100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33101
33101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33102
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33102
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33103
33103
|
let fetchResult;
|
|
33104
33104
|
try {
|
|
33105
33105
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33240,7 +33240,7 @@ var Note = class Note extends Object$1 {
|
|
|
33240
33240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33241
33241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33242
33242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33243
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33243
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33244
33244
|
let fetchResult;
|
|
33245
33245
|
try {
|
|
33246
33246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33529,7 +33529,7 @@ var Note = class Note extends Object$1 {
|
|
|
33529
33529
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33530
33530
|
*/
|
|
33531
33531
|
static async fromJsonLd(json, options = {}) {
|
|
33532
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33532
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33533
33533
|
try {
|
|
33534
33534
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
33535
33535
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33719,7 +33719,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33719
33719
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33720
33720
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33721
33721
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33722
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33722
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33723
33723
|
let fetchResult;
|
|
33724
33724
|
try {
|
|
33725
33725
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33992,7 +33992,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33992
33992
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33993
33993
|
*/
|
|
33994
33994
|
static async fromJsonLd(json, options = {}) {
|
|
33995
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33995
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33996
33996
|
try {
|
|
33997
33997
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
33998
33998
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34216,7 +34216,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34216
34216
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34217
34217
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34218
34218
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34219
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34219
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34220
34220
|
let fetchResult;
|
|
34221
34221
|
try {
|
|
34222
34222
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34512,7 +34512,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34512
34512
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34513
34513
|
*/
|
|
34514
34514
|
static async fromJsonLd(json, options = {}) {
|
|
34515
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34515
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34516
34516
|
try {
|
|
34517
34517
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
34518
34518
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35028,7 +35028,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35028
35028
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35029
35029
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35030
35030
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35031
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35031
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35032
35032
|
let fetchResult;
|
|
35033
35033
|
try {
|
|
35034
35034
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35196,7 +35196,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35196
35196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35197
35197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35198
35198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35200
35200
|
let fetchResult;
|
|
35201
35201
|
try {
|
|
35202
35202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35382,7 +35382,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35382
35382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35383
35383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35384
35384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35385
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35385
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35386
35386
|
let fetchResult;
|
|
35387
35387
|
try {
|
|
35388
35388
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35527,7 +35527,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35527
35527
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35528
35528
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35529
35529
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35530
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35530
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35531
35531
|
let fetchResult;
|
|
35532
35532
|
try {
|
|
35533
35533
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35669,7 +35669,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35669
35669
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35670
35670
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35671
35671
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35672
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35672
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35673
35673
|
let fetchResult;
|
|
35674
35674
|
try {
|
|
35675
35675
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35796,7 +35796,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35796
35796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35797
35797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35798
35798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35799
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35799
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35800
35800
|
let fetchResult;
|
|
35801
35801
|
try {
|
|
35802
35802
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35926,7 +35926,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35926
35926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35927
35927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35928
35928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35930
35930
|
let fetchResult;
|
|
35931
35931
|
try {
|
|
35932
35932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36054,7 +36054,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36054
36054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36055
36055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36056
36056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36058
36058
|
let fetchResult;
|
|
36059
36059
|
try {
|
|
36060
36060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36180,7 +36180,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36180
36180
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36181
36181
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36182
36182
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36183
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36183
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36184
36184
|
let fetchResult;
|
|
36185
36185
|
try {
|
|
36186
36186
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36306,7 +36306,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36306
36306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36307
36307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36308
36308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36309
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36309
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36310
36310
|
let fetchResult;
|
|
36311
36311
|
try {
|
|
36312
36312
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36471,7 +36471,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36471
36471
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36472
36472
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36473
36473
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36474
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36474
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36475
36475
|
let fetchResult;
|
|
36476
36476
|
try {
|
|
36477
36477
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36640,7 +36640,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36640
36640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36641
36641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36642
36642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36643
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36644
36644
|
let fetchResult;
|
|
36645
36645
|
try {
|
|
36646
36646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36860,7 +36860,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36860
36860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36861
36861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36862
36862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36863
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36864
36864
|
let fetchResult;
|
|
36865
36865
|
try {
|
|
36866
36866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37551,7 +37551,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37551
37551
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37552
37552
|
*/
|
|
37553
37553
|
static async fromJsonLd(json, options = {}) {
|
|
37554
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
37554
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37555
37555
|
try {
|
|
37556
37556
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
37557
37557
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38255,7 +38255,7 @@ var Page = class Page extends Document {
|
|
|
38255
38255
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38256
38256
|
*/
|
|
38257
38257
|
static async fromJsonLd(json, options = {}) {
|
|
38258
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
38258
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38259
38259
|
try {
|
|
38260
38260
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
38261
38261
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38653,7 +38653,7 @@ var Person = class Person extends Object$1 {
|
|
|
38653
38653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38654
38654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38655
38655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38657
38657
|
let fetchResult;
|
|
38658
38658
|
try {
|
|
38659
38659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38821,7 +38821,7 @@ var Person = class Person extends Object$1 {
|
|
|
38821
38821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38822
38822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38823
38823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38824
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38824
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38825
38825
|
let fetchResult;
|
|
38826
38826
|
try {
|
|
38827
38827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39007,7 +39007,7 @@ var Person = class Person extends Object$1 {
|
|
|
39007
39007
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39008
39008
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39009
39009
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39010
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39010
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39011
39011
|
let fetchResult;
|
|
39012
39012
|
try {
|
|
39013
39013
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39152,7 +39152,7 @@ var Person = class Person extends Object$1 {
|
|
|
39152
39152
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39153
39153
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39154
39154
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39155
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39155
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39156
39156
|
let fetchResult;
|
|
39157
39157
|
try {
|
|
39158
39158
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39294,7 +39294,7 @@ var Person = class Person extends Object$1 {
|
|
|
39294
39294
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39295
39295
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39296
39296
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39297
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39297
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39298
39298
|
let fetchResult;
|
|
39299
39299
|
try {
|
|
39300
39300
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39421,7 +39421,7 @@ var Person = class Person extends Object$1 {
|
|
|
39421
39421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39422
39422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39423
39423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39424
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39424
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39425
39425
|
let fetchResult;
|
|
39426
39426
|
try {
|
|
39427
39427
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39551,7 +39551,7 @@ var Person = class Person extends Object$1 {
|
|
|
39551
39551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39552
39552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39553
39553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39554
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39555
39555
|
let fetchResult;
|
|
39556
39556
|
try {
|
|
39557
39557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39679,7 +39679,7 @@ var Person = class Person extends Object$1 {
|
|
|
39679
39679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39680
39680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39681
39681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39683
39683
|
let fetchResult;
|
|
39684
39684
|
try {
|
|
39685
39685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39805,7 +39805,7 @@ var Person = class Person extends Object$1 {
|
|
|
39805
39805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39806
39806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39807
39807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39808
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39808
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39809
39809
|
let fetchResult;
|
|
39810
39810
|
try {
|
|
39811
39811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39931,7 +39931,7 @@ var Person = class Person extends Object$1 {
|
|
|
39931
39931
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39932
39932
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39933
39933
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39934
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39934
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39935
39935
|
let fetchResult;
|
|
39936
39936
|
try {
|
|
39937
39937
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40096,7 +40096,7 @@ var Person = class Person extends Object$1 {
|
|
|
40096
40096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40097
40097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40098
40098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40099
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40099
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40100
40100
|
let fetchResult;
|
|
40101
40101
|
try {
|
|
40102
40102
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40265,7 +40265,7 @@ var Person = class Person extends Object$1 {
|
|
|
40265
40265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40266
40266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40267
40267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40268
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40268
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40269
40269
|
let fetchResult;
|
|
40270
40270
|
try {
|
|
40271
40271
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40485,7 +40485,7 @@ var Person = class Person extends Object$1 {
|
|
|
40485
40485
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40486
40486
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40487
40487
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40488
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40488
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40489
40489
|
let fetchResult;
|
|
40490
40490
|
try {
|
|
40491
40491
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41176,7 +41176,7 @@ var Person = class Person extends Object$1 {
|
|
|
41176
41176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41177
41177
|
*/
|
|
41178
41178
|
static async fromJsonLd(json, options = {}) {
|
|
41179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
41179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41180
41180
|
try {
|
|
41181
41181
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
41182
41182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42057,7 +42057,7 @@ var Place = class Place extends Object$1 {
|
|
|
42057
42057
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42058
42058
|
*/
|
|
42059
42059
|
static async fromJsonLd(json, options = {}) {
|
|
42060
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42060
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42061
42061
|
try {
|
|
42062
42062
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
42063
42063
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42285,7 +42285,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42285
42285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42286
42286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42287
42287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42288
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42288
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42289
42289
|
let fetchResult;
|
|
42290
42290
|
try {
|
|
42291
42291
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42489,7 +42489,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42489
42489
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42490
42490
|
*/
|
|
42491
42491
|
static async fromJsonLd(json, options = {}) {
|
|
42492
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42492
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42493
42493
|
try {
|
|
42494
42494
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
42495
42495
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42694,7 +42694,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42694
42694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42695
42695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42696
42696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42698
42698
|
let fetchResult;
|
|
42699
42699
|
try {
|
|
42700
42700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42819,7 +42819,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42819
42819
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42820
42820
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42821
42821
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42822
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42822
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42823
42823
|
let fetchResult;
|
|
42824
42824
|
try {
|
|
42825
42825
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42960,7 +42960,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42960
42960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42961
42961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42962
42962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42964
42964
|
let fetchResult;
|
|
42965
42965
|
try {
|
|
42966
42966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43101,7 +43101,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43101
43101
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43102
43102
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43103
43103
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43104
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43104
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43105
43105
|
let fetchResult;
|
|
43106
43106
|
try {
|
|
43107
43107
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43356,7 +43356,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43356
43356
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43357
43357
|
*/
|
|
43358
43358
|
static async fromJsonLd(json, options = {}) {
|
|
43359
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43359
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43360
43360
|
try {
|
|
43361
43361
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
43362
43362
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43668,7 +43668,7 @@ var Read = class Read extends Activity {
|
|
|
43668
43668
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43669
43669
|
*/
|
|
43670
43670
|
static async fromJsonLd(json, options = {}) {
|
|
43671
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43671
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43672
43672
|
try {
|
|
43673
43673
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
43674
43674
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43820,7 +43820,7 @@ var Reject = class Reject extends Activity {
|
|
|
43820
43820
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43821
43821
|
*/
|
|
43822
43822
|
static async fromJsonLd(json, options = {}) {
|
|
43823
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43823
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43824
43824
|
try {
|
|
43825
43825
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
43826
43826
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43996,7 +43996,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
43996
43996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43997
43997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43998
43998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43999
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43999
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44000
44000
|
let fetchResult;
|
|
44001
44001
|
try {
|
|
44002
44002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44122,7 +44122,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44122
44122
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44123
44123
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44124
44124
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44125
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44125
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44126
44126
|
let fetchResult;
|
|
44127
44127
|
try {
|
|
44128
44128
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44290,7 +44290,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44290
44290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44291
44291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44292
44292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44294
44294
|
let fetchResult;
|
|
44295
44295
|
try {
|
|
44296
44296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44574,7 +44574,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44574
44574
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44575
44575
|
*/
|
|
44576
44576
|
static async fromJsonLd(json, options = {}) {
|
|
44577
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44577
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44578
44578
|
try {
|
|
44579
44579
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
44580
44580
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44807,7 +44807,7 @@ var Remove = class Remove extends Activity {
|
|
|
44807
44807
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44808
44808
|
*/
|
|
44809
44809
|
static async fromJsonLd(json, options = {}) {
|
|
44810
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44810
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44811
44811
|
try {
|
|
44812
44812
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
44813
44813
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45205,7 +45205,7 @@ var Service = class Service extends Object$1 {
|
|
|
45205
45205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45206
45206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45207
45207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45208
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45208
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45209
45209
|
let fetchResult;
|
|
45210
45210
|
try {
|
|
45211
45211
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45373,7 +45373,7 @@ var Service = class Service extends Object$1 {
|
|
|
45373
45373
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45374
45374
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45375
45375
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45376
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45376
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45377
45377
|
let fetchResult;
|
|
45378
45378
|
try {
|
|
45379
45379
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45559,7 +45559,7 @@ var Service = class Service extends Object$1 {
|
|
|
45559
45559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45560
45560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45561
45561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45563
45563
|
let fetchResult;
|
|
45564
45564
|
try {
|
|
45565
45565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45704,7 +45704,7 @@ var Service = class Service extends Object$1 {
|
|
|
45704
45704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45705
45705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45706
45706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45708
45708
|
let fetchResult;
|
|
45709
45709
|
try {
|
|
45710
45710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45846,7 +45846,7 @@ var Service = class Service extends Object$1 {
|
|
|
45846
45846
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45847
45847
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45848
45848
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45849
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45849
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45850
45850
|
let fetchResult;
|
|
45851
45851
|
try {
|
|
45852
45852
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45973,7 +45973,7 @@ var Service = class Service extends Object$1 {
|
|
|
45973
45973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45974
45974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45975
45975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45977
45977
|
let fetchResult;
|
|
45978
45978
|
try {
|
|
45979
45979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46103,7 +46103,7 @@ var Service = class Service extends Object$1 {
|
|
|
46103
46103
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46104
46104
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46105
46105
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46106
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46106
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46107
46107
|
let fetchResult;
|
|
46108
46108
|
try {
|
|
46109
46109
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46231,7 +46231,7 @@ var Service = class Service extends Object$1 {
|
|
|
46231
46231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46232
46232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46233
46233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46234
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46234
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46235
46235
|
let fetchResult;
|
|
46236
46236
|
try {
|
|
46237
46237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46357,7 +46357,7 @@ var Service = class Service extends Object$1 {
|
|
|
46357
46357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46358
46358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46359
46359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46360
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46360
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46361
46361
|
let fetchResult;
|
|
46362
46362
|
try {
|
|
46363
46363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46483,7 +46483,7 @@ var Service = class Service extends Object$1 {
|
|
|
46483
46483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46484
46484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46485
46485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46487
46487
|
let fetchResult;
|
|
46488
46488
|
try {
|
|
46489
46489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46648,7 +46648,7 @@ var Service = class Service extends Object$1 {
|
|
|
46648
46648
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46649
46649
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46650
46650
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46651
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46651
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46652
46652
|
let fetchResult;
|
|
46653
46653
|
try {
|
|
46654
46654
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46817,7 +46817,7 @@ var Service = class Service extends Object$1 {
|
|
|
46817
46817
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46818
46818
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46819
46819
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46820
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46820
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46821
46821
|
let fetchResult;
|
|
46822
46822
|
try {
|
|
46823
46823
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47037,7 +47037,7 @@ var Service = class Service extends Object$1 {
|
|
|
47037
47037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47038
47038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47039
47039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47040
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47040
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47041
47041
|
let fetchResult;
|
|
47042
47042
|
try {
|
|
47043
47043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47728,7 +47728,7 @@ var Service = class Service extends Object$1 {
|
|
|
47728
47728
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47729
47729
|
*/
|
|
47730
47730
|
static async fromJsonLd(json, options = {}) {
|
|
47731
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47731
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47732
47732
|
try {
|
|
47733
47733
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
47734
47734
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48532,7 +48532,7 @@ var Source = class {
|
|
|
48532
48532
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48533
48533
|
*/
|
|
48534
48534
|
static async fromJsonLd(json, options = {}) {
|
|
48535
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48535
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48536
48536
|
try {
|
|
48537
48537
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
48538
48538
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48721,7 +48721,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
48721
48721
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48722
48722
|
*/
|
|
48723
48723
|
static async fromJsonLd(json, options = {}) {
|
|
48724
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48724
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48725
48725
|
try {
|
|
48726
48726
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
48727
48727
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48873,7 +48873,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
48873
48873
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48874
48874
|
*/
|
|
48875
48875
|
static async fromJsonLd(json, options = {}) {
|
|
48876
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48876
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48877
48877
|
try {
|
|
48878
48878
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
48879
48879
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49114,7 +49114,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
49114
49114
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49115
49115
|
*/
|
|
49116
49116
|
static async fromJsonLd(json, options = {}) {
|
|
49117
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49117
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49118
49118
|
try {
|
|
49119
49119
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
49120
49120
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49311,7 +49311,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
49311
49311
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49312
49312
|
*/
|
|
49313
49313
|
static async fromJsonLd(json, options = {}) {
|
|
49314
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49314
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49315
49315
|
try {
|
|
49316
49316
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
49317
49317
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49477,7 +49477,7 @@ var Undo = class Undo extends Activity {
|
|
|
49477
49477
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49478
49478
|
*/
|
|
49479
49479
|
static async fromJsonLd(json, options = {}) {
|
|
49480
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49480
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49481
49481
|
try {
|
|
49482
49482
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
49483
49483
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49691,7 +49691,7 @@ var Update = class Update extends Activity {
|
|
|
49691
49691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49692
49692
|
*/
|
|
49693
49693
|
static async fromJsonLd(json, options = {}) {
|
|
49694
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49695
49695
|
try {
|
|
49696
49696
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
49697
49697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49856,7 +49856,7 @@ var Video = class Video extends Document {
|
|
|
49856
49856
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49857
49857
|
*/
|
|
49858
49858
|
static async fromJsonLd(json, options = {}) {
|
|
49859
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49859
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49860
49860
|
try {
|
|
49861
49861
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
49862
49862
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50007,7 +50007,7 @@ var View = class View extends Activity {
|
|
|
50007
50007
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50008
50008
|
*/
|
|
50009
50009
|
static async fromJsonLd(json, options = {}) {
|
|
50010
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50010
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.4").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50011
50011
|
try {
|
|
50012
50012
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
50013
50013
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|