@fedify/fedify 1.9.0-pr.431.1597 → 1.9.0-pr.439.1643
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-CfaqWvJb.cjs → actor-CfhHedxU.cjs} +197 -197
- package/dist/{actor-Detmisdi.js → actor-DpI0W-Tn.js} +197 -197
- package/dist/{actor-Dw7av4Zk.js → actor-KPC8KYj6.js} +1 -1
- package/dist/{authdocloader-5UJ5Gme-.js → authdocloader-BQJG9N7v.js} +3 -3
- package/dist/{authdocloader-ZlLoXSxM.js → authdocloader-CVxE9WGt.js} +3 -3
- package/dist/{authdocloader-BVYv0Ct8.cjs → authdocloader-DfDexBrY.cjs} +3 -3
- package/dist/{builder-BbKfqPmR.js → builder-BP4aD50M.js} +4 -4
- package/dist/{client-DgRjF0ha.js → client-Bui9Gh4q.js} +1 -1
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{docloader-BKf9RWX4.js → docloader-BxvWvC64.js} +185 -5
- package/dist/{docloader-eqgyMp7h.cjs → docloader-CSlrTULv.cjs} +185 -5
- package/dist/{esm-B_ZjJ1sB.js → esm-c7PrxCw-.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 +4 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.cjs +10 -10
- 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-CwlUFNG4.js → http-BF9qsaeq.js} +3 -3
- package/dist/{http-C5XLveZw.js → http-Dv1yjtnP.js} +2 -2
- package/dist/{http-_vjuGcXn.cjs → http-Dy617oJi.cjs} +3 -3
- package/dist/{inbox-sVXiVBbT.js → inbox-Cu7OAGkC.js} +1 -1
- package/dist/{key-lpATOAE4.js → key-BA23EOog.js} +3 -3
- package/dist/{key-Jrnr66vx.js → key-BLHsstcf.js} +2 -2
- package/dist/{key-CsQ7J8-m.js → key-BzOUXfsg.js} +4 -4
- package/dist/key-CK98kF20.cjs +10 -0
- package/dist/{key-19P2dWvf.cjs → key-CULAE72e.cjs} +2 -2
- package/dist/{key-BCWvPOkD.js → key-CmfU4Nff.js} +2 -2
- package/dist/{keycache-ogQInQck.js → keycache-aLCenYcC.js} +1 -1
- package/dist/{keys-DcGsKtHW.js → keys-D46Dm6Zd.js} +1 -1
- package/dist/{ld-BSE4jnyK.js → ld-bQVyNVI4.js} +2 -2
- package/dist/{lookup-DdxOle8f.js → lookup-BV-RYejn.js} +1 -1
- package/dist/{lookup-D96ipStp.cjs → lookup-BtS7imxC.cjs} +1 -1
- package/dist/{lookup-D_-F1hLw.js → lookup-DWilfXOH.js} +1 -1
- package/dist/{middleware-T_y4Bnvw.js → middleware-Bc82l2LP.js} +24 -24
- package/dist/{middleware-B2DFqtJ-.cjs → middleware-BvYquIU2.cjs} +24 -24
- package/dist/middleware-C-XUMaxL.cjs +17 -0
- package/dist/{middleware-CuTcPjfP.js → middleware-C6ec_xpL.js} +27 -27
- package/dist/middleware-CJGpew1U.js +26 -0
- package/dist/middleware-QSwuLhGe.js +17 -0
- package/dist/mod.cjs +10 -10
- 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.cjs +2 -2
- 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-DJtc8evi.js → owner-IdDD30Rl.js} +2 -2
- package/dist/{proof-BuPk23Er.js → proof-Bacq4fFb.js} +3 -3
- package/dist/{proof-CRHppbRk.cjs → proof-Cdt-JryO.cjs} +3 -3
- package/dist/{proof-9OMp0o4n.js → proof-DqejZTy7.js} +2 -2
- 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/link.test.d.ts +3 -0
- package/dist/runtime/link.test.js +61 -0
- package/dist/runtime/mod.cjs +6 -6
- 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-cXerEJm9.js → send-CtMRP7jp.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.cjs +6 -6
- 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/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-BX6IA3LR.js → testing-DqxPhgD4.js} +2 -2
- package/dist/{type-DF9yoIpt.js → type-tt9Ec12R.js} +381 -201
- package/dist/{types-DcKQIzdO.cjs → types-C50PioTN.cjs} +1 -1
- package/dist/{types-Q17QxOOC.js → types-DIhanZoH.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +40 -5
- package/dist/{vocab-BUc_4ZsW.js → vocab-C85duzv5.js} +3 -3
- package/dist/{vocab-Du8FV6H1.cjs → vocab-VVJBvA2F.cjs} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/package.json +1 -2
- package/dist/key-Dt7qJaQT.cjs +0 -10
- package/dist/middleware-B0f850Ei.cjs +0 -17
- package/dist/middleware-COHAbwGs.js +0 -17
- package/dist/middleware-Dt7C7qpw.js +0 -26
@@ -6,7 +6,6 @@
|
|
6
6
|
import { createRequire } from "node:module";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
9
|
-
import { HTTPHeaderLink } from "@hugoalh/http-header-link";
|
10
9
|
import process from "node:process";
|
11
10
|
import { lookup } from "node:dns/promises";
|
12
11
|
import { isIP } from "node:net";
|
@@ -56,7 +55,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
56
55
|
//#endregion
|
57
56
|
//#region deno.json
|
58
57
|
var name = "@fedify/fedify";
|
59
|
-
var version = "1.9.0-pr.
|
58
|
+
var version = "1.9.0-pr.439.1643+fd55a982";
|
60
59
|
var license = "MIT";
|
61
60
|
var exports = {
|
62
61
|
".": "./src/mod.ts",
|
@@ -76,7 +75,6 @@ var exports = {
|
|
76
75
|
};
|
77
76
|
var imports = {
|
78
77
|
"@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
|
79
|
-
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
80
78
|
"@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
|
81
79
|
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
82
80
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
@@ -4324,6 +4322,188 @@ const preloadedContexts = {
|
|
4324
4322
|
};
|
4325
4323
|
var contexts_default = preloadedContexts;
|
4326
4324
|
|
4325
|
+
//#endregion
|
4326
|
+
//#region src/runtime/link.ts
|
4327
|
+
const parametersNeedLowerCase = ["rel", "type"];
|
4328
|
+
const regexpLinkWhitespace = /[\n\r\s\t]/;
|
4329
|
+
function validateURI(uri) {
|
4330
|
+
if (uri.includes("\n") || regexpLinkWhitespace.test(uri)) throw new SyntaxError(`\`${uri}\` is not a valid URI!`);
|
4331
|
+
}
|
4332
|
+
function* parseLinkFromString(input) {
|
4333
|
+
const inputFmt = input.replaceAll("\xA0", "").replaceAll("", "");
|
4334
|
+
for (let cursor = 0; cursor < inputFmt.length; cursor += 1) {
|
4335
|
+
while (regexpLinkWhitespace.test(inputFmt.charAt(cursor))) cursor += 1;
|
4336
|
+
if (inputFmt.charAt(cursor) !== "<") throw new SyntaxError(`Unexpected character \`${inputFmt.charAt(cursor)}\` at position ${cursor}; Expect character \`<\`!`);
|
4337
|
+
cursor += 1;
|
4338
|
+
const cursorEndUri = inputFmt.indexOf(">", cursor);
|
4339
|
+
if (cursorEndUri === -1) throw new SyntaxError(`Missing end of URI delimiter character \`>\` after position ${cursor}!`);
|
4340
|
+
if (cursorEndUri === cursor) throw new SyntaxError(`Missing URI at position ${cursor}!`);
|
4341
|
+
const uriSlice = inputFmt.slice(cursor, cursorEndUri);
|
4342
|
+
validateURI(uriSlice);
|
4343
|
+
const uri = decodeURI(uriSlice);
|
4344
|
+
const parameters = {};
|
4345
|
+
cursor = cursorEndUri + 1;
|
4346
|
+
while (regexpLinkWhitespace.test(inputFmt.charAt(cursor))) cursor += 1;
|
4347
|
+
if (cursor === inputFmt.length || inputFmt.charAt(cursor) === ",") {
|
4348
|
+
yield [uri, parameters];
|
4349
|
+
continue;
|
4350
|
+
}
|
4351
|
+
if (inputFmt.charAt(cursor) !== ";") throw new SyntaxError(`Unexpected character \`${inputFmt.charAt(cursor)}\` at position ${cursor}; Expect character \`;\`!`);
|
4352
|
+
cursor += 1;
|
4353
|
+
while (cursor < inputFmt.length) {
|
4354
|
+
while (regexpLinkWhitespace.test(inputFmt.charAt(cursor))) cursor += 1;
|
4355
|
+
const parameterKey = inputFmt.slice(cursor).match(/^[\w-]+\*?/)?.[0].toLowerCase();
|
4356
|
+
if (typeof parameterKey === "undefined") throw new SyntaxError(`Unexpected character \`${inputFmt.charAt(cursor)}\` at position ${cursor}; Expect a valid parameter key!`);
|
4357
|
+
cursor += parameterKey.length;
|
4358
|
+
while (regexpLinkWhitespace.test(inputFmt.charAt(cursor))) cursor += 1;
|
4359
|
+
if (cursor === inputFmt.length || inputFmt.charAt(cursor) === ",") {
|
4360
|
+
parameters[parameterKey] = "";
|
4361
|
+
break;
|
4362
|
+
}
|
4363
|
+
if (inputFmt.charAt(cursor) === ";") {
|
4364
|
+
parameters[parameterKey] = "";
|
4365
|
+
cursor += 1;
|
4366
|
+
continue;
|
4367
|
+
}
|
4368
|
+
if (inputFmt.charAt(cursor) !== "=") throw new SyntaxError(`Unexpected character \`${inputFmt.charAt(cursor)}\` at position ${cursor}; Expect character \`=\`!`);
|
4369
|
+
cursor += 1;
|
4370
|
+
while (regexpLinkWhitespace.test(inputFmt.charAt(cursor))) cursor += 1;
|
4371
|
+
let parameterValue = "";
|
4372
|
+
if (inputFmt.charAt(cursor) === "\"") {
|
4373
|
+
cursor += 1;
|
4374
|
+
while (cursor < inputFmt.length) {
|
4375
|
+
if (inputFmt.charAt(cursor) === "\"") {
|
4376
|
+
cursor += 1;
|
4377
|
+
break;
|
4378
|
+
}
|
4379
|
+
if (inputFmt.charAt(cursor) === "\\") cursor += 1;
|
4380
|
+
parameterValue += inputFmt.charAt(cursor);
|
4381
|
+
cursor += 1;
|
4382
|
+
}
|
4383
|
+
} else {
|
4384
|
+
const cursorDiffParameterValue = inputFmt.slice(cursor).search(/[\s;,]/);
|
4385
|
+
if (cursorDiffParameterValue === -1) {
|
4386
|
+
parameterValue += inputFmt.slice(cursor);
|
4387
|
+
cursor += parameterValue.length;
|
4388
|
+
} else {
|
4389
|
+
parameterValue += inputFmt.slice(cursor, cursorDiffParameterValue);
|
4390
|
+
cursor += cursorDiffParameterValue;
|
4391
|
+
}
|
4392
|
+
}
|
4393
|
+
parameters[parameterKey] = parametersNeedLowerCase.includes(parameterKey) ? parameterValue.toLowerCase() : parameterValue;
|
4394
|
+
while (regexpLinkWhitespace.test(inputFmt.charAt(cursor))) cursor += 1;
|
4395
|
+
if (cursor === inputFmt.length || inputFmt.charAt(cursor) === ",") break;
|
4396
|
+
if (inputFmt.charAt(cursor) === ";") {
|
4397
|
+
cursor += 1;
|
4398
|
+
continue;
|
4399
|
+
}
|
4400
|
+
throw new SyntaxError(`Unexpected character \`${inputFmt.charAt(cursor)}\` at position ${cursor}; Expect character \`,\`, character \`;\`, or end of the string!`);
|
4401
|
+
}
|
4402
|
+
yield [uri, parameters];
|
4403
|
+
}
|
4404
|
+
}
|
4405
|
+
/**
|
4406
|
+
* Handle the HTTP header `Link` according to the specification RFC 8288.
|
4407
|
+
*/
|
4408
|
+
var HttpHeaderLink = class HttpHeaderLink {
|
4409
|
+
get [Symbol.toStringTag]() {
|
4410
|
+
return "HTTPHeaderLink";
|
4411
|
+
}
|
4412
|
+
#entries = [];
|
4413
|
+
/**
|
4414
|
+
* Handle the HTTP header `Link` according to the specification RFC 8288.
|
4415
|
+
* @param {...(string | Headers | HttpHeaderLink | HttpHeaderLinkEntry[] | Response)} inputs Input.
|
4416
|
+
*/
|
4417
|
+
constructor(...inputs) {
|
4418
|
+
if (inputs.length > 0) this.add(...inputs);
|
4419
|
+
}
|
4420
|
+
/**
|
4421
|
+
* Add entries.
|
4422
|
+
* @param {...(string | Headers | HttpHeaderLink | HttpHeaderLinkEntry[] | Response)} inputs Input.
|
4423
|
+
* @returns {this}
|
4424
|
+
*/
|
4425
|
+
add(...inputs) {
|
4426
|
+
for (const input of inputs) if (input instanceof HttpHeaderLink) this.#entries.push(...structuredClone(input.#entries));
|
4427
|
+
else if (Array.isArray(input)) this.#entries.push(...input.map(([uri, parameters]) => {
|
4428
|
+
validateURI(uri);
|
4429
|
+
Object.entries(parameters).forEach(([key, value]) => {
|
4430
|
+
if (key !== key.toLowerCase() || !/^[\w-]+\*?$/.test(key)) throw new SyntaxError(`\`${key}\` is not a valid parameter key!`);
|
4431
|
+
if (parametersNeedLowerCase.includes(key) && value !== value.toLowerCase()) throw new SyntaxError(`\`${value}\` is not a valid parameter value!`);
|
4432
|
+
});
|
4433
|
+
return [uri, structuredClone(parameters)];
|
4434
|
+
}));
|
4435
|
+
else for (const entry of parseLinkFromString((input instanceof Headers || input instanceof Response ? (input instanceof Headers ? input : input.headers).get("Link") : input) ?? "")) this.#entries.push(entry);
|
4436
|
+
return this;
|
4437
|
+
}
|
4438
|
+
/**
|
4439
|
+
* Return all of the entries.
|
4440
|
+
* @returns {HttpHeaderLinkEntry[]} Entries.
|
4441
|
+
*/
|
4442
|
+
entries() {
|
4443
|
+
return structuredClone(this.#entries);
|
4444
|
+
}
|
4445
|
+
/**
|
4446
|
+
* Get entries by parameter.
|
4447
|
+
* @param {string} key Key of the parameter.
|
4448
|
+
* @param {string} value Value of the parameter.
|
4449
|
+
* @returns {HttpHeaderLinkEntry[]} Entries which match the parameter.
|
4450
|
+
*/
|
4451
|
+
getByParameter(key, value) {
|
4452
|
+
if (key !== key.toLowerCase()) throw new SyntaxError(`\`${key}\` is not a valid parameter key!`);
|
4453
|
+
if (key === "rel") return this.getByRel(value);
|
4454
|
+
return structuredClone(this.#entries.filter((entry) => {
|
4455
|
+
return entry[1][key] === value;
|
4456
|
+
}));
|
4457
|
+
}
|
4458
|
+
/**
|
4459
|
+
* Get entries by parameter `rel`.
|
4460
|
+
* @param {string} value Value of the parameter `rel`.
|
4461
|
+
* @returns {HttpHeaderLinkEntry[]} Entries which match the parameter.
|
4462
|
+
*/
|
4463
|
+
getByRel(value) {
|
4464
|
+
if (value !== value.toLowerCase()) throw new SyntaxError(`\`${value}\` is not a valid parameter \`rel\` value!`);
|
4465
|
+
return structuredClone(this.#entries.filter((entity) => {
|
4466
|
+
return entity[1].rel?.toLowerCase() === value;
|
4467
|
+
}));
|
4468
|
+
}
|
4469
|
+
/**
|
4470
|
+
* Whether have entries that match parameter.
|
4471
|
+
* @param {string} key Key of the parameter.
|
4472
|
+
* @param {string} value Value of the parameter.
|
4473
|
+
* @returns {boolean} Determine result.
|
4474
|
+
*/
|
4475
|
+
hasParameter(key, value) {
|
4476
|
+
return this.getByParameter(key, value).length > 0;
|
4477
|
+
}
|
4478
|
+
/**
|
4479
|
+
* Stringify entries.
|
4480
|
+
* @returns {string} Stringified entries.
|
4481
|
+
*/
|
4482
|
+
toString() {
|
4483
|
+
return this.#entries.map(([uri, parameters]) => {
|
4484
|
+
return [`<${encodeURI(uri)}>`, ...Object.entries(parameters).map(([key, value]) => {
|
4485
|
+
return value.length > 0 ? `${key}="${value.replaceAll("\"", "\\\"")}"` : key;
|
4486
|
+
})].join("; ");
|
4487
|
+
}).join(", ");
|
4488
|
+
}
|
4489
|
+
/**
|
4490
|
+
* Parse the HTTP header `Link` according to the specification RFC 8288.
|
4491
|
+
* @param {...(string | Headers | HttpHeaderLink | HttpHeaderLinkEntry[] | Response)} inputs Input.
|
4492
|
+
* @returns {HttpHeaderLink}
|
4493
|
+
*/
|
4494
|
+
static parse(...inputs) {
|
4495
|
+
return new this(...inputs);
|
4496
|
+
}
|
4497
|
+
/**
|
4498
|
+
* Stringify as the HTTP header `Link` according to the specification RFC 8288.
|
4499
|
+
* @param {...(string | Headers | HttpHeaderLink | HttpHeaderLinkEntry[] | Response)} inputs Input.
|
4500
|
+
* @returns {string}
|
4501
|
+
*/
|
4502
|
+
static stringify(...inputs) {
|
4503
|
+
return new this(...inputs).toString();
|
4504
|
+
}
|
4505
|
+
};
|
4506
|
+
|
4327
4507
|
//#endregion
|
4328
4508
|
//#region src/runtime/url.ts
|
4329
4509
|
var UrlError = class extends Error {
|
@@ -4465,9 +4645,9 @@ async function getRemoteDocument(url, response, fetch$1) {
|
|
4465
4645
|
if (linkHeader != null) {
|
4466
4646
|
let link;
|
4467
4647
|
try {
|
4468
|
-
link = new
|
4648
|
+
link = new HttpHeaderLink(linkHeader);
|
4469
4649
|
} catch (e) {
|
4470
|
-
if (e instanceof SyntaxError) link = new
|
4650
|
+
if (e instanceof SyntaxError) link = new HttpHeaderLink();
|
4471
4651
|
else throw e;
|
4472
4652
|
}
|
4473
4653
|
if (jsonLd) {
|
@@ -5004,7 +5184,7 @@ async function importSpki(pem) {
|
|
5004
5184
|
* @since 0.5.0
|
5005
5185
|
*/
|
5006
5186
|
async function exportSpki(key) {
|
5007
|
-
const { validateCryptoKey } = await import("./key-
|
5187
|
+
const { validateCryptoKey } = await import("./key-BA23EOog.js");
|
5008
5188
|
validateCryptoKey(key);
|
5009
5189
|
const spki = await crypto.subtle.exportKey("spki", key);
|
5010
5190
|
let pem = encodeBase64(spki);
|
@@ -5628,7 +5808,7 @@ var Object$1 = class Object$1 {
|
|
5628
5808
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
5629
5809
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
5630
5810
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
5631
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
5811
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
5632
5812
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
5633
5813
|
let fetchResult;
|
5634
5814
|
try {
|
@@ -5754,7 +5934,7 @@ var Object$1 = class Object$1 {
|
|
5754
5934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
5755
5935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
5756
5936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
5757
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
5937
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
5758
5938
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
5759
5939
|
let fetchResult;
|
5760
5940
|
try {
|
@@ -5934,7 +6114,7 @@ var Object$1 = class Object$1 {
|
|
5934
6114
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
5935
6115
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
5936
6116
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
5937
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6117
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
5938
6118
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
5939
6119
|
let fetchResult;
|
5940
6120
|
try {
|
@@ -6090,7 +6270,7 @@ var Object$1 = class Object$1 {
|
|
6090
6270
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6091
6271
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6092
6272
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6093
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6273
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6094
6274
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6095
6275
|
let fetchResult;
|
6096
6276
|
try {
|
@@ -6233,7 +6413,7 @@ var Object$1 = class Object$1 {
|
|
6233
6413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6234
6414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6235
6415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6236
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6416
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6237
6417
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6238
6418
|
let fetchResult;
|
6239
6419
|
try {
|
@@ -6344,7 +6524,7 @@ var Object$1 = class Object$1 {
|
|
6344
6524
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6345
6525
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6346
6526
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6347
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6527
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6348
6528
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6349
6529
|
let fetchResult;
|
6350
6530
|
try {
|
@@ -6482,7 +6662,7 @@ var Object$1 = class Object$1 {
|
|
6482
6662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6483
6663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6484
6664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6485
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6665
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6486
6666
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6487
6667
|
let fetchResult;
|
6488
6668
|
try {
|
@@ -6620,7 +6800,7 @@ var Object$1 = class Object$1 {
|
|
6620
6800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6621
6801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6622
6802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6623
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6803
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6624
6804
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6625
6805
|
let fetchResult;
|
6626
6806
|
try {
|
@@ -6765,7 +6945,7 @@ var Object$1 = class Object$1 {
|
|
6765
6945
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6766
6946
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6767
6947
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6768
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
6948
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6769
6949
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6770
6950
|
let fetchResult;
|
6771
6951
|
try {
|
@@ -6910,7 +7090,7 @@ var Object$1 = class Object$1 {
|
|
6910
7090
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
6911
7091
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
6912
7092
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
6913
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7093
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
6914
7094
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
6915
7095
|
let fetchResult;
|
6916
7096
|
try {
|
@@ -7060,7 +7240,7 @@ var Object$1 = class Object$1 {
|
|
7060
7240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7061
7241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7062
7242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7063
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7243
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7064
7244
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7065
7245
|
let fetchResult;
|
7066
7246
|
try {
|
@@ -7160,7 +7340,7 @@ var Object$1 = class Object$1 {
|
|
7160
7340
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7161
7341
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7162
7342
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7163
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7343
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7164
7344
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7165
7345
|
let fetchResult;
|
7166
7346
|
try {
|
@@ -7266,7 +7446,7 @@ var Object$1 = class Object$1 {
|
|
7266
7446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7267
7447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7268
7448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7269
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7449
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7270
7450
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7271
7451
|
let fetchResult;
|
7272
7452
|
try {
|
@@ -7372,7 +7552,7 @@ var Object$1 = class Object$1 {
|
|
7372
7552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7373
7553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7374
7554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7375
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7555
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7376
7556
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7377
7557
|
let fetchResult;
|
7378
7558
|
try {
|
@@ -7496,7 +7676,7 @@ var Object$1 = class Object$1 {
|
|
7496
7676
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7497
7677
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7498
7678
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7499
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7679
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7500
7680
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7501
7681
|
let fetchResult;
|
7502
7682
|
try {
|
@@ -7629,7 +7809,7 @@ var Object$1 = class Object$1 {
|
|
7629
7809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7630
7810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7631
7811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7632
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7812
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7633
7813
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7634
7814
|
let fetchResult;
|
7635
7815
|
try {
|
@@ -7765,7 +7945,7 @@ var Object$1 = class Object$1 {
|
|
7765
7945
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7766
7946
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7767
7947
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7768
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
7948
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7769
7949
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7770
7950
|
let fetchResult;
|
7771
7951
|
try {
|
@@ -7901,7 +8081,7 @@ var Object$1 = class Object$1 {
|
|
7901
8081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
7902
8082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
7903
8083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
7904
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
8084
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
7905
8085
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
7906
8086
|
let fetchResult;
|
7907
8087
|
try {
|
@@ -8037,7 +8217,7 @@ var Object$1 = class Object$1 {
|
|
8037
8217
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
8038
8218
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
8039
8219
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
8040
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
8220
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
8041
8221
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
8042
8222
|
let fetchResult;
|
8043
8223
|
try {
|
@@ -8210,7 +8390,7 @@ var Object$1 = class Object$1 {
|
|
8210
8390
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
8211
8391
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
8212
8392
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
8213
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
8393
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
8214
8394
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
8215
8395
|
let fetchResult;
|
8216
8396
|
try {
|
@@ -9069,7 +9249,7 @@ var Object$1 = class Object$1 {
|
|
9069
9249
|
*/
|
9070
9250
|
static async fromJsonLd(json, options = {}) {
|
9071
9251
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
9072
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
9252
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
9073
9253
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
9074
9254
|
try {
|
9075
9255
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
@@ -9823,7 +10003,7 @@ var Object$1 = class Object$1 {
|
|
9823
10003
|
let _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array = values["https://www.w3.org/ns/activitystreams#url"];
|
9824
10004
|
for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array == null ? [] : _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array.length === 1 && "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array[0] ? _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array[0]["@list"] : _2oPEH9MQ3aj8JVwyYuWkqoVwV865_url__array) {
|
9825
10005
|
if (v == null) continue;
|
9826
|
-
const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? new URL(v["@id"]) : typeof v === "object" && "@type" in v && Array.isArray(v["@type"]) && [
|
10006
|
+
const decoded = typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]) : typeof v === "object" && "@type" in v && Array.isArray(v["@type"]) && [
|
9827
10007
|
"https://www.w3.org/ns/activitystreams#Link",
|
9828
10008
|
"https://www.w3.org/ns/activitystreams#Hashtag",
|
9829
10009
|
"https://www.w3.org/ns/activitystreams#Mention"
|
@@ -10218,7 +10398,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
10218
10398
|
*/
|
10219
10399
|
static async fromJsonLd(json, options = {}) {
|
10220
10400
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
10221
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10401
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
10222
10402
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
10223
10403
|
try {
|
10224
10404
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
@@ -10461,7 +10641,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
10461
10641
|
*/
|
10462
10642
|
static async fromJsonLd(json, options = {}) {
|
10463
10643
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
10464
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10644
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
10465
10645
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
10466
10646
|
try {
|
10467
10647
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
@@ -10678,7 +10858,7 @@ var Activity = class Activity extends Object$1 {
|
|
10678
10858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
10679
10859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
10680
10860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
10681
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
10861
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
10682
10862
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
10683
10863
|
let fetchResult;
|
10684
10864
|
try {
|
@@ -10858,7 +11038,7 @@ var Activity = class Activity extends Object$1 {
|
|
10858
11038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
10859
11039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
10860
11040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
10861
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11041
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
10862
11042
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
10863
11043
|
let fetchResult;
|
10864
11044
|
try {
|
@@ -10996,7 +11176,7 @@ var Activity = class Activity extends Object$1 {
|
|
10996
11176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
10997
11177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
10998
11178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
10999
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11179
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
11000
11180
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11001
11181
|
let fetchResult;
|
11002
11182
|
try {
|
@@ -11140,7 +11320,7 @@ var Activity = class Activity extends Object$1 {
|
|
11140
11320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
11141
11321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
11142
11322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
11143
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11323
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
11144
11324
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11145
11325
|
let fetchResult;
|
11146
11326
|
try {
|
@@ -11278,7 +11458,7 @@ var Activity = class Activity extends Object$1 {
|
|
11278
11458
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
11279
11459
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
11280
11460
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
11281
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11461
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
11282
11462
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11283
11463
|
let fetchResult;
|
11284
11464
|
try {
|
@@ -11418,7 +11598,7 @@ var Activity = class Activity extends Object$1 {
|
|
11418
11598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
11419
11599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
11420
11600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
11421
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11601
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
11422
11602
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
11423
11603
|
let fetchResult;
|
11424
11604
|
try {
|
@@ -11660,7 +11840,7 @@ var Activity = class Activity extends Object$1 {
|
|
11660
11840
|
*/
|
11661
11841
|
static async fromJsonLd(json, options = {}) {
|
11662
11842
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
11663
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
11843
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
11664
11844
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
11665
11845
|
try {
|
11666
11846
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
@@ -11954,7 +12134,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
11954
12134
|
*/
|
11955
12135
|
static async fromJsonLd(json, options = {}) {
|
11956
12136
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
11957
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12137
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
11958
12138
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
11959
12139
|
try {
|
11960
12140
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
@@ -12211,7 +12391,7 @@ var PropertyValue = class {
|
|
12211
12391
|
*/
|
12212
12392
|
static async fromJsonLd(json, options = {}) {
|
12213
12393
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12214
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12394
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
12215
12395
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12216
12396
|
try {
|
12217
12397
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
@@ -12451,7 +12631,7 @@ var DidService = class {
|
|
12451
12631
|
*/
|
12452
12632
|
static async fromJsonLd(json, options = {}) {
|
12453
12633
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12454
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12634
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
12455
12635
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12456
12636
|
try {
|
12457
12637
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
@@ -12496,7 +12676,7 @@ var DidService = class {
|
|
12496
12676
|
let _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array = values["https://www.w3.org/ns/did#serviceEndpoint"];
|
12497
12677
|
for (const v of _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array == null ? [] : _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array.length === 1 && "@list" in _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array[0] ? _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array[0]["@list"] : _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint__array) {
|
12498
12678
|
if (v == null) continue;
|
12499
|
-
_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(new URL(v["@id"]));
|
12679
|
+
_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
12500
12680
|
}
|
12501
12681
|
instance.#_2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint = _2KM4fetG6FTJ1cphj76rzJ8Dyv7p_serviceEndpoint;
|
12502
12682
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
@@ -12611,7 +12791,7 @@ var Export = class Export extends DidService {
|
|
12611
12791
|
*/
|
12612
12792
|
static async fromJsonLd(json, options = {}) {
|
12613
12793
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12614
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12794
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
12615
12795
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
12616
12796
|
try {
|
12617
12797
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
@@ -12781,7 +12961,7 @@ var DataIntegrityProof = class {
|
|
12781
12961
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
12782
12962
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
12783
12963
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
12784
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
12964
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
12785
12965
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
12786
12966
|
let fetchResult;
|
12787
12967
|
try {
|
@@ -12995,7 +13175,7 @@ var DataIntegrityProof = class {
|
|
12995
13175
|
*/
|
12996
13176
|
static async fromJsonLd(json, options = {}) {
|
12997
13177
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
12998
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13178
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
12999
13179
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
13000
13180
|
try {
|
13001
13181
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
@@ -13202,7 +13382,7 @@ var CryptographicKey = class {
|
|
13202
13382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
13203
13383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
13204
13384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
13205
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13385
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
13206
13386
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
13207
13387
|
let fetchResult;
|
13208
13388
|
try {
|
@@ -13447,7 +13627,7 @@ var CryptographicKey = class {
|
|
13447
13627
|
*/
|
13448
13628
|
static async fromJsonLd(json, options = {}) {
|
13449
13629
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
13450
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13630
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
13451
13631
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
13452
13632
|
try {
|
13453
13633
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
@@ -13623,7 +13803,7 @@ var Multikey = class {
|
|
13623
13803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
13624
13804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
13625
13805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
13626
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
13806
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
13627
13807
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
13628
13808
|
let fetchResult;
|
13629
13809
|
try {
|
@@ -13874,7 +14054,7 @@ var Multikey = class {
|
|
13874
14054
|
*/
|
13875
14055
|
static async fromJsonLd(json, options = {}) {
|
13876
14056
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
13877
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14057
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
13878
14058
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
13879
14059
|
try {
|
13880
14060
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
@@ -14059,7 +14239,7 @@ var Accept = class Accept extends Activity {
|
|
14059
14239
|
*/
|
14060
14240
|
static async fromJsonLd(json, options = {}) {
|
14061
14241
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
14062
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14242
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
14063
14243
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
14064
14244
|
try {
|
14065
14245
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
@@ -14217,7 +14397,7 @@ var Add = class Add extends Activity {
|
|
14217
14397
|
*/
|
14218
14398
|
static async fromJsonLd(json, options = {}) {
|
14219
14399
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
14220
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14400
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
14221
14401
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
14222
14402
|
try {
|
14223
14403
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
@@ -14392,7 +14572,7 @@ var Announce = class Announce extends Activity {
|
|
14392
14572
|
*/
|
14393
14573
|
static async fromJsonLd(json, options = {}) {
|
14394
14574
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
14395
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14575
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
14396
14576
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
14397
14577
|
try {
|
14398
14578
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
@@ -14691,7 +14871,7 @@ var Application = class Application extends Object$1 {
|
|
14691
14871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
14692
14872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
14693
14873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
14694
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
14874
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
14695
14875
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
14696
14876
|
let fetchResult;
|
14697
14877
|
try {
|
@@ -14825,7 +15005,7 @@ var Application = class Application extends Object$1 {
|
|
14825
15005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
14826
15006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
14827
15007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
14828
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15008
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
14829
15009
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
14830
15010
|
let fetchResult;
|
14831
15011
|
try {
|
@@ -14977,7 +15157,7 @@ var Application = class Application extends Object$1 {
|
|
14977
15157
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
14978
15158
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
14979
15159
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
14980
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15160
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
14981
15161
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
14982
15162
|
let fetchResult;
|
14983
15163
|
try {
|
@@ -15097,7 +15277,7 @@ var Application = class Application extends Object$1 {
|
|
15097
15277
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15098
15278
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15099
15279
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15100
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15280
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15101
15281
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15102
15282
|
let fetchResult;
|
15103
15283
|
try {
|
@@ -15214,7 +15394,7 @@ var Application = class Application extends Object$1 {
|
|
15214
15394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15215
15395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15216
15396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15217
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15397
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15218
15398
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15219
15399
|
let fetchResult;
|
15220
15400
|
try {
|
@@ -15317,7 +15497,7 @@ var Application = class Application extends Object$1 {
|
|
15317
15497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15318
15498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15319
15499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15320
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15500
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15321
15501
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15322
15502
|
let fetchResult;
|
15323
15503
|
try {
|
@@ -15423,7 +15603,7 @@ var Application = class Application extends Object$1 {
|
|
15423
15603
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15424
15604
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15425
15605
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15426
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15606
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15427
15607
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15428
15608
|
let fetchResult;
|
15429
15609
|
try {
|
@@ -15527,7 +15707,7 @@ var Application = class Application extends Object$1 {
|
|
15527
15707
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15528
15708
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15529
15709
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15530
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15710
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15531
15711
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15532
15712
|
let fetchResult;
|
15533
15713
|
try {
|
@@ -15629,7 +15809,7 @@ var Application = class Application extends Object$1 {
|
|
15629
15809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15630
15810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15631
15811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15632
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15812
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15633
15813
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15634
15814
|
let fetchResult;
|
15635
15815
|
try {
|
@@ -15731,7 +15911,7 @@ var Application = class Application extends Object$1 {
|
|
15731
15911
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15732
15912
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15733
15913
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15734
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
15914
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15735
15915
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15736
15916
|
let fetchResult;
|
15737
15917
|
try {
|
@@ -15875,7 +16055,7 @@ var Application = class Application extends Object$1 {
|
|
15875
16055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
15876
16056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
15877
16057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
15878
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
16058
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
15879
16059
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
15880
16060
|
let fetchResult;
|
15881
16061
|
try {
|
@@ -16016,7 +16196,7 @@ var Application = class Application extends Object$1 {
|
|
16016
16196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
16017
16197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
16018
16198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
16019
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
16199
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
16020
16200
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
16021
16201
|
let fetchResult;
|
16022
16202
|
try {
|
@@ -16198,7 +16378,7 @@ var Application = class Application extends Object$1 {
|
|
16198
16378
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
16199
16379
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
16200
16380
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
16201
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
16381
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
16202
16382
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
16203
16383
|
let fetchResult;
|
16204
16384
|
try {
|
@@ -16922,7 +17102,7 @@ var Application = class Application extends Object$1 {
|
|
16922
17102
|
*/
|
16923
17103
|
static async fromJsonLd(json, options = {}) {
|
16924
17104
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
16925
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17105
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
16926
17106
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
16927
17107
|
try {
|
16928
17108
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
@@ -17409,7 +17589,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
17409
17589
|
*/
|
17410
17590
|
static async fromJsonLd(json, options = {}) {
|
17411
17591
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
17412
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17592
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
17413
17593
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
17414
17594
|
try {
|
17415
17595
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
@@ -17568,7 +17748,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
17568
17748
|
*/
|
17569
17749
|
static async fromJsonLd(json, options = {}) {
|
17570
17750
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
17571
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17751
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
17572
17752
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
17573
17753
|
try {
|
17574
17754
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
@@ -17809,7 +17989,7 @@ var Article = class Article extends Object$1 {
|
|
17809
17989
|
*/
|
17810
17990
|
static async fromJsonLd(json, options = {}) {
|
17811
17991
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
17812
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
17992
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
17813
17993
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
17814
17994
|
try {
|
17815
17995
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
@@ -18049,7 +18229,7 @@ var Document = class Document extends Object$1 {
|
|
18049
18229
|
*/
|
18050
18230
|
static async fromJsonLd(json, options = {}) {
|
18051
18231
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18052
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18232
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18053
18233
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18054
18234
|
try {
|
18055
18235
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
@@ -18239,7 +18419,7 @@ var Audio = class Audio extends Document {
|
|
18239
18419
|
*/
|
18240
18420
|
static async fromJsonLd(json, options = {}) {
|
18241
18421
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18242
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18422
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18243
18423
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18244
18424
|
try {
|
18245
18425
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
@@ -18394,7 +18574,7 @@ var Ignore = class Ignore extends Activity {
|
|
18394
18574
|
*/
|
18395
18575
|
static async fromJsonLd(json, options = {}) {
|
18396
18576
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18397
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18577
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18398
18578
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18399
18579
|
try {
|
18400
18580
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
@@ -18552,7 +18732,7 @@ var Block = class Block extends Ignore {
|
|
18552
18732
|
*/
|
18553
18733
|
static async fromJsonLd(json, options = {}) {
|
18554
18734
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
18555
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18735
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18556
18736
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
18557
18737
|
try {
|
18558
18738
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
@@ -18746,7 +18926,7 @@ var Collection = class Collection extends Object$1 {
|
|
18746
18926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18747
18927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18748
18928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18749
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
18929
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18750
18930
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18751
18931
|
let fetchResult;
|
18752
18932
|
try {
|
@@ -18846,7 +19026,7 @@ var Collection = class Collection extends Object$1 {
|
|
18846
19026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18847
19027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18848
19028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18849
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19029
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18850
19030
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18851
19031
|
let fetchResult;
|
18852
19032
|
try {
|
@@ -18946,7 +19126,7 @@ var Collection = class Collection extends Object$1 {
|
|
18946
19126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
18947
19127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
18948
19128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
18949
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19129
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
18950
19130
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
18951
19131
|
let fetchResult;
|
18952
19132
|
try {
|
@@ -19046,7 +19226,7 @@ var Collection = class Collection extends Object$1 {
|
|
19046
19226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19047
19227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19048
19228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19049
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19229
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19050
19230
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19051
19231
|
let fetchResult;
|
19052
19232
|
try {
|
@@ -19158,7 +19338,7 @@ var Collection = class Collection extends Object$1 {
|
|
19158
19338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19159
19339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19160
19340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19161
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19341
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19162
19342
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19163
19343
|
let fetchResult;
|
19164
19344
|
try {
|
@@ -19257,7 +19437,7 @@ var Collection = class Collection extends Object$1 {
|
|
19257
19437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19258
19438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19259
19439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19260
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19440
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19261
19441
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19262
19442
|
let fetchResult;
|
19263
19443
|
try {
|
@@ -19356,7 +19536,7 @@ var Collection = class Collection extends Object$1 {
|
|
19356
19536
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19357
19537
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19358
19538
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19359
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19539
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19360
19540
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19361
19541
|
let fetchResult;
|
19362
19542
|
try {
|
@@ -19455,7 +19635,7 @@ var Collection = class Collection extends Object$1 {
|
|
19455
19635
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19456
19636
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19457
19637
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19458
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19638
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19459
19639
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19460
19640
|
let fetchResult;
|
19461
19641
|
try {
|
@@ -19554,7 +19734,7 @@ var Collection = class Collection extends Object$1 {
|
|
19554
19734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19555
19735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19556
19736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19557
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19737
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19558
19738
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19559
19739
|
let fetchResult;
|
19560
19740
|
try {
|
@@ -19653,7 +19833,7 @@ var Collection = class Collection extends Object$1 {
|
|
19653
19833
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19654
19834
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19655
19835
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19656
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19836
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19657
19837
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19658
19838
|
let fetchResult;
|
19659
19839
|
try {
|
@@ -19752,7 +19932,7 @@ var Collection = class Collection extends Object$1 {
|
|
19752
19932
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19753
19933
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19754
19934
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19755
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
19935
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19756
19936
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19757
19937
|
let fetchResult;
|
19758
19938
|
try {
|
@@ -19851,7 +20031,7 @@ var Collection = class Collection extends Object$1 {
|
|
19851
20031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
19852
20032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
19853
20033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
19854
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20034
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
19855
20035
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
19856
20036
|
let fetchResult;
|
19857
20037
|
try {
|
@@ -20299,7 +20479,7 @@ var Collection = class Collection extends Object$1 {
|
|
20299
20479
|
*/
|
20300
20480
|
static async fromJsonLd(json, options = {}) {
|
20301
20481
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
20302
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20482
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
20303
20483
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
20304
20484
|
try {
|
20305
20485
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
@@ -20691,7 +20871,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
20691
20871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
20692
20872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
20693
20873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
20694
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20874
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
20695
20875
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
20696
20876
|
let fetchResult;
|
20697
20877
|
try {
|
@@ -20791,7 +20971,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
20791
20971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
20792
20972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
20793
20973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
20794
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
20974
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
20795
20975
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
20796
20976
|
let fetchResult;
|
20797
20977
|
try {
|
@@ -20890,7 +21070,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
20890
21070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
20891
21071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
20892
21072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
20893
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21073
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
20894
21074
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
20895
21075
|
let fetchResult;
|
20896
21076
|
try {
|
@@ -21145,7 +21325,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
21145
21325
|
*/
|
21146
21326
|
static async fromJsonLd(json, options = {}) {
|
21147
21327
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21148
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21328
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
21149
21329
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21150
21330
|
try {
|
21151
21331
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
@@ -21368,7 +21548,7 @@ var Create = class Create extends Activity {
|
|
21368
21548
|
*/
|
21369
21549
|
static async fromJsonLd(json, options = {}) {
|
21370
21550
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21371
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21551
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
21372
21552
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21373
21553
|
try {
|
21374
21554
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
@@ -21539,7 +21719,7 @@ var Delete = class Delete extends Activity {
|
|
21539
21719
|
*/
|
21540
21720
|
static async fromJsonLd(json, options = {}) {
|
21541
21721
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21542
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21722
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
21543
21723
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21544
21724
|
try {
|
21545
21725
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
@@ -21697,7 +21877,7 @@ var Dislike = class Dislike extends Activity {
|
|
21697
21877
|
*/
|
21698
21878
|
static async fromJsonLd(json, options = {}) {
|
21699
21879
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
21700
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
21880
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
21701
21881
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
21702
21882
|
try {
|
21703
21883
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
@@ -22067,7 +22247,7 @@ var Endpoints = class {
|
|
22067
22247
|
*/
|
22068
22248
|
static async fromJsonLd(json, options = {}) {
|
22069
22249
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
22070
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22250
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
22071
22251
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
22072
22252
|
try {
|
22073
22253
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
@@ -22111,42 +22291,42 @@ var Endpoints = class {
|
|
22111
22291
|
let _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
|
22112
22292
|
for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array == null ? [] : _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array.length === 1 && "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array[0] ? _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array[0]["@list"] : _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl__array) {
|
22113
22293
|
if (v == null) continue;
|
22114
|
-
_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(new URL(v["@id"]));
|
22294
|
+
_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
22115
22295
|
}
|
22116
22296
|
instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl = _2JCYDbSxEHCCLdBYed33cCETfGyR_proxyUrl;
|
22117
22297
|
const _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = [];
|
22118
22298
|
let _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
|
22119
22299
|
for (const v of _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array == null ? [] : _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array.length === 1 && "@list" in _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array[0] ? _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array[0]["@list"] : _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint__array) {
|
22120
22300
|
if (v == null) continue;
|
22121
|
-
_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(new URL(v["@id"]));
|
22301
|
+
_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
22122
22302
|
}
|
22123
22303
|
instance.#_25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint = _25S6UmgzDead8hxL5sQFezZTAusd_oauthAuthorizationEndpoint;
|
22124
22304
|
const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = [];
|
22125
22305
|
let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
|
22126
22306
|
for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array == null ? [] : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array.length === 1 && "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array[0] ? _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array[0]["@list"] : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint__array) {
|
22127
22307
|
if (v == null) continue;
|
22128
|
-
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(new URL(v["@id"]));
|
22308
|
+
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
22129
22309
|
}
|
22130
22310
|
instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3_oauthTokenEndpoint;
|
22131
22311
|
const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = [];
|
22132
22312
|
let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
|
22133
22313
|
for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array == null ? [] : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array.length === 1 && "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array[0] ? _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array[0]["@list"] : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey__array) {
|
22134
22314
|
if (v == null) continue;
|
22135
|
-
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(new URL(v["@id"]));
|
22315
|
+
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
22136
22316
|
}
|
22137
22317
|
instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr_provideClientKey;
|
22138
22318
|
const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = [];
|
22139
22319
|
let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
|
22140
22320
|
for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array == null ? [] : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array.length === 1 && "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array[0] ? _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array[0]["@list"] : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey__array) {
|
22141
22321
|
if (v == null) continue;
|
22142
|
-
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(new URL(v["@id"]));
|
22322
|
+
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
22143
22323
|
}
|
22144
22324
|
instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS_signClientKey;
|
22145
22325
|
const _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = [];
|
22146
22326
|
let _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
|
22147
22327
|
for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array == null ? [] : _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array.length === 1 && "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array[0] ? _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array[0]["@list"] : _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox__array) {
|
22148
22328
|
if (v == null) continue;
|
22149
|
-
_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(new URL(v["@id"]));
|
22329
|
+
_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
22150
22330
|
}
|
22151
22331
|
instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox = _3JprUSDLVqqX4dwHRi37qGZZCRCc_sharedInbox;
|
22152
22332
|
if (!("_fromSubclass" in options) || !options._fromSubclass) try {
|
@@ -22300,7 +22480,7 @@ var Event = class Event extends Object$1 {
|
|
22300
22480
|
*/
|
22301
22481
|
static async fromJsonLd(json, options = {}) {
|
22302
22482
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
22303
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22483
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
22304
22484
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
22305
22485
|
try {
|
22306
22486
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
@@ -22456,7 +22636,7 @@ var Flag = class Flag extends Activity {
|
|
22456
22636
|
*/
|
22457
22637
|
static async fromJsonLd(json, options = {}) {
|
22458
22638
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
22459
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22639
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
22460
22640
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
22461
22641
|
try {
|
22462
22642
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
@@ -22616,7 +22796,7 @@ var Follow = class Follow extends Activity {
|
|
22616
22796
|
*/
|
22617
22797
|
static async fromJsonLd(json, options = {}) {
|
22618
22798
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
22619
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
22799
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
22620
22800
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
22621
22801
|
try {
|
22622
22802
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
@@ -22915,7 +23095,7 @@ var Group = class Group extends Object$1 {
|
|
22915
23095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
22916
23096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
22917
23097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
22918
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23098
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
22919
23099
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
22920
23100
|
let fetchResult;
|
22921
23101
|
try {
|
@@ -23049,7 +23229,7 @@ var Group = class Group extends Object$1 {
|
|
23049
23229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23050
23230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23051
23231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23052
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23232
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23053
23233
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23054
23234
|
let fetchResult;
|
23055
23235
|
try {
|
@@ -23201,7 +23381,7 @@ var Group = class Group extends Object$1 {
|
|
23201
23381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23202
23382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23203
23383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23204
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23384
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23205
23385
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23206
23386
|
let fetchResult;
|
23207
23387
|
try {
|
@@ -23321,7 +23501,7 @@ var Group = class Group extends Object$1 {
|
|
23321
23501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23322
23502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23323
23503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23324
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23504
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23325
23505
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23326
23506
|
let fetchResult;
|
23327
23507
|
try {
|
@@ -23438,7 +23618,7 @@ var Group = class Group extends Object$1 {
|
|
23438
23618
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23439
23619
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23440
23620
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23441
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23621
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23442
23622
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23443
23623
|
let fetchResult;
|
23444
23624
|
try {
|
@@ -23541,7 +23721,7 @@ var Group = class Group extends Object$1 {
|
|
23541
23721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23542
23722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23543
23723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23544
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23724
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23545
23725
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23546
23726
|
let fetchResult;
|
23547
23727
|
try {
|
@@ -23647,7 +23827,7 @@ var Group = class Group extends Object$1 {
|
|
23647
23827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23648
23828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23649
23829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23650
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23830
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23651
23831
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23652
23832
|
let fetchResult;
|
23653
23833
|
try {
|
@@ -23751,7 +23931,7 @@ var Group = class Group extends Object$1 {
|
|
23751
23931
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23752
23932
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23753
23933
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23754
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
23934
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23755
23935
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23756
23936
|
let fetchResult;
|
23757
23937
|
try {
|
@@ -23853,7 +24033,7 @@ var Group = class Group extends Object$1 {
|
|
23853
24033
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23854
24034
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23855
24035
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23856
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24036
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23857
24037
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23858
24038
|
let fetchResult;
|
23859
24039
|
try {
|
@@ -23955,7 +24135,7 @@ var Group = class Group extends Object$1 {
|
|
23955
24135
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
23956
24136
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
23957
24137
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
23958
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24138
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
23959
24139
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
23960
24140
|
let fetchResult;
|
23961
24141
|
try {
|
@@ -24099,7 +24279,7 @@ var Group = class Group extends Object$1 {
|
|
24099
24279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
24100
24280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
24101
24281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
24102
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24282
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
24103
24283
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
24104
24284
|
let fetchResult;
|
24105
24285
|
try {
|
@@ -24240,7 +24420,7 @@ var Group = class Group extends Object$1 {
|
|
24240
24420
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
24241
24421
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
24242
24422
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
24243
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24423
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
24244
24424
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
24245
24425
|
let fetchResult;
|
24246
24426
|
try {
|
@@ -24422,7 +24602,7 @@ var Group = class Group extends Object$1 {
|
|
24422
24602
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
24423
24603
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
24424
24604
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
24425
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
24605
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
24426
24606
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
24427
24607
|
let fetchResult;
|
24428
24608
|
try {
|
@@ -25146,7 +25326,7 @@ var Group = class Group extends Object$1 {
|
|
25146
25326
|
*/
|
25147
25327
|
static async fromJsonLd(json, options = {}) {
|
25148
25328
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
25149
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
25329
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
25150
25330
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
25151
25331
|
try {
|
25152
25332
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
@@ -25761,7 +25941,7 @@ var Link = class Link {
|
|
25761
25941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
25762
25942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
25763
25943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
25764
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
25944
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
25765
25945
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
25766
25946
|
let fetchResult;
|
25767
25947
|
try {
|
@@ -26060,7 +26240,7 @@ var Link = class Link {
|
|
26060
26240
|
*/
|
26061
26241
|
static async fromJsonLd(json, options = {}) {
|
26062
26242
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26063
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26243
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
26064
26244
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26065
26245
|
try {
|
26066
26246
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
@@ -26106,7 +26286,7 @@ var Link = class Link {
|
|
26106
26286
|
let _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array = values["https://www.w3.org/ns/activitystreams#href"];
|
26107
26287
|
for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array == null ? [] : _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array.length === 1 && "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array[0] ? _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array[0]["@list"] : _pVjLsybKQdmkjuU7MHjiVmNnuj7_href__array) {
|
26108
26288
|
if (v == null) continue;
|
26109
|
-
_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(new URL(v["@id"]));
|
26289
|
+
_pVjLsybKQdmkjuU7MHjiVmNnuj7_href.push(v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]));
|
26110
26290
|
}
|
26111
26291
|
instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7_href = _pVjLsybKQdmkjuU7MHjiVmNnuj7_href;
|
26112
26292
|
const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ_rel = [];
|
@@ -26388,7 +26568,7 @@ var Hashtag = class Hashtag extends Link {
|
|
26388
26568
|
*/
|
26389
26569
|
static async fromJsonLd(json, options = {}) {
|
26390
26570
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26391
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26571
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
26392
26572
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26393
26573
|
try {
|
26394
26574
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
@@ -26550,7 +26730,7 @@ var Image = class Image extends Document {
|
|
26550
26730
|
*/
|
26551
26731
|
static async fromJsonLd(json, options = {}) {
|
26552
26732
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26553
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26733
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
26554
26734
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26555
26735
|
try {
|
26556
26736
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
@@ -26706,7 +26886,7 @@ var Offer = class Offer extends Activity {
|
|
26706
26886
|
*/
|
26707
26887
|
static async fromJsonLd(json, options = {}) {
|
26708
26888
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26709
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
26889
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
26710
26890
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26711
26891
|
try {
|
26712
26892
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
@@ -26862,7 +27042,7 @@ var Invite = class Invite extends Offer {
|
|
26862
27042
|
*/
|
26863
27043
|
static async fromJsonLd(json, options = {}) {
|
26864
27044
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
26865
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27045
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
26866
27046
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
26867
27047
|
try {
|
26868
27048
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
@@ -27017,7 +27197,7 @@ var Join = class Join extends Activity {
|
|
27017
27197
|
*/
|
27018
27198
|
static async fromJsonLd(json, options = {}) {
|
27019
27199
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27020
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27200
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
27021
27201
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27022
27202
|
try {
|
27023
27203
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
@@ -27172,7 +27352,7 @@ var Leave = class Leave extends Activity {
|
|
27172
27352
|
*/
|
27173
27353
|
static async fromJsonLd(json, options = {}) {
|
27174
27354
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27175
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27355
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
27176
27356
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27177
27357
|
try {
|
27178
27358
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
@@ -27331,7 +27511,7 @@ var Like = class Like extends Activity {
|
|
27331
27511
|
*/
|
27332
27512
|
static async fromJsonLd(json, options = {}) {
|
27333
27513
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27334
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27514
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
27335
27515
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27336
27516
|
try {
|
27337
27517
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
@@ -27485,7 +27665,7 @@ var Listen = class Listen extends Activity {
|
|
27485
27665
|
*/
|
27486
27666
|
static async fromJsonLd(json, options = {}) {
|
27487
27667
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27488
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27668
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
27489
27669
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27490
27670
|
try {
|
27491
27671
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
@@ -27644,7 +27824,7 @@ var Mention = class Mention extends Link {
|
|
27644
27824
|
*/
|
27645
27825
|
static async fromJsonLd(json, options = {}) {
|
27646
27826
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27647
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27827
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
27648
27828
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27649
27829
|
try {
|
27650
27830
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
@@ -27800,7 +27980,7 @@ var Move = class Move extends Activity {
|
|
27800
27980
|
*/
|
27801
27981
|
static async fromJsonLd(json, options = {}) {
|
27802
27982
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
27803
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
27983
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
27804
27984
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
27805
27985
|
try {
|
27806
27986
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
@@ -28042,7 +28222,7 @@ var Note = class Note extends Object$1 {
|
|
28042
28222
|
*/
|
28043
28223
|
static async fromJsonLd(json, options = {}) {
|
28044
28224
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
28045
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28225
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
28046
28226
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
28047
28227
|
try {
|
28048
28228
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
@@ -28166,7 +28346,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
28166
28346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28167
28347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28168
28348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28169
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28349
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
28170
28350
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28171
28351
|
let fetchResult;
|
28172
28352
|
try {
|
@@ -28401,7 +28581,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
28401
28581
|
*/
|
28402
28582
|
static async fromJsonLd(json, options = {}) {
|
28403
28583
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
28404
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28584
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
28405
28585
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
28406
28586
|
try {
|
28407
28587
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
@@ -28596,7 +28776,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
28596
28776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
28597
28777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
28598
28778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
28599
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
28779
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
28600
28780
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
28601
28781
|
let fetchResult;
|
28602
28782
|
try {
|
@@ -28857,7 +29037,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
28857
29037
|
*/
|
28858
29038
|
static async fromJsonLd(json, options = {}) {
|
28859
29039
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
28860
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29040
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
28861
29041
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
28862
29042
|
try {
|
28863
29043
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
@@ -29246,7 +29426,7 @@ var Organization = class Organization extends Object$1 {
|
|
29246
29426
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29247
29427
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29248
29428
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29249
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29429
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29250
29430
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29251
29431
|
let fetchResult;
|
29252
29432
|
try {
|
@@ -29380,7 +29560,7 @@ var Organization = class Organization extends Object$1 {
|
|
29380
29560
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29381
29561
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29382
29562
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29383
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29563
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29384
29564
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29385
29565
|
let fetchResult;
|
29386
29566
|
try {
|
@@ -29532,7 +29712,7 @@ var Organization = class Organization extends Object$1 {
|
|
29532
29712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29533
29713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29534
29714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29535
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29715
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29536
29716
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29537
29717
|
let fetchResult;
|
29538
29718
|
try {
|
@@ -29652,7 +29832,7 @@ var Organization = class Organization extends Object$1 {
|
|
29652
29832
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29653
29833
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29654
29834
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29655
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29835
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29656
29836
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29657
29837
|
let fetchResult;
|
29658
29838
|
try {
|
@@ -29769,7 +29949,7 @@ var Organization = class Organization extends Object$1 {
|
|
29769
29949
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29770
29950
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29771
29951
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29772
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
29952
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29773
29953
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29774
29954
|
let fetchResult;
|
29775
29955
|
try {
|
@@ -29872,7 +30052,7 @@ var Organization = class Organization extends Object$1 {
|
|
29872
30052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29873
30053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29874
30054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29875
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30055
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29876
30056
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29877
30057
|
let fetchResult;
|
29878
30058
|
try {
|
@@ -29978,7 +30158,7 @@ var Organization = class Organization extends Object$1 {
|
|
29978
30158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
29979
30159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
29980
30160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
29981
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30161
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
29982
30162
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
29983
30163
|
let fetchResult;
|
29984
30164
|
try {
|
@@ -30082,7 +30262,7 @@ var Organization = class Organization extends Object$1 {
|
|
30082
30262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
30083
30263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
30084
30264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
30085
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30265
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
30086
30266
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
30087
30267
|
let fetchResult;
|
30088
30268
|
try {
|
@@ -30184,7 +30364,7 @@ var Organization = class Organization extends Object$1 {
|
|
30184
30364
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
30185
30365
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
30186
30366
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
30187
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30367
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
30188
30368
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
30189
30369
|
let fetchResult;
|
30190
30370
|
try {
|
@@ -30286,7 +30466,7 @@ var Organization = class Organization extends Object$1 {
|
|
30286
30466
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
30287
30467
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
30288
30468
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
30289
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30469
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
30290
30470
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
30291
30471
|
let fetchResult;
|
30292
30472
|
try {
|
@@ -30430,7 +30610,7 @@ var Organization = class Organization extends Object$1 {
|
|
30430
30610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
30431
30611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
30432
30612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
30433
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30613
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
30434
30614
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
30435
30615
|
let fetchResult;
|
30436
30616
|
try {
|
@@ -30571,7 +30751,7 @@ var Organization = class Organization extends Object$1 {
|
|
30571
30751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
30572
30752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
30573
30753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
30574
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30754
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
30575
30755
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
30576
30756
|
let fetchResult;
|
30577
30757
|
try {
|
@@ -30753,7 +30933,7 @@ var Organization = class Organization extends Object$1 {
|
|
30753
30933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
30754
30934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
30755
30935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
30756
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
30936
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
30757
30937
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
30758
30938
|
let fetchResult;
|
30759
30939
|
try {
|
@@ -31477,7 +31657,7 @@ var Organization = class Organization extends Object$1 {
|
|
31477
31657
|
*/
|
31478
31658
|
static async fromJsonLd(json, options = {}) {
|
31479
31659
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
31480
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
31660
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
31481
31661
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
31482
31662
|
try {
|
31483
31663
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
@@ -31970,7 +32150,7 @@ var Page = class Page extends Document {
|
|
31970
32150
|
*/
|
31971
32151
|
static async fromJsonLd(json, options = {}) {
|
31972
32152
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
31973
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32153
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
31974
32154
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
31975
32155
|
try {
|
31976
32156
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
@@ -32269,7 +32449,7 @@ var Person = class Person extends Object$1 {
|
|
32269
32449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32270
32450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32271
32451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32272
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32452
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
32273
32453
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32274
32454
|
let fetchResult;
|
32275
32455
|
try {
|
@@ -32403,7 +32583,7 @@ var Person = class Person extends Object$1 {
|
|
32403
32583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32404
32584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32405
32585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32406
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32586
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
32407
32587
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32408
32588
|
let fetchResult;
|
32409
32589
|
try {
|
@@ -32555,7 +32735,7 @@ var Person = class Person extends Object$1 {
|
|
32555
32735
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32556
32736
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32557
32737
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32558
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32738
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
32559
32739
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32560
32740
|
let fetchResult;
|
32561
32741
|
try {
|
@@ -32675,7 +32855,7 @@ var Person = class Person extends Object$1 {
|
|
32675
32855
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32676
32856
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32677
32857
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32678
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32858
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
32679
32859
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32680
32860
|
let fetchResult;
|
32681
32861
|
try {
|
@@ -32792,7 +32972,7 @@ var Person = class Person extends Object$1 {
|
|
32792
32972
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32793
32973
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32794
32974
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32795
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
32975
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
32796
32976
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32797
32977
|
let fetchResult;
|
32798
32978
|
try {
|
@@ -32895,7 +33075,7 @@ var Person = class Person extends Object$1 {
|
|
32895
33075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
32896
33076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
32897
33077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
32898
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33078
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
32899
33079
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
32900
33080
|
let fetchResult;
|
32901
33081
|
try {
|
@@ -33001,7 +33181,7 @@ var Person = class Person extends Object$1 {
|
|
33001
33181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33002
33182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33003
33183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33004
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33184
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33005
33185
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33006
33186
|
let fetchResult;
|
33007
33187
|
try {
|
@@ -33105,7 +33285,7 @@ var Person = class Person extends Object$1 {
|
|
33105
33285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33106
33286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33107
33287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33108
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33288
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33109
33289
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33110
33290
|
let fetchResult;
|
33111
33291
|
try {
|
@@ -33207,7 +33387,7 @@ var Person = class Person extends Object$1 {
|
|
33207
33387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33208
33388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33209
33389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33210
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33390
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33211
33391
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33212
33392
|
let fetchResult;
|
33213
33393
|
try {
|
@@ -33309,7 +33489,7 @@ var Person = class Person extends Object$1 {
|
|
33309
33489
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33310
33490
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33311
33491
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33312
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33492
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33313
33493
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33314
33494
|
let fetchResult;
|
33315
33495
|
try {
|
@@ -33453,7 +33633,7 @@ var Person = class Person extends Object$1 {
|
|
33453
33633
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33454
33634
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33455
33635
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33456
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33636
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33457
33637
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33458
33638
|
let fetchResult;
|
33459
33639
|
try {
|
@@ -33594,7 +33774,7 @@ var Person = class Person extends Object$1 {
|
|
33594
33774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33595
33775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33596
33776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33597
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33777
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33598
33778
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33599
33779
|
let fetchResult;
|
33600
33780
|
try {
|
@@ -33776,7 +33956,7 @@ var Person = class Person extends Object$1 {
|
|
33776
33956
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
33777
33957
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
33778
33958
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
33779
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
33959
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
33780
33960
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
33781
33961
|
let fetchResult;
|
33782
33962
|
try {
|
@@ -34500,7 +34680,7 @@ var Person = class Person extends Object$1 {
|
|
34500
34680
|
*/
|
34501
34681
|
static async fromJsonLd(json, options = {}) {
|
34502
34682
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
34503
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
34683
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
34504
34684
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
34505
34685
|
try {
|
34506
34686
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
@@ -35186,7 +35366,7 @@ var Place = class Place extends Object$1 {
|
|
35186
35366
|
*/
|
35187
35367
|
static async fromJsonLd(json, options = {}) {
|
35188
35368
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
35189
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35369
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
35190
35370
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
35191
35371
|
try {
|
35192
35372
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
@@ -35270,7 +35450,7 @@ var Place = class Place extends Object$1 {
|
|
35270
35450
|
let _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array = values["https://www.w3.org/ns/activitystreams#units"];
|
35271
35451
|
for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array == null ? [] : _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array.length === 1 && "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array[0] ? _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array[0]["@list"] : _oKrwxU4V8wiKhMW1QEYQibcJh8c_units__array) {
|
35272
35452
|
if (v == null) continue;
|
35273
|
-
const decoded = typeof v === "object" && "@value" in v && (v["@value"] == "cm" || v["@value"] == "feet" || v["@value"] == "inches" || v["@value"] == "km" || v["@value"] == "m" || v["@value"] == "miles") ? v["@value"] : typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? new URL(v["@id"]) : void 0;
|
35453
|
+
const decoded = typeof v === "object" && "@value" in v && (v["@value"] == "cm" || v["@value"] == "feet" || v["@value"] == "inches" || v["@value"] == "km" || v["@value"] == "m" || v["@value"] == "miles") ? v["@value"] : typeof v === "object" && "@id" in v && typeof v["@id"] === "string" && v["@id"] !== "" && v["@id"] !== "/" ? v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].includes("/", 5) ? v["@id"].slice(5, v["@id"].indexOf("/", 5)) : v["@id"].slice(5)) + (v["@id"].includes("/", 5) ? v["@id"].slice(v["@id"].indexOf("/", 5)) : "")) : new URL(v["@id"]) : void 0;
|
35274
35454
|
if (typeof decoded === "undefined") continue;
|
35275
35455
|
_oKrwxU4V8wiKhMW1QEYQibcJh8c_units.push(decoded);
|
35276
35456
|
}
|
@@ -35373,7 +35553,7 @@ var Profile = class Profile extends Object$1 {
|
|
35373
35553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
35374
35554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
35375
35555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
35376
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35556
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
35377
35557
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
35378
35558
|
let fetchResult;
|
35379
35559
|
try {
|
@@ -35551,7 +35731,7 @@ var Profile = class Profile extends Object$1 {
|
|
35551
35731
|
*/
|
35552
35732
|
static async fromJsonLd(json, options = {}) {
|
35553
35733
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
35554
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35734
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
35555
35735
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
35556
35736
|
try {
|
35557
35737
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
@@ -35707,7 +35887,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
35707
35887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
35708
35888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
35709
35889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
35710
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35890
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
35711
35891
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
35712
35892
|
let fetchResult;
|
35713
35893
|
try {
|
@@ -35811,7 +35991,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
35811
35991
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
35812
35992
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
35813
35993
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
35814
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
35994
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
35815
35995
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
35816
35996
|
let fetchResult;
|
35817
35997
|
try {
|
@@ -36070,7 +36250,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
36070
36250
|
*/
|
36071
36251
|
static async fromJsonLd(json, options = {}) {
|
36072
36252
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
36073
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36253
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
36074
36254
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
36075
36255
|
try {
|
36076
36256
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
@@ -36296,7 +36476,7 @@ var Read = class Read extends Activity {
|
|
36296
36476
|
*/
|
36297
36477
|
static async fromJsonLd(json, options = {}) {
|
36298
36478
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
36299
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36479
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
36300
36480
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
36301
36481
|
try {
|
36302
36482
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
@@ -36451,7 +36631,7 @@ var Reject = class Reject extends Activity {
|
|
36451
36631
|
*/
|
36452
36632
|
static async fromJsonLd(json, options = {}) {
|
36453
36633
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
36454
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36634
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
36455
36635
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
36456
36636
|
try {
|
36457
36637
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
@@ -36599,7 +36779,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
36599
36779
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36600
36780
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36601
36781
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36602
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36782
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
36603
36783
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36604
36784
|
let fetchResult;
|
36605
36785
|
try {
|
@@ -36701,7 +36881,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
36701
36881
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36702
36882
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36703
36883
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36704
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
36884
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
36705
36885
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36706
36886
|
let fetchResult;
|
36707
36887
|
try {
|
@@ -36835,7 +37015,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
36835
37015
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
36836
37016
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
36837
37017
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
36838
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37018
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
36839
37019
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
36840
37020
|
let fetchResult;
|
36841
37021
|
try {
|
@@ -37089,7 +37269,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
37089
37269
|
*/
|
37090
37270
|
static async fromJsonLd(json, options = {}) {
|
37091
37271
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
37092
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37272
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
37093
37273
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
37094
37274
|
try {
|
37095
37275
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
@@ -37294,7 +37474,7 @@ var Remove = class Remove extends Activity {
|
|
37294
37474
|
*/
|
37295
37475
|
static async fromJsonLd(json, options = {}) {
|
37296
37476
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
37297
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37477
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
37298
37478
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
37299
37479
|
try {
|
37300
37480
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
@@ -37593,7 +37773,7 @@ var Service = class Service extends Object$1 {
|
|
37593
37773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37594
37774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37595
37775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37596
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37776
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
37597
37777
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37598
37778
|
let fetchResult;
|
37599
37779
|
try {
|
@@ -37727,7 +37907,7 @@ var Service = class Service extends Object$1 {
|
|
37727
37907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37728
37908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37729
37909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37730
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
37910
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
37731
37911
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37732
37912
|
let fetchResult;
|
37733
37913
|
try {
|
@@ -37879,7 +38059,7 @@ var Service = class Service extends Object$1 {
|
|
37879
38059
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
37880
38060
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
37881
38061
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
37882
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38062
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
37883
38063
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
37884
38064
|
let fetchResult;
|
37885
38065
|
try {
|
@@ -37999,7 +38179,7 @@ var Service = class Service extends Object$1 {
|
|
37999
38179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38000
38180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38001
38181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38002
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38182
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38003
38183
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38004
38184
|
let fetchResult;
|
38005
38185
|
try {
|
@@ -38116,7 +38296,7 @@ var Service = class Service extends Object$1 {
|
|
38116
38296
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38117
38297
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38118
38298
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38119
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38299
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38120
38300
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38121
38301
|
let fetchResult;
|
38122
38302
|
try {
|
@@ -38219,7 +38399,7 @@ var Service = class Service extends Object$1 {
|
|
38219
38399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38220
38400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38221
38401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38222
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38402
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38223
38403
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38224
38404
|
let fetchResult;
|
38225
38405
|
try {
|
@@ -38325,7 +38505,7 @@ var Service = class Service extends Object$1 {
|
|
38325
38505
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38326
38506
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38327
38507
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38328
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38508
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38329
38509
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38330
38510
|
let fetchResult;
|
38331
38511
|
try {
|
@@ -38429,7 +38609,7 @@ var Service = class Service extends Object$1 {
|
|
38429
38609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38430
38610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38431
38611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38432
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38612
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38433
38613
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38434
38614
|
let fetchResult;
|
38435
38615
|
try {
|
@@ -38531,7 +38711,7 @@ var Service = class Service extends Object$1 {
|
|
38531
38711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38532
38712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38533
38713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38534
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38714
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38535
38715
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38536
38716
|
let fetchResult;
|
38537
38717
|
try {
|
@@ -38633,7 +38813,7 @@ var Service = class Service extends Object$1 {
|
|
38633
38813
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38634
38814
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38635
38815
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38636
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38816
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38637
38817
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38638
38818
|
let fetchResult;
|
38639
38819
|
try {
|
@@ -38777,7 +38957,7 @@ var Service = class Service extends Object$1 {
|
|
38777
38957
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38778
38958
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38779
38959
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38780
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
38960
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38781
38961
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38782
38962
|
let fetchResult;
|
38783
38963
|
try {
|
@@ -38918,7 +39098,7 @@ var Service = class Service extends Object$1 {
|
|
38918
39098
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
38919
39099
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
38920
39100
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
38921
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
39101
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
38922
39102
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
38923
39103
|
let fetchResult;
|
38924
39104
|
try {
|
@@ -39100,7 +39280,7 @@ var Service = class Service extends Object$1 {
|
|
39100
39280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
39101
39281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
39102
39282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
39103
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
39283
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
39104
39284
|
return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
|
39105
39285
|
let fetchResult;
|
39106
39286
|
try {
|
@@ -39824,7 +40004,7 @@ var Service = class Service extends Object$1 {
|
|
39824
40004
|
*/
|
39825
40005
|
static async fromJsonLd(json, options = {}) {
|
39826
40006
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
39827
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40007
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
39828
40008
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
39829
40009
|
try {
|
39830
40010
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
@@ -40412,7 +40592,7 @@ var Source = class {
|
|
40412
40592
|
*/
|
40413
40593
|
static async fromJsonLd(json, options = {}) {
|
40414
40594
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40415
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40595
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
40416
40596
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40417
40597
|
try {
|
40418
40598
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
@@ -40593,7 +40773,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
40593
40773
|
*/
|
40594
40774
|
static async fromJsonLd(json, options = {}) {
|
40595
40775
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40596
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40776
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
40597
40777
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40598
40778
|
try {
|
40599
40779
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
@@ -40748,7 +40928,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
40748
40928
|
*/
|
40749
40929
|
static async fromJsonLd(json, options = {}) {
|
40750
40930
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40751
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
40931
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
40752
40932
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40753
40933
|
try {
|
40754
40934
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
@@ -40944,7 +41124,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
40944
41124
|
*/
|
40945
41125
|
static async fromJsonLd(json, options = {}) {
|
40946
41126
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
40947
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41127
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
40948
41128
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
40949
41129
|
try {
|
40950
41130
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
@@ -41113,7 +41293,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
41113
41293
|
*/
|
41114
41294
|
static async fromJsonLd(json, options = {}) {
|
41115
41295
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
41116
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41296
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
41117
41297
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
41118
41298
|
try {
|
41119
41299
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
@@ -41282,7 +41462,7 @@ var Undo = class Undo extends Activity {
|
|
41282
41462
|
*/
|
41283
41463
|
static async fromJsonLd(json, options = {}) {
|
41284
41464
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
41285
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41465
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
41286
41466
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
41287
41467
|
try {
|
41288
41468
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
@@ -41489,7 +41669,7 @@ var Update = class Update extends Activity {
|
|
41489
41669
|
*/
|
41490
41670
|
static async fromJsonLd(json, options = {}) {
|
41491
41671
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
41492
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41672
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
41493
41673
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
41494
41674
|
try {
|
41495
41675
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
@@ -41651,7 +41831,7 @@ var Video = class Video extends Document {
|
|
41651
41831
|
*/
|
41652
41832
|
static async fromJsonLd(json, options = {}) {
|
41653
41833
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
41654
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41834
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
41655
41835
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
41656
41836
|
try {
|
41657
41837
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
@@ -41805,7 +41985,7 @@ var View = class View extends Activity {
|
|
41805
41985
|
*/
|
41806
41986
|
static async fromJsonLd(json, options = {}) {
|
41807
41987
|
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
41808
|
-
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.
|
41988
|
+
const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.439.1643+fd55a982");
|
41809
41989
|
return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
|
41810
41990
|
try {
|
41811
41991
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
@@ -42002,4 +42182,4 @@ function getTypeId(object) {
|
|
42002
42182
|
}
|
42003
42183
|
|
42004
42184
|
//#endregion
|
42005
|
-
export { Activity, Announce, Application, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Endpoints, FetchError, Follow, Group, Hashtag, Image, Invite, LanguageString, Link, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, Person, Place, Question, Service, Source, Update, UrlError, __commonJS, __export, __require, __toESM, codes, contexts_default, createRequest, decode, decodeText, deno_default, encode, encodeText, expandIPv6Address, exportMultibaseKey, exportSpki, fetchDocumentLoader, getDocumentLoader, getRemoteDocument, getTypeId, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, isValidPublicIPv4Address, isValidPublicIPv6Address, kvCache, logRequest, lookupWebFinger, names, validatePublicUrl, vocab_exports };
|
42185
|
+
export { Activity, Announce, Application, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Endpoints, FetchError, Follow, Group, Hashtag, HttpHeaderLink, Image, Invite, LanguageString, Link, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, Person, Place, Question, Service, Source, Update, UrlError, __commonJS, __export, __require, __toESM, codes, contexts_default, createRequest, decode, decodeText, deno_default, encode, encodeText, expandIPv6Address, exportMultibaseKey, exportSpki, fetchDocumentLoader, getDocumentLoader, getRemoteDocument, getTypeId, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, isValidPublicIPv4Address, isValidPublicIPv6Address, kvCache, logRequest, lookupWebFinger, names, validatePublicUrl, vocab_exports };
|