@fedify/fedify 1.9.0-pr.378.1394 → 1.9.0-pr.383.1403
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/dist/{actor-Uh1YDuVl.d.ts → actor-Ch5yFYFG.d.ts} +1 -1
- package/dist/{actor-B7EOS7sj.js → actor-DnPEDWLF.js} +1 -1
- package/dist/{actor-DVhqV33k.js → actor-eZbQYdo8.js} +1299 -179
- package/dist/{authdocloader-C4Z-T6r4.js → authdocloader-CJp5Zfjg.js} +3 -3
- package/dist/{authdocloader-C3NOxWC4.js → authdocloader-CnEXUcuh.js} +3 -3
- package/dist/{builder-DWbYd7Uz.js → builder-DuTTkBSu.js} +4 -4
- package/dist/{client-MeYeu6QM.js → client-BTeMw-gE.js} +1 -1
- package/dist/compat/mod.d.ts +7 -7
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-CnveeHUR.d.ts → context-DJQB_Zv4.d.ts} +5 -5
- package/dist/{docloader-lRn6Iz9h.js → docloader-DX3Np5vD.js} +35 -1
- package/dist/{esm-Cbcf_ekH.js → esm-Z0ZE8jo2.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.d.ts +6 -6
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-jsbQZmEx.js → http-CeLPDaRi.js} +2 -2
- package/dist/{http-DtG44GdM.d.ts → http-D8Q4xH0d.d.ts} +1 -1
- package/dist/{http-Xaq8uKR0.js → http-K4Tla_KJ.js} +3 -3
- package/dist/{inbox-Bvgh0p3t.js → inbox-BN0NXeC5.js} +1 -1
- package/dist/{key-7GjX3d6i.js → key-BsAiUXA4.js} +4 -4
- package/dist/{key-CGiIDuCb.js → key-CF7W9XLg.js} +2 -2
- package/dist/{key-B_hS87hg.js → key-DDiv1qGZ.js} +3 -3
- package/dist/{key-BA-VESrE.js → key-D_LpnL8C.js} +2 -2
- package/dist/{keycache-CaGRPD2D.js → keycache-CdO0iFUd.js} +1 -1
- package/dist/{keys-n8TnpEvl.js → keys-DSIJcr9B.js} +1 -1
- package/dist/{ld-536I1uoS.js → ld-JDE42vh9.js} +2 -2
- package/dist/{lookup-CpQFwuYT.js → lookup-BsolMp1L.js} +1 -1
- package/dist/{lookup-B51nxTWE.js → lookup-x9_o9BYY.js} +1 -1
- package/dist/{middleware-AR3RfTfO.js → middleware-BTtHOwFm.js} +17 -18
- package/dist/middleware-D1Ikw9dP.js +26 -0
- package/dist/middleware-DuCivxEy.js +17 -0
- package/dist/{middleware-D550um_p.js → middleware-sVKKoAcN.js} +14 -15
- package/dist/{mod-tQVUxQ_D.d.ts → mod-B7Pc0I7F.d.ts} +2 -2
- package/dist/{mod-mSMqo9JU.d.ts → mod-BAuhKa9d.d.ts} +1 -1
- package/dist/{mod-cz-tNIqP.d.ts → mod-Cy6pkZSn.d.ts} +1 -1
- package/dist/{mod-DPpunL8j.d.ts → mod-eBo9RUEr.d.ts} +2 -2
- package/dist/mod.d.ts +9 -9
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-C12klfeG.d.ts → owner-D38zBIMc.d.ts} +2 -2
- package/dist/{owner-Dp73PxeY.js → owner-SUDnUN_3.js} +2 -2
- package/dist/{proof-DWJpYhi0.js → proof-BLxP2Ck2.js} +2 -2
- package/dist/{proof-DKtgyz5B.js → proof-BudfEhst.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.d.ts +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-DucL-V0N.js → send-WVrf9Rly.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.d.ts +5 -5
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/src/vocab/collection.yaml +72 -0
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +176 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CjUbycJE.js → testing-CY2ikEnk.js} +2 -2
- package/dist/{type-CQXrP5Lt.js → type-CysHu9KY.js} +1408 -254
- package/dist/{types-CCNn1tuL.js → types-Od3pVz0f.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +14 -4
- package/dist/{vocab-Ukxjz3TM.d.ts → vocab-BEEm2I6u.d.ts} +176 -0
- package/dist/{vocab-Dqyc86T5.js → vocab-CiVt6gtY.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +6 -6
- package/dist/x/sveltekit.d.ts +6 -6
- package/package.json +1 -1
- package/dist/middleware-DLmV3Z7C.js +0 -26
- package/dist/middleware-JbhBHf-6.js +0 -17
@@ -56,7 +56,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
56
56
|
//#endregion
|
57
57
|
//#region deno.json
|
58
58
|
var name = "@fedify/fedify";
|
59
|
-
var version = "1.9.0-pr.
|
59
|
+
var version = "1.9.0-pr.383.1403+350a35b0";
|
60
60
|
var license = "MIT";
|
61
61
|
var exports = {
|
62
62
|
".": "./src/mod.ts",
|
@@ -4286,6 +4286,40 @@ const preloadedContexts = {
|
|
4286
4286
|
"@id": "gts:approvedBy",
|
4287
4287
|
"@type": "@id"
|
4288
4288
|
}
|
4289
|
+
} },
|
4290
|
+
"https://w3id.org/fep/5711": { "@context": {
|
4291
|
+
"likesOf": {
|
4292
|
+
"@id": "https://w3id.org/fep/5711#likesOf",
|
4293
|
+
"@type": "@id"
|
4294
|
+
},
|
4295
|
+
"sharesOf": {
|
4296
|
+
"@id": "https://w3id.org/fep/5711#sharesOf",
|
4297
|
+
"@type": "@id"
|
4298
|
+
},
|
4299
|
+
"repliesOf": {
|
4300
|
+
"@id": "https://w3id.org/fep/5711#repliesOf",
|
4301
|
+
"@type": "@id"
|
4302
|
+
},
|
4303
|
+
"inboxOf": {
|
4304
|
+
"@id": "https://w3id.org/fep/5711#inboxOf",
|
4305
|
+
"@type": "@id"
|
4306
|
+
},
|
4307
|
+
"outboxOf": {
|
4308
|
+
"@id": "https://w3id.org/fep/5711#outboxOf",
|
4309
|
+
"@type": "@id"
|
4310
|
+
},
|
4311
|
+
"followersOf": {
|
4312
|
+
"@id": "https://w3id.org/fep/5711#followersOf",
|
4313
|
+
"@type": "@id"
|
4314
|
+
},
|
4315
|
+
"followingOf": {
|
4316
|
+
"@id": "https://w3id.org/fep/5711#followingOf",
|
4317
|
+
"@type": "@id"
|
4318
|
+
},
|
4319
|
+
"likedOf": {
|
4320
|
+
"@id": "https://w3id.org/fep/5711#likedOf",
|
4321
|
+
"@type": "@id"
|
4322
|
+
}
|
4289
4323
|
} }
|
4290
4324
|
};
|
4291
4325
|
var contexts_default = preloadedContexts;
|
@@ -4970,7 +5004,7 @@ async function importSpki(pem) {
|
|
4970
5004
|
* @since 0.5.0
|
4971
5005
|
*/
|
4972
5006
|
async function exportSpki(key) {
|
4973
|
-
const { validateCryptoKey } = await import("./key-
|
5007
|
+
const { validateCryptoKey } = await import("./key-DDiv1qGZ.js");
|
4974
5008
|
validateCryptoKey(key);
|
4975
5009
|
const spki = await crypto.subtle.exportKey("spki", key);
|
4976
5010
|
let pem = encodeBase64(spki);
|
@@ -5593,7 +5627,7 @@ var Object$1 = class Object$1 {
|
|
5593
5627
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
5594
5628
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
5595
5629
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
5596
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
5630
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
5597
5631
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
5598
5632
|
let fetchResult;
|
5599
5633
|
try {
|
@@ -5719,7 +5753,7 @@ var Object$1 = class Object$1 {
|
|
5719
5753
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
5720
5754
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
5721
5755
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
5722
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
5756
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
5723
5757
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
5724
5758
|
let fetchResult;
|
5725
5759
|
try {
|
@@ -5899,7 +5933,7 @@ var Object$1 = class Object$1 {
|
|
5899
5933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
5900
5934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
5901
5935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
5902
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
5936
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
5903
5937
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
5904
5938
|
let fetchResult;
|
5905
5939
|
try {
|
@@ -6055,7 +6089,7 @@ var Object$1 = class Object$1 {
|
|
6055
6089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6056
6090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6057
6091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6058
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6092
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6059
6093
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6060
6094
|
let fetchResult;
|
6061
6095
|
try {
|
@@ -6198,7 +6232,7 @@ var Object$1 = class Object$1 {
|
|
6198
6232
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6199
6233
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6200
6234
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6201
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6235
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6202
6236
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6203
6237
|
let fetchResult;
|
6204
6238
|
try {
|
@@ -6309,7 +6343,7 @@ var Object$1 = class Object$1 {
|
|
6309
6343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6310
6344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6311
6345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6312
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6346
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6313
6347
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6314
6348
|
let fetchResult;
|
6315
6349
|
try {
|
@@ -6447,7 +6481,7 @@ var Object$1 = class Object$1 {
|
|
6447
6481
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6448
6482
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6449
6483
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6450
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6484
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6451
6485
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6452
6486
|
let fetchResult;
|
6453
6487
|
try {
|
@@ -6585,7 +6619,7 @@ var Object$1 = class Object$1 {
|
|
6585
6619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6586
6620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6587
6621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6588
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6622
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6589
6623
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6590
6624
|
let fetchResult;
|
6591
6625
|
try {
|
@@ -6730,7 +6764,7 @@ var Object$1 = class Object$1 {
|
|
6730
6764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6731
6765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6732
6766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6733
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6767
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6734
6768
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6735
6769
|
let fetchResult;
|
6736
6770
|
try {
|
@@ -6875,7 +6909,7 @@ var Object$1 = class Object$1 {
|
|
6875
6909
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6876
6910
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6877
6911
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6878
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6912
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
6879
6913
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6880
6914
|
let fetchResult;
|
6881
6915
|
try {
|
@@ -7025,7 +7059,7 @@ var Object$1 = class Object$1 {
|
|
7025
7059
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7026
7060
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7027
7061
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7028
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7062
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7029
7063
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7030
7064
|
let fetchResult;
|
7031
7065
|
try {
|
@@ -7125,7 +7159,7 @@ var Object$1 = class Object$1 {
|
|
7125
7159
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7126
7160
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7127
7161
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7128
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7162
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7129
7163
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7130
7164
|
let fetchResult;
|
7131
7165
|
try {
|
@@ -7231,7 +7265,7 @@ var Object$1 = class Object$1 {
|
|
7231
7265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7232
7266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7233
7267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7234
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7268
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7235
7269
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7236
7270
|
let fetchResult;
|
7237
7271
|
try {
|
@@ -7337,7 +7371,7 @@ var Object$1 = class Object$1 {
|
|
7337
7371
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7338
7372
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7339
7373
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7340
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7374
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7341
7375
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7342
7376
|
let fetchResult;
|
7343
7377
|
try {
|
@@ -7461,7 +7495,7 @@ var Object$1 = class Object$1 {
|
|
7461
7495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7462
7496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7463
7497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7464
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7498
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7465
7499
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7466
7500
|
let fetchResult;
|
7467
7501
|
try {
|
@@ -7594,7 +7628,7 @@ var Object$1 = class Object$1 {
|
|
7594
7628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7595
7629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7596
7630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7597
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7631
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7598
7632
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7599
7633
|
let fetchResult;
|
7600
7634
|
try {
|
@@ -7730,7 +7764,7 @@ var Object$1 = class Object$1 {
|
|
7730
7764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7731
7765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7732
7766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7733
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7767
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7734
7768
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7735
7769
|
let fetchResult;
|
7736
7770
|
try {
|
@@ -7866,7 +7900,7 @@ var Object$1 = class Object$1 {
|
|
7866
7900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7867
7901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7868
7902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7869
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7903
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
7870
7904
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7871
7905
|
let fetchResult;
|
7872
7906
|
try {
|
@@ -8002,7 +8036,7 @@ var Object$1 = class Object$1 {
|
|
8002
8036
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
8003
8037
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
8004
8038
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
8005
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
8039
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
8006
8040
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
8007
8041
|
let fetchResult;
|
8008
8042
|
try {
|
@@ -8175,7 +8209,7 @@ var Object$1 = class Object$1 {
|
|
8175
8209
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
8176
8210
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
8177
8211
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
8178
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
8212
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
8179
8213
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
8180
8214
|
let fetchResult;
|
8181
8215
|
try {
|
@@ -9034,7 +9068,7 @@ var Object$1 = class Object$1 {
|
|
9034
9068
|
*/
|
9035
9069
|
static async fromJsonLd(json, options = {}) {
|
9036
9070
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
9037
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
9071
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
9038
9072
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
9039
9073
|
try {
|
9040
9074
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
@@ -10183,7 +10217,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
10183
10217
|
*/
|
10184
10218
|
static async fromJsonLd(json, options = {}) {
|
10185
10219
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
10186
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10220
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
10187
10221
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
10188
10222
|
try {
|
10189
10223
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
@@ -10426,7 +10460,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
10426
10460
|
*/
|
10427
10461
|
static async fromJsonLd(json, options = {}) {
|
10428
10462
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
10429
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10463
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
10430
10464
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
10431
10465
|
try {
|
10432
10466
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
@@ -10643,7 +10677,7 @@ var Activity = class Activity extends Object$1 {
|
|
10643
10677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
10644
10678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
10645
10679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
10646
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10680
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
10647
10681
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
10648
10682
|
let fetchResult;
|
10649
10683
|
try {
|
@@ -10823,7 +10857,7 @@ var Activity = class Activity extends Object$1 {
|
|
10823
10857
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
10824
10858
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
10825
10859
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
10826
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10860
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
10827
10861
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
10828
10862
|
let fetchResult;
|
10829
10863
|
try {
|
@@ -10961,7 +10995,7 @@ var Activity = class Activity extends Object$1 {
|
|
10961
10995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
10962
10996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
10963
10997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
10964
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10998
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
10965
10999
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
10966
11000
|
let fetchResult;
|
10967
11001
|
try {
|
@@ -11105,7 +11139,7 @@ var Activity = class Activity extends Object$1 {
|
|
11105
11139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
11106
11140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
11107
11141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
11108
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11142
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
11109
11143
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11110
11144
|
let fetchResult;
|
11111
11145
|
try {
|
@@ -11243,7 +11277,7 @@ var Activity = class Activity extends Object$1 {
|
|
11243
11277
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
11244
11278
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
11245
11279
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
11246
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11280
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
11247
11281
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11248
11282
|
let fetchResult;
|
11249
11283
|
try {
|
@@ -11383,7 +11417,7 @@ var Activity = class Activity extends Object$1 {
|
|
11383
11417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
11384
11418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
11385
11419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
11386
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11420
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
11387
11421
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11388
11422
|
let fetchResult;
|
11389
11423
|
try {
|
@@ -11625,7 +11659,7 @@ var Activity = class Activity extends Object$1 {
|
|
11625
11659
|
*/
|
11626
11660
|
static async fromJsonLd(json, options = {}) {
|
11627
11661
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
11628
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11662
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
11629
11663
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
11630
11664
|
try {
|
11631
11665
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
@@ -11919,7 +11953,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
11919
11953
|
*/
|
11920
11954
|
static async fromJsonLd(json, options = {}) {
|
11921
11955
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
11922
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11956
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
11923
11957
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
11924
11958
|
try {
|
11925
11959
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
@@ -12176,7 +12210,7 @@ var PropertyValue = class {
|
|
12176
12210
|
*/
|
12177
12211
|
static async fromJsonLd(json, options = {}) {
|
12178
12212
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12179
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12213
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
12180
12214
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12181
12215
|
try {
|
12182
12216
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
@@ -12416,7 +12450,7 @@ var DidService = class {
|
|
12416
12450
|
*/
|
12417
12451
|
static async fromJsonLd(json, options = {}) {
|
12418
12452
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12419
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12453
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
12420
12454
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12421
12455
|
try {
|
12422
12456
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
@@ -12576,7 +12610,7 @@ var Export = class Export extends DidService {
|
|
12576
12610
|
*/
|
12577
12611
|
static async fromJsonLd(json, options = {}) {
|
12578
12612
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12579
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12613
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
12580
12614
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12581
12615
|
try {
|
12582
12616
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
@@ -12746,7 +12780,7 @@ var DataIntegrityProof = class {
|
|
12746
12780
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
12747
12781
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
12748
12782
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
12749
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12783
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
12750
12784
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
12751
12785
|
let fetchResult;
|
12752
12786
|
try {
|
@@ -12960,7 +12994,7 @@ var DataIntegrityProof = class {
|
|
12960
12994
|
*/
|
12961
12995
|
static async fromJsonLd(json, options = {}) {
|
12962
12996
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12963
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12997
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
12964
12998
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12965
12999
|
try {
|
12966
13000
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
@@ -13167,7 +13201,7 @@ var CryptographicKey = class {
|
|
13167
13201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
13168
13202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
13169
13203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
13170
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13204
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
13171
13205
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
13172
13206
|
let fetchResult;
|
13173
13207
|
try {
|
@@ -13412,7 +13446,7 @@ var CryptographicKey = class {
|
|
13412
13446
|
*/
|
13413
13447
|
static async fromJsonLd(json, options = {}) {
|
13414
13448
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
13415
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13449
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
13416
13450
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
13417
13451
|
try {
|
13418
13452
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
@@ -13588,7 +13622,7 @@ var Multikey = class {
|
|
13588
13622
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
13589
13623
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
13590
13624
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
13591
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13625
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
13592
13626
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
13593
13627
|
let fetchResult;
|
13594
13628
|
try {
|
@@ -13839,7 +13873,7 @@ var Multikey = class {
|
|
13839
13873
|
*/
|
13840
13874
|
static async fromJsonLd(json, options = {}) {
|
13841
13875
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
13842
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13876
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
13843
13877
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
13844
13878
|
try {
|
13845
13879
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
@@ -14024,7 +14058,7 @@ var Accept = class Accept extends Activity {
|
|
14024
14058
|
*/
|
14025
14059
|
static async fromJsonLd(json, options = {}) {
|
14026
14060
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
14027
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14061
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
14028
14062
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
14029
14063
|
try {
|
14030
14064
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
@@ -14182,7 +14216,7 @@ var Add = class Add extends Activity {
|
|
14182
14216
|
*/
|
14183
14217
|
static async fromJsonLd(json, options = {}) {
|
14184
14218
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
14185
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14219
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
14186
14220
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
14187
14221
|
try {
|
14188
14222
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
@@ -14357,7 +14391,7 @@ var Announce = class Announce extends Activity {
|
|
14357
14391
|
*/
|
14358
14392
|
static async fromJsonLd(json, options = {}) {
|
14359
14393
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
14360
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14394
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
14361
14395
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
14362
14396
|
try {
|
14363
14397
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
@@ -14656,7 +14690,7 @@ var Application = class Application extends Object$1 {
|
|
14656
14690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
14657
14691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
14658
14692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
14659
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14693
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
14660
14694
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
14661
14695
|
let fetchResult;
|
14662
14696
|
try {
|
@@ -14790,7 +14824,7 @@ var Application = class Application extends Object$1 {
|
|
14790
14824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
14791
14825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
14792
14826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
14793
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14827
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
14794
14828
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
14795
14829
|
let fetchResult;
|
14796
14830
|
try {
|
@@ -14942,7 +14976,7 @@ var Application = class Application extends Object$1 {
|
|
14942
14976
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
14943
14977
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
14944
14978
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
14945
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14979
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
14946
14980
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
14947
14981
|
let fetchResult;
|
14948
14982
|
try {
|
@@ -15062,7 +15096,7 @@ var Application = class Application extends Object$1 {
|
|
15062
15096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15063
15097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15064
15098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15065
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15099
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15066
15100
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15067
15101
|
let fetchResult;
|
15068
15102
|
try {
|
@@ -15179,7 +15213,7 @@ var Application = class Application extends Object$1 {
|
|
15179
15213
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15180
15214
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15181
15215
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15182
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15216
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15183
15217
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15184
15218
|
let fetchResult;
|
15185
15219
|
try {
|
@@ -15282,7 +15316,7 @@ var Application = class Application extends Object$1 {
|
|
15282
15316
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15283
15317
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15284
15318
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15285
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15319
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15286
15320
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15287
15321
|
let fetchResult;
|
15288
15322
|
try {
|
@@ -15388,7 +15422,7 @@ var Application = class Application extends Object$1 {
|
|
15388
15422
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15389
15423
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15390
15424
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15391
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15425
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15392
15426
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15393
15427
|
let fetchResult;
|
15394
15428
|
try {
|
@@ -15492,7 +15526,7 @@ var Application = class Application extends Object$1 {
|
|
15492
15526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15493
15527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15494
15528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15495
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15529
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15496
15530
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15497
15531
|
let fetchResult;
|
15498
15532
|
try {
|
@@ -15594,7 +15628,7 @@ var Application = class Application extends Object$1 {
|
|
15594
15628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15595
15629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15596
15630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15597
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15631
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15598
15632
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15599
15633
|
let fetchResult;
|
15600
15634
|
try {
|
@@ -15696,7 +15730,7 @@ var Application = class Application extends Object$1 {
|
|
15696
15730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15697
15731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15698
15732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15699
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15733
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15700
15734
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15701
15735
|
let fetchResult;
|
15702
15736
|
try {
|
@@ -15840,7 +15874,7 @@ var Application = class Application extends Object$1 {
|
|
15840
15874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15841
15875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15842
15876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15843
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15877
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15844
15878
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15845
15879
|
let fetchResult;
|
15846
15880
|
try {
|
@@ -15981,7 +16015,7 @@ var Application = class Application extends Object$1 {
|
|
15981
16015
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15982
16016
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15983
16017
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15984
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
16018
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
15985
16019
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15986
16020
|
let fetchResult;
|
15987
16021
|
try {
|
@@ -16163,7 +16197,7 @@ var Application = class Application extends Object$1 {
|
|
16163
16197
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
16164
16198
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
16165
16199
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
16166
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
16200
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
16167
16201
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
16168
16202
|
let fetchResult;
|
16169
16203
|
try {
|
@@ -16887,7 +16921,7 @@ var Application = class Application extends Object$1 {
|
|
16887
16921
|
*/
|
16888
16922
|
static async fromJsonLd(json, options = {}) {
|
16889
16923
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
16890
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
16924
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
16891
16925
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
16892
16926
|
try {
|
16893
16927
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
@@ -17374,7 +17408,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
17374
17408
|
*/
|
17375
17409
|
static async fromJsonLd(json, options = {}) {
|
17376
17410
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
17377
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17411
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
17378
17412
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
17379
17413
|
try {
|
17380
17414
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
@@ -17533,7 +17567,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
17533
17567
|
*/
|
17534
17568
|
static async fromJsonLd(json, options = {}) {
|
17535
17569
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
17536
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17570
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
17537
17571
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
17538
17572
|
try {
|
17539
17573
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
@@ -17774,7 +17808,7 @@ var Article = class Article extends Object$1 {
|
|
17774
17808
|
*/
|
17775
17809
|
static async fromJsonLd(json, options = {}) {
|
17776
17810
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
17777
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17811
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
17778
17812
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
17779
17813
|
try {
|
17780
17814
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
@@ -18014,7 +18048,7 @@ var Document = class Document extends Object$1 {
|
|
18014
18048
|
*/
|
18015
18049
|
static async fromJsonLd(json, options = {}) {
|
18016
18050
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18017
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18051
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18018
18052
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18019
18053
|
try {
|
18020
18054
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
@@ -18204,7 +18238,7 @@ var Audio = class Audio extends Document {
|
|
18204
18238
|
*/
|
18205
18239
|
static async fromJsonLd(json, options = {}) {
|
18206
18240
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18207
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18241
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18208
18242
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18209
18243
|
try {
|
18210
18244
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
@@ -18359,7 +18393,7 @@ var Ignore = class Ignore extends Activity {
|
|
18359
18393
|
*/
|
18360
18394
|
static async fromJsonLd(json, options = {}) {
|
18361
18395
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18362
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18396
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18363
18397
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18364
18398
|
try {
|
18365
18399
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
@@ -18517,7 +18551,7 @@ var Block = class Block extends Ignore {
|
|
18517
18551
|
*/
|
18518
18552
|
static async fromJsonLd(json, options = {}) {
|
18519
18553
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18520
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18554
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18521
18555
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18522
18556
|
try {
|
18523
18557
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
@@ -18600,6 +18634,14 @@ var Collection = class Collection extends Object$1 {
|
|
18600
18634
|
#_J52RqweMe6hhv7RnLJMC8BExTE5_first = [];
|
18601
18635
|
#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = [];
|
18602
18636
|
#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = [];
|
18637
|
+
#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [];
|
18638
|
+
#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [];
|
18639
|
+
#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [];
|
18640
|
+
#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [];
|
18641
|
+
#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [];
|
18642
|
+
#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [];
|
18643
|
+
#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [];
|
18644
|
+
#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [];
|
18603
18645
|
/**
|
18604
18646
|
* Constructs a new instance of Collection with the given values.
|
18605
18647
|
* @param values The values to initialize the instance with.
|
@@ -18617,6 +18659,22 @@ var Collection = class Collection extends Object$1 {
|
|
18617
18659
|
else throw new TypeError("The last must be of type CollectionPage | URL.");
|
18618
18660
|
if ("items" in values && values.items != null) if (Array.isArray(values.items) && values.items.every((v) => v instanceof Object$1 || v instanceof Link || v instanceof URL)) this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
18619
18661
|
else throw new TypeError("The items must be an array of type Object | Link | URL.");
|
18662
|
+
if ("likesOf" in values && values.likesOf != null) if (values.likesOf instanceof Object$1 || values.likesOf instanceof URL) this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [values.likesOf];
|
18663
|
+
else throw new TypeError("The likesOf must be of type Object | URL.");
|
18664
|
+
if ("sharesOf" in values && values.sharesOf != null) if (values.sharesOf instanceof Object$1 || values.sharesOf instanceof URL) this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [values.sharesOf];
|
18665
|
+
else throw new TypeError("The sharesOf must be of type Object | URL.");
|
18666
|
+
if ("repliesOf" in values && values.repliesOf != null) if (values.repliesOf instanceof Object$1 || values.repliesOf instanceof URL) this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [values.repliesOf];
|
18667
|
+
else throw new TypeError("The repliesOf must be of type Object | URL.");
|
18668
|
+
if ("inboxOf" in values && values.inboxOf != null) if (values.inboxOf instanceof Object$1 || values.inboxOf instanceof URL) this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [values.inboxOf];
|
18669
|
+
else throw new TypeError("The inboxOf must be of type Object | URL.");
|
18670
|
+
if ("outboxOf" in values && values.outboxOf != null) if (values.outboxOf instanceof Object$1 || values.outboxOf instanceof URL) this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [values.outboxOf];
|
18671
|
+
else throw new TypeError("The outboxOf must be of type Object | URL.");
|
18672
|
+
if ("followersOf" in values && values.followersOf != null) if (values.followersOf instanceof Object$1 || values.followersOf instanceof URL) this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [values.followersOf];
|
18673
|
+
else throw new TypeError("The followersOf must be of type Object | URL.");
|
18674
|
+
if ("followingOf" in values && values.followingOf != null) if (values.followingOf instanceof Object$1 || values.followingOf instanceof URL) this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [values.followingOf];
|
18675
|
+
else throw new TypeError("The followingOf must be of type Object | URL.");
|
18676
|
+
if ("likedOf" in values && values.likedOf != null) if (values.likedOf instanceof Object$1 || values.likedOf instanceof URL) this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [values.likedOf];
|
18677
|
+
else throw new TypeError("The likedOf must be of type Object | URL.");
|
18620
18678
|
}
|
18621
18679
|
/**
|
18622
18680
|
* Clones this instance, optionally updating it with the given values.
|
@@ -18648,6 +18706,30 @@ var Collection = class Collection extends Object$1 {
|
|
18648
18706
|
clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
|
18649
18707
|
if ("items" in values && values.items != null) if (Array.isArray(values.items) && values.items.every((v) => v instanceof Object$1 || v instanceof Link || v instanceof URL)) clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
|
18650
18708
|
else throw new TypeError("The items must be an array of type Object | Link | URL.");
|
18709
|
+
clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;
|
18710
|
+
if ("likesOf" in values && values.likesOf != null) if (values.likesOf instanceof Object$1 || values.likesOf instanceof URL) clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [values.likesOf];
|
18711
|
+
else throw new TypeError("The likesOf must be of type Object | URL.");
|
18712
|
+
clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;
|
18713
|
+
if ("sharesOf" in values && values.sharesOf != null) if (values.sharesOf instanceof Object$1 || values.sharesOf instanceof URL) clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [values.sharesOf];
|
18714
|
+
else throw new TypeError("The sharesOf must be of type Object | URL.");
|
18715
|
+
clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;
|
18716
|
+
if ("repliesOf" in values && values.repliesOf != null) if (values.repliesOf instanceof Object$1 || values.repliesOf instanceof URL) clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [values.repliesOf];
|
18717
|
+
else throw new TypeError("The repliesOf must be of type Object | URL.");
|
18718
|
+
clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;
|
18719
|
+
if ("inboxOf" in values && values.inboxOf != null) if (values.inboxOf instanceof Object$1 || values.inboxOf instanceof URL) clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [values.inboxOf];
|
18720
|
+
else throw new TypeError("The inboxOf must be of type Object | URL.");
|
18721
|
+
clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;
|
18722
|
+
if ("outboxOf" in values && values.outboxOf != null) if (values.outboxOf instanceof Object$1 || values.outboxOf instanceof URL) clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [values.outboxOf];
|
18723
|
+
else throw new TypeError("The outboxOf must be of type Object | URL.");
|
18724
|
+
clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;
|
18725
|
+
if ("followersOf" in values && values.followersOf != null) if (values.followersOf instanceof Object$1 || values.followersOf instanceof URL) clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [values.followersOf];
|
18726
|
+
else throw new TypeError("The followersOf must be of type Object | URL.");
|
18727
|
+
clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;
|
18728
|
+
if ("followingOf" in values && values.followingOf != null) if (values.followingOf instanceof Object$1 || values.followingOf instanceof URL) clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [values.followingOf];
|
18729
|
+
else throw new TypeError("The followingOf must be of type Object | URL.");
|
18730
|
+
clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;
|
18731
|
+
if ("likedOf" in values && values.likedOf != null) if (values.likedOf instanceof Object$1 || values.likedOf instanceof URL) clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [values.likedOf];
|
18732
|
+
else throw new TypeError("The likedOf must be of type Object | URL.");
|
18651
18733
|
return clone;
|
18652
18734
|
}
|
18653
18735
|
/** A non-negative integer specifying the total number of objects contained by
|
@@ -18663,7 +18745,7 @@ var Collection = class Collection extends Object$1 {
|
|
18663
18745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18664
18746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18665
18747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18666
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18748
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18667
18749
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18668
18750
|
let fetchResult;
|
18669
18751
|
try {
|
@@ -18763,7 +18845,7 @@ var Collection = class Collection extends Object$1 {
|
|
18763
18845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18764
18846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18765
18847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18766
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18848
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18767
18849
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18768
18850
|
let fetchResult;
|
18769
18851
|
try {
|
@@ -18811,12 +18893,819 @@ var Collection = class Collection extends Object$1 {
|
|
18811
18893
|
}
|
18812
18894
|
});
|
18813
18895
|
}
|
18814
|
-
async #first_fromJsonLd(jsonLd, options) {
|
18896
|
+
async #first_fromJsonLd(jsonLd, options) {
|
18897
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18898
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18899
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18900
|
+
try {
|
18901
|
+
return await CollectionPage.fromJsonLd(jsonLd, {
|
18902
|
+
documentLoader,
|
18903
|
+
contextLoader,
|
18904
|
+
tracerProvider
|
18905
|
+
});
|
18906
|
+
} catch (e) {
|
18907
|
+
if (!(e instanceof TypeError)) throw e;
|
18908
|
+
}
|
18909
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#CollectionPage"].join(", "));
|
18910
|
+
}
|
18911
|
+
/**
|
18912
|
+
* Similar to
|
18913
|
+
* {@link Collection.getFirst},
|
18914
|
+
* but returns its `@id` URL instead of the object itself.
|
18915
|
+
*/
|
18916
|
+
get firstId() {
|
18917
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
18918
|
+
if (this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.length < 1) return null;
|
18919
|
+
const v = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first[0];
|
18920
|
+
if (v instanceof URL) return v;
|
18921
|
+
return v.id;
|
18922
|
+
}
|
18923
|
+
/** In a paged {@link Collection}, indicates the furthest preceding page of
|
18924
|
+
* items in the collection.
|
18925
|
+
*/
|
18926
|
+
async getFirst(options = {}) {
|
18927
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
18928
|
+
if (this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first.length < 1) return null;
|
18929
|
+
const v = this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first[0];
|
18930
|
+
if (v instanceof URL) {
|
18931
|
+
const fetched = await this.#fetchFirst(v, options);
|
18932
|
+
if (fetched == null) return null;
|
18933
|
+
this.#_J52RqweMe6hhv7RnLJMC8BExTE5_first[0] = fetched;
|
18934
|
+
this._cachedJsonLd = void 0;
|
18935
|
+
return fetched;
|
18936
|
+
}
|
18937
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "first" in this._cachedJsonLd) {
|
18938
|
+
const prop = this._cachedJsonLd["first"];
|
18939
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
18940
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#first_fromJsonLd(obj, options);
|
18941
|
+
}
|
18942
|
+
return v;
|
18943
|
+
}
|
18944
|
+
async #fetchLast(url, options = {}) {
|
18945
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18946
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18947
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18948
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18949
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18950
|
+
let fetchResult;
|
18951
|
+
try {
|
18952
|
+
fetchResult = await documentLoader(url.href);
|
18953
|
+
} catch (error) {
|
18954
|
+
span.setStatus({
|
18955
|
+
code: SpanStatusCode.ERROR,
|
18956
|
+
message: String(error)
|
18957
|
+
});
|
18958
|
+
span.end();
|
18959
|
+
if (options.suppressError) {
|
18960
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
18961
|
+
error,
|
18962
|
+
url: url.href
|
18963
|
+
});
|
18964
|
+
return null;
|
18965
|
+
}
|
18966
|
+
throw error;
|
18967
|
+
}
|
18968
|
+
const { document } = fetchResult;
|
18969
|
+
try {
|
18970
|
+
const obj = await this.#last_fromJsonLd(document, {
|
18971
|
+
documentLoader,
|
18972
|
+
contextLoader,
|
18973
|
+
tracerProvider
|
18974
|
+
});
|
18975
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
18976
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
18977
|
+
return obj;
|
18978
|
+
} catch (e) {
|
18979
|
+
if (options.suppressError) {
|
18980
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
18981
|
+
error: e,
|
18982
|
+
url: url.href
|
18983
|
+
});
|
18984
|
+
return null;
|
18985
|
+
}
|
18986
|
+
span.setStatus({
|
18987
|
+
code: SpanStatusCode.ERROR,
|
18988
|
+
message: String(e)
|
18989
|
+
});
|
18990
|
+
throw e;
|
18991
|
+
} finally {
|
18992
|
+
span.end();
|
18993
|
+
}
|
18994
|
+
});
|
18995
|
+
}
|
18996
|
+
async #last_fromJsonLd(jsonLd, options) {
|
18997
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18998
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18999
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19000
|
+
try {
|
19001
|
+
return await CollectionPage.fromJsonLd(jsonLd, {
|
19002
|
+
documentLoader,
|
19003
|
+
contextLoader,
|
19004
|
+
tracerProvider
|
19005
|
+
});
|
19006
|
+
} catch (e) {
|
19007
|
+
if (!(e instanceof TypeError)) throw e;
|
19008
|
+
}
|
19009
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#CollectionPage"].join(", "));
|
19010
|
+
}
|
19011
|
+
/**
|
19012
|
+
* Similar to
|
19013
|
+
* {@link Collection.getLast},
|
19014
|
+
* but returns its `@id` URL instead of the object itself.
|
19015
|
+
*/
|
19016
|
+
get lastId() {
|
19017
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19018
|
+
if (this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.length < 1) return null;
|
19019
|
+
const v = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last[0];
|
19020
|
+
if (v instanceof URL) return v;
|
19021
|
+
return v.id;
|
19022
|
+
}
|
19023
|
+
/** In a paged {@link Collection}, indicates the furthest proceeding page of
|
19024
|
+
* the collection.
|
19025
|
+
*/
|
19026
|
+
async getLast(options = {}) {
|
19027
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19028
|
+
if (this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last.length < 1) return null;
|
19029
|
+
const v = this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last[0];
|
19030
|
+
if (v instanceof URL) {
|
19031
|
+
const fetched = await this.#fetchLast(v, options);
|
19032
|
+
if (fetched == null) return null;
|
19033
|
+
this.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last[0] = fetched;
|
19034
|
+
this._cachedJsonLd = void 0;
|
19035
|
+
return fetched;
|
19036
|
+
}
|
19037
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "last" in this._cachedJsonLd) {
|
19038
|
+
const prop = this._cachedJsonLd["last"];
|
19039
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19040
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#last_fromJsonLd(obj, options);
|
19041
|
+
}
|
19042
|
+
return v;
|
19043
|
+
}
|
19044
|
+
async #fetchItem(url, options = {}) {
|
19045
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19046
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19047
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19048
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19049
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19050
|
+
let fetchResult;
|
19051
|
+
try {
|
19052
|
+
fetchResult = await documentLoader(url.href);
|
19053
|
+
} catch (error) {
|
19054
|
+
span.setStatus({
|
19055
|
+
code: SpanStatusCode.ERROR,
|
19056
|
+
message: String(error)
|
19057
|
+
});
|
19058
|
+
span.end();
|
19059
|
+
if (options.suppressError) {
|
19060
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19061
|
+
error,
|
19062
|
+
url: url.href
|
19063
|
+
});
|
19064
|
+
return null;
|
19065
|
+
}
|
19066
|
+
throw error;
|
19067
|
+
}
|
19068
|
+
const { document } = fetchResult;
|
19069
|
+
try {
|
19070
|
+
const obj = await this.#item_fromJsonLd(document, {
|
19071
|
+
documentLoader,
|
19072
|
+
contextLoader,
|
19073
|
+
tracerProvider
|
19074
|
+
});
|
19075
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19076
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19077
|
+
return obj;
|
19078
|
+
} catch (e) {
|
19079
|
+
if (options.suppressError) {
|
19080
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19081
|
+
error: e,
|
19082
|
+
url: url.href
|
19083
|
+
});
|
19084
|
+
return null;
|
19085
|
+
}
|
19086
|
+
span.setStatus({
|
19087
|
+
code: SpanStatusCode.ERROR,
|
19088
|
+
message: String(e)
|
19089
|
+
});
|
19090
|
+
throw e;
|
19091
|
+
} finally {
|
19092
|
+
span.end();
|
19093
|
+
}
|
19094
|
+
});
|
19095
|
+
}
|
19096
|
+
async #item_fromJsonLd(jsonLd, options) {
|
19097
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19098
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19099
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19100
|
+
try {
|
19101
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
19102
|
+
documentLoader,
|
19103
|
+
contextLoader,
|
19104
|
+
tracerProvider
|
19105
|
+
});
|
19106
|
+
} catch (e) {
|
19107
|
+
if (!(e instanceof TypeError)) throw e;
|
19108
|
+
}
|
19109
|
+
try {
|
19110
|
+
return await Link.fromJsonLd(jsonLd, {
|
19111
|
+
documentLoader,
|
19112
|
+
contextLoader,
|
19113
|
+
tracerProvider
|
19114
|
+
});
|
19115
|
+
} catch (e) {
|
19116
|
+
if (!(e instanceof TypeError)) throw e;
|
19117
|
+
}
|
19118
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object", "https://www.w3.org/ns/activitystreams#Link"].join(", "));
|
19119
|
+
}
|
19120
|
+
/**
|
19121
|
+
* Similar to
|
19122
|
+
* {@link Collection.getItems},
|
19123
|
+
* but returns their `@id`s instead of the objects themselves.
|
19124
|
+
*/
|
19125
|
+
get itemIds() {
|
19126
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19127
|
+
return this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.map((v) => v instanceof URL ? v : v.id).filter((id) => id !== null);
|
19128
|
+
}
|
19129
|
+
/** Identifies the items contained in a collection. The items might be ordered
|
19130
|
+
* or unordered.
|
19131
|
+
*/
|
19132
|
+
async *getItems(options = {}) {
|
19133
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19134
|
+
const vs = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
|
19135
|
+
for (let i = 0; i < vs.length; i++) {
|
19136
|
+
const v = vs[i];
|
19137
|
+
if (v instanceof URL) {
|
19138
|
+
const fetched = await this.#fetchItem(v, options);
|
19139
|
+
if (fetched == null) continue;
|
19140
|
+
vs[i] = fetched;
|
19141
|
+
this._cachedJsonLd = void 0;
|
19142
|
+
yield fetched;
|
19143
|
+
continue;
|
19144
|
+
}
|
19145
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "items" in this._cachedJsonLd) {
|
19146
|
+
const prop = this._cachedJsonLd["items"];
|
19147
|
+
const obj = Array.isArray(prop) ? prop[i] : prop;
|
19148
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) {
|
19149
|
+
yield await this.#item_fromJsonLd(obj, options);
|
19150
|
+
continue;
|
19151
|
+
}
|
19152
|
+
}
|
19153
|
+
yield v;
|
19154
|
+
}
|
19155
|
+
}
|
19156
|
+
async #fetchLikesOf(url, options = {}) {
|
19157
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19158
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19159
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19160
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19161
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19162
|
+
let fetchResult;
|
19163
|
+
try {
|
19164
|
+
fetchResult = await documentLoader(url.href);
|
19165
|
+
} catch (error) {
|
19166
|
+
span.setStatus({
|
19167
|
+
code: SpanStatusCode.ERROR,
|
19168
|
+
message: String(error)
|
19169
|
+
});
|
19170
|
+
span.end();
|
19171
|
+
if (options.suppressError) {
|
19172
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19173
|
+
error,
|
19174
|
+
url: url.href
|
19175
|
+
});
|
19176
|
+
return null;
|
19177
|
+
}
|
19178
|
+
throw error;
|
19179
|
+
}
|
19180
|
+
const { document } = fetchResult;
|
19181
|
+
try {
|
19182
|
+
const obj = await this.#likesOf_fromJsonLd(document, {
|
19183
|
+
documentLoader,
|
19184
|
+
contextLoader,
|
19185
|
+
tracerProvider
|
19186
|
+
});
|
19187
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19188
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19189
|
+
return obj;
|
19190
|
+
} catch (e) {
|
19191
|
+
if (options.suppressError) {
|
19192
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19193
|
+
error: e,
|
19194
|
+
url: url.href
|
19195
|
+
});
|
19196
|
+
return null;
|
19197
|
+
}
|
19198
|
+
span.setStatus({
|
19199
|
+
code: SpanStatusCode.ERROR,
|
19200
|
+
message: String(e)
|
19201
|
+
});
|
19202
|
+
throw e;
|
19203
|
+
} finally {
|
19204
|
+
span.end();
|
19205
|
+
}
|
19206
|
+
});
|
19207
|
+
}
|
19208
|
+
async #likesOf_fromJsonLd(jsonLd, options) {
|
19209
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19210
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19211
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19212
|
+
try {
|
19213
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
19214
|
+
documentLoader,
|
19215
|
+
contextLoader,
|
19216
|
+
tracerProvider
|
19217
|
+
});
|
19218
|
+
} catch (e) {
|
19219
|
+
if (!(e instanceof TypeError)) throw e;
|
19220
|
+
}
|
19221
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
19222
|
+
}
|
19223
|
+
/**
|
19224
|
+
* Similar to
|
19225
|
+
* {@link Collection.getLikesOf},
|
19226
|
+
* but returns its `@id` URL instead of the object itself.
|
19227
|
+
*/
|
19228
|
+
get likesOfId() {
|
19229
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19230
|
+
if (this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.length < 1) return null;
|
19231
|
+
const v = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0];
|
19232
|
+
if (v instanceof URL) return v;
|
19233
|
+
return v.id;
|
19234
|
+
}
|
19235
|
+
/** Defines an object for which the collection is the value of the likes property.
|
19236
|
+
*/
|
19237
|
+
async getLikesOf(options = {}) {
|
19238
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19239
|
+
if (this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.length < 1) return null;
|
19240
|
+
const v = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0];
|
19241
|
+
if (v instanceof URL) {
|
19242
|
+
const fetched = await this.#fetchLikesOf(v, options);
|
19243
|
+
if (fetched == null) return null;
|
19244
|
+
this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0] = fetched;
|
19245
|
+
this._cachedJsonLd = void 0;
|
19246
|
+
return fetched;
|
19247
|
+
}
|
19248
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "likesOf" in this._cachedJsonLd) {
|
19249
|
+
const prop = this._cachedJsonLd["likesOf"];
|
19250
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19251
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#likesOf_fromJsonLd(obj, options);
|
19252
|
+
}
|
19253
|
+
return v;
|
19254
|
+
}
|
19255
|
+
async #fetchSharesOf(url, options = {}) {
|
19256
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19257
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19258
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19259
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19260
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19261
|
+
let fetchResult;
|
19262
|
+
try {
|
19263
|
+
fetchResult = await documentLoader(url.href);
|
19264
|
+
} catch (error) {
|
19265
|
+
span.setStatus({
|
19266
|
+
code: SpanStatusCode.ERROR,
|
19267
|
+
message: String(error)
|
19268
|
+
});
|
19269
|
+
span.end();
|
19270
|
+
if (options.suppressError) {
|
19271
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19272
|
+
error,
|
19273
|
+
url: url.href
|
19274
|
+
});
|
19275
|
+
return null;
|
19276
|
+
}
|
19277
|
+
throw error;
|
19278
|
+
}
|
19279
|
+
const { document } = fetchResult;
|
19280
|
+
try {
|
19281
|
+
const obj = await this.#sharesOf_fromJsonLd(document, {
|
19282
|
+
documentLoader,
|
19283
|
+
contextLoader,
|
19284
|
+
tracerProvider
|
19285
|
+
});
|
19286
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19287
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19288
|
+
return obj;
|
19289
|
+
} catch (e) {
|
19290
|
+
if (options.suppressError) {
|
19291
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19292
|
+
error: e,
|
19293
|
+
url: url.href
|
19294
|
+
});
|
19295
|
+
return null;
|
19296
|
+
}
|
19297
|
+
span.setStatus({
|
19298
|
+
code: SpanStatusCode.ERROR,
|
19299
|
+
message: String(e)
|
19300
|
+
});
|
19301
|
+
throw e;
|
19302
|
+
} finally {
|
19303
|
+
span.end();
|
19304
|
+
}
|
19305
|
+
});
|
19306
|
+
}
|
19307
|
+
async #sharesOf_fromJsonLd(jsonLd, options) {
|
19308
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19309
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19310
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19311
|
+
try {
|
19312
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
19313
|
+
documentLoader,
|
19314
|
+
contextLoader,
|
19315
|
+
tracerProvider
|
19316
|
+
});
|
19317
|
+
} catch (e) {
|
19318
|
+
if (!(e instanceof TypeError)) throw e;
|
19319
|
+
}
|
19320
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
19321
|
+
}
|
19322
|
+
/**
|
19323
|
+
* Similar to
|
19324
|
+
* {@link Collection.getSharesOf},
|
19325
|
+
* but returns its `@id` URL instead of the object itself.
|
19326
|
+
*/
|
19327
|
+
get sharesOfId() {
|
19328
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19329
|
+
if (this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.length < 1) return null;
|
19330
|
+
const v = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0];
|
19331
|
+
if (v instanceof URL) return v;
|
19332
|
+
return v.id;
|
19333
|
+
}
|
19334
|
+
/** Defines an object for which the collection is the value of the shares property.
|
19335
|
+
*/
|
19336
|
+
async getSharesOf(options = {}) {
|
19337
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19338
|
+
if (this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.length < 1) return null;
|
19339
|
+
const v = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0];
|
19340
|
+
if (v instanceof URL) {
|
19341
|
+
const fetched = await this.#fetchSharesOf(v, options);
|
19342
|
+
if (fetched == null) return null;
|
19343
|
+
this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0] = fetched;
|
19344
|
+
this._cachedJsonLd = void 0;
|
19345
|
+
return fetched;
|
19346
|
+
}
|
19347
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "sharesOf" in this._cachedJsonLd) {
|
19348
|
+
const prop = this._cachedJsonLd["sharesOf"];
|
19349
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19350
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#sharesOf_fromJsonLd(obj, options);
|
19351
|
+
}
|
19352
|
+
return v;
|
19353
|
+
}
|
19354
|
+
async #fetchRepliesOf(url, options = {}) {
|
19355
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19356
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19357
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19358
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19359
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19360
|
+
let fetchResult;
|
19361
|
+
try {
|
19362
|
+
fetchResult = await documentLoader(url.href);
|
19363
|
+
} catch (error) {
|
19364
|
+
span.setStatus({
|
19365
|
+
code: SpanStatusCode.ERROR,
|
19366
|
+
message: String(error)
|
19367
|
+
});
|
19368
|
+
span.end();
|
19369
|
+
if (options.suppressError) {
|
19370
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19371
|
+
error,
|
19372
|
+
url: url.href
|
19373
|
+
});
|
19374
|
+
return null;
|
19375
|
+
}
|
19376
|
+
throw error;
|
19377
|
+
}
|
19378
|
+
const { document } = fetchResult;
|
19379
|
+
try {
|
19380
|
+
const obj = await this.#repliesOf_fromJsonLd(document, {
|
19381
|
+
documentLoader,
|
19382
|
+
contextLoader,
|
19383
|
+
tracerProvider
|
19384
|
+
});
|
19385
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19386
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19387
|
+
return obj;
|
19388
|
+
} catch (e) {
|
19389
|
+
if (options.suppressError) {
|
19390
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19391
|
+
error: e,
|
19392
|
+
url: url.href
|
19393
|
+
});
|
19394
|
+
return null;
|
19395
|
+
}
|
19396
|
+
span.setStatus({
|
19397
|
+
code: SpanStatusCode.ERROR,
|
19398
|
+
message: String(e)
|
19399
|
+
});
|
19400
|
+
throw e;
|
19401
|
+
} finally {
|
19402
|
+
span.end();
|
19403
|
+
}
|
19404
|
+
});
|
19405
|
+
}
|
19406
|
+
async #repliesOf_fromJsonLd(jsonLd, options) {
|
19407
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19408
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19409
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19410
|
+
try {
|
19411
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
19412
|
+
documentLoader,
|
19413
|
+
contextLoader,
|
19414
|
+
tracerProvider
|
19415
|
+
});
|
19416
|
+
} catch (e) {
|
19417
|
+
if (!(e instanceof TypeError)) throw e;
|
19418
|
+
}
|
19419
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
19420
|
+
}
|
19421
|
+
/**
|
19422
|
+
* Similar to
|
19423
|
+
* {@link Collection.getRepliesOf},
|
19424
|
+
* but returns its `@id` URL instead of the object itself.
|
19425
|
+
*/
|
19426
|
+
get repliesOfId() {
|
19427
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19428
|
+
if (this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.length < 1) return null;
|
19429
|
+
const v = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0];
|
19430
|
+
if (v instanceof URL) return v;
|
19431
|
+
return v.id;
|
19432
|
+
}
|
19433
|
+
/** Defines an object for which the collection is the value of the replies property.
|
19434
|
+
*/
|
19435
|
+
async getRepliesOf(options = {}) {
|
19436
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19437
|
+
if (this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.length < 1) return null;
|
19438
|
+
const v = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0];
|
19439
|
+
if (v instanceof URL) {
|
19440
|
+
const fetched = await this.#fetchRepliesOf(v, options);
|
19441
|
+
if (fetched == null) return null;
|
19442
|
+
this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0] = fetched;
|
19443
|
+
this._cachedJsonLd = void 0;
|
19444
|
+
return fetched;
|
19445
|
+
}
|
19446
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "repliesOf" in this._cachedJsonLd) {
|
19447
|
+
const prop = this._cachedJsonLd["repliesOf"];
|
19448
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19449
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#repliesOf_fromJsonLd(obj, options);
|
19450
|
+
}
|
19451
|
+
return v;
|
19452
|
+
}
|
19453
|
+
async #fetchInboxOf(url, options = {}) {
|
19454
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19455
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19456
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19457
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19458
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19459
|
+
let fetchResult;
|
19460
|
+
try {
|
19461
|
+
fetchResult = await documentLoader(url.href);
|
19462
|
+
} catch (error) {
|
19463
|
+
span.setStatus({
|
19464
|
+
code: SpanStatusCode.ERROR,
|
19465
|
+
message: String(error)
|
19466
|
+
});
|
19467
|
+
span.end();
|
19468
|
+
if (options.suppressError) {
|
19469
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19470
|
+
error,
|
19471
|
+
url: url.href
|
19472
|
+
});
|
19473
|
+
return null;
|
19474
|
+
}
|
19475
|
+
throw error;
|
19476
|
+
}
|
19477
|
+
const { document } = fetchResult;
|
19478
|
+
try {
|
19479
|
+
const obj = await this.#inboxOf_fromJsonLd(document, {
|
19480
|
+
documentLoader,
|
19481
|
+
contextLoader,
|
19482
|
+
tracerProvider
|
19483
|
+
});
|
19484
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19485
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19486
|
+
return obj;
|
19487
|
+
} catch (e) {
|
19488
|
+
if (options.suppressError) {
|
19489
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19490
|
+
error: e,
|
19491
|
+
url: url.href
|
19492
|
+
});
|
19493
|
+
return null;
|
19494
|
+
}
|
19495
|
+
span.setStatus({
|
19496
|
+
code: SpanStatusCode.ERROR,
|
19497
|
+
message: String(e)
|
19498
|
+
});
|
19499
|
+
throw e;
|
19500
|
+
} finally {
|
19501
|
+
span.end();
|
19502
|
+
}
|
19503
|
+
});
|
19504
|
+
}
|
19505
|
+
async #inboxOf_fromJsonLd(jsonLd, options) {
|
19506
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19507
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19508
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19509
|
+
try {
|
19510
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
19511
|
+
documentLoader,
|
19512
|
+
contextLoader,
|
19513
|
+
tracerProvider
|
19514
|
+
});
|
19515
|
+
} catch (e) {
|
19516
|
+
if (!(e instanceof TypeError)) throw e;
|
19517
|
+
}
|
19518
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
19519
|
+
}
|
19520
|
+
/**
|
19521
|
+
* Similar to
|
19522
|
+
* {@link Collection.getInboxOf},
|
19523
|
+
* but returns its `@id` URL instead of the object itself.
|
19524
|
+
*/
|
19525
|
+
get inboxOfId() {
|
19526
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19527
|
+
if (this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.length < 1) return null;
|
19528
|
+
const v = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0];
|
19529
|
+
if (v instanceof URL) return v;
|
19530
|
+
return v.id;
|
19531
|
+
}
|
19532
|
+
/** Defines an actor for which the collection is the value of the inbox property.
|
19533
|
+
*/
|
19534
|
+
async getInboxOf(options = {}) {
|
19535
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19536
|
+
if (this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.length < 1) return null;
|
19537
|
+
const v = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0];
|
19538
|
+
if (v instanceof URL) {
|
19539
|
+
const fetched = await this.#fetchInboxOf(v, options);
|
19540
|
+
if (fetched == null) return null;
|
19541
|
+
this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0] = fetched;
|
19542
|
+
this._cachedJsonLd = void 0;
|
19543
|
+
return fetched;
|
19544
|
+
}
|
19545
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "inboxOf" in this._cachedJsonLd) {
|
19546
|
+
const prop = this._cachedJsonLd["inboxOf"];
|
19547
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19548
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#inboxOf_fromJsonLd(obj, options);
|
19549
|
+
}
|
19550
|
+
return v;
|
19551
|
+
}
|
19552
|
+
async #fetchOutboxOf(url, options = {}) {
|
19553
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19554
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19555
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19556
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19557
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19558
|
+
let fetchResult;
|
19559
|
+
try {
|
19560
|
+
fetchResult = await documentLoader(url.href);
|
19561
|
+
} catch (error) {
|
19562
|
+
span.setStatus({
|
19563
|
+
code: SpanStatusCode.ERROR,
|
19564
|
+
message: String(error)
|
19565
|
+
});
|
19566
|
+
span.end();
|
19567
|
+
if (options.suppressError) {
|
19568
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19569
|
+
error,
|
19570
|
+
url: url.href
|
19571
|
+
});
|
19572
|
+
return null;
|
19573
|
+
}
|
19574
|
+
throw error;
|
19575
|
+
}
|
19576
|
+
const { document } = fetchResult;
|
19577
|
+
try {
|
19578
|
+
const obj = await this.#outboxOf_fromJsonLd(document, {
|
19579
|
+
documentLoader,
|
19580
|
+
contextLoader,
|
19581
|
+
tracerProvider
|
19582
|
+
});
|
19583
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19584
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19585
|
+
return obj;
|
19586
|
+
} catch (e) {
|
19587
|
+
if (options.suppressError) {
|
19588
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19589
|
+
error: e,
|
19590
|
+
url: url.href
|
19591
|
+
});
|
19592
|
+
return null;
|
19593
|
+
}
|
19594
|
+
span.setStatus({
|
19595
|
+
code: SpanStatusCode.ERROR,
|
19596
|
+
message: String(e)
|
19597
|
+
});
|
19598
|
+
throw e;
|
19599
|
+
} finally {
|
19600
|
+
span.end();
|
19601
|
+
}
|
19602
|
+
});
|
19603
|
+
}
|
19604
|
+
async #outboxOf_fromJsonLd(jsonLd, options) {
|
19605
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19606
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19607
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19608
|
+
try {
|
19609
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
19610
|
+
documentLoader,
|
19611
|
+
contextLoader,
|
19612
|
+
tracerProvider
|
19613
|
+
});
|
19614
|
+
} catch (e) {
|
19615
|
+
if (!(e instanceof TypeError)) throw e;
|
19616
|
+
}
|
19617
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
19618
|
+
}
|
19619
|
+
/**
|
19620
|
+
* Similar to
|
19621
|
+
* {@link Collection.getOutboxOf},
|
19622
|
+
* but returns its `@id` URL instead of the object itself.
|
19623
|
+
*/
|
19624
|
+
get outboxOfId() {
|
19625
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19626
|
+
if (this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.length < 1) return null;
|
19627
|
+
const v = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0];
|
19628
|
+
if (v instanceof URL) return v;
|
19629
|
+
return v.id;
|
19630
|
+
}
|
19631
|
+
/** Defines an actor for which the collection is the value of the outbox property.
|
19632
|
+
*/
|
19633
|
+
async getOutboxOf(options = {}) {
|
19634
|
+
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19635
|
+
if (this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.length < 1) return null;
|
19636
|
+
const v = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0];
|
19637
|
+
if (v instanceof URL) {
|
19638
|
+
const fetched = await this.#fetchOutboxOf(v, options);
|
19639
|
+
if (fetched == null) return null;
|
19640
|
+
this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0] = fetched;
|
19641
|
+
this._cachedJsonLd = void 0;
|
19642
|
+
return fetched;
|
19643
|
+
}
|
19644
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "outboxOf" in this._cachedJsonLd) {
|
19645
|
+
const prop = this._cachedJsonLd["outboxOf"];
|
19646
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19647
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#outboxOf_fromJsonLd(obj, options);
|
19648
|
+
}
|
19649
|
+
return v;
|
19650
|
+
}
|
19651
|
+
async #fetchFollowersOf(url, options = {}) {
|
19652
|
+
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19653
|
+
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19654
|
+
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19655
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19656
|
+
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19657
|
+
let fetchResult;
|
19658
|
+
try {
|
19659
|
+
fetchResult = await documentLoader(url.href);
|
19660
|
+
} catch (error) {
|
19661
|
+
span.setStatus({
|
19662
|
+
code: SpanStatusCode.ERROR,
|
19663
|
+
message: String(error)
|
19664
|
+
});
|
19665
|
+
span.end();
|
19666
|
+
if (options.suppressError) {
|
19667
|
+
getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
|
19668
|
+
error,
|
19669
|
+
url: url.href
|
19670
|
+
});
|
19671
|
+
return null;
|
19672
|
+
}
|
19673
|
+
throw error;
|
19674
|
+
}
|
19675
|
+
const { document } = fetchResult;
|
19676
|
+
try {
|
19677
|
+
const obj = await this.#followersOf_fromJsonLd(document, {
|
19678
|
+
documentLoader,
|
19679
|
+
contextLoader,
|
19680
|
+
tracerProvider
|
19681
|
+
});
|
19682
|
+
span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
|
19683
|
+
span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
|
19684
|
+
return obj;
|
19685
|
+
} catch (e) {
|
19686
|
+
if (options.suppressError) {
|
19687
|
+
getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
|
19688
|
+
error: e,
|
19689
|
+
url: url.href
|
19690
|
+
});
|
19691
|
+
return null;
|
19692
|
+
}
|
19693
|
+
span.setStatus({
|
19694
|
+
code: SpanStatusCode.ERROR,
|
19695
|
+
message: String(e)
|
19696
|
+
});
|
19697
|
+
throw e;
|
19698
|
+
} finally {
|
19699
|
+
span.end();
|
19700
|
+
}
|
19701
|
+
});
|
19702
|
+
}
|
19703
|
+
async #followersOf_fromJsonLd(jsonLd, options) {
|
18815
19704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18816
19705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18817
19706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18818
19707
|
try {
|
18819
|
-
return await
|
19708
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
18820
19709
|
documentLoader,
|
18821
19710
|
contextLoader,
|
18822
19711
|
tracerProvider
|
@@ -18824,46 +19713,45 @@ var Collection = class Collection extends Object$1 {
|
|
18824
19713
|
} catch (e) {
|
18825
19714
|
if (!(e instanceof TypeError)) throw e;
|
18826
19715
|
}
|
18827
|
-
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#
|
19716
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
18828
19717
|
}
|
18829
19718
|
/**
|
18830
19719
|
* Similar to
|
18831
|
-
* {@link Collection.
|
19720
|
+
* {@link Collection.getFollowersOf},
|
18832
19721
|
* but returns its `@id` URL instead of the object itself.
|
18833
19722
|
*/
|
18834
|
-
get
|
19723
|
+
get followersOfId() {
|
18835
19724
|
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
18836
|
-
if (this.#
|
18837
|
-
const v = this.#
|
19725
|
+
if (this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.length < 1) return null;
|
19726
|
+
const v = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0];
|
18838
19727
|
if (v instanceof URL) return v;
|
18839
19728
|
return v.id;
|
18840
19729
|
}
|
18841
|
-
/**
|
18842
|
-
* items in the collection.
|
19730
|
+
/** Defines an actor for which the collection is the value of the followers property.
|
18843
19731
|
*/
|
18844
|
-
async
|
19732
|
+
async getFollowersOf(options = {}) {
|
18845
19733
|
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
18846
|
-
if (this.#
|
18847
|
-
const v = this.#
|
19734
|
+
if (this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.length < 1) return null;
|
19735
|
+
const v = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0];
|
18848
19736
|
if (v instanceof URL) {
|
18849
|
-
const fetched = await this.#
|
19737
|
+
const fetched = await this.#fetchFollowersOf(v, options);
|
18850
19738
|
if (fetched == null) return null;
|
18851
|
-
this.#
|
19739
|
+
this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0] = fetched;
|
18852
19740
|
this._cachedJsonLd = void 0;
|
18853
19741
|
return fetched;
|
18854
19742
|
}
|
18855
|
-
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "
|
18856
|
-
const prop = this._cachedJsonLd["
|
19743
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "followersOf" in this._cachedJsonLd) {
|
19744
|
+
const prop = this._cachedJsonLd["followersOf"];
|
18857
19745
|
const obj = Array.isArray(prop) ? prop[0] : prop;
|
18858
|
-
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#
|
19746
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#followersOf_fromJsonLd(obj, options);
|
18859
19747
|
}
|
18860
19748
|
return v;
|
18861
19749
|
}
|
18862
|
-
async #
|
19750
|
+
async #fetchFollowingOf(url, options = {}) {
|
18863
19751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18864
19752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18865
19753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18866
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19754
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18867
19755
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18868
19756
|
let fetchResult;
|
18869
19757
|
try {
|
@@ -18885,7 +19773,7 @@ var Collection = class Collection extends Object$1 {
|
|
18885
19773
|
}
|
18886
19774
|
const { document } = fetchResult;
|
18887
19775
|
try {
|
18888
|
-
const obj = await this.#
|
19776
|
+
const obj = await this.#followingOf_fromJsonLd(document, {
|
18889
19777
|
documentLoader,
|
18890
19778
|
contextLoader,
|
18891
19779
|
tracerProvider
|
@@ -18911,12 +19799,12 @@ var Collection = class Collection extends Object$1 {
|
|
18911
19799
|
}
|
18912
19800
|
});
|
18913
19801
|
}
|
18914
|
-
async #
|
19802
|
+
async #followingOf_fromJsonLd(jsonLd, options) {
|
18915
19803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18916
19804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18917
19805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18918
19806
|
try {
|
18919
|
-
return await
|
19807
|
+
return await Object$1.fromJsonLd(jsonLd, {
|
18920
19808
|
documentLoader,
|
18921
19809
|
contextLoader,
|
18922
19810
|
tracerProvider
|
@@ -18924,46 +19812,45 @@ var Collection = class Collection extends Object$1 {
|
|
18924
19812
|
} catch (e) {
|
18925
19813
|
if (!(e instanceof TypeError)) throw e;
|
18926
19814
|
}
|
18927
|
-
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#
|
19815
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
18928
19816
|
}
|
18929
19817
|
/**
|
18930
19818
|
* Similar to
|
18931
|
-
* {@link Collection.
|
19819
|
+
* {@link Collection.getFollowingOf},
|
18932
19820
|
* but returns its `@id` URL instead of the object itself.
|
18933
19821
|
*/
|
18934
|
-
get
|
19822
|
+
get followingOfId() {
|
18935
19823
|
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
18936
|
-
if (this.#
|
18937
|
-
const v = this.#
|
19824
|
+
if (this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.length < 1) return null;
|
19825
|
+
const v = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0];
|
18938
19826
|
if (v instanceof URL) return v;
|
18939
19827
|
return v.id;
|
18940
19828
|
}
|
18941
|
-
/**
|
18942
|
-
* the collection.
|
19829
|
+
/** Defines an actor for which the collection is the value of the following property.
|
18943
19830
|
*/
|
18944
|
-
async
|
19831
|
+
async getFollowingOf(options = {}) {
|
18945
19832
|
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
18946
|
-
if (this.#
|
18947
|
-
const v = this.#
|
19833
|
+
if (this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.length < 1) return null;
|
19834
|
+
const v = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0];
|
18948
19835
|
if (v instanceof URL) {
|
18949
|
-
const fetched = await this.#
|
19836
|
+
const fetched = await this.#fetchFollowingOf(v, options);
|
18950
19837
|
if (fetched == null) return null;
|
18951
|
-
this.#
|
19838
|
+
this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0] = fetched;
|
18952
19839
|
this._cachedJsonLd = void 0;
|
18953
19840
|
return fetched;
|
18954
19841
|
}
|
18955
|
-
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "
|
18956
|
-
const prop = this._cachedJsonLd["
|
19842
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "followingOf" in this._cachedJsonLd) {
|
19843
|
+
const prop = this._cachedJsonLd["followingOf"];
|
18957
19844
|
const obj = Array.isArray(prop) ? prop[0] : prop;
|
18958
|
-
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#
|
19845
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#followingOf_fromJsonLd(obj, options);
|
18959
19846
|
}
|
18960
19847
|
return v;
|
18961
19848
|
}
|
18962
|
-
async #
|
19849
|
+
async #fetchLikedOf(url, options = {}) {
|
18963
19850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18964
19851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18965
19852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18966
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19853
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
18967
19854
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18968
19855
|
let fetchResult;
|
18969
19856
|
try {
|
@@ -18985,7 +19872,7 @@ var Collection = class Collection extends Object$1 {
|
|
18985
19872
|
}
|
18986
19873
|
const { document } = fetchResult;
|
18987
19874
|
try {
|
18988
|
-
const obj = await this.#
|
19875
|
+
const obj = await this.#likedOf_fromJsonLd(document, {
|
18989
19876
|
documentLoader,
|
18990
19877
|
contextLoader,
|
18991
19878
|
tracerProvider
|
@@ -19011,7 +19898,7 @@ var Collection = class Collection extends Object$1 {
|
|
19011
19898
|
}
|
19012
19899
|
});
|
19013
19900
|
}
|
19014
|
-
async #
|
19901
|
+
async #likedOf_fromJsonLd(jsonLd, options) {
|
19015
19902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19016
19903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19017
19904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
@@ -19024,52 +19911,39 @@ var Collection = class Collection extends Object$1 {
|
|
19024
19911
|
} catch (e) {
|
19025
19912
|
if (!(e instanceof TypeError)) throw e;
|
19026
19913
|
}
|
19027
|
-
|
19028
|
-
return await Link.fromJsonLd(jsonLd, {
|
19029
|
-
documentLoader,
|
19030
|
-
contextLoader,
|
19031
|
-
tracerProvider
|
19032
|
-
});
|
19033
|
-
} catch (e) {
|
19034
|
-
if (!(e instanceof TypeError)) throw e;
|
19035
|
-
}
|
19036
|
-
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object", "https://www.w3.org/ns/activitystreams#Link"].join(", "));
|
19914
|
+
throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
|
19037
19915
|
}
|
19038
19916
|
/**
|
19039
19917
|
* Similar to
|
19040
|
-
* {@link Collection.
|
19041
|
-
* but returns
|
19918
|
+
* {@link Collection.getLikedOf},
|
19919
|
+
* but returns its `@id` URL instead of the object itself.
|
19042
19920
|
*/
|
19043
|
-
get
|
19921
|
+
get likedOfId() {
|
19044
19922
|
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19045
|
-
|
19923
|
+
if (this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.length < 1) return null;
|
19924
|
+
const v = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0];
|
19925
|
+
if (v instanceof URL) return v;
|
19926
|
+
return v.id;
|
19046
19927
|
}
|
19047
|
-
/**
|
19048
|
-
* or unordered.
|
19928
|
+
/** Defines an actor for which the collection is the value of the liked property.
|
19049
19929
|
*/
|
19050
|
-
async
|
19930
|
+
async getLikedOf(options = {}) {
|
19051
19931
|
if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
|
19052
|
-
|
19053
|
-
|
19054
|
-
|
19055
|
-
|
19056
|
-
|
19057
|
-
|
19058
|
-
|
19059
|
-
|
19060
|
-
|
19061
|
-
|
19062
|
-
|
19063
|
-
|
19064
|
-
|
19065
|
-
const obj = Array.isArray(prop) ? prop[i] : prop;
|
19066
|
-
if (obj != null && typeof obj === "object" && "@context" in obj) {
|
19067
|
-
yield await this.#item_fromJsonLd(obj, options);
|
19068
|
-
continue;
|
19069
|
-
}
|
19070
|
-
}
|
19071
|
-
yield v;
|
19932
|
+
if (this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.length < 1) return null;
|
19933
|
+
const v = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0];
|
19934
|
+
if (v instanceof URL) {
|
19935
|
+
const fetched = await this.#fetchLikedOf(v, options);
|
19936
|
+
if (fetched == null) return null;
|
19937
|
+
this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0] = fetched;
|
19938
|
+
this._cachedJsonLd = void 0;
|
19939
|
+
return fetched;
|
19940
|
+
}
|
19941
|
+
if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "likedOf" in this._cachedJsonLd) {
|
19942
|
+
const prop = this._cachedJsonLd["likedOf"];
|
19943
|
+
const obj = Array.isArray(prop) ? prop[0] : prop;
|
19944
|
+
if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#likedOf_fromJsonLd(obj, options);
|
19072
19945
|
}
|
19946
|
+
return v;
|
19073
19947
|
}
|
19074
19948
|
/**
|
19075
19949
|
* Converts this object to a JSON-LD structure.
|
@@ -19145,6 +20019,86 @@ var Collection = class Collection extends Object$1 {
|
|
19145
20019
|
compactItems.push(item);
|
19146
20020
|
}
|
19147
20021
|
if (compactItems.length > 0) result["items"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20022
|
+
compactItems = [];
|
20023
|
+
for (const v of this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf) {
|
20024
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20025
|
+
...options,
|
20026
|
+
format: void 0,
|
20027
|
+
context: void 0
|
20028
|
+
});
|
20029
|
+
compactItems.push(item);
|
20030
|
+
}
|
20031
|
+
if (compactItems.length > 0) result["likesOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20032
|
+
compactItems = [];
|
20033
|
+
for (const v of this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf) {
|
20034
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20035
|
+
...options,
|
20036
|
+
format: void 0,
|
20037
|
+
context: void 0
|
20038
|
+
});
|
20039
|
+
compactItems.push(item);
|
20040
|
+
}
|
20041
|
+
if (compactItems.length > 0) result["sharesOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20042
|
+
compactItems = [];
|
20043
|
+
for (const v of this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf) {
|
20044
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20045
|
+
...options,
|
20046
|
+
format: void 0,
|
20047
|
+
context: void 0
|
20048
|
+
});
|
20049
|
+
compactItems.push(item);
|
20050
|
+
}
|
20051
|
+
if (compactItems.length > 0) result["repliesOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20052
|
+
compactItems = [];
|
20053
|
+
for (const v of this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf) {
|
20054
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20055
|
+
...options,
|
20056
|
+
format: void 0,
|
20057
|
+
context: void 0
|
20058
|
+
});
|
20059
|
+
compactItems.push(item);
|
20060
|
+
}
|
20061
|
+
if (compactItems.length > 0) result["inboxOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20062
|
+
compactItems = [];
|
20063
|
+
for (const v of this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf) {
|
20064
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20065
|
+
...options,
|
20066
|
+
format: void 0,
|
20067
|
+
context: void 0
|
20068
|
+
});
|
20069
|
+
compactItems.push(item);
|
20070
|
+
}
|
20071
|
+
if (compactItems.length > 0) result["outboxOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20072
|
+
compactItems = [];
|
20073
|
+
for (const v of this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf) {
|
20074
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20075
|
+
...options,
|
20076
|
+
format: void 0,
|
20077
|
+
context: void 0
|
20078
|
+
});
|
20079
|
+
compactItems.push(item);
|
20080
|
+
}
|
20081
|
+
if (compactItems.length > 0) result["followersOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20082
|
+
compactItems = [];
|
20083
|
+
for (const v of this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf) {
|
20084
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20085
|
+
...options,
|
20086
|
+
format: void 0,
|
20087
|
+
context: void 0
|
20088
|
+
});
|
20089
|
+
compactItems.push(item);
|
20090
|
+
}
|
20091
|
+
if (compactItems.length > 0) result["followingOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
20092
|
+
compactItems = [];
|
20093
|
+
for (const v of this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf) {
|
20094
|
+
const item = v instanceof URL ? v.href : await v.toJsonLd({
|
20095
|
+
...options,
|
20096
|
+
format: void 0,
|
20097
|
+
context: void 0
|
20098
|
+
});
|
20099
|
+
compactItems.push(item);
|
20100
|
+
}
|
20101
|
+
if (compactItems.length > 0) result["likedOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
|
19148
20102
|
result["type"] = "Collection";
|
19149
20103
|
if (this.id != null) result["id"] = this.id.href;
|
19150
20104
|
result["@context"] = [
|
@@ -19225,6 +20179,78 @@ var Collection = class Collection extends Object$1 {
|
|
19225
20179
|
const propValue = array;
|
19226
20180
|
values["https://www.w3.org/ns/activitystreams#items"] = propValue;
|
19227
20181
|
}
|
20182
|
+
array = [];
|
20183
|
+
for (const v of this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf) {
|
20184
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20185
|
+
array.push(element);
|
20186
|
+
}
|
20187
|
+
if (array.length > 0) {
|
20188
|
+
const propValue = array;
|
20189
|
+
values["https://w3id.org/fep/5711#likesOf"] = propValue;
|
20190
|
+
}
|
20191
|
+
array = [];
|
20192
|
+
for (const v of this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf) {
|
20193
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20194
|
+
array.push(element);
|
20195
|
+
}
|
20196
|
+
if (array.length > 0) {
|
20197
|
+
const propValue = array;
|
20198
|
+
values["https://w3id.org/fep/5711#sharesOf"] = propValue;
|
20199
|
+
}
|
20200
|
+
array = [];
|
20201
|
+
for (const v of this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf) {
|
20202
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20203
|
+
array.push(element);
|
20204
|
+
}
|
20205
|
+
if (array.length > 0) {
|
20206
|
+
const propValue = array;
|
20207
|
+
values["https://w3id.org/fep/5711#repliesOf"] = propValue;
|
20208
|
+
}
|
20209
|
+
array = [];
|
20210
|
+
for (const v of this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf) {
|
20211
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20212
|
+
array.push(element);
|
20213
|
+
}
|
20214
|
+
if (array.length > 0) {
|
20215
|
+
const propValue = array;
|
20216
|
+
values["https://w3id.org/fep/5711#inboxOf"] = propValue;
|
20217
|
+
}
|
20218
|
+
array = [];
|
20219
|
+
for (const v of this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf) {
|
20220
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20221
|
+
array.push(element);
|
20222
|
+
}
|
20223
|
+
if (array.length > 0) {
|
20224
|
+
const propValue = array;
|
20225
|
+
values["https://w3id.org/fep/5711#outboxOf"] = propValue;
|
20226
|
+
}
|
20227
|
+
array = [];
|
20228
|
+
for (const v of this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf) {
|
20229
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20230
|
+
array.push(element);
|
20231
|
+
}
|
20232
|
+
if (array.length > 0) {
|
20233
|
+
const propValue = array;
|
20234
|
+
values["https://w3id.org/fep/5711#followersOf"] = propValue;
|
20235
|
+
}
|
20236
|
+
array = [];
|
20237
|
+
for (const v of this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf) {
|
20238
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20239
|
+
array.push(element);
|
20240
|
+
}
|
20241
|
+
if (array.length > 0) {
|
20242
|
+
const propValue = array;
|
20243
|
+
values["https://w3id.org/fep/5711#followingOf"] = propValue;
|
20244
|
+
}
|
20245
|
+
array = [];
|
20246
|
+
for (const v of this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf) {
|
20247
|
+
const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
|
20248
|
+
array.push(element);
|
20249
|
+
}
|
20250
|
+
if (array.length > 0) {
|
20251
|
+
const propValue = array;
|
20252
|
+
values["https://w3id.org/fep/5711#likedOf"] = propValue;
|
20253
|
+
}
|
19228
20254
|
values["@type"] = ["https://www.w3.org/ns/activitystreams#Collection"];
|
19229
20255
|
if (this.id != null) values["@id"] = this.id.href;
|
19230
20256
|
if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
|
@@ -19272,7 +20298,7 @@ var Collection = class Collection extends Object$1 {
|
|
19272
20298
|
*/
|
19273
20299
|
static async fromJsonLd(json, options = {}) {
|
19274
20300
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
19275
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20301
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19276
20302
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
19277
20303
|
try {
|
19278
20304
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
@@ -19433,6 +20459,94 @@ var Collection = class Collection extends Object$1 {
|
|
19433
20459
|
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(decoded);
|
19434
20460
|
}
|
19435
20461
|
instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
|
20462
|
+
const _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [];
|
20463
|
+
let _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array = values["https://w3id.org/fep/5711#likesOf"];
|
20464
|
+
for (const v of _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array == null ? [] : _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array.length === 1 && "@list" in _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array[0] ? _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array[0]["@list"] : _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array) {
|
20465
|
+
if (v == null) continue;
|
20466
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20467
|
+
_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20468
|
+
continue;
|
20469
|
+
}
|
20470
|
+
_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.push(await Object$1.fromJsonLd(v, options));
|
20471
|
+
}
|
20472
|
+
instance.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;
|
20473
|
+
const _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [];
|
20474
|
+
let _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array = values["https://w3id.org/fep/5711#sharesOf"];
|
20475
|
+
for (const v of _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array == null ? [] : _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array.length === 1 && "@list" in _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array[0] ? _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array[0]["@list"] : _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array) {
|
20476
|
+
if (v == null) continue;
|
20477
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20478
|
+
_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20479
|
+
continue;
|
20480
|
+
}
|
20481
|
+
_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.push(await Object$1.fromJsonLd(v, options));
|
20482
|
+
}
|
20483
|
+
instance.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;
|
20484
|
+
const _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [];
|
20485
|
+
let _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array = values["https://w3id.org/fep/5711#repliesOf"];
|
20486
|
+
for (const v of _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array == null ? [] : _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array.length === 1 && "@list" in _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array[0] ? _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array[0]["@list"] : _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array) {
|
20487
|
+
if (v == null) continue;
|
20488
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20489
|
+
_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20490
|
+
continue;
|
20491
|
+
}
|
20492
|
+
_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.push(await Object$1.fromJsonLd(v, options));
|
20493
|
+
}
|
20494
|
+
instance.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;
|
20495
|
+
const _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [];
|
20496
|
+
let _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array = values["https://w3id.org/fep/5711#inboxOf"];
|
20497
|
+
for (const v of _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array == null ? [] : _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array.length === 1 && "@list" in _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array[0] ? _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array[0]["@list"] : _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array) {
|
20498
|
+
if (v == null) continue;
|
20499
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20500
|
+
_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20501
|
+
continue;
|
20502
|
+
}
|
20503
|
+
_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.push(await Object$1.fromJsonLd(v, options));
|
20504
|
+
}
|
20505
|
+
instance.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;
|
20506
|
+
const _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [];
|
20507
|
+
let _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array = values["https://w3id.org/fep/5711#outboxOf"];
|
20508
|
+
for (const v of _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array == null ? [] : _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array.length === 1 && "@list" in _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array[0] ? _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array[0]["@list"] : _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array) {
|
20509
|
+
if (v == null) continue;
|
20510
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20511
|
+
_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20512
|
+
continue;
|
20513
|
+
}
|
20514
|
+
_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.push(await Object$1.fromJsonLd(v, options));
|
20515
|
+
}
|
20516
|
+
instance.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;
|
20517
|
+
const _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [];
|
20518
|
+
let _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array = values["https://w3id.org/fep/5711#followersOf"];
|
20519
|
+
for (const v of _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array == null ? [] : _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array.length === 1 && "@list" in _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array[0] ? _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array[0]["@list"] : _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array) {
|
20520
|
+
if (v == null) continue;
|
20521
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20522
|
+
_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20523
|
+
continue;
|
20524
|
+
}
|
20525
|
+
_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.push(await Object$1.fromJsonLd(v, options));
|
20526
|
+
}
|
20527
|
+
instance.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;
|
20528
|
+
const _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [];
|
20529
|
+
let _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array = values["https://w3id.org/fep/5711#followingOf"];
|
20530
|
+
for (const v of _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array == null ? [] : _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array.length === 1 && "@list" in _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array[0] ? _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array[0]["@list"] : _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array) {
|
20531
|
+
if (v == null) continue;
|
20532
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20533
|
+
_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20534
|
+
continue;
|
20535
|
+
}
|
20536
|
+
_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.push(await Object$1.fromJsonLd(v, options));
|
20537
|
+
}
|
20538
|
+
instance.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;
|
20539
|
+
const _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [];
|
20540
|
+
let _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array = values["https://w3id.org/fep/5711#likedOf"];
|
20541
|
+
for (const v of _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array == null ? [] : _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array.length === 1 && "@list" in _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array[0] ? _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array[0]["@list"] : _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array) {
|
20542
|
+
if (v == null) continue;
|
20543
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
|
20544
|
+
_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
|
20545
|
+
continue;
|
20546
|
+
}
|
20547
|
+
_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.push(await Object$1.fromJsonLd(v, options));
|
20548
|
+
}
|
20549
|
+
instance.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;
|
19436
20550
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
19437
20551
|
instance._cachedJsonLd = structuredClone(json);
|
19438
20552
|
} catch {
|
@@ -19467,6 +20581,46 @@ var Collection = class Collection extends Object$1 {
|
|
19467
20581
|
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
19468
20582
|
} : v);
|
19469
20583
|
if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.length > 1 || !("item" in proxy) && _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.length > 0) proxy.items = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
|
20584
|
+
const _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.map((v) => v instanceof URL ? {
|
20585
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20586
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20587
|
+
} : v);
|
20588
|
+
if (_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.length == 1) proxy.likesOf = _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0];
|
20589
|
+
const _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.map((v) => v instanceof URL ? {
|
20590
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20591
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20592
|
+
} : v);
|
20593
|
+
if (_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.length == 1) proxy.sharesOf = _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0];
|
20594
|
+
const _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.map((v) => v instanceof URL ? {
|
20595
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20596
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20597
|
+
} : v);
|
20598
|
+
if (_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.length == 1) proxy.repliesOf = _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0];
|
20599
|
+
const _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.map((v) => v instanceof URL ? {
|
20600
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20601
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20602
|
+
} : v);
|
20603
|
+
if (_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.length == 1) proxy.inboxOf = _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0];
|
20604
|
+
const _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.map((v) => v instanceof URL ? {
|
20605
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20606
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20607
|
+
} : v);
|
20608
|
+
if (_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.length == 1) proxy.outboxOf = _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0];
|
20609
|
+
const _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.map((v) => v instanceof URL ? {
|
20610
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20611
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20612
|
+
} : v);
|
20613
|
+
if (_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.length == 1) proxy.followersOf = _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0];
|
20614
|
+
const _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.map((v) => v instanceof URL ? {
|
20615
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20616
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20617
|
+
} : v);
|
20618
|
+
if (_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.length == 1) proxy.followingOf = _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0];
|
20619
|
+
const _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.map((v) => v instanceof URL ? {
|
20620
|
+
[Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
|
20621
|
+
[Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
|
20622
|
+
} : v);
|
20623
|
+
if (_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.length == 1) proxy.likedOf = _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0];
|
19470
20624
|
return proxy;
|
19471
20625
|
}
|
19472
20626
|
[Symbol.for("Deno.customInspect")](inspect, options) {
|
@@ -19536,7 +20690,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
19536
20690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19537
20691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19538
20692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19539
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20693
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19540
20694
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19541
20695
|
let fetchResult;
|
19542
20696
|
try {
|
@@ -19636,7 +20790,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
19636
20790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19637
20791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19638
20792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19639
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20793
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19640
20794
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19641
20795
|
let fetchResult;
|
19642
20796
|
try {
|
@@ -19735,7 +20889,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
19735
20889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19736
20890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19737
20891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19738
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20892
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19739
20893
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19740
20894
|
let fetchResult;
|
19741
20895
|
try {
|
@@ -19990,7 +21144,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
19990
21144
|
*/
|
19991
21145
|
static async fromJsonLd(json, options = {}) {
|
19992
21146
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
19993
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21147
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
19994
21148
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
19995
21149
|
try {
|
19996
21150
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
@@ -20213,7 +21367,7 @@ var Create = class Create extends Activity {
|
|
20213
21367
|
*/
|
20214
21368
|
static async fromJsonLd(json, options = {}) {
|
20215
21369
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
20216
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21370
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
20217
21371
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
20218
21372
|
try {
|
20219
21373
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
@@ -20384,7 +21538,7 @@ var Delete = class Delete extends Activity {
|
|
20384
21538
|
*/
|
20385
21539
|
static async fromJsonLd(json, options = {}) {
|
20386
21540
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
20387
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21541
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
20388
21542
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
20389
21543
|
try {
|
20390
21544
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
@@ -20542,7 +21696,7 @@ var Dislike = class Dislike extends Activity {
|
|
20542
21696
|
*/
|
20543
21697
|
static async fromJsonLd(json, options = {}) {
|
20544
21698
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
20545
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21699
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
20546
21700
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
20547
21701
|
try {
|
20548
21702
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
@@ -20912,7 +22066,7 @@ var Endpoints = class {
|
|
20912
22066
|
*/
|
20913
22067
|
static async fromJsonLd(json, options = {}) {
|
20914
22068
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
20915
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22069
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
20916
22070
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
20917
22071
|
try {
|
20918
22072
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
@@ -21145,7 +22299,7 @@ var Event = class Event extends Object$1 {
|
|
21145
22299
|
*/
|
21146
22300
|
static async fromJsonLd(json, options = {}) {
|
21147
22301
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21148
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22302
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
21149
22303
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21150
22304
|
try {
|
21151
22305
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
@@ -21301,7 +22455,7 @@ var Flag = class Flag extends Activity {
|
|
21301
22455
|
*/
|
21302
22456
|
static async fromJsonLd(json, options = {}) {
|
21303
22457
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21304
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22458
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
21305
22459
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21306
22460
|
try {
|
21307
22461
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
@@ -21461,7 +22615,7 @@ var Follow = class Follow extends Activity {
|
|
21461
22615
|
*/
|
21462
22616
|
static async fromJsonLd(json, options = {}) {
|
21463
22617
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21464
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22618
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
21465
22619
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21466
22620
|
try {
|
21467
22621
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
@@ -21760,7 +22914,7 @@ var Group = class Group extends Object$1 {
|
|
21760
22914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
21761
22915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
21762
22916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
21763
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22917
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
21764
22918
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
21765
22919
|
let fetchResult;
|
21766
22920
|
try {
|
@@ -21894,7 +23048,7 @@ var Group = class Group extends Object$1 {
|
|
21894
23048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
21895
23049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
21896
23050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
21897
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23051
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
21898
23052
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
21899
23053
|
let fetchResult;
|
21900
23054
|
try {
|
@@ -22046,7 +23200,7 @@ var Group = class Group extends Object$1 {
|
|
22046
23200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22047
23201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22048
23202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22049
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23203
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22050
23204
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22051
23205
|
let fetchResult;
|
22052
23206
|
try {
|
@@ -22166,7 +23320,7 @@ var Group = class Group extends Object$1 {
|
|
22166
23320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22167
23321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22168
23322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22169
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23323
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22170
23324
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22171
23325
|
let fetchResult;
|
22172
23326
|
try {
|
@@ -22283,7 +23437,7 @@ var Group = class Group extends Object$1 {
|
|
22283
23437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22284
23438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22285
23439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22286
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23440
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22287
23441
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22288
23442
|
let fetchResult;
|
22289
23443
|
try {
|
@@ -22386,7 +23540,7 @@ var Group = class Group extends Object$1 {
|
|
22386
23540
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22387
23541
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22388
23542
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22389
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23543
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22390
23544
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22391
23545
|
let fetchResult;
|
22392
23546
|
try {
|
@@ -22492,7 +23646,7 @@ var Group = class Group extends Object$1 {
|
|
22492
23646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22493
23647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22494
23648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22495
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23649
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22496
23650
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22497
23651
|
let fetchResult;
|
22498
23652
|
try {
|
@@ -22596,7 +23750,7 @@ var Group = class Group extends Object$1 {
|
|
22596
23750
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22597
23751
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22598
23752
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22599
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23753
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22600
23754
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22601
23755
|
let fetchResult;
|
22602
23756
|
try {
|
@@ -22698,7 +23852,7 @@ var Group = class Group extends Object$1 {
|
|
22698
23852
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22699
23853
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22700
23854
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22701
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23855
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22702
23856
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22703
23857
|
let fetchResult;
|
22704
23858
|
try {
|
@@ -22800,7 +23954,7 @@ var Group = class Group extends Object$1 {
|
|
22800
23954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22801
23955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22802
23956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22803
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23957
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22804
23958
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22805
23959
|
let fetchResult;
|
22806
23960
|
try {
|
@@ -22944,7 +24098,7 @@ var Group = class Group extends Object$1 {
|
|
22944
24098
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22945
24099
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22946
24100
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22947
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24101
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
22948
24102
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22949
24103
|
let fetchResult;
|
22950
24104
|
try {
|
@@ -23085,7 +24239,7 @@ var Group = class Group extends Object$1 {
|
|
23085
24239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23086
24240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23087
24241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23088
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24242
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
23089
24243
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23090
24244
|
let fetchResult;
|
23091
24245
|
try {
|
@@ -23267,7 +24421,7 @@ var Group = class Group extends Object$1 {
|
|
23267
24421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23268
24422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23269
24423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23270
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24424
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
23271
24425
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23272
24426
|
let fetchResult;
|
23273
24427
|
try {
|
@@ -23991,7 +25145,7 @@ var Group = class Group extends Object$1 {
|
|
23991
25145
|
*/
|
23992
25146
|
static async fromJsonLd(json, options = {}) {
|
23993
25147
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
23994
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
25148
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
23995
25149
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
23996
25150
|
try {
|
23997
25151
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
@@ -24606,7 +25760,7 @@ var Link = class Link {
|
|
24606
25760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
24607
25761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
24608
25762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
24609
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
25763
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
24610
25764
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
24611
25765
|
let fetchResult;
|
24612
25766
|
try {
|
@@ -24905,7 +26059,7 @@ var Link = class Link {
|
|
24905
26059
|
*/
|
24906
26060
|
static async fromJsonLd(json, options = {}) {
|
24907
26061
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
24908
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26062
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
24909
26063
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
24910
26064
|
try {
|
24911
26065
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
@@ -25233,7 +26387,7 @@ var Hashtag = class Hashtag extends Link {
|
|
25233
26387
|
*/
|
25234
26388
|
static async fromJsonLd(json, options = {}) {
|
25235
26389
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
25236
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26390
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
25237
26391
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
25238
26392
|
try {
|
25239
26393
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
@@ -25395,7 +26549,7 @@ var Image = class Image extends Document {
|
|
25395
26549
|
*/
|
25396
26550
|
static async fromJsonLd(json, options = {}) {
|
25397
26551
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
25398
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26552
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
25399
26553
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
25400
26554
|
try {
|
25401
26555
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
@@ -25551,7 +26705,7 @@ var Offer = class Offer extends Activity {
|
|
25551
26705
|
*/
|
25552
26706
|
static async fromJsonLd(json, options = {}) {
|
25553
26707
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
25554
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26708
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
25555
26709
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
25556
26710
|
try {
|
25557
26711
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
@@ -25707,7 +26861,7 @@ var Invite = class Invite extends Offer {
|
|
25707
26861
|
*/
|
25708
26862
|
static async fromJsonLd(json, options = {}) {
|
25709
26863
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
25710
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26864
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
25711
26865
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
25712
26866
|
try {
|
25713
26867
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
@@ -25862,7 +27016,7 @@ var Join = class Join extends Activity {
|
|
25862
27016
|
*/
|
25863
27017
|
static async fromJsonLd(json, options = {}) {
|
25864
27018
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
25865
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27019
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
25866
27020
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
25867
27021
|
try {
|
25868
27022
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
@@ -26017,7 +27171,7 @@ var Leave = class Leave extends Activity {
|
|
26017
27171
|
*/
|
26018
27172
|
static async fromJsonLd(json, options = {}) {
|
26019
27173
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26020
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27174
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
26021
27175
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26022
27176
|
try {
|
26023
27177
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
@@ -26176,7 +27330,7 @@ var Like = class Like extends Activity {
|
|
26176
27330
|
*/
|
26177
27331
|
static async fromJsonLd(json, options = {}) {
|
26178
27332
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26179
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27333
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
26180
27334
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26181
27335
|
try {
|
26182
27336
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
@@ -26330,7 +27484,7 @@ var Listen = class Listen extends Activity {
|
|
26330
27484
|
*/
|
26331
27485
|
static async fromJsonLd(json, options = {}) {
|
26332
27486
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26333
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27487
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
26334
27488
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26335
27489
|
try {
|
26336
27490
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
@@ -26489,7 +27643,7 @@ var Mention = class Mention extends Link {
|
|
26489
27643
|
*/
|
26490
27644
|
static async fromJsonLd(json, options = {}) {
|
26491
27645
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26492
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27646
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
26493
27647
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26494
27648
|
try {
|
26495
27649
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
@@ -26645,7 +27799,7 @@ var Move = class Move extends Activity {
|
|
26645
27799
|
*/
|
26646
27800
|
static async fromJsonLd(json, options = {}) {
|
26647
27801
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26648
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27802
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
26649
27803
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26650
27804
|
try {
|
26651
27805
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
@@ -26887,7 +28041,7 @@ var Note = class Note extends Object$1 {
|
|
26887
28041
|
*/
|
26888
28042
|
static async fromJsonLd(json, options = {}) {
|
26889
28043
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26890
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28044
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
26891
28045
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26892
28046
|
try {
|
26893
28047
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
@@ -27011,7 +28165,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
27011
28165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
27012
28166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
27013
28167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
27014
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28168
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
27015
28169
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
27016
28170
|
let fetchResult;
|
27017
28171
|
try {
|
@@ -27246,7 +28400,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
27246
28400
|
*/
|
27247
28401
|
static async fromJsonLd(json, options = {}) {
|
27248
28402
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27249
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28403
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
27250
28404
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27251
28405
|
try {
|
27252
28406
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
@@ -27441,7 +28595,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
27441
28595
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
27442
28596
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
27443
28597
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
27444
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28598
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
27445
28599
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
27446
28600
|
let fetchResult;
|
27447
28601
|
try {
|
@@ -27702,7 +28856,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
27702
28856
|
*/
|
27703
28857
|
static async fromJsonLd(json, options = {}) {
|
27704
28858
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27705
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28859
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
27706
28860
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27707
28861
|
try {
|
27708
28862
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
@@ -28091,7 +29245,7 @@ var Organization = class Organization extends Object$1 {
|
|
28091
29245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28092
29246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28093
29247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28094
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29248
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28095
29249
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28096
29250
|
let fetchResult;
|
28097
29251
|
try {
|
@@ -28225,7 +29379,7 @@ var Organization = class Organization extends Object$1 {
|
|
28225
29379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28226
29380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28227
29381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28228
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29382
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28229
29383
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28230
29384
|
let fetchResult;
|
28231
29385
|
try {
|
@@ -28377,7 +29531,7 @@ var Organization = class Organization extends Object$1 {
|
|
28377
29531
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28378
29532
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28379
29533
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28380
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29534
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28381
29535
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28382
29536
|
let fetchResult;
|
28383
29537
|
try {
|
@@ -28497,7 +29651,7 @@ var Organization = class Organization extends Object$1 {
|
|
28497
29651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28498
29652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28499
29653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28500
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29654
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28501
29655
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28502
29656
|
let fetchResult;
|
28503
29657
|
try {
|
@@ -28614,7 +29768,7 @@ var Organization = class Organization extends Object$1 {
|
|
28614
29768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28615
29769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28616
29770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28617
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29771
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28618
29772
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28619
29773
|
let fetchResult;
|
28620
29774
|
try {
|
@@ -28717,7 +29871,7 @@ var Organization = class Organization extends Object$1 {
|
|
28717
29871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28718
29872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28719
29873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28720
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29874
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28721
29875
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28722
29876
|
let fetchResult;
|
28723
29877
|
try {
|
@@ -28823,7 +29977,7 @@ var Organization = class Organization extends Object$1 {
|
|
28823
29977
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28824
29978
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28825
29979
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28826
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29980
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28827
29981
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28828
29982
|
let fetchResult;
|
28829
29983
|
try {
|
@@ -28927,7 +30081,7 @@ var Organization = class Organization extends Object$1 {
|
|
28927
30081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28928
30082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28929
30083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28930
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30084
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
28931
30085
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28932
30086
|
let fetchResult;
|
28933
30087
|
try {
|
@@ -29029,7 +30183,7 @@ var Organization = class Organization extends Object$1 {
|
|
29029
30183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29030
30184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29031
30185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29032
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30186
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
29033
30187
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29034
30188
|
let fetchResult;
|
29035
30189
|
try {
|
@@ -29131,7 +30285,7 @@ var Organization = class Organization extends Object$1 {
|
|
29131
30285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29132
30286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29133
30287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29134
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30288
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
29135
30289
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29136
30290
|
let fetchResult;
|
29137
30291
|
try {
|
@@ -29275,7 +30429,7 @@ var Organization = class Organization extends Object$1 {
|
|
29275
30429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29276
30430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29277
30431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29278
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30432
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
29279
30433
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29280
30434
|
let fetchResult;
|
29281
30435
|
try {
|
@@ -29416,7 +30570,7 @@ var Organization = class Organization extends Object$1 {
|
|
29416
30570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29417
30571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29418
30572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29419
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30573
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
29420
30574
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29421
30575
|
let fetchResult;
|
29422
30576
|
try {
|
@@ -29598,7 +30752,7 @@ var Organization = class Organization extends Object$1 {
|
|
29598
30752
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29599
30753
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29600
30754
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29601
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30755
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
29602
30756
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29603
30757
|
let fetchResult;
|
29604
30758
|
try {
|
@@ -30322,7 +31476,7 @@ var Organization = class Organization extends Object$1 {
|
|
30322
31476
|
*/
|
30323
31477
|
static async fromJsonLd(json, options = {}) {
|
30324
31478
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
30325
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
31479
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
30326
31480
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
30327
31481
|
try {
|
30328
31482
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
@@ -30815,7 +31969,7 @@ var Page = class Page extends Document {
|
|
30815
31969
|
*/
|
30816
31970
|
static async fromJsonLd(json, options = {}) {
|
30817
31971
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
30818
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
31972
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
30819
31973
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
30820
31974
|
try {
|
30821
31975
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
@@ -31114,7 +32268,7 @@ var Person = class Person extends Object$1 {
|
|
31114
32268
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31115
32269
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31116
32270
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31117
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32271
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31118
32272
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31119
32273
|
let fetchResult;
|
31120
32274
|
try {
|
@@ -31248,7 +32402,7 @@ var Person = class Person extends Object$1 {
|
|
31248
32402
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31249
32403
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31250
32404
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31251
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32405
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31252
32406
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31253
32407
|
let fetchResult;
|
31254
32408
|
try {
|
@@ -31400,7 +32554,7 @@ var Person = class Person extends Object$1 {
|
|
31400
32554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31401
32555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31402
32556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31403
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32557
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31404
32558
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31405
32559
|
let fetchResult;
|
31406
32560
|
try {
|
@@ -31520,7 +32674,7 @@ var Person = class Person extends Object$1 {
|
|
31520
32674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31521
32675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31522
32676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31523
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32677
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31524
32678
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31525
32679
|
let fetchResult;
|
31526
32680
|
try {
|
@@ -31637,7 +32791,7 @@ var Person = class Person extends Object$1 {
|
|
31637
32791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31638
32792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31639
32793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31640
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32794
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31641
32795
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31642
32796
|
let fetchResult;
|
31643
32797
|
try {
|
@@ -31740,7 +32894,7 @@ var Person = class Person extends Object$1 {
|
|
31740
32894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31741
32895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31742
32896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31743
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32897
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31744
32898
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31745
32899
|
let fetchResult;
|
31746
32900
|
try {
|
@@ -31846,7 +33000,7 @@ var Person = class Person extends Object$1 {
|
|
31846
33000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31847
33001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31848
33002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31849
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33003
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31850
33004
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31851
33005
|
let fetchResult;
|
31852
33006
|
try {
|
@@ -31950,7 +33104,7 @@ var Person = class Person extends Object$1 {
|
|
31950
33104
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
31951
33105
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
31952
33106
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
31953
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33107
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
31954
33108
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
31955
33109
|
let fetchResult;
|
31956
33110
|
try {
|
@@ -32052,7 +33206,7 @@ var Person = class Person extends Object$1 {
|
|
32052
33206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32053
33207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32054
33208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32055
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33209
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
32056
33210
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32057
33211
|
let fetchResult;
|
32058
33212
|
try {
|
@@ -32154,7 +33308,7 @@ var Person = class Person extends Object$1 {
|
|
32154
33308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32155
33309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32156
33310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32157
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33311
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
32158
33312
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32159
33313
|
let fetchResult;
|
32160
33314
|
try {
|
@@ -32298,7 +33452,7 @@ var Person = class Person extends Object$1 {
|
|
32298
33452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32299
33453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32300
33454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32301
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33455
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
32302
33456
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32303
33457
|
let fetchResult;
|
32304
33458
|
try {
|
@@ -32439,7 +33593,7 @@ var Person = class Person extends Object$1 {
|
|
32439
33593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32440
33594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32441
33595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32442
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33596
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
32443
33597
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32444
33598
|
let fetchResult;
|
32445
33599
|
try {
|
@@ -32621,7 +33775,7 @@ var Person = class Person extends Object$1 {
|
|
32621
33775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32622
33776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32623
33777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32624
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33778
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
32625
33779
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32626
33780
|
let fetchResult;
|
32627
33781
|
try {
|
@@ -33345,7 +34499,7 @@ var Person = class Person extends Object$1 {
|
|
33345
34499
|
*/
|
33346
34500
|
static async fromJsonLd(json, options = {}) {
|
33347
34501
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
33348
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
34502
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
33349
34503
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
33350
34504
|
try {
|
33351
34505
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
@@ -34031,7 +35185,7 @@ var Place = class Place extends Object$1 {
|
|
34031
35185
|
*/
|
34032
35186
|
static async fromJsonLd(json, options = {}) {
|
34033
35187
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
34034
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35188
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
34035
35189
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
34036
35190
|
try {
|
34037
35191
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
@@ -34218,7 +35372,7 @@ var Profile = class Profile extends Object$1 {
|
|
34218
35372
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
34219
35373
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
34220
35374
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
34221
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35375
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
34222
35376
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
34223
35377
|
let fetchResult;
|
34224
35378
|
try {
|
@@ -34396,7 +35550,7 @@ var Profile = class Profile extends Object$1 {
|
|
34396
35550
|
*/
|
34397
35551
|
static async fromJsonLd(json, options = {}) {
|
34398
35552
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
34399
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35553
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
34400
35554
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
34401
35555
|
try {
|
34402
35556
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
@@ -34552,7 +35706,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
34552
35706
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
34553
35707
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
34554
35708
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
34555
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35709
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
34556
35710
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
34557
35711
|
let fetchResult;
|
34558
35712
|
try {
|
@@ -34656,7 +35810,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
34656
35810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
34657
35811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
34658
35812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
34659
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35813
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
34660
35814
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
34661
35815
|
let fetchResult;
|
34662
35816
|
try {
|
@@ -34915,7 +36069,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
34915
36069
|
*/
|
34916
36070
|
static async fromJsonLd(json, options = {}) {
|
34917
36071
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
34918
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36072
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
34919
36073
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
34920
36074
|
try {
|
34921
36075
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
@@ -35141,7 +36295,7 @@ var Read = class Read extends Activity {
|
|
35141
36295
|
*/
|
35142
36296
|
static async fromJsonLd(json, options = {}) {
|
35143
36297
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
35144
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36298
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
35145
36299
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
35146
36300
|
try {
|
35147
36301
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
@@ -35296,7 +36450,7 @@ var Reject = class Reject extends Activity {
|
|
35296
36450
|
*/
|
35297
36451
|
static async fromJsonLd(json, options = {}) {
|
35298
36452
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
35299
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36453
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
35300
36454
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
35301
36455
|
try {
|
35302
36456
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
@@ -35444,7 +36598,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
35444
36598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
35445
36599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
35446
36600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
35447
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36601
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
35448
36602
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
35449
36603
|
let fetchResult;
|
35450
36604
|
try {
|
@@ -35546,7 +36700,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
35546
36700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
35547
36701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
35548
36702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
35549
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36703
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
35550
36704
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
35551
36705
|
let fetchResult;
|
35552
36706
|
try {
|
@@ -35680,7 +36834,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
35680
36834
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
35681
36835
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
35682
36836
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
35683
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36837
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
35684
36838
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
35685
36839
|
let fetchResult;
|
35686
36840
|
try {
|
@@ -35934,7 +37088,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
35934
37088
|
*/
|
35935
37089
|
static async fromJsonLd(json, options = {}) {
|
35936
37090
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
35937
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37091
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
35938
37092
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
35939
37093
|
try {
|
35940
37094
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
@@ -36139,7 +37293,7 @@ var Remove = class Remove extends Activity {
|
|
36139
37293
|
*/
|
36140
37294
|
static async fromJsonLd(json, options = {}) {
|
36141
37295
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
36142
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37296
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
36143
37297
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
36144
37298
|
try {
|
36145
37299
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
@@ -36438,7 +37592,7 @@ var Service = class Service extends Object$1 {
|
|
36438
37592
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36439
37593
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36440
37594
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36441
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37595
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
36442
37596
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36443
37597
|
let fetchResult;
|
36444
37598
|
try {
|
@@ -36572,7 +37726,7 @@ var Service = class Service extends Object$1 {
|
|
36572
37726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36573
37727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36574
37728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36575
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37729
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
36576
37730
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36577
37731
|
let fetchResult;
|
36578
37732
|
try {
|
@@ -36724,7 +37878,7 @@ var Service = class Service extends Object$1 {
|
|
36724
37878
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36725
37879
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36726
37880
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36727
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37881
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
36728
37882
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36729
37883
|
let fetchResult;
|
36730
37884
|
try {
|
@@ -36844,7 +37998,7 @@ var Service = class Service extends Object$1 {
|
|
36844
37998
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36845
37999
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36846
38000
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36847
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38001
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
36848
38002
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36849
38003
|
let fetchResult;
|
36850
38004
|
try {
|
@@ -36961,7 +38115,7 @@ var Service = class Service extends Object$1 {
|
|
36961
38115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36962
38116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36963
38117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36964
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38118
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
36965
38119
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36966
38120
|
let fetchResult;
|
36967
38121
|
try {
|
@@ -37064,7 +38218,7 @@ var Service = class Service extends Object$1 {
|
|
37064
38218
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37065
38219
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37066
38220
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37067
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38221
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37068
38222
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37069
38223
|
let fetchResult;
|
37070
38224
|
try {
|
@@ -37170,7 +38324,7 @@ var Service = class Service extends Object$1 {
|
|
37170
38324
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37171
38325
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37172
38326
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37173
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38327
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37174
38328
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37175
38329
|
let fetchResult;
|
37176
38330
|
try {
|
@@ -37274,7 +38428,7 @@ var Service = class Service extends Object$1 {
|
|
37274
38428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37275
38429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37276
38430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37277
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38431
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37278
38432
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37279
38433
|
let fetchResult;
|
37280
38434
|
try {
|
@@ -37376,7 +38530,7 @@ var Service = class Service extends Object$1 {
|
|
37376
38530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37377
38531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37378
38532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37379
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38533
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37380
38534
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37381
38535
|
let fetchResult;
|
37382
38536
|
try {
|
@@ -37478,7 +38632,7 @@ var Service = class Service extends Object$1 {
|
|
37478
38632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37479
38633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37480
38634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37481
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38635
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37482
38636
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37483
38637
|
let fetchResult;
|
37484
38638
|
try {
|
@@ -37622,7 +38776,7 @@ var Service = class Service extends Object$1 {
|
|
37622
38776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37623
38777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37624
38778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37625
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38779
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37626
38780
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37627
38781
|
let fetchResult;
|
37628
38782
|
try {
|
@@ -37763,7 +38917,7 @@ var Service = class Service extends Object$1 {
|
|
37763
38917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37764
38918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37765
38919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37766
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38920
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37767
38921
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37768
38922
|
let fetchResult;
|
37769
38923
|
try {
|
@@ -37945,7 +39099,7 @@ var Service = class Service extends Object$1 {
|
|
37945
39099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37946
39100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37947
39101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37948
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
39102
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
37949
39103
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37950
39104
|
let fetchResult;
|
37951
39105
|
try {
|
@@ -38669,7 +39823,7 @@ var Service = class Service extends Object$1 {
|
|
38669
39823
|
*/
|
38670
39824
|
static async fromJsonLd(json, options = {}) {
|
38671
39825
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
38672
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
39826
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
38673
39827
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
38674
39828
|
try {
|
38675
39829
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
@@ -39257,7 +40411,7 @@ var Source = class {
|
|
39257
40411
|
*/
|
39258
40412
|
static async fromJsonLd(json, options = {}) {
|
39259
40413
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
39260
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40414
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
39261
40415
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
39262
40416
|
try {
|
39263
40417
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
@@ -39438,7 +40592,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
39438
40592
|
*/
|
39439
40593
|
static async fromJsonLd(json, options = {}) {
|
39440
40594
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
39441
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40595
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
39442
40596
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
39443
40597
|
try {
|
39444
40598
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
@@ -39593,7 +40747,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
39593
40747
|
*/
|
39594
40748
|
static async fromJsonLd(json, options = {}) {
|
39595
40749
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
39596
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40750
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
39597
40751
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
39598
40752
|
try {
|
39599
40753
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
@@ -39789,7 +40943,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
39789
40943
|
*/
|
39790
40944
|
static async fromJsonLd(json, options = {}) {
|
39791
40945
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
39792
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40946
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
39793
40947
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
39794
40948
|
try {
|
39795
40949
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
@@ -39958,7 +41112,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
39958
41112
|
*/
|
39959
41113
|
static async fromJsonLd(json, options = {}) {
|
39960
41114
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
39961
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41115
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
39962
41116
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
39963
41117
|
try {
|
39964
41118
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
@@ -40127,7 +41281,7 @@ var Undo = class Undo extends Activity {
|
|
40127
41281
|
*/
|
40128
41282
|
static async fromJsonLd(json, options = {}) {
|
40129
41283
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40130
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41284
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
40131
41285
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40132
41286
|
try {
|
40133
41287
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
@@ -40334,7 +41488,7 @@ var Update = class Update extends Activity {
|
|
40334
41488
|
*/
|
40335
41489
|
static async fromJsonLd(json, options = {}) {
|
40336
41490
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40337
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41491
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
40338
41492
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40339
41493
|
try {
|
40340
41494
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
@@ -40496,7 +41650,7 @@ var Video = class Video extends Document {
|
|
40496
41650
|
*/
|
40497
41651
|
static async fromJsonLd(json, options = {}) {
|
40498
41652
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40499
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41653
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
40500
41654
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40501
41655
|
try {
|
40502
41656
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
@@ -40650,7 +41804,7 @@ var View = class View extends Activity {
|
|
40650
41804
|
*/
|
40651
41805
|
static async fromJsonLd(json, options = {}) {
|
40652
41806
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40653
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41807
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
|
40654
41808
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40655
41809
|
try {
|
40656
41810
|
const object = await this.__fromJsonLd__View__(json, span, options);
|