@fedify/fedify 1.3.0-dev.484 → 1.3.0-dev.485
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +21 -1
- package/esm/deno.js +1 -1
- package/esm/federation/middleware.js +16 -11
- package/esm/nodeinfo/client.js +7 -3
- package/esm/runtime/docloader.js +78 -45
- package/esm/sig/key.js +2 -2
- package/esm/sig/ld.js +2 -2
- package/esm/sig/owner.js +3 -3
- package/esm/vocab/actor.js +7 -5
- package/esm/vocab/lookup.js +6 -3
- package/esm/vocab/vocab.js +413 -413
- package/esm/webfinger/lookup.js +6 -3
- package/package.json +1 -1
- package/types/federation/middleware.d.ts +9 -1
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/nodeinfo/client.d.ts +9 -0
- package/types/nodeinfo/client.d.ts.map +1 -1
- package/types/runtime/docloader.d.ts +79 -7
- package/types/runtime/docloader.d.ts.map +1 -1
- package/types/vocab/actor.d.ts +17 -2
- package/types/vocab/actor.d.ts.map +1 -1
- package/types/vocab/lookup.d.ts +9 -1
- package/types/vocab/lookup.d.ts.map +1 -1
- package/types/webfinger/lookup.d.ts +16 -1
- package/types/webfinger/lookup.d.ts.map +1 -1
package/esm/vocab/vocab.js
CHANGED
@@ -6,7 +6,7 @@ import jsonld from "jsonld";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
import { LanguageTag, parseLanguageTag } from "@phensley/language-tag";
|
8
8
|
import { decode as decodeMultibase, encode as encodeMultibase, } from "multibase";
|
9
|
-
import {
|
9
|
+
import { getDocumentLoader, } from "../runtime/docloader.js";
|
10
10
|
import { exportMultibaseKey, exportSpki, importMultibaseKey, importSpki, } from "../runtime/key.js";
|
11
11
|
import { LanguageString } from "../runtime/langstr.js";
|
12
12
|
/** Describes an object of any kind. The Object type serves as the base type for
|
@@ -1277,9 +1277,9 @@ export class Object {
|
|
1277
1277
|
}
|
1278
1278
|
async #fetchAttachment(url, options = {}) {
|
1279
1279
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1280
|
-
|
1280
|
+
getDocumentLoader();
|
1281
1281
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1282
|
-
|
1282
|
+
getDocumentLoader();
|
1283
1283
|
let fetchResult;
|
1284
1284
|
try {
|
1285
1285
|
fetchResult = await documentLoader(url.href);
|
@@ -1349,9 +1349,9 @@ export class Object {
|
|
1349
1349
|
}
|
1350
1350
|
async #fetchAttribution(url, options = {}) {
|
1351
1351
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1352
|
-
|
1352
|
+
getDocumentLoader();
|
1353
1353
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1354
|
-
|
1354
|
+
getDocumentLoader();
|
1355
1355
|
let fetchResult;
|
1356
1356
|
try {
|
1357
1357
|
fetchResult = await documentLoader(url.href);
|
@@ -1469,9 +1469,9 @@ export class Object {
|
|
1469
1469
|
}
|
1470
1470
|
async #fetchAudience(url, options = {}) {
|
1471
1471
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1472
|
-
|
1472
|
+
getDocumentLoader();
|
1473
1473
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1474
|
-
|
1474
|
+
getDocumentLoader();
|
1475
1475
|
let fetchResult;
|
1476
1476
|
try {
|
1477
1477
|
fetchResult = await documentLoader(url.href);
|
@@ -1571,9 +1571,9 @@ export class Object {
|
|
1571
1571
|
}
|
1572
1572
|
async #fetchContext(url, options = {}) {
|
1573
1573
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1574
|
-
|
1574
|
+
getDocumentLoader();
|
1575
1575
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1576
|
-
|
1576
|
+
getDocumentLoader();
|
1577
1577
|
let fetchResult;
|
1578
1578
|
try {
|
1579
1579
|
fetchResult = await documentLoader(url.href);
|
@@ -1665,9 +1665,9 @@ export class Object {
|
|
1665
1665
|
}
|
1666
1666
|
async #fetchGenerator(url, options = {}) {
|
1667
1667
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1668
|
-
|
1668
|
+
getDocumentLoader();
|
1669
1669
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1670
|
-
|
1670
|
+
getDocumentLoader();
|
1671
1671
|
let fetchResult;
|
1672
1672
|
try {
|
1673
1673
|
fetchResult = await documentLoader(url.href);
|
@@ -1727,9 +1727,9 @@ export class Object {
|
|
1727
1727
|
}
|
1728
1728
|
async #fetchIcon(url, options = {}) {
|
1729
1729
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1730
|
-
|
1730
|
+
getDocumentLoader();
|
1731
1731
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1732
|
-
|
1732
|
+
getDocumentLoader();
|
1733
1733
|
let fetchResult;
|
1734
1734
|
try {
|
1735
1735
|
fetchResult = await documentLoader(url.href);
|
@@ -1811,9 +1811,9 @@ export class Object {
|
|
1811
1811
|
}
|
1812
1812
|
async #fetchImage(url, options = {}) {
|
1813
1813
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1814
|
-
|
1814
|
+
getDocumentLoader();
|
1815
1815
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1816
|
-
|
1816
|
+
getDocumentLoader();
|
1817
1817
|
let fetchResult;
|
1818
1818
|
try {
|
1819
1819
|
fetchResult = await documentLoader(url.href);
|
@@ -1895,9 +1895,9 @@ export class Object {
|
|
1895
1895
|
}
|
1896
1896
|
async #fetchReplyTarget(url, options = {}) {
|
1897
1897
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1898
|
-
|
1898
|
+
getDocumentLoader();
|
1899
1899
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1900
|
-
|
1900
|
+
getDocumentLoader();
|
1901
1901
|
let fetchResult;
|
1902
1902
|
try {
|
1903
1903
|
fetchResult = await documentLoader(url.href);
|
@@ -1987,9 +1987,9 @@ export class Object {
|
|
1987
1987
|
}
|
1988
1988
|
async #fetchLocation(url, options = {}) {
|
1989
1989
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
1990
|
-
|
1990
|
+
getDocumentLoader();
|
1991
1991
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
1992
|
-
|
1992
|
+
getDocumentLoader();
|
1993
1993
|
let fetchResult;
|
1994
1994
|
try {
|
1995
1995
|
fetchResult = await documentLoader(url.href);
|
@@ -2079,9 +2079,9 @@ export class Object {
|
|
2079
2079
|
}
|
2080
2080
|
async #fetchPreview(url, options = {}) {
|
2081
2081
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2082
|
-
|
2082
|
+
getDocumentLoader();
|
2083
2083
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2084
|
-
|
2084
|
+
getDocumentLoader();
|
2085
2085
|
let fetchResult;
|
2086
2086
|
try {
|
2087
2087
|
fetchResult = await documentLoader(url.href);
|
@@ -2176,9 +2176,9 @@ export class Object {
|
|
2176
2176
|
}
|
2177
2177
|
async #fetchReplies(url, options = {}) {
|
2178
2178
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2179
|
-
|
2179
|
+
getDocumentLoader();
|
2180
2180
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2181
|
-
|
2181
|
+
getDocumentLoader();
|
2182
2182
|
let fetchResult;
|
2183
2183
|
try {
|
2184
2184
|
fetchResult = await documentLoader(url.href);
|
@@ -2256,9 +2256,9 @@ export class Object {
|
|
2256
2256
|
}
|
2257
2257
|
async #fetchTag(url, options = {}) {
|
2258
2258
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2259
|
-
|
2259
|
+
getDocumentLoader();
|
2260
2260
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2261
|
-
|
2261
|
+
getDocumentLoader();
|
2262
2262
|
let fetchResult;
|
2263
2263
|
try {
|
2264
2264
|
fetchResult = await documentLoader(url.href);
|
@@ -2340,9 +2340,9 @@ export class Object {
|
|
2340
2340
|
}
|
2341
2341
|
async #fetchTo(url, options = {}) {
|
2342
2342
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2343
|
-
|
2343
|
+
getDocumentLoader();
|
2344
2344
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2345
|
-
|
2345
|
+
getDocumentLoader();
|
2346
2346
|
let fetchResult;
|
2347
2347
|
try {
|
2348
2348
|
fetchResult = await documentLoader(url.href);
|
@@ -2422,9 +2422,9 @@ export class Object {
|
|
2422
2422
|
}
|
2423
2423
|
async #fetchBto(url, options = {}) {
|
2424
2424
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2425
|
-
|
2425
|
+
getDocumentLoader();
|
2426
2426
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2427
|
-
|
2427
|
+
getDocumentLoader();
|
2428
2428
|
let fetchResult;
|
2429
2429
|
try {
|
2430
2430
|
fetchResult = await documentLoader(url.href);
|
@@ -2504,9 +2504,9 @@ export class Object {
|
|
2504
2504
|
}
|
2505
2505
|
async #fetchCc(url, options = {}) {
|
2506
2506
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2507
|
-
|
2507
|
+
getDocumentLoader();
|
2508
2508
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2509
|
-
|
2509
|
+
getDocumentLoader();
|
2510
2510
|
let fetchResult;
|
2511
2511
|
try {
|
2512
2512
|
fetchResult = await documentLoader(url.href);
|
@@ -2586,9 +2586,9 @@ export class Object {
|
|
2586
2586
|
}
|
2587
2587
|
async #fetchBcc(url, options = {}) {
|
2588
2588
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2589
|
-
|
2589
|
+
getDocumentLoader();
|
2590
2590
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2591
|
-
|
2591
|
+
getDocumentLoader();
|
2592
2592
|
let fetchResult;
|
2593
2593
|
try {
|
2594
2594
|
fetchResult = await documentLoader(url.href);
|
@@ -2705,9 +2705,9 @@ export class Object {
|
|
2705
2705
|
}
|
2706
2706
|
async #fetchProof(url, options = {}) {
|
2707
2707
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
2708
|
-
|
2708
|
+
getDocumentLoader();
|
2709
2709
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
2710
|
-
|
2710
|
+
getDocumentLoader();
|
2711
2711
|
let fetchResult;
|
2712
2712
|
try {
|
2713
2713
|
fetchResult = await documentLoader(url.href);
|
@@ -2803,7 +2803,7 @@ export class Object {
|
|
2803
2803
|
}
|
2804
2804
|
options = {
|
2805
2805
|
...options,
|
2806
|
-
contextLoader: options.contextLoader ??
|
2806
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
2807
2807
|
};
|
2808
2808
|
if (options.format == null && this.isCompactable()) {
|
2809
2809
|
const result = {};
|
@@ -3684,8 +3684,8 @@ export class Object {
|
|
3684
3684
|
throw new TypeError("Invalid JSON-LD: null.");
|
3685
3685
|
options = {
|
3686
3686
|
...options,
|
3687
|
-
documentLoader: options.documentLoader ??
|
3688
|
-
contextLoader: options.contextLoader ??
|
3687
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
3688
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
3689
3689
|
};
|
3690
3690
|
// deno-lint-ignore no-explicit-any
|
3691
3691
|
let values;
|
@@ -5478,7 +5478,7 @@ export class Emoji extends Object {
|
|
5478
5478
|
}
|
5479
5479
|
options = {
|
5480
5480
|
...options,
|
5481
|
-
contextLoader: options.contextLoader ??
|
5481
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
5482
5482
|
};
|
5483
5483
|
if (options.format == null && this.isCompactable()) {
|
5484
5484
|
const result = await super.toJsonLd({
|
@@ -5550,8 +5550,8 @@ export class Emoji extends Object {
|
|
5550
5550
|
throw new TypeError("Invalid JSON-LD: null.");
|
5551
5551
|
options = {
|
5552
5552
|
...options,
|
5553
|
-
documentLoader: options.documentLoader ??
|
5554
|
-
contextLoader: options.contextLoader ??
|
5553
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
5554
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
5555
5555
|
};
|
5556
5556
|
// deno-lint-ignore no-explicit-any
|
5557
5557
|
let values;
|
@@ -5696,7 +5696,7 @@ export class ChatMessage extends Object {
|
|
5696
5696
|
}
|
5697
5697
|
options = {
|
5698
5698
|
...options,
|
5699
|
-
contextLoader: options.contextLoader ??
|
5699
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
5700
5700
|
};
|
5701
5701
|
if (options.format == null && this.isCompactable()) {
|
5702
5702
|
const result = await super.toJsonLd({
|
@@ -5815,8 +5815,8 @@ export class ChatMessage extends Object {
|
|
5815
5815
|
throw new TypeError("Invalid JSON-LD: null.");
|
5816
5816
|
options = {
|
5817
5817
|
...options,
|
5818
|
-
documentLoader: options.documentLoader ??
|
5819
|
-
contextLoader: options.contextLoader ??
|
5818
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
5819
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
5820
5820
|
};
|
5821
5821
|
// deno-lint-ignore no-explicit-any
|
5822
5822
|
let values;
|
@@ -6280,9 +6280,9 @@ export class Activity extends Object {
|
|
6280
6280
|
}
|
6281
6281
|
async #fetchActor(url, options = {}) {
|
6282
6282
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
6283
|
-
|
6283
|
+
getDocumentLoader();
|
6284
6284
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
6285
|
-
|
6285
|
+
getDocumentLoader();
|
6286
6286
|
let fetchResult;
|
6287
6287
|
try {
|
6288
6288
|
fetchResult = await documentLoader(url.href);
|
@@ -6398,9 +6398,9 @@ export class Activity extends Object {
|
|
6398
6398
|
}
|
6399
6399
|
async #fetchObject(url, options = {}) {
|
6400
6400
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
6401
|
-
|
6401
|
+
getDocumentLoader();
|
6402
6402
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
6403
|
-
|
6403
|
+
getDocumentLoader();
|
6404
6404
|
let fetchResult;
|
6405
6405
|
try {
|
6406
6406
|
fetchResult = await documentLoader(url.href);
|
@@ -6482,9 +6482,9 @@ export class Activity extends Object {
|
|
6482
6482
|
}
|
6483
6483
|
async #fetchTarget(url, options = {}) {
|
6484
6484
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
6485
|
-
|
6485
|
+
getDocumentLoader();
|
6486
6486
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
6487
|
-
|
6487
|
+
getDocumentLoader();
|
6488
6488
|
let fetchResult;
|
6489
6489
|
try {
|
6490
6490
|
fetchResult = await documentLoader(url.href);
|
@@ -6572,9 +6572,9 @@ export class Activity extends Object {
|
|
6572
6572
|
}
|
6573
6573
|
async #fetchResult(url, options = {}) {
|
6574
6574
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
6575
|
-
|
6575
|
+
getDocumentLoader();
|
6576
6576
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
6577
|
-
|
6577
|
+
getDocumentLoader();
|
6578
6578
|
let fetchResult;
|
6579
6579
|
try {
|
6580
6580
|
fetchResult = await documentLoader(url.href);
|
@@ -6656,9 +6656,9 @@ export class Activity extends Object {
|
|
6656
6656
|
}
|
6657
6657
|
async #fetchOrigin(url, options = {}) {
|
6658
6658
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
6659
|
-
|
6659
|
+
getDocumentLoader();
|
6660
6660
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
6661
|
-
|
6661
|
+
getDocumentLoader();
|
6662
6662
|
let fetchResult;
|
6663
6663
|
try {
|
6664
6664
|
fetchResult = await documentLoader(url.href);
|
@@ -6742,9 +6742,9 @@ export class Activity extends Object {
|
|
6742
6742
|
}
|
6743
6743
|
async #fetchInstrument(url, options = {}) {
|
6744
6744
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
6745
|
-
|
6745
|
+
getDocumentLoader();
|
6746
6746
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
6747
|
-
|
6747
|
+
getDocumentLoader();
|
6748
6748
|
let fetchResult;
|
6749
6749
|
try {
|
6750
6750
|
fetchResult = await documentLoader(url.href);
|
@@ -6842,7 +6842,7 @@ export class Activity extends Object {
|
|
6842
6842
|
}
|
6843
6843
|
options = {
|
6844
6844
|
...options,
|
6845
|
-
contextLoader: options.contextLoader ??
|
6845
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
6846
6846
|
};
|
6847
6847
|
// deno-lint-ignore no-unused-vars prefer-const
|
6848
6848
|
let array;
|
@@ -6973,8 +6973,8 @@ export class Activity extends Object {
|
|
6973
6973
|
throw new TypeError("Invalid JSON-LD: null.");
|
6974
6974
|
options = {
|
6975
6975
|
...options,
|
6976
|
-
documentLoader: options.documentLoader ??
|
6977
|
-
contextLoader: options.contextLoader ??
|
6976
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
6977
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
6978
6978
|
};
|
6979
6979
|
// deno-lint-ignore no-explicit-any
|
6980
6980
|
let values;
|
@@ -7417,7 +7417,7 @@ export class EmojiReact extends Activity {
|
|
7417
7417
|
}
|
7418
7418
|
options = {
|
7419
7419
|
...options,
|
7420
|
-
contextLoader: options.contextLoader ??
|
7420
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
7421
7421
|
};
|
7422
7422
|
// deno-lint-ignore no-unused-vars prefer-const
|
7423
7423
|
let array;
|
@@ -7479,8 +7479,8 @@ export class EmojiReact extends Activity {
|
|
7479
7479
|
throw new TypeError("Invalid JSON-LD: null.");
|
7480
7480
|
options = {
|
7481
7481
|
...options,
|
7482
|
-
documentLoader: options.documentLoader ??
|
7483
|
-
contextLoader: options.contextLoader ??
|
7482
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
7483
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
7484
7484
|
};
|
7485
7485
|
// deno-lint-ignore no-explicit-any
|
7486
7486
|
let values;
|
@@ -7661,7 +7661,7 @@ export class PropertyValue {
|
|
7661
7661
|
}
|
7662
7662
|
options = {
|
7663
7663
|
...options,
|
7664
|
-
contextLoader: options.contextLoader ??
|
7664
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
7665
7665
|
};
|
7666
7666
|
if (options.format == null && this.isCompactable()) {
|
7667
7667
|
const result = {};
|
@@ -7771,8 +7771,8 @@ export class PropertyValue {
|
|
7771
7771
|
throw new TypeError("Invalid JSON-LD: null.");
|
7772
7772
|
options = {
|
7773
7773
|
...options,
|
7774
|
-
documentLoader: options.documentLoader ??
|
7775
|
-
contextLoader: options.contextLoader ??
|
7774
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
7775
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
7776
7776
|
};
|
7777
7777
|
// deno-lint-ignore no-explicit-any
|
7778
7778
|
let values;
|
@@ -8036,7 +8036,7 @@ export class DidService {
|
|
8036
8036
|
}
|
8037
8037
|
options = {
|
8038
8038
|
...options,
|
8039
|
-
contextLoader: options.contextLoader ??
|
8039
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
8040
8040
|
};
|
8041
8041
|
// deno-lint-ignore no-unused-vars prefer-const
|
8042
8042
|
let array;
|
@@ -8081,8 +8081,8 @@ export class DidService {
|
|
8081
8081
|
throw new TypeError("Invalid JSON-LD: null.");
|
8082
8082
|
options = {
|
8083
8083
|
...options,
|
8084
|
-
documentLoader: options.documentLoader ??
|
8085
|
-
contextLoader: options.contextLoader ??
|
8084
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
8085
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
8086
8086
|
};
|
8087
8087
|
// deno-lint-ignore no-explicit-any
|
8088
8088
|
let values;
|
@@ -8216,7 +8216,7 @@ export class Export extends DidService {
|
|
8216
8216
|
}
|
8217
8217
|
options = {
|
8218
8218
|
...options,
|
8219
|
-
contextLoader: options.contextLoader ??
|
8219
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
8220
8220
|
};
|
8221
8221
|
// deno-lint-ignore no-unused-vars prefer-const
|
8222
8222
|
let array;
|
@@ -8257,8 +8257,8 @@ export class Export extends DidService {
|
|
8257
8257
|
throw new TypeError("Invalid JSON-LD: null.");
|
8258
8258
|
options = {
|
8259
8259
|
...options,
|
8260
|
-
documentLoader: options.documentLoader ??
|
8261
|
-
contextLoader: options.contextLoader ??
|
8260
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
8261
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
8262
8262
|
};
|
8263
8263
|
// deno-lint-ignore no-explicit-any
|
8264
8264
|
let values;
|
@@ -8501,9 +8501,9 @@ export class DataIntegrityProof {
|
|
8501
8501
|
}
|
8502
8502
|
async #fetchVerificationMethod(url, options = {}) {
|
8503
8503
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
8504
|
-
|
8504
|
+
getDocumentLoader();
|
8505
8505
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
8506
|
-
|
8506
|
+
getDocumentLoader();
|
8507
8507
|
let fetchResult;
|
8508
8508
|
try {
|
8509
8509
|
fetchResult = await documentLoader(url.href);
|
@@ -8607,7 +8607,7 @@ export class DataIntegrityProof {
|
|
8607
8607
|
}
|
8608
8608
|
options = {
|
8609
8609
|
...options,
|
8610
|
-
contextLoader: options.contextLoader ??
|
8610
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
8611
8611
|
};
|
8612
8612
|
// deno-lint-ignore no-unused-vars prefer-const
|
8613
8613
|
let array;
|
@@ -8698,8 +8698,8 @@ export class DataIntegrityProof {
|
|
8698
8698
|
throw new TypeError("Invalid JSON-LD: null.");
|
8699
8699
|
options = {
|
8700
8700
|
...options,
|
8701
|
-
documentLoader: options.documentLoader ??
|
8702
|
-
contextLoader: options.contextLoader ??
|
8701
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
8702
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
8703
8703
|
};
|
8704
8704
|
// deno-lint-ignore no-explicit-any
|
8705
8705
|
let values;
|
@@ -8994,9 +8994,9 @@ export class CryptographicKey {
|
|
8994
8994
|
}
|
8995
8995
|
async #fetchOwner(url, options = {}) {
|
8996
8996
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
8997
|
-
|
8997
|
+
getDocumentLoader();
|
8998
8998
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
8999
|
-
|
8999
|
+
getDocumentLoader();
|
9000
9000
|
let fetchResult;
|
9001
9001
|
try {
|
9002
9002
|
fetchResult = await documentLoader(url.href);
|
@@ -9109,7 +9109,7 @@ export class CryptographicKey {
|
|
9109
9109
|
}
|
9110
9110
|
options = {
|
9111
9111
|
...options,
|
9112
|
-
contextLoader: options.contextLoader ??
|
9112
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
9113
9113
|
};
|
9114
9114
|
if (options.format == null && this.isCompactable()) {
|
9115
9115
|
const result = {};
|
@@ -9233,8 +9233,8 @@ export class CryptographicKey {
|
|
9233
9233
|
throw new TypeError("Invalid JSON-LD: null.");
|
9234
9234
|
options = {
|
9235
9235
|
...options,
|
9236
|
-
documentLoader: options.documentLoader ??
|
9237
|
-
contextLoader: options.contextLoader ??
|
9236
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
9237
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
9238
9238
|
};
|
9239
9239
|
// deno-lint-ignore no-explicit-any
|
9240
9240
|
let values;
|
@@ -9482,9 +9482,9 @@ export class Multikey {
|
|
9482
9482
|
}
|
9483
9483
|
async #fetchController(url, options = {}) {
|
9484
9484
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
9485
|
-
|
9485
|
+
getDocumentLoader();
|
9486
9486
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
9487
|
-
|
9487
|
+
getDocumentLoader();
|
9488
9488
|
let fetchResult;
|
9489
9489
|
try {
|
9490
9490
|
fetchResult = await documentLoader(url.href);
|
@@ -9600,7 +9600,7 @@ export class Multikey {
|
|
9600
9600
|
}
|
9601
9601
|
options = {
|
9602
9602
|
...options,
|
9603
|
-
contextLoader: options.contextLoader ??
|
9603
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
9604
9604
|
};
|
9605
9605
|
if (options.format == null && this.isCompactable()) {
|
9606
9606
|
const result = {};
|
@@ -9727,8 +9727,8 @@ export class Multikey {
|
|
9727
9727
|
throw new TypeError("Invalid JSON-LD: null.");
|
9728
9728
|
options = {
|
9729
9729
|
...options,
|
9730
|
-
documentLoader: options.documentLoader ??
|
9731
|
-
contextLoader: options.contextLoader ??
|
9730
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
9731
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
9732
9732
|
};
|
9733
9733
|
// deno-lint-ignore no-explicit-any
|
9734
9734
|
let values;
|
@@ -9914,7 +9914,7 @@ export class Accept extends Activity {
|
|
9914
9914
|
}
|
9915
9915
|
options = {
|
9916
9916
|
...options,
|
9917
|
-
contextLoader: options.contextLoader ??
|
9917
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
9918
9918
|
};
|
9919
9919
|
// deno-lint-ignore no-unused-vars prefer-const
|
9920
9920
|
let array;
|
@@ -9970,8 +9970,8 @@ export class Accept extends Activity {
|
|
9970
9970
|
throw new TypeError("Invalid JSON-LD: null.");
|
9971
9971
|
options = {
|
9972
9972
|
...options,
|
9973
|
-
documentLoader: options.documentLoader ??
|
9974
|
-
contextLoader: options.contextLoader ??
|
9973
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
9974
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
9975
9975
|
};
|
9976
9976
|
// deno-lint-ignore no-explicit-any
|
9977
9977
|
let values;
|
@@ -10079,7 +10079,7 @@ export class Add extends Activity {
|
|
10079
10079
|
}
|
10080
10080
|
options = {
|
10081
10081
|
...options,
|
10082
|
-
contextLoader: options.contextLoader ??
|
10082
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
10083
10083
|
};
|
10084
10084
|
// deno-lint-ignore no-unused-vars prefer-const
|
10085
10085
|
let array;
|
@@ -10135,8 +10135,8 @@ export class Add extends Activity {
|
|
10135
10135
|
throw new TypeError("Invalid JSON-LD: null.");
|
10136
10136
|
options = {
|
10137
10137
|
...options,
|
10138
|
-
documentLoader: options.documentLoader ??
|
10139
|
-
contextLoader: options.contextLoader ??
|
10138
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
10139
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
10140
10140
|
};
|
10141
10141
|
// deno-lint-ignore no-explicit-any
|
10142
10142
|
let values;
|
@@ -10240,7 +10240,7 @@ export class Announce extends Activity {
|
|
10240
10240
|
}
|
10241
10241
|
options = {
|
10242
10242
|
...options,
|
10243
|
-
contextLoader: options.contextLoader ??
|
10243
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
10244
10244
|
};
|
10245
10245
|
// deno-lint-ignore no-unused-vars prefer-const
|
10246
10246
|
let array;
|
@@ -10308,8 +10308,8 @@ export class Announce extends Activity {
|
|
10308
10308
|
throw new TypeError("Invalid JSON-LD: null.");
|
10309
10309
|
options = {
|
10310
10310
|
...options,
|
10311
|
-
documentLoader: options.documentLoader ??
|
10312
|
-
contextLoader: options.contextLoader ??
|
10311
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
10312
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
10313
10313
|
};
|
10314
10314
|
// deno-lint-ignore no-explicit-any
|
10315
10315
|
let values;
|
@@ -11136,9 +11136,9 @@ export class Application extends Object {
|
|
11136
11136
|
}
|
11137
11137
|
async #fetchPublicKey(url, options = {}) {
|
11138
11138
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11139
|
-
|
11139
|
+
getDocumentLoader();
|
11140
11140
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11141
|
-
|
11141
|
+
getDocumentLoader();
|
11142
11142
|
let fetchResult;
|
11143
11143
|
try {
|
11144
11144
|
fetchResult = await documentLoader(url.href);
|
@@ -11216,9 +11216,9 @@ export class Application extends Object {
|
|
11216
11216
|
}
|
11217
11217
|
async #fetchAssertionMethod(url, options = {}) {
|
11218
11218
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11219
|
-
|
11219
|
+
getDocumentLoader();
|
11220
11220
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11221
|
-
|
11221
|
+
getDocumentLoader();
|
11222
11222
|
let fetchResult;
|
11223
11223
|
try {
|
11224
11224
|
fetchResult = await documentLoader(url.href);
|
@@ -11316,9 +11316,9 @@ export class Application extends Object {
|
|
11316
11316
|
}
|
11317
11317
|
async #fetchInbox(url, options = {}) {
|
11318
11318
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11319
|
-
|
11319
|
+
getDocumentLoader();
|
11320
11320
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11321
|
-
|
11321
|
+
getDocumentLoader();
|
11322
11322
|
let fetchResult;
|
11323
11323
|
try {
|
11324
11324
|
fetchResult = await documentLoader(url.href);
|
@@ -11383,9 +11383,9 @@ export class Application extends Object {
|
|
11383
11383
|
}
|
11384
11384
|
async #fetchOutbox(url, options = {}) {
|
11385
11385
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11386
|
-
|
11386
|
+
getDocumentLoader();
|
11387
11387
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11388
|
-
|
11388
|
+
getDocumentLoader();
|
11389
11389
|
let fetchResult;
|
11390
11390
|
try {
|
11391
11391
|
fetchResult = await documentLoader(url.href);
|
@@ -11447,9 +11447,9 @@ export class Application extends Object {
|
|
11447
11447
|
}
|
11448
11448
|
async #fetchFollowing(url, options = {}) {
|
11449
11449
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11450
|
-
|
11450
|
+
getDocumentLoader();
|
11451
11451
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11452
|
-
|
11452
|
+
getDocumentLoader();
|
11453
11453
|
let fetchResult;
|
11454
11454
|
try {
|
11455
11455
|
fetchResult = await documentLoader(url.href);
|
@@ -11506,9 +11506,9 @@ export class Application extends Object {
|
|
11506
11506
|
}
|
11507
11507
|
async #fetchFollowers(url, options = {}) {
|
11508
11508
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11509
|
-
|
11509
|
+
getDocumentLoader();
|
11510
11510
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11511
|
-
|
11511
|
+
getDocumentLoader();
|
11512
11512
|
let fetchResult;
|
11513
11513
|
try {
|
11514
11514
|
fetchResult = await documentLoader(url.href);
|
@@ -11568,9 +11568,9 @@ export class Application extends Object {
|
|
11568
11568
|
}
|
11569
11569
|
async #fetchLiked(url, options = {}) {
|
11570
11570
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11571
|
-
|
11571
|
+
getDocumentLoader();
|
11572
11572
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11573
|
-
|
11573
|
+
getDocumentLoader();
|
11574
11574
|
let fetchResult;
|
11575
11575
|
try {
|
11576
11576
|
fetchResult = await documentLoader(url.href);
|
@@ -11628,9 +11628,9 @@ export class Application extends Object {
|
|
11628
11628
|
}
|
11629
11629
|
async #fetchFeatured(url, options = {}) {
|
11630
11630
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11631
|
-
|
11631
|
+
getDocumentLoader();
|
11632
11632
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11633
|
-
|
11633
|
+
getDocumentLoader();
|
11634
11634
|
let fetchResult;
|
11635
11635
|
try {
|
11636
11636
|
fetchResult = await documentLoader(url.href);
|
@@ -11686,9 +11686,9 @@ export class Application extends Object {
|
|
11686
11686
|
}
|
11687
11687
|
async #fetchFeaturedTags(url, options = {}) {
|
11688
11688
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11689
|
-
|
11689
|
+
getDocumentLoader();
|
11690
11690
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11691
|
-
|
11691
|
+
getDocumentLoader();
|
11692
11692
|
let fetchResult;
|
11693
11693
|
try {
|
11694
11694
|
fetchResult = await documentLoader(url.href);
|
@@ -11746,9 +11746,9 @@ export class Application extends Object {
|
|
11746
11746
|
}
|
11747
11747
|
async #fetchStream(url, options = {}) {
|
11748
11748
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11749
|
-
|
11749
|
+
getDocumentLoader();
|
11750
11750
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11751
|
-
|
11751
|
+
getDocumentLoader();
|
11752
11752
|
let fetchResult;
|
11753
11753
|
try {
|
11754
11754
|
fetchResult = await documentLoader(url.href);
|
@@ -11840,9 +11840,9 @@ export class Application extends Object {
|
|
11840
11840
|
}
|
11841
11841
|
async #fetchSuccessor(url, options = {}) {
|
11842
11842
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11843
|
-
|
11843
|
+
getDocumentLoader();
|
11844
11844
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11845
|
-
|
11845
|
+
getDocumentLoader();
|
11846
11846
|
let fetchResult;
|
11847
11847
|
try {
|
11848
11848
|
fetchResult = await documentLoader(url.href);
|
@@ -11929,9 +11929,9 @@ export class Application extends Object {
|
|
11929
11929
|
}
|
11930
11930
|
async #fetchAlias(url, options = {}) {
|
11931
11931
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
11932
|
-
|
11932
|
+
getDocumentLoader();
|
11933
11933
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
11934
|
-
|
11934
|
+
getDocumentLoader();
|
11935
11935
|
let fetchResult;
|
11936
11936
|
try {
|
11937
11937
|
fetchResult = await documentLoader(url.href);
|
@@ -12049,9 +12049,9 @@ export class Application extends Object {
|
|
12049
12049
|
}
|
12050
12050
|
async #fetchService(url, options = {}) {
|
12051
12051
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
12052
|
-
|
12052
|
+
getDocumentLoader();
|
12053
12053
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
12054
|
-
|
12054
|
+
getDocumentLoader();
|
12055
12055
|
let fetchResult;
|
12056
12056
|
try {
|
12057
12057
|
fetchResult = await documentLoader(url.href);
|
@@ -12170,7 +12170,7 @@ export class Application extends Object {
|
|
12170
12170
|
}
|
12171
12171
|
options = {
|
12172
12172
|
...options,
|
12173
|
-
contextLoader: options.contextLoader ??
|
12173
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
12174
12174
|
};
|
12175
12175
|
if (options.format == null && this.isCompactable()) {
|
12176
12176
|
const result = await super.toJsonLd({
|
@@ -12865,8 +12865,8 @@ export class Application extends Object {
|
|
12865
12865
|
throw new TypeError("Invalid JSON-LD: null.");
|
12866
12866
|
options = {
|
12867
12867
|
...options,
|
12868
|
-
documentLoader: options.documentLoader ??
|
12869
|
-
contextLoader: options.contextLoader ??
|
12868
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
12869
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
12870
12870
|
};
|
12871
12871
|
// deno-lint-ignore no-explicit-any
|
12872
12872
|
let values;
|
@@ -13725,7 +13725,7 @@ export class IntransitiveActivity extends Activity {
|
|
13725
13725
|
}
|
13726
13726
|
options = {
|
13727
13727
|
...options,
|
13728
|
-
contextLoader: options.contextLoader ??
|
13728
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
13729
13729
|
};
|
13730
13730
|
// deno-lint-ignore no-unused-vars prefer-const
|
13731
13731
|
let array;
|
@@ -13783,8 +13783,8 @@ export class IntransitiveActivity extends Activity {
|
|
13783
13783
|
throw new TypeError("Invalid JSON-LD: null.");
|
13784
13784
|
options = {
|
13785
13785
|
...options,
|
13786
|
-
documentLoader: options.documentLoader ??
|
13787
|
-
contextLoader: options.contextLoader ??
|
13786
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
13787
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
13788
13788
|
};
|
13789
13789
|
// deno-lint-ignore no-explicit-any
|
13790
13790
|
let values;
|
@@ -13897,7 +13897,7 @@ export class Arrive extends IntransitiveActivity {
|
|
13897
13897
|
}
|
13898
13898
|
options = {
|
13899
13899
|
...options,
|
13900
|
-
contextLoader: options.contextLoader ??
|
13900
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
13901
13901
|
};
|
13902
13902
|
// deno-lint-ignore no-unused-vars prefer-const
|
13903
13903
|
let array;
|
@@ -13953,8 +13953,8 @@ export class Arrive extends IntransitiveActivity {
|
|
13953
13953
|
throw new TypeError("Invalid JSON-LD: null.");
|
13954
13954
|
options = {
|
13955
13955
|
...options,
|
13956
|
-
documentLoader: options.documentLoader ??
|
13957
|
-
contextLoader: options.contextLoader ??
|
13956
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
13957
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
13958
13958
|
};
|
13959
13959
|
// deno-lint-ignore no-explicit-any
|
13960
13960
|
let values;
|
@@ -14095,7 +14095,7 @@ export class Article extends Object {
|
|
14095
14095
|
}
|
14096
14096
|
options = {
|
14097
14097
|
...options,
|
14098
|
-
contextLoader: options.contextLoader ??
|
14098
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14099
14099
|
};
|
14100
14100
|
if (options.format == null && this.isCompactable()) {
|
14101
14101
|
const result = await super.toJsonLd({
|
@@ -14216,8 +14216,8 @@ export class Article extends Object {
|
|
14216
14216
|
throw new TypeError("Invalid JSON-LD: null.");
|
14217
14217
|
options = {
|
14218
14218
|
...options,
|
14219
|
-
documentLoader: options.documentLoader ??
|
14220
|
-
contextLoader: options.contextLoader ??
|
14219
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
14220
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14221
14221
|
};
|
14222
14222
|
// deno-lint-ignore no-explicit-any
|
14223
14223
|
let values;
|
@@ -14421,7 +14421,7 @@ export class Document extends Object {
|
|
14421
14421
|
}
|
14422
14422
|
options = {
|
14423
14423
|
...options,
|
14424
|
-
contextLoader: options.contextLoader ??
|
14424
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14425
14425
|
};
|
14426
14426
|
if (options.format == null && this.isCompactable()) {
|
14427
14427
|
const result = await super.toJsonLd({
|
@@ -14537,8 +14537,8 @@ export class Document extends Object {
|
|
14537
14537
|
throw new TypeError("Invalid JSON-LD: null.");
|
14538
14538
|
options = {
|
14539
14539
|
...options,
|
14540
|
-
documentLoader: options.documentLoader ??
|
14541
|
-
contextLoader: options.contextLoader ??
|
14540
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
14541
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14542
14542
|
};
|
14543
14543
|
// deno-lint-ignore no-explicit-any
|
14544
14544
|
let values;
|
@@ -14704,7 +14704,7 @@ export class Audio extends Document {
|
|
14704
14704
|
}
|
14705
14705
|
options = {
|
14706
14706
|
...options,
|
14707
|
-
contextLoader: options.contextLoader ??
|
14707
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14708
14708
|
};
|
14709
14709
|
if (options.format == null && this.isCompactable()) {
|
14710
14710
|
const result = await super.toJsonLd({
|
@@ -14776,8 +14776,8 @@ export class Audio extends Document {
|
|
14776
14776
|
throw new TypeError("Invalid JSON-LD: null.");
|
14777
14777
|
options = {
|
14778
14778
|
...options,
|
14779
|
-
documentLoader: options.documentLoader ??
|
14780
|
-
contextLoader: options.contextLoader ??
|
14779
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
14780
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14781
14781
|
};
|
14782
14782
|
// deno-lint-ignore no-explicit-any
|
14783
14783
|
let values;
|
@@ -14880,7 +14880,7 @@ export class Ignore extends Activity {
|
|
14880
14880
|
}
|
14881
14881
|
options = {
|
14882
14882
|
...options,
|
14883
|
-
contextLoader: options.contextLoader ??
|
14883
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14884
14884
|
};
|
14885
14885
|
// deno-lint-ignore no-unused-vars prefer-const
|
14886
14886
|
let array;
|
@@ -14936,8 +14936,8 @@ export class Ignore extends Activity {
|
|
14936
14936
|
throw new TypeError("Invalid JSON-LD: null.");
|
14937
14937
|
options = {
|
14938
14938
|
...options,
|
14939
|
-
documentLoader: options.documentLoader ??
|
14940
|
-
contextLoader: options.contextLoader ??
|
14939
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
14940
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
14941
14941
|
};
|
14942
14942
|
// deno-lint-ignore no-explicit-any
|
14943
14943
|
let values;
|
@@ -15045,7 +15045,7 @@ export class Block extends Ignore {
|
|
15045
15045
|
}
|
15046
15046
|
options = {
|
15047
15047
|
...options,
|
15048
|
-
contextLoader: options.contextLoader ??
|
15048
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
15049
15049
|
};
|
15050
15050
|
// deno-lint-ignore no-unused-vars prefer-const
|
15051
15051
|
let array;
|
@@ -15101,8 +15101,8 @@ export class Block extends Ignore {
|
|
15101
15101
|
throw new TypeError("Invalid JSON-LD: null.");
|
15102
15102
|
options = {
|
15103
15103
|
...options,
|
15104
|
-
documentLoader: options.documentLoader ??
|
15105
|
-
contextLoader: options.contextLoader ??
|
15104
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
15105
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
15106
15106
|
};
|
15107
15107
|
// deno-lint-ignore no-explicit-any
|
15108
15108
|
let values;
|
@@ -15320,9 +15320,9 @@ export class Collection extends Object {
|
|
15320
15320
|
}
|
15321
15321
|
async #fetchCurrent(url, options = {}) {
|
15322
15322
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
15323
|
-
|
15323
|
+
getDocumentLoader();
|
15324
15324
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
15325
|
-
|
15325
|
+
getDocumentLoader();
|
15326
15326
|
let fetchResult;
|
15327
15327
|
try {
|
15328
15328
|
fetchResult = await documentLoader(url.href);
|
@@ -15376,9 +15376,9 @@ export class Collection extends Object {
|
|
15376
15376
|
}
|
15377
15377
|
async #fetchFirst(url, options = {}) {
|
15378
15378
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
15379
|
-
|
15379
|
+
getDocumentLoader();
|
15380
15380
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
15381
|
-
|
15381
|
+
getDocumentLoader();
|
15382
15382
|
let fetchResult;
|
15383
15383
|
try {
|
15384
15384
|
fetchResult = await documentLoader(url.href);
|
@@ -15432,9 +15432,9 @@ export class Collection extends Object {
|
|
15432
15432
|
}
|
15433
15433
|
async #fetchLast(url, options = {}) {
|
15434
15434
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
15435
|
-
|
15435
|
+
getDocumentLoader();
|
15436
15436
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
15437
|
-
|
15437
|
+
getDocumentLoader();
|
15438
15438
|
let fetchResult;
|
15439
15439
|
try {
|
15440
15440
|
fetchResult = await documentLoader(url.href);
|
@@ -15488,9 +15488,9 @@ export class Collection extends Object {
|
|
15488
15488
|
}
|
15489
15489
|
async #fetchItem(url, options = {}) {
|
15490
15490
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
15491
|
-
|
15491
|
+
getDocumentLoader();
|
15492
15492
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
15493
|
-
|
15493
|
+
getDocumentLoader();
|
15494
15494
|
let fetchResult;
|
15495
15495
|
try {
|
15496
15496
|
fetchResult = await documentLoader(url.href);
|
@@ -15569,7 +15569,7 @@ export class Collection extends Object {
|
|
15569
15569
|
}
|
15570
15570
|
options = {
|
15571
15571
|
...options,
|
15572
|
-
contextLoader: options.contextLoader ??
|
15572
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
15573
15573
|
};
|
15574
15574
|
if (options.format == null && this.isCompactable()) {
|
15575
15575
|
const result = await super.toJsonLd({
|
@@ -15785,8 +15785,8 @@ export class Collection extends Object {
|
|
15785
15785
|
throw new TypeError("Invalid JSON-LD: null.");
|
15786
15786
|
options = {
|
15787
15787
|
...options,
|
15788
|
-
documentLoader: options.documentLoader ??
|
15789
|
-
contextLoader: options.contextLoader ??
|
15788
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
15789
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
15790
15790
|
};
|
15791
15791
|
// deno-lint-ignore no-explicit-any
|
15792
15792
|
let values;
|
@@ -16181,9 +16181,9 @@ export class CollectionPage extends Collection {
|
|
16181
16181
|
}
|
16182
16182
|
async #fetchPartOf(url, options = {}) {
|
16183
16183
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
16184
|
-
|
16184
|
+
getDocumentLoader();
|
16185
16185
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
16186
|
-
|
16186
|
+
getDocumentLoader();
|
16187
16187
|
let fetchResult;
|
16188
16188
|
try {
|
16189
16189
|
fetchResult = await documentLoader(url.href);
|
@@ -16237,9 +16237,9 @@ export class CollectionPage extends Collection {
|
|
16237
16237
|
}
|
16238
16238
|
async #fetchNext(url, options = {}) {
|
16239
16239
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
16240
|
-
|
16240
|
+
getDocumentLoader();
|
16241
16241
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
16242
|
-
|
16242
|
+
getDocumentLoader();
|
16243
16243
|
let fetchResult;
|
16244
16244
|
try {
|
16245
16245
|
fetchResult = await documentLoader(url.href);
|
@@ -16292,9 +16292,9 @@ export class CollectionPage extends Collection {
|
|
16292
16292
|
}
|
16293
16293
|
async #fetchPrev(url, options = {}) {
|
16294
16294
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
16295
|
-
|
16295
|
+
getDocumentLoader();
|
16296
16296
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
16297
|
-
|
16297
|
+
getDocumentLoader();
|
16298
16298
|
let fetchResult;
|
16299
16299
|
try {
|
16300
16300
|
fetchResult = await documentLoader(url.href);
|
@@ -16365,7 +16365,7 @@ export class CollectionPage extends Collection {
|
|
16365
16365
|
}
|
16366
16366
|
options = {
|
16367
16367
|
...options,
|
16368
|
-
contextLoader: options.contextLoader ??
|
16368
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
16369
16369
|
};
|
16370
16370
|
if (options.format == null && this.isCompactable()) {
|
16371
16371
|
const result = await super.toJsonLd({
|
@@ -16524,8 +16524,8 @@ export class CollectionPage extends Collection {
|
|
16524
16524
|
throw new TypeError("Invalid JSON-LD: null.");
|
16525
16525
|
options = {
|
16526
16526
|
...options,
|
16527
|
-
documentLoader: options.documentLoader ??
|
16528
|
-
contextLoader: options.contextLoader ??
|
16527
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
16528
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
16529
16529
|
};
|
16530
16530
|
// deno-lint-ignore no-explicit-any
|
16531
16531
|
let values;
|
@@ -16730,7 +16730,7 @@ export class Create extends Activity {
|
|
16730
16730
|
}
|
16731
16731
|
options = {
|
16732
16732
|
...options,
|
16733
|
-
contextLoader: options.contextLoader ??
|
16733
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
16734
16734
|
};
|
16735
16735
|
// deno-lint-ignore no-unused-vars prefer-const
|
16736
16736
|
let array;
|
@@ -16799,8 +16799,8 @@ export class Create extends Activity {
|
|
16799
16799
|
throw new TypeError("Invalid JSON-LD: null.");
|
16800
16800
|
options = {
|
16801
16801
|
...options,
|
16802
|
-
documentLoader: options.documentLoader ??
|
16803
|
-
contextLoader: options.contextLoader ??
|
16802
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
16803
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
16804
16804
|
};
|
16805
16805
|
// deno-lint-ignore no-explicit-any
|
16806
16806
|
let values;
|
@@ -16903,7 +16903,7 @@ export class Delete extends Activity {
|
|
16903
16903
|
}
|
16904
16904
|
options = {
|
16905
16905
|
...options,
|
16906
|
-
contextLoader: options.contextLoader ??
|
16906
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
16907
16907
|
};
|
16908
16908
|
// deno-lint-ignore no-unused-vars prefer-const
|
16909
16909
|
let array;
|
@@ -16972,8 +16972,8 @@ export class Delete extends Activity {
|
|
16972
16972
|
throw new TypeError("Invalid JSON-LD: null.");
|
16973
16973
|
options = {
|
16974
16974
|
...options,
|
16975
|
-
documentLoader: options.documentLoader ??
|
16976
|
-
contextLoader: options.contextLoader ??
|
16975
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
16976
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
16977
16977
|
};
|
16978
16978
|
// deno-lint-ignore no-explicit-any
|
16979
16979
|
let values;
|
@@ -17075,7 +17075,7 @@ export class Dislike extends Activity {
|
|
17075
17075
|
}
|
17076
17076
|
options = {
|
17077
17077
|
...options,
|
17078
|
-
contextLoader: options.contextLoader ??
|
17078
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
17079
17079
|
};
|
17080
17080
|
// deno-lint-ignore no-unused-vars prefer-const
|
17081
17081
|
let array;
|
@@ -17132,8 +17132,8 @@ export class Dislike extends Activity {
|
|
17132
17132
|
throw new TypeError("Invalid JSON-LD: null.");
|
17133
17133
|
options = {
|
17134
17134
|
...options,
|
17135
|
-
documentLoader: options.documentLoader ??
|
17136
|
-
contextLoader: options.contextLoader ??
|
17135
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
17136
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
17137
17137
|
};
|
17138
17138
|
// deno-lint-ignore no-explicit-any
|
17139
17139
|
let values;
|
@@ -17476,7 +17476,7 @@ export class Endpoints {
|
|
17476
17476
|
}
|
17477
17477
|
options = {
|
17478
17478
|
...options,
|
17479
|
-
contextLoader: options.contextLoader ??
|
17479
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
17480
17480
|
};
|
17481
17481
|
if (options.format == null && this.isCompactable()) {
|
17482
17482
|
const result = {};
|
@@ -17639,8 +17639,8 @@ export class Endpoints {
|
|
17639
17639
|
throw new TypeError("Invalid JSON-LD: null.");
|
17640
17640
|
options = {
|
17641
17641
|
...options,
|
17642
|
-
documentLoader: options.documentLoader ??
|
17643
|
-
contextLoader: options.contextLoader ??
|
17642
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
17643
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
17644
17644
|
};
|
17645
17645
|
// deno-lint-ignore no-explicit-any
|
17646
17646
|
let values;
|
@@ -17901,7 +17901,7 @@ export class Event extends Object {
|
|
17901
17901
|
}
|
17902
17902
|
options = {
|
17903
17903
|
...options,
|
17904
|
-
contextLoader: options.contextLoader ??
|
17904
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
17905
17905
|
};
|
17906
17906
|
if (options.format == null && this.isCompactable()) {
|
17907
17907
|
const result = await super.toJsonLd({
|
@@ -17973,8 +17973,8 @@ export class Event extends Object {
|
|
17973
17973
|
throw new TypeError("Invalid JSON-LD: null.");
|
17974
17974
|
options = {
|
17975
17975
|
...options,
|
17976
|
-
documentLoader: options.documentLoader ??
|
17977
|
-
contextLoader: options.contextLoader ??
|
17976
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
17977
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
17978
17978
|
};
|
17979
17979
|
// deno-lint-ignore no-explicit-any
|
17980
17980
|
let values;
|
@@ -18078,7 +18078,7 @@ export class Flag extends Activity {
|
|
18078
18078
|
}
|
18079
18079
|
options = {
|
18080
18080
|
...options,
|
18081
|
-
contextLoader: options.contextLoader ??
|
18081
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
18082
18082
|
};
|
18083
18083
|
// deno-lint-ignore no-unused-vars prefer-const
|
18084
18084
|
let array;
|
@@ -18134,8 +18134,8 @@ export class Flag extends Activity {
|
|
18134
18134
|
throw new TypeError("Invalid JSON-LD: null.");
|
18135
18135
|
options = {
|
18136
18136
|
...options,
|
18137
|
-
documentLoader: options.documentLoader ??
|
18138
|
-
contextLoader: options.contextLoader ??
|
18137
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
18138
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
18139
18139
|
};
|
18140
18140
|
// deno-lint-ignore no-explicit-any
|
18141
18141
|
let values;
|
@@ -18240,7 +18240,7 @@ export class Follow extends Activity {
|
|
18240
18240
|
}
|
18241
18241
|
options = {
|
18242
18242
|
...options,
|
18243
|
-
contextLoader: options.contextLoader ??
|
18243
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
18244
18244
|
};
|
18245
18245
|
// deno-lint-ignore no-unused-vars prefer-const
|
18246
18246
|
let array;
|
@@ -18296,8 +18296,8 @@ export class Follow extends Activity {
|
|
18296
18296
|
throw new TypeError("Invalid JSON-LD: null.");
|
18297
18297
|
options = {
|
18298
18298
|
...options,
|
18299
|
-
documentLoader: options.documentLoader ??
|
18300
|
-
contextLoader: options.contextLoader ??
|
18299
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
18300
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
18301
18301
|
};
|
18302
18302
|
// deno-lint-ignore no-explicit-any
|
18303
18303
|
let values;
|
@@ -19124,9 +19124,9 @@ export class Group extends Object {
|
|
19124
19124
|
}
|
19125
19125
|
async #fetchPublicKey(url, options = {}) {
|
19126
19126
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19127
|
-
|
19127
|
+
getDocumentLoader();
|
19128
19128
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19129
|
-
|
19129
|
+
getDocumentLoader();
|
19130
19130
|
let fetchResult;
|
19131
19131
|
try {
|
19132
19132
|
fetchResult = await documentLoader(url.href);
|
@@ -19204,9 +19204,9 @@ export class Group extends Object {
|
|
19204
19204
|
}
|
19205
19205
|
async #fetchAssertionMethod(url, options = {}) {
|
19206
19206
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19207
|
-
|
19207
|
+
getDocumentLoader();
|
19208
19208
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19209
|
-
|
19209
|
+
getDocumentLoader();
|
19210
19210
|
let fetchResult;
|
19211
19211
|
try {
|
19212
19212
|
fetchResult = await documentLoader(url.href);
|
@@ -19304,9 +19304,9 @@ export class Group extends Object {
|
|
19304
19304
|
}
|
19305
19305
|
async #fetchInbox(url, options = {}) {
|
19306
19306
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19307
|
-
|
19307
|
+
getDocumentLoader();
|
19308
19308
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19309
|
-
|
19309
|
+
getDocumentLoader();
|
19310
19310
|
let fetchResult;
|
19311
19311
|
try {
|
19312
19312
|
fetchResult = await documentLoader(url.href);
|
@@ -19371,9 +19371,9 @@ export class Group extends Object {
|
|
19371
19371
|
}
|
19372
19372
|
async #fetchOutbox(url, options = {}) {
|
19373
19373
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19374
|
-
|
19374
|
+
getDocumentLoader();
|
19375
19375
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19376
|
-
|
19376
|
+
getDocumentLoader();
|
19377
19377
|
let fetchResult;
|
19378
19378
|
try {
|
19379
19379
|
fetchResult = await documentLoader(url.href);
|
@@ -19435,9 +19435,9 @@ export class Group extends Object {
|
|
19435
19435
|
}
|
19436
19436
|
async #fetchFollowing(url, options = {}) {
|
19437
19437
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19438
|
-
|
19438
|
+
getDocumentLoader();
|
19439
19439
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19440
|
-
|
19440
|
+
getDocumentLoader();
|
19441
19441
|
let fetchResult;
|
19442
19442
|
try {
|
19443
19443
|
fetchResult = await documentLoader(url.href);
|
@@ -19494,9 +19494,9 @@ export class Group extends Object {
|
|
19494
19494
|
}
|
19495
19495
|
async #fetchFollowers(url, options = {}) {
|
19496
19496
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19497
|
-
|
19497
|
+
getDocumentLoader();
|
19498
19498
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19499
|
-
|
19499
|
+
getDocumentLoader();
|
19500
19500
|
let fetchResult;
|
19501
19501
|
try {
|
19502
19502
|
fetchResult = await documentLoader(url.href);
|
@@ -19556,9 +19556,9 @@ export class Group extends Object {
|
|
19556
19556
|
}
|
19557
19557
|
async #fetchLiked(url, options = {}) {
|
19558
19558
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19559
|
-
|
19559
|
+
getDocumentLoader();
|
19560
19560
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19561
|
-
|
19561
|
+
getDocumentLoader();
|
19562
19562
|
let fetchResult;
|
19563
19563
|
try {
|
19564
19564
|
fetchResult = await documentLoader(url.href);
|
@@ -19616,9 +19616,9 @@ export class Group extends Object {
|
|
19616
19616
|
}
|
19617
19617
|
async #fetchFeatured(url, options = {}) {
|
19618
19618
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19619
|
-
|
19619
|
+
getDocumentLoader();
|
19620
19620
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19621
|
-
|
19621
|
+
getDocumentLoader();
|
19622
19622
|
let fetchResult;
|
19623
19623
|
try {
|
19624
19624
|
fetchResult = await documentLoader(url.href);
|
@@ -19674,9 +19674,9 @@ export class Group extends Object {
|
|
19674
19674
|
}
|
19675
19675
|
async #fetchFeaturedTags(url, options = {}) {
|
19676
19676
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19677
|
-
|
19677
|
+
getDocumentLoader();
|
19678
19678
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19679
|
-
|
19679
|
+
getDocumentLoader();
|
19680
19680
|
let fetchResult;
|
19681
19681
|
try {
|
19682
19682
|
fetchResult = await documentLoader(url.href);
|
@@ -19734,9 +19734,9 @@ export class Group extends Object {
|
|
19734
19734
|
}
|
19735
19735
|
async #fetchStream(url, options = {}) {
|
19736
19736
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19737
|
-
|
19737
|
+
getDocumentLoader();
|
19738
19738
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19739
|
-
|
19739
|
+
getDocumentLoader();
|
19740
19740
|
let fetchResult;
|
19741
19741
|
try {
|
19742
19742
|
fetchResult = await documentLoader(url.href);
|
@@ -19828,9 +19828,9 @@ export class Group extends Object {
|
|
19828
19828
|
}
|
19829
19829
|
async #fetchSuccessor(url, options = {}) {
|
19830
19830
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19831
|
-
|
19831
|
+
getDocumentLoader();
|
19832
19832
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19833
|
-
|
19833
|
+
getDocumentLoader();
|
19834
19834
|
let fetchResult;
|
19835
19835
|
try {
|
19836
19836
|
fetchResult = await documentLoader(url.href);
|
@@ -19917,9 +19917,9 @@ export class Group extends Object {
|
|
19917
19917
|
}
|
19918
19918
|
async #fetchAlias(url, options = {}) {
|
19919
19919
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
19920
|
-
|
19920
|
+
getDocumentLoader();
|
19921
19921
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
19922
|
-
|
19922
|
+
getDocumentLoader();
|
19923
19923
|
let fetchResult;
|
19924
19924
|
try {
|
19925
19925
|
fetchResult = await documentLoader(url.href);
|
@@ -20037,9 +20037,9 @@ export class Group extends Object {
|
|
20037
20037
|
}
|
20038
20038
|
async #fetchService(url, options = {}) {
|
20039
20039
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
20040
|
-
|
20040
|
+
getDocumentLoader();
|
20041
20041
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
20042
|
-
|
20042
|
+
getDocumentLoader();
|
20043
20043
|
let fetchResult;
|
20044
20044
|
try {
|
20045
20045
|
fetchResult = await documentLoader(url.href);
|
@@ -20158,7 +20158,7 @@ export class Group extends Object {
|
|
20158
20158
|
}
|
20159
20159
|
options = {
|
20160
20160
|
...options,
|
20161
|
-
contextLoader: options.contextLoader ??
|
20161
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
20162
20162
|
};
|
20163
20163
|
if (options.format == null && this.isCompactable()) {
|
20164
20164
|
const result = await super.toJsonLd({
|
@@ -20853,8 +20853,8 @@ export class Group extends Object {
|
|
20853
20853
|
throw new TypeError("Invalid JSON-LD: null.");
|
20854
20854
|
options = {
|
20855
20855
|
...options,
|
20856
|
-
documentLoader: options.documentLoader ??
|
20857
|
-
contextLoader: options.contextLoader ??
|
20856
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
20857
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
20858
20858
|
};
|
20859
20859
|
// deno-lint-ignore no-explicit-any
|
20860
20860
|
let values;
|
@@ -22048,9 +22048,9 @@ export class Link {
|
|
22048
22048
|
}
|
22049
22049
|
async #fetchPreview(url, options = {}) {
|
22050
22050
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
22051
|
-
|
22051
|
+
getDocumentLoader();
|
22052
22052
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
22053
|
-
|
22053
|
+
getDocumentLoader();
|
22054
22054
|
let fetchResult;
|
22055
22055
|
try {
|
22056
22056
|
fetchResult = await documentLoader(url.href);
|
@@ -22128,7 +22128,7 @@ export class Link {
|
|
22128
22128
|
}
|
22129
22129
|
options = {
|
22130
22130
|
...options,
|
22131
|
-
contextLoader: options.contextLoader ??
|
22131
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
22132
22132
|
};
|
22133
22133
|
if (options.format == null && this.isCompactable()) {
|
22134
22134
|
const result = {};
|
@@ -22357,8 +22357,8 @@ export class Link {
|
|
22357
22357
|
throw new TypeError("Invalid JSON-LD: null.");
|
22358
22358
|
options = {
|
22359
22359
|
...options,
|
22360
|
-
documentLoader: options.documentLoader ??
|
22361
|
-
contextLoader: options.contextLoader ??
|
22360
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
22361
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
22362
22362
|
};
|
22363
22363
|
// deno-lint-ignore no-explicit-any
|
22364
22364
|
let values;
|
@@ -22775,7 +22775,7 @@ export class Hashtag extends Link {
|
|
22775
22775
|
}
|
22776
22776
|
options = {
|
22777
22777
|
...options,
|
22778
|
-
contextLoader: options.contextLoader ??
|
22778
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
22779
22779
|
};
|
22780
22780
|
if (options.format == null && this.isCompactable()) {
|
22781
22781
|
const result = await super.toJsonLd({
|
@@ -22832,8 +22832,8 @@ export class Hashtag extends Link {
|
|
22832
22832
|
throw new TypeError("Invalid JSON-LD: null.");
|
22833
22833
|
options = {
|
22834
22834
|
...options,
|
22835
|
-
documentLoader: options.documentLoader ??
|
22836
|
-
contextLoader: options.contextLoader ??
|
22835
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
22836
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
22837
22837
|
};
|
22838
22838
|
// deno-lint-ignore no-explicit-any
|
22839
22839
|
let values;
|
@@ -22935,7 +22935,7 @@ export class Image extends Document {
|
|
22935
22935
|
}
|
22936
22936
|
options = {
|
22937
22937
|
...options,
|
22938
|
-
contextLoader: options.contextLoader ??
|
22938
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
22939
22939
|
};
|
22940
22940
|
if (options.format == null && this.isCompactable()) {
|
22941
22941
|
const result = await super.toJsonLd({
|
@@ -23001,8 +23001,8 @@ export class Image extends Document {
|
|
23001
23001
|
throw new TypeError("Invalid JSON-LD: null.");
|
23002
23002
|
options = {
|
23003
23003
|
...options,
|
23004
|
-
documentLoader: options.documentLoader ??
|
23005
|
-
contextLoader: options.contextLoader ??
|
23004
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23005
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23006
23006
|
};
|
23007
23007
|
// deno-lint-ignore no-explicit-any
|
23008
23008
|
let values;
|
@@ -23106,7 +23106,7 @@ export class Offer extends Activity {
|
|
23106
23106
|
}
|
23107
23107
|
options = {
|
23108
23108
|
...options,
|
23109
|
-
contextLoader: options.contextLoader ??
|
23109
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23110
23110
|
};
|
23111
23111
|
// deno-lint-ignore no-unused-vars prefer-const
|
23112
23112
|
let array;
|
@@ -23162,8 +23162,8 @@ export class Offer extends Activity {
|
|
23162
23162
|
throw new TypeError("Invalid JSON-LD: null.");
|
23163
23163
|
options = {
|
23164
23164
|
...options,
|
23165
|
-
documentLoader: options.documentLoader ??
|
23166
|
-
contextLoader: options.contextLoader ??
|
23165
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23166
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23167
23167
|
};
|
23168
23168
|
// deno-lint-ignore no-explicit-any
|
23169
23169
|
let values;
|
@@ -23269,7 +23269,7 @@ export class Invite extends Offer {
|
|
23269
23269
|
}
|
23270
23270
|
options = {
|
23271
23271
|
...options,
|
23272
|
-
contextLoader: options.contextLoader ??
|
23272
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23273
23273
|
};
|
23274
23274
|
// deno-lint-ignore no-unused-vars prefer-const
|
23275
23275
|
let array;
|
@@ -23325,8 +23325,8 @@ export class Invite extends Offer {
|
|
23325
23325
|
throw new TypeError("Invalid JSON-LD: null.");
|
23326
23326
|
options = {
|
23327
23327
|
...options,
|
23328
|
-
documentLoader: options.documentLoader ??
|
23329
|
-
contextLoader: options.contextLoader ??
|
23328
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23329
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23330
23330
|
};
|
23331
23331
|
// deno-lint-ignore no-explicit-any
|
23332
23332
|
let values;
|
@@ -23429,7 +23429,7 @@ export class Join extends Activity {
|
|
23429
23429
|
}
|
23430
23430
|
options = {
|
23431
23431
|
...options,
|
23432
|
-
contextLoader: options.contextLoader ??
|
23432
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23433
23433
|
};
|
23434
23434
|
// deno-lint-ignore no-unused-vars prefer-const
|
23435
23435
|
let array;
|
@@ -23485,8 +23485,8 @@ export class Join extends Activity {
|
|
23485
23485
|
throw new TypeError("Invalid JSON-LD: null.");
|
23486
23486
|
options = {
|
23487
23487
|
...options,
|
23488
|
-
documentLoader: options.documentLoader ??
|
23489
|
-
contextLoader: options.contextLoader ??
|
23488
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23489
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23490
23490
|
};
|
23491
23491
|
// deno-lint-ignore no-explicit-any
|
23492
23492
|
let values;
|
@@ -23589,7 +23589,7 @@ export class Leave extends Activity {
|
|
23589
23589
|
}
|
23590
23590
|
options = {
|
23591
23591
|
...options,
|
23592
|
-
contextLoader: options.contextLoader ??
|
23592
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23593
23593
|
};
|
23594
23594
|
// deno-lint-ignore no-unused-vars prefer-const
|
23595
23595
|
let array;
|
@@ -23645,8 +23645,8 @@ export class Leave extends Activity {
|
|
23645
23645
|
throw new TypeError("Invalid JSON-LD: null.");
|
23646
23646
|
options = {
|
23647
23647
|
...options,
|
23648
|
-
documentLoader: options.documentLoader ??
|
23649
|
-
contextLoader: options.contextLoader ??
|
23648
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23649
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23650
23650
|
};
|
23651
23651
|
// deno-lint-ignore no-explicit-any
|
23652
23652
|
let values;
|
@@ -23749,7 +23749,7 @@ export class Like extends Activity {
|
|
23749
23749
|
}
|
23750
23750
|
options = {
|
23751
23751
|
...options,
|
23752
|
-
contextLoader: options.contextLoader ??
|
23752
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23753
23753
|
};
|
23754
23754
|
// deno-lint-ignore no-unused-vars prefer-const
|
23755
23755
|
let array;
|
@@ -23806,8 +23806,8 @@ export class Like extends Activity {
|
|
23806
23806
|
throw new TypeError("Invalid JSON-LD: null.");
|
23807
23807
|
options = {
|
23808
23808
|
...options,
|
23809
|
-
documentLoader: options.documentLoader ??
|
23810
|
-
contextLoader: options.contextLoader ??
|
23809
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23810
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23811
23811
|
};
|
23812
23812
|
// deno-lint-ignore no-explicit-any
|
23813
23813
|
let values;
|
@@ -23909,7 +23909,7 @@ export class Listen extends Activity {
|
|
23909
23909
|
}
|
23910
23910
|
options = {
|
23911
23911
|
...options,
|
23912
|
-
contextLoader: options.contextLoader ??
|
23912
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23913
23913
|
};
|
23914
23914
|
// deno-lint-ignore no-unused-vars prefer-const
|
23915
23915
|
let array;
|
@@ -23965,8 +23965,8 @@ export class Listen extends Activity {
|
|
23965
23965
|
throw new TypeError("Invalid JSON-LD: null.");
|
23966
23966
|
options = {
|
23967
23967
|
...options,
|
23968
|
-
documentLoader: options.documentLoader ??
|
23969
|
-
contextLoader: options.contextLoader ??
|
23968
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
23969
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
23970
23970
|
};
|
23971
23971
|
// deno-lint-ignore no-explicit-any
|
23972
23972
|
let values;
|
@@ -24068,7 +24068,7 @@ export class Mention extends Link {
|
|
24068
24068
|
}
|
24069
24069
|
options = {
|
24070
24070
|
...options,
|
24071
|
-
contextLoader: options.contextLoader ??
|
24071
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24072
24072
|
};
|
24073
24073
|
if (options.format == null && this.isCompactable()) {
|
24074
24074
|
const result = await super.toJsonLd({
|
@@ -24123,8 +24123,8 @@ export class Mention extends Link {
|
|
24123
24123
|
throw new TypeError("Invalid JSON-LD: null.");
|
24124
24124
|
options = {
|
24125
24125
|
...options,
|
24126
|
-
documentLoader: options.documentLoader ??
|
24127
|
-
contextLoader: options.contextLoader ??
|
24126
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
24127
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24128
24128
|
};
|
24129
24129
|
// deno-lint-ignore no-explicit-any
|
24130
24130
|
let values;
|
@@ -24228,7 +24228,7 @@ export class Move extends Activity {
|
|
24228
24228
|
}
|
24229
24229
|
options = {
|
24230
24230
|
...options,
|
24231
|
-
contextLoader: options.contextLoader ??
|
24231
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24232
24232
|
};
|
24233
24233
|
// deno-lint-ignore no-unused-vars prefer-const
|
24234
24234
|
let array;
|
@@ -24284,8 +24284,8 @@ export class Move extends Activity {
|
|
24284
24284
|
throw new TypeError("Invalid JSON-LD: null.");
|
24285
24285
|
options = {
|
24286
24286
|
...options,
|
24287
|
-
documentLoader: options.documentLoader ??
|
24288
|
-
contextLoader: options.contextLoader ??
|
24287
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
24288
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24289
24289
|
};
|
24290
24290
|
// deno-lint-ignore no-explicit-any
|
24291
24291
|
let values;
|
@@ -24427,7 +24427,7 @@ export class Note extends Object {
|
|
24427
24427
|
}
|
24428
24428
|
options = {
|
24429
24429
|
...options,
|
24430
|
-
contextLoader: options.contextLoader ??
|
24430
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24431
24431
|
};
|
24432
24432
|
if (options.format == null && this.isCompactable()) {
|
24433
24433
|
const result = await super.toJsonLd({
|
@@ -24548,8 +24548,8 @@ export class Note extends Object {
|
|
24548
24548
|
throw new TypeError("Invalid JSON-LD: null.");
|
24549
24549
|
options = {
|
24550
24550
|
...options,
|
24551
|
-
documentLoader: options.documentLoader ??
|
24552
|
-
contextLoader: options.contextLoader ??
|
24551
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
24552
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24553
24553
|
};
|
24554
24554
|
// deno-lint-ignore no-explicit-any
|
24555
24555
|
let values;
|
@@ -24695,9 +24695,9 @@ export class OrderedCollection extends Collection {
|
|
24695
24695
|
}
|
24696
24696
|
async #fetchItem(url, options = {}) {
|
24697
24697
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
24698
|
-
|
24698
|
+
getDocumentLoader();
|
24699
24699
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
24700
|
-
|
24700
|
+
getDocumentLoader();
|
24701
24701
|
let fetchResult;
|
24702
24702
|
try {
|
24703
24703
|
fetchResult = await documentLoader(url.href);
|
@@ -24776,7 +24776,7 @@ export class OrderedCollection extends Collection {
|
|
24776
24776
|
}
|
24777
24777
|
options = {
|
24778
24778
|
...options,
|
24779
|
-
contextLoader: options.contextLoader ??
|
24779
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24780
24780
|
};
|
24781
24781
|
if (options.format == null && this.isCompactable()) {
|
24782
24782
|
const result = await super.toJsonLd({
|
@@ -24896,8 +24896,8 @@ export class OrderedCollection extends Collection {
|
|
24896
24896
|
throw new TypeError("Invalid JSON-LD: null.");
|
24897
24897
|
options = {
|
24898
24898
|
...options,
|
24899
|
-
documentLoader: options.documentLoader ??
|
24900
|
-
contextLoader: options.contextLoader ??
|
24899
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
24900
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
24901
24901
|
};
|
24902
24902
|
// deno-lint-ignore no-explicit-any
|
24903
24903
|
let values;
|
@@ -25139,9 +25139,9 @@ export class OrderedCollectionPage extends CollectionPage {
|
|
25139
25139
|
}
|
25140
25140
|
async #fetchItem(url, options = {}) {
|
25141
25141
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
25142
|
-
|
25142
|
+
getDocumentLoader();
|
25143
25143
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
25144
|
-
|
25144
|
+
getDocumentLoader();
|
25145
25145
|
let fetchResult;
|
25146
25146
|
try {
|
25147
25147
|
fetchResult = await documentLoader(url.href);
|
@@ -25228,7 +25228,7 @@ export class OrderedCollectionPage extends CollectionPage {
|
|
25228
25228
|
}
|
25229
25229
|
options = {
|
25230
25230
|
...options,
|
25231
|
-
contextLoader: options.contextLoader ??
|
25231
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
25232
25232
|
};
|
25233
25233
|
if (options.format == null && this.isCompactable()) {
|
25234
25234
|
const result = await super.toJsonLd({
|
@@ -25370,8 +25370,8 @@ export class OrderedCollectionPage extends CollectionPage {
|
|
25370
25370
|
throw new TypeError("Invalid JSON-LD: null.");
|
25371
25371
|
options = {
|
25372
25372
|
...options,
|
25373
|
-
documentLoader: options.documentLoader ??
|
25374
|
-
contextLoader: options.contextLoader ??
|
25373
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
25374
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
25375
25375
|
};
|
25376
25376
|
// deno-lint-ignore no-explicit-any
|
25377
25377
|
let values;
|
@@ -26330,9 +26330,9 @@ export class Organization extends Object {
|
|
26330
26330
|
}
|
26331
26331
|
async #fetchPublicKey(url, options = {}) {
|
26332
26332
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26333
|
-
|
26333
|
+
getDocumentLoader();
|
26334
26334
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26335
|
-
|
26335
|
+
getDocumentLoader();
|
26336
26336
|
let fetchResult;
|
26337
26337
|
try {
|
26338
26338
|
fetchResult = await documentLoader(url.href);
|
@@ -26410,9 +26410,9 @@ export class Organization extends Object {
|
|
26410
26410
|
}
|
26411
26411
|
async #fetchAssertionMethod(url, options = {}) {
|
26412
26412
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26413
|
-
|
26413
|
+
getDocumentLoader();
|
26414
26414
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26415
|
-
|
26415
|
+
getDocumentLoader();
|
26416
26416
|
let fetchResult;
|
26417
26417
|
try {
|
26418
26418
|
fetchResult = await documentLoader(url.href);
|
@@ -26510,9 +26510,9 @@ export class Organization extends Object {
|
|
26510
26510
|
}
|
26511
26511
|
async #fetchInbox(url, options = {}) {
|
26512
26512
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26513
|
-
|
26513
|
+
getDocumentLoader();
|
26514
26514
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26515
|
-
|
26515
|
+
getDocumentLoader();
|
26516
26516
|
let fetchResult;
|
26517
26517
|
try {
|
26518
26518
|
fetchResult = await documentLoader(url.href);
|
@@ -26577,9 +26577,9 @@ export class Organization extends Object {
|
|
26577
26577
|
}
|
26578
26578
|
async #fetchOutbox(url, options = {}) {
|
26579
26579
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26580
|
-
|
26580
|
+
getDocumentLoader();
|
26581
26581
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26582
|
-
|
26582
|
+
getDocumentLoader();
|
26583
26583
|
let fetchResult;
|
26584
26584
|
try {
|
26585
26585
|
fetchResult = await documentLoader(url.href);
|
@@ -26641,9 +26641,9 @@ export class Organization extends Object {
|
|
26641
26641
|
}
|
26642
26642
|
async #fetchFollowing(url, options = {}) {
|
26643
26643
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26644
|
-
|
26644
|
+
getDocumentLoader();
|
26645
26645
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26646
|
-
|
26646
|
+
getDocumentLoader();
|
26647
26647
|
let fetchResult;
|
26648
26648
|
try {
|
26649
26649
|
fetchResult = await documentLoader(url.href);
|
@@ -26700,9 +26700,9 @@ export class Organization extends Object {
|
|
26700
26700
|
}
|
26701
26701
|
async #fetchFollowers(url, options = {}) {
|
26702
26702
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26703
|
-
|
26703
|
+
getDocumentLoader();
|
26704
26704
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26705
|
-
|
26705
|
+
getDocumentLoader();
|
26706
26706
|
let fetchResult;
|
26707
26707
|
try {
|
26708
26708
|
fetchResult = await documentLoader(url.href);
|
@@ -26762,9 +26762,9 @@ export class Organization extends Object {
|
|
26762
26762
|
}
|
26763
26763
|
async #fetchLiked(url, options = {}) {
|
26764
26764
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26765
|
-
|
26765
|
+
getDocumentLoader();
|
26766
26766
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26767
|
-
|
26767
|
+
getDocumentLoader();
|
26768
26768
|
let fetchResult;
|
26769
26769
|
try {
|
26770
26770
|
fetchResult = await documentLoader(url.href);
|
@@ -26822,9 +26822,9 @@ export class Organization extends Object {
|
|
26822
26822
|
}
|
26823
26823
|
async #fetchFeatured(url, options = {}) {
|
26824
26824
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26825
|
-
|
26825
|
+
getDocumentLoader();
|
26826
26826
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26827
|
-
|
26827
|
+
getDocumentLoader();
|
26828
26828
|
let fetchResult;
|
26829
26829
|
try {
|
26830
26830
|
fetchResult = await documentLoader(url.href);
|
@@ -26880,9 +26880,9 @@ export class Organization extends Object {
|
|
26880
26880
|
}
|
26881
26881
|
async #fetchFeaturedTags(url, options = {}) {
|
26882
26882
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26883
|
-
|
26883
|
+
getDocumentLoader();
|
26884
26884
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26885
|
-
|
26885
|
+
getDocumentLoader();
|
26886
26886
|
let fetchResult;
|
26887
26887
|
try {
|
26888
26888
|
fetchResult = await documentLoader(url.href);
|
@@ -26940,9 +26940,9 @@ export class Organization extends Object {
|
|
26940
26940
|
}
|
26941
26941
|
async #fetchStream(url, options = {}) {
|
26942
26942
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
26943
|
-
|
26943
|
+
getDocumentLoader();
|
26944
26944
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
26945
|
-
|
26945
|
+
getDocumentLoader();
|
26946
26946
|
let fetchResult;
|
26947
26947
|
try {
|
26948
26948
|
fetchResult = await documentLoader(url.href);
|
@@ -27034,9 +27034,9 @@ export class Organization extends Object {
|
|
27034
27034
|
}
|
27035
27035
|
async #fetchSuccessor(url, options = {}) {
|
27036
27036
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
27037
|
-
|
27037
|
+
getDocumentLoader();
|
27038
27038
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
27039
|
-
|
27039
|
+
getDocumentLoader();
|
27040
27040
|
let fetchResult;
|
27041
27041
|
try {
|
27042
27042
|
fetchResult = await documentLoader(url.href);
|
@@ -27123,9 +27123,9 @@ export class Organization extends Object {
|
|
27123
27123
|
}
|
27124
27124
|
async #fetchAlias(url, options = {}) {
|
27125
27125
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
27126
|
-
|
27126
|
+
getDocumentLoader();
|
27127
27127
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
27128
|
-
|
27128
|
+
getDocumentLoader();
|
27129
27129
|
let fetchResult;
|
27130
27130
|
try {
|
27131
27131
|
fetchResult = await documentLoader(url.href);
|
@@ -27243,9 +27243,9 @@ export class Organization extends Object {
|
|
27243
27243
|
}
|
27244
27244
|
async #fetchService(url, options = {}) {
|
27245
27245
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
27246
|
-
|
27246
|
+
getDocumentLoader();
|
27247
27247
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
27248
|
-
|
27248
|
+
getDocumentLoader();
|
27249
27249
|
let fetchResult;
|
27250
27250
|
try {
|
27251
27251
|
fetchResult = await documentLoader(url.href);
|
@@ -27364,7 +27364,7 @@ export class Organization extends Object {
|
|
27364
27364
|
}
|
27365
27365
|
options = {
|
27366
27366
|
...options,
|
27367
|
-
contextLoader: options.contextLoader ??
|
27367
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
27368
27368
|
};
|
27369
27369
|
if (options.format == null && this.isCompactable()) {
|
27370
27370
|
const result = await super.toJsonLd({
|
@@ -28059,8 +28059,8 @@ export class Organization extends Object {
|
|
28059
28059
|
throw new TypeError("Invalid JSON-LD: null.");
|
28060
28060
|
options = {
|
28061
28061
|
...options,
|
28062
|
-
documentLoader: options.documentLoader ??
|
28063
|
-
contextLoader: options.contextLoader ??
|
28062
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
28063
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
28064
28064
|
};
|
28065
28065
|
// deno-lint-ignore no-explicit-any
|
28066
28066
|
let values;
|
@@ -28917,7 +28917,7 @@ export class Page extends Document {
|
|
28917
28917
|
}
|
28918
28918
|
options = {
|
28919
28919
|
...options,
|
28920
|
-
contextLoader: options.contextLoader ??
|
28920
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
28921
28921
|
};
|
28922
28922
|
if (options.format == null && this.isCompactable()) {
|
28923
28923
|
const result = await super.toJsonLd({
|
@@ -28989,8 +28989,8 @@ export class Page extends Document {
|
|
28989
28989
|
throw new TypeError("Invalid JSON-LD: null.");
|
28990
28990
|
options = {
|
28991
28991
|
...options,
|
28992
|
-
documentLoader: options.documentLoader ??
|
28993
|
-
contextLoader: options.contextLoader ??
|
28992
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
28993
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
28994
28994
|
};
|
28995
28995
|
// deno-lint-ignore no-explicit-any
|
28996
28996
|
let values;
|
@@ -29817,9 +29817,9 @@ export class Person extends Object {
|
|
29817
29817
|
}
|
29818
29818
|
async #fetchPublicKey(url, options = {}) {
|
29819
29819
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
29820
|
-
|
29820
|
+
getDocumentLoader();
|
29821
29821
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
29822
|
-
|
29822
|
+
getDocumentLoader();
|
29823
29823
|
let fetchResult;
|
29824
29824
|
try {
|
29825
29825
|
fetchResult = await documentLoader(url.href);
|
@@ -29897,9 +29897,9 @@ export class Person extends Object {
|
|
29897
29897
|
}
|
29898
29898
|
async #fetchAssertionMethod(url, options = {}) {
|
29899
29899
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
29900
|
-
|
29900
|
+
getDocumentLoader();
|
29901
29901
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
29902
|
-
|
29902
|
+
getDocumentLoader();
|
29903
29903
|
let fetchResult;
|
29904
29904
|
try {
|
29905
29905
|
fetchResult = await documentLoader(url.href);
|
@@ -29997,9 +29997,9 @@ export class Person extends Object {
|
|
29997
29997
|
}
|
29998
29998
|
async #fetchInbox(url, options = {}) {
|
29999
29999
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30000
|
-
|
30000
|
+
getDocumentLoader();
|
30001
30001
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30002
|
-
|
30002
|
+
getDocumentLoader();
|
30003
30003
|
let fetchResult;
|
30004
30004
|
try {
|
30005
30005
|
fetchResult = await documentLoader(url.href);
|
@@ -30064,9 +30064,9 @@ export class Person extends Object {
|
|
30064
30064
|
}
|
30065
30065
|
async #fetchOutbox(url, options = {}) {
|
30066
30066
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30067
|
-
|
30067
|
+
getDocumentLoader();
|
30068
30068
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30069
|
-
|
30069
|
+
getDocumentLoader();
|
30070
30070
|
let fetchResult;
|
30071
30071
|
try {
|
30072
30072
|
fetchResult = await documentLoader(url.href);
|
@@ -30128,9 +30128,9 @@ export class Person extends Object {
|
|
30128
30128
|
}
|
30129
30129
|
async #fetchFollowing(url, options = {}) {
|
30130
30130
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30131
|
-
|
30131
|
+
getDocumentLoader();
|
30132
30132
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30133
|
-
|
30133
|
+
getDocumentLoader();
|
30134
30134
|
let fetchResult;
|
30135
30135
|
try {
|
30136
30136
|
fetchResult = await documentLoader(url.href);
|
@@ -30187,9 +30187,9 @@ export class Person extends Object {
|
|
30187
30187
|
}
|
30188
30188
|
async #fetchFollowers(url, options = {}) {
|
30189
30189
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30190
|
-
|
30190
|
+
getDocumentLoader();
|
30191
30191
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30192
|
-
|
30192
|
+
getDocumentLoader();
|
30193
30193
|
let fetchResult;
|
30194
30194
|
try {
|
30195
30195
|
fetchResult = await documentLoader(url.href);
|
@@ -30249,9 +30249,9 @@ export class Person extends Object {
|
|
30249
30249
|
}
|
30250
30250
|
async #fetchLiked(url, options = {}) {
|
30251
30251
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30252
|
-
|
30252
|
+
getDocumentLoader();
|
30253
30253
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30254
|
-
|
30254
|
+
getDocumentLoader();
|
30255
30255
|
let fetchResult;
|
30256
30256
|
try {
|
30257
30257
|
fetchResult = await documentLoader(url.href);
|
@@ -30309,9 +30309,9 @@ export class Person extends Object {
|
|
30309
30309
|
}
|
30310
30310
|
async #fetchFeatured(url, options = {}) {
|
30311
30311
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30312
|
-
|
30312
|
+
getDocumentLoader();
|
30313
30313
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30314
|
-
|
30314
|
+
getDocumentLoader();
|
30315
30315
|
let fetchResult;
|
30316
30316
|
try {
|
30317
30317
|
fetchResult = await documentLoader(url.href);
|
@@ -30367,9 +30367,9 @@ export class Person extends Object {
|
|
30367
30367
|
}
|
30368
30368
|
async #fetchFeaturedTags(url, options = {}) {
|
30369
30369
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30370
|
-
|
30370
|
+
getDocumentLoader();
|
30371
30371
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30372
|
-
|
30372
|
+
getDocumentLoader();
|
30373
30373
|
let fetchResult;
|
30374
30374
|
try {
|
30375
30375
|
fetchResult = await documentLoader(url.href);
|
@@ -30427,9 +30427,9 @@ export class Person extends Object {
|
|
30427
30427
|
}
|
30428
30428
|
async #fetchStream(url, options = {}) {
|
30429
30429
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30430
|
-
|
30430
|
+
getDocumentLoader();
|
30431
30431
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30432
|
-
|
30432
|
+
getDocumentLoader();
|
30433
30433
|
let fetchResult;
|
30434
30434
|
try {
|
30435
30435
|
fetchResult = await documentLoader(url.href);
|
@@ -30521,9 +30521,9 @@ export class Person extends Object {
|
|
30521
30521
|
}
|
30522
30522
|
async #fetchSuccessor(url, options = {}) {
|
30523
30523
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30524
|
-
|
30524
|
+
getDocumentLoader();
|
30525
30525
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30526
|
-
|
30526
|
+
getDocumentLoader();
|
30527
30527
|
let fetchResult;
|
30528
30528
|
try {
|
30529
30529
|
fetchResult = await documentLoader(url.href);
|
@@ -30610,9 +30610,9 @@ export class Person extends Object {
|
|
30610
30610
|
}
|
30611
30611
|
async #fetchAlias(url, options = {}) {
|
30612
30612
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30613
|
-
|
30613
|
+
getDocumentLoader();
|
30614
30614
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30615
|
-
|
30615
|
+
getDocumentLoader();
|
30616
30616
|
let fetchResult;
|
30617
30617
|
try {
|
30618
30618
|
fetchResult = await documentLoader(url.href);
|
@@ -30730,9 +30730,9 @@ export class Person extends Object {
|
|
30730
30730
|
}
|
30731
30731
|
async #fetchService(url, options = {}) {
|
30732
30732
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
30733
|
-
|
30733
|
+
getDocumentLoader();
|
30734
30734
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
30735
|
-
|
30735
|
+
getDocumentLoader();
|
30736
30736
|
let fetchResult;
|
30737
30737
|
try {
|
30738
30738
|
fetchResult = await documentLoader(url.href);
|
@@ -30851,7 +30851,7 @@ export class Person extends Object {
|
|
30851
30851
|
}
|
30852
30852
|
options = {
|
30853
30853
|
...options,
|
30854
|
-
contextLoader: options.contextLoader ??
|
30854
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
30855
30855
|
};
|
30856
30856
|
if (options.format == null && this.isCompactable()) {
|
30857
30857
|
const result = await super.toJsonLd({
|
@@ -31546,8 +31546,8 @@ export class Person extends Object {
|
|
31546
31546
|
throw new TypeError("Invalid JSON-LD: null.");
|
31547
31547
|
options = {
|
31548
31548
|
...options,
|
31549
|
-
documentLoader: options.documentLoader ??
|
31550
|
-
contextLoader: options.contextLoader ??
|
31549
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
31550
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
31551
31551
|
};
|
31552
31552
|
// deno-lint-ignore no-explicit-any
|
31553
31553
|
let values;
|
@@ -32600,7 +32600,7 @@ export class Place extends Object {
|
|
32600
32600
|
}
|
32601
32601
|
options = {
|
32602
32602
|
...options,
|
32603
|
-
contextLoader: options.contextLoader ??
|
32603
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
32604
32604
|
};
|
32605
32605
|
if (options.format == null && this.isCompactable()) {
|
32606
32606
|
const result = await super.toJsonLd({
|
@@ -32807,8 +32807,8 @@ export class Place extends Object {
|
|
32807
32807
|
throw new TypeError("Invalid JSON-LD: null.");
|
32808
32808
|
options = {
|
32809
32809
|
...options,
|
32810
|
-
documentLoader: options.documentLoader ??
|
32811
|
-
contextLoader: options.contextLoader ??
|
32810
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
32811
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
32812
32812
|
};
|
32813
32813
|
// deno-lint-ignore no-explicit-any
|
32814
32814
|
let values;
|
@@ -33087,9 +33087,9 @@ export class Profile extends Object {
|
|
33087
33087
|
}
|
33088
33088
|
async #fetchDescribes(url, options = {}) {
|
33089
33089
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
33090
|
-
|
33090
|
+
getDocumentLoader();
|
33091
33091
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
33092
|
-
|
33092
|
+
getDocumentLoader();
|
33093
33093
|
let fetchResult;
|
33094
33094
|
try {
|
33095
33095
|
fetchResult = await documentLoader(url.href);
|
@@ -33161,7 +33161,7 @@ export class Profile extends Object {
|
|
33161
33161
|
}
|
33162
33162
|
options = {
|
33163
33163
|
...options,
|
33164
|
-
contextLoader: options.contextLoader ??
|
33164
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
33165
33165
|
};
|
33166
33166
|
if (options.format == null && this.isCompactable()) {
|
33167
33167
|
const result = await super.toJsonLd({
|
@@ -33258,8 +33258,8 @@ export class Profile extends Object {
|
|
33258
33258
|
throw new TypeError("Invalid JSON-LD: null.");
|
33259
33259
|
options = {
|
33260
33260
|
...options,
|
33261
|
-
documentLoader: options.documentLoader ??
|
33262
|
-
contextLoader: options.contextLoader ??
|
33261
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
33262
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
33263
33263
|
};
|
33264
33264
|
// deno-lint-ignore no-explicit-any
|
33265
33265
|
let values;
|
@@ -33506,9 +33506,9 @@ export class Question extends IntransitiveActivity {
|
|
33506
33506
|
}
|
33507
33507
|
async #fetchExclusiveOption(url, options = {}) {
|
33508
33508
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
33509
|
-
|
33509
|
+
getDocumentLoader();
|
33510
33510
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
33511
|
-
|
33511
|
+
getDocumentLoader();
|
33512
33512
|
let fetchResult;
|
33513
33513
|
try {
|
33514
33514
|
fetchResult = await documentLoader(url.href);
|
@@ -33560,9 +33560,9 @@ export class Question extends IntransitiveActivity {
|
|
33560
33560
|
}
|
33561
33561
|
async #fetchInclusiveOption(url, options = {}) {
|
33562
33562
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
33563
|
-
|
33563
|
+
getDocumentLoader();
|
33564
33564
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
33565
|
-
|
33565
|
+
getDocumentLoader();
|
33566
33566
|
let fetchResult;
|
33567
33567
|
try {
|
33568
33568
|
fetchResult = await documentLoader(url.href);
|
@@ -33664,7 +33664,7 @@ export class Question extends IntransitiveActivity {
|
|
33664
33664
|
}
|
33665
33665
|
options = {
|
33666
33666
|
...options,
|
33667
|
-
contextLoader: options.contextLoader ??
|
33667
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
33668
33668
|
};
|
33669
33669
|
// deno-lint-ignore no-unused-vars prefer-const
|
33670
33670
|
let array;
|
@@ -33791,8 +33791,8 @@ export class Question extends IntransitiveActivity {
|
|
33791
33791
|
throw new TypeError("Invalid JSON-LD: null.");
|
33792
33792
|
options = {
|
33793
33793
|
...options,
|
33794
|
-
documentLoader: options.documentLoader ??
|
33795
|
-
contextLoader: options.contextLoader ??
|
33794
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
33795
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
33796
33796
|
};
|
33797
33797
|
// deno-lint-ignore no-explicit-any
|
33798
33798
|
let values;
|
@@ -34062,7 +34062,7 @@ export class Read extends Activity {
|
|
34062
34062
|
}
|
34063
34063
|
options = {
|
34064
34064
|
...options,
|
34065
|
-
contextLoader: options.contextLoader ??
|
34065
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
34066
34066
|
};
|
34067
34067
|
// deno-lint-ignore no-unused-vars prefer-const
|
34068
34068
|
let array;
|
@@ -34118,8 +34118,8 @@ export class Read extends Activity {
|
|
34118
34118
|
throw new TypeError("Invalid JSON-LD: null.");
|
34119
34119
|
options = {
|
34120
34120
|
...options,
|
34121
|
-
documentLoader: options.documentLoader ??
|
34122
|
-
contextLoader: options.contextLoader ??
|
34121
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
34122
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
34123
34123
|
};
|
34124
34124
|
// deno-lint-ignore no-explicit-any
|
34125
34125
|
let values;
|
@@ -34222,7 +34222,7 @@ export class Reject extends Activity {
|
|
34222
34222
|
}
|
34223
34223
|
options = {
|
34224
34224
|
...options,
|
34225
|
-
contextLoader: options.contextLoader ??
|
34225
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
34226
34226
|
};
|
34227
34227
|
// deno-lint-ignore no-unused-vars prefer-const
|
34228
34228
|
let array;
|
@@ -34278,8 +34278,8 @@ export class Reject extends Activity {
|
|
34278
34278
|
throw new TypeError("Invalid JSON-LD: null.");
|
34279
34279
|
options = {
|
34280
34280
|
...options,
|
34281
|
-
documentLoader: options.documentLoader ??
|
34282
|
-
contextLoader: options.contextLoader ??
|
34281
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
34282
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
34283
34283
|
};
|
34284
34284
|
// deno-lint-ignore no-explicit-any
|
34285
34285
|
let values;
|
@@ -34512,9 +34512,9 @@ export class Relationship extends Object {
|
|
34512
34512
|
}
|
34513
34513
|
async #fetchSubject(url, options = {}) {
|
34514
34514
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
34515
|
-
|
34515
|
+
getDocumentLoader();
|
34516
34516
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
34517
|
-
|
34517
|
+
getDocumentLoader();
|
34518
34518
|
let fetchResult;
|
34519
34519
|
try {
|
34520
34520
|
fetchResult = await documentLoader(url.href);
|
@@ -34570,9 +34570,9 @@ export class Relationship extends Object {
|
|
34570
34570
|
}
|
34571
34571
|
async #fetchObject(url, options = {}) {
|
34572
34572
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
34573
|
-
|
34573
|
+
getDocumentLoader();
|
34574
34574
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
34575
|
-
|
34575
|
+
getDocumentLoader();
|
34576
34576
|
let fetchResult;
|
34577
34577
|
try {
|
34578
34578
|
fetchResult = await documentLoader(url.href);
|
@@ -34650,9 +34650,9 @@ export class Relationship extends Object {
|
|
34650
34650
|
}
|
34651
34651
|
async #fetchRelationship(url, options = {}) {
|
34652
34652
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
34653
|
-
|
34653
|
+
getDocumentLoader();
|
34654
34654
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
34655
|
-
|
34655
|
+
getDocumentLoader();
|
34656
34656
|
let fetchResult;
|
34657
34657
|
try {
|
34658
34658
|
fetchResult = await documentLoader(url.href);
|
@@ -34754,7 +34754,7 @@ export class Relationship extends Object {
|
|
34754
34754
|
}
|
34755
34755
|
options = {
|
34756
34756
|
...options,
|
34757
|
-
contextLoader: options.contextLoader ??
|
34757
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
34758
34758
|
};
|
34759
34759
|
if (options.format == null && this.isCompactable()) {
|
34760
34760
|
const result = await super.toJsonLd({
|
@@ -34901,8 +34901,8 @@ export class Relationship extends Object {
|
|
34901
34901
|
throw new TypeError("Invalid JSON-LD: null.");
|
34902
34902
|
options = {
|
34903
34903
|
...options,
|
34904
|
-
documentLoader: options.documentLoader ??
|
34905
|
-
contextLoader: options.contextLoader ??
|
34904
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
34905
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
34906
34906
|
};
|
34907
34907
|
// deno-lint-ignore no-explicit-any
|
34908
34908
|
let values;
|
@@ -35114,7 +35114,7 @@ export class Remove extends Activity {
|
|
35114
35114
|
}
|
35115
35115
|
options = {
|
35116
35116
|
...options,
|
35117
|
-
contextLoader: options.contextLoader ??
|
35117
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
35118
35118
|
};
|
35119
35119
|
// deno-lint-ignore no-unused-vars prefer-const
|
35120
35120
|
let array;
|
@@ -35170,8 +35170,8 @@ export class Remove extends Activity {
|
|
35170
35170
|
throw new TypeError("Invalid JSON-LD: null.");
|
35171
35171
|
options = {
|
35172
35172
|
...options,
|
35173
|
-
documentLoader: options.documentLoader ??
|
35174
|
-
contextLoader: options.contextLoader ??
|
35173
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
35174
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
35175
35175
|
};
|
35176
35176
|
// deno-lint-ignore no-explicit-any
|
35177
35177
|
let values;
|
@@ -35998,9 +35998,9 @@ export class Service extends Object {
|
|
35998
35998
|
}
|
35999
35999
|
async #fetchPublicKey(url, options = {}) {
|
36000
36000
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36001
|
-
|
36001
|
+
getDocumentLoader();
|
36002
36002
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36003
|
-
|
36003
|
+
getDocumentLoader();
|
36004
36004
|
let fetchResult;
|
36005
36005
|
try {
|
36006
36006
|
fetchResult = await documentLoader(url.href);
|
@@ -36078,9 +36078,9 @@ export class Service extends Object {
|
|
36078
36078
|
}
|
36079
36079
|
async #fetchAssertionMethod(url, options = {}) {
|
36080
36080
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36081
|
-
|
36081
|
+
getDocumentLoader();
|
36082
36082
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36083
|
-
|
36083
|
+
getDocumentLoader();
|
36084
36084
|
let fetchResult;
|
36085
36085
|
try {
|
36086
36086
|
fetchResult = await documentLoader(url.href);
|
@@ -36178,9 +36178,9 @@ export class Service extends Object {
|
|
36178
36178
|
}
|
36179
36179
|
async #fetchInbox(url, options = {}) {
|
36180
36180
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36181
|
-
|
36181
|
+
getDocumentLoader();
|
36182
36182
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36183
|
-
|
36183
|
+
getDocumentLoader();
|
36184
36184
|
let fetchResult;
|
36185
36185
|
try {
|
36186
36186
|
fetchResult = await documentLoader(url.href);
|
@@ -36245,9 +36245,9 @@ export class Service extends Object {
|
|
36245
36245
|
}
|
36246
36246
|
async #fetchOutbox(url, options = {}) {
|
36247
36247
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36248
|
-
|
36248
|
+
getDocumentLoader();
|
36249
36249
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36250
|
-
|
36250
|
+
getDocumentLoader();
|
36251
36251
|
let fetchResult;
|
36252
36252
|
try {
|
36253
36253
|
fetchResult = await documentLoader(url.href);
|
@@ -36309,9 +36309,9 @@ export class Service extends Object {
|
|
36309
36309
|
}
|
36310
36310
|
async #fetchFollowing(url, options = {}) {
|
36311
36311
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36312
|
-
|
36312
|
+
getDocumentLoader();
|
36313
36313
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36314
|
-
|
36314
|
+
getDocumentLoader();
|
36315
36315
|
let fetchResult;
|
36316
36316
|
try {
|
36317
36317
|
fetchResult = await documentLoader(url.href);
|
@@ -36368,9 +36368,9 @@ export class Service extends Object {
|
|
36368
36368
|
}
|
36369
36369
|
async #fetchFollowers(url, options = {}) {
|
36370
36370
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36371
|
-
|
36371
|
+
getDocumentLoader();
|
36372
36372
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36373
|
-
|
36373
|
+
getDocumentLoader();
|
36374
36374
|
let fetchResult;
|
36375
36375
|
try {
|
36376
36376
|
fetchResult = await documentLoader(url.href);
|
@@ -36430,9 +36430,9 @@ export class Service extends Object {
|
|
36430
36430
|
}
|
36431
36431
|
async #fetchLiked(url, options = {}) {
|
36432
36432
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36433
|
-
|
36433
|
+
getDocumentLoader();
|
36434
36434
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36435
|
-
|
36435
|
+
getDocumentLoader();
|
36436
36436
|
let fetchResult;
|
36437
36437
|
try {
|
36438
36438
|
fetchResult = await documentLoader(url.href);
|
@@ -36490,9 +36490,9 @@ export class Service extends Object {
|
|
36490
36490
|
}
|
36491
36491
|
async #fetchFeatured(url, options = {}) {
|
36492
36492
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36493
|
-
|
36493
|
+
getDocumentLoader();
|
36494
36494
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36495
|
-
|
36495
|
+
getDocumentLoader();
|
36496
36496
|
let fetchResult;
|
36497
36497
|
try {
|
36498
36498
|
fetchResult = await documentLoader(url.href);
|
@@ -36548,9 +36548,9 @@ export class Service extends Object {
|
|
36548
36548
|
}
|
36549
36549
|
async #fetchFeaturedTags(url, options = {}) {
|
36550
36550
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36551
|
-
|
36551
|
+
getDocumentLoader();
|
36552
36552
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36553
|
-
|
36553
|
+
getDocumentLoader();
|
36554
36554
|
let fetchResult;
|
36555
36555
|
try {
|
36556
36556
|
fetchResult = await documentLoader(url.href);
|
@@ -36608,9 +36608,9 @@ export class Service extends Object {
|
|
36608
36608
|
}
|
36609
36609
|
async #fetchStream(url, options = {}) {
|
36610
36610
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36611
|
-
|
36611
|
+
getDocumentLoader();
|
36612
36612
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36613
|
-
|
36613
|
+
getDocumentLoader();
|
36614
36614
|
let fetchResult;
|
36615
36615
|
try {
|
36616
36616
|
fetchResult = await documentLoader(url.href);
|
@@ -36702,9 +36702,9 @@ export class Service extends Object {
|
|
36702
36702
|
}
|
36703
36703
|
async #fetchSuccessor(url, options = {}) {
|
36704
36704
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36705
|
-
|
36705
|
+
getDocumentLoader();
|
36706
36706
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36707
|
-
|
36707
|
+
getDocumentLoader();
|
36708
36708
|
let fetchResult;
|
36709
36709
|
try {
|
36710
36710
|
fetchResult = await documentLoader(url.href);
|
@@ -36791,9 +36791,9 @@ export class Service extends Object {
|
|
36791
36791
|
}
|
36792
36792
|
async #fetchAlias(url, options = {}) {
|
36793
36793
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36794
|
-
|
36794
|
+
getDocumentLoader();
|
36795
36795
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36796
|
-
|
36796
|
+
getDocumentLoader();
|
36797
36797
|
let fetchResult;
|
36798
36798
|
try {
|
36799
36799
|
fetchResult = await documentLoader(url.href);
|
@@ -36911,9 +36911,9 @@ export class Service extends Object {
|
|
36911
36911
|
}
|
36912
36912
|
async #fetchService(url, options = {}) {
|
36913
36913
|
const documentLoader = options.documentLoader ?? this._documentLoader ??
|
36914
|
-
|
36914
|
+
getDocumentLoader();
|
36915
36915
|
const contextLoader = options.contextLoader ?? this._contextLoader ??
|
36916
|
-
|
36916
|
+
getDocumentLoader();
|
36917
36917
|
let fetchResult;
|
36918
36918
|
try {
|
36919
36919
|
fetchResult = await documentLoader(url.href);
|
@@ -37032,7 +37032,7 @@ export class Service extends Object {
|
|
37032
37032
|
}
|
37033
37033
|
options = {
|
37034
37034
|
...options,
|
37035
|
-
contextLoader: options.contextLoader ??
|
37035
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
37036
37036
|
};
|
37037
37037
|
if (options.format == null && this.isCompactable()) {
|
37038
37038
|
const result = await super.toJsonLd({
|
@@ -37727,8 +37727,8 @@ export class Service extends Object {
|
|
37727
37727
|
throw new TypeError("Invalid JSON-LD: null.");
|
37728
37728
|
options = {
|
37729
37729
|
...options,
|
37730
|
-
documentLoader: options.documentLoader ??
|
37731
|
-
contextLoader: options.contextLoader ??
|
37730
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
37731
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
37732
37732
|
};
|
37733
37733
|
// deno-lint-ignore no-explicit-any
|
37734
37734
|
let values;
|
@@ -38701,7 +38701,7 @@ export class Source {
|
|
38701
38701
|
}
|
38702
38702
|
options = {
|
38703
38703
|
...options,
|
38704
|
-
contextLoader: options.contextLoader ??
|
38704
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
38705
38705
|
};
|
38706
38706
|
if (options.format == null && this.isCompactable()) {
|
38707
38707
|
const result = {};
|
@@ -38794,8 +38794,8 @@ export class Source {
|
|
38794
38794
|
throw new TypeError("Invalid JSON-LD: null.");
|
38795
38795
|
options = {
|
38796
38796
|
...options,
|
38797
|
-
documentLoader: options.documentLoader ??
|
38798
|
-
contextLoader: options.contextLoader ??
|
38797
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
38798
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
38799
38799
|
};
|
38800
38800
|
// deno-lint-ignore no-explicit-any
|
38801
38801
|
let values;
|
@@ -38963,7 +38963,7 @@ export class TentativeAccept extends Accept {
|
|
38963
38963
|
}
|
38964
38964
|
options = {
|
38965
38965
|
...options,
|
38966
|
-
contextLoader: options.contextLoader ??
|
38966
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
38967
38967
|
};
|
38968
38968
|
// deno-lint-ignore no-unused-vars prefer-const
|
38969
38969
|
let array;
|
@@ -39019,8 +39019,8 @@ export class TentativeAccept extends Accept {
|
|
39019
39019
|
throw new TypeError("Invalid JSON-LD: null.");
|
39020
39020
|
options = {
|
39021
39021
|
...options,
|
39022
|
-
documentLoader: options.documentLoader ??
|
39023
|
-
contextLoader: options.contextLoader ??
|
39022
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
39023
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39024
39024
|
};
|
39025
39025
|
// deno-lint-ignore no-explicit-any
|
39026
39026
|
let values;
|
@@ -39123,7 +39123,7 @@ export class TentativeReject extends Reject {
|
|
39123
39123
|
}
|
39124
39124
|
options = {
|
39125
39125
|
...options,
|
39126
|
-
contextLoader: options.contextLoader ??
|
39126
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39127
39127
|
};
|
39128
39128
|
// deno-lint-ignore no-unused-vars prefer-const
|
39129
39129
|
let array;
|
@@ -39179,8 +39179,8 @@ export class TentativeReject extends Reject {
|
|
39179
39179
|
throw new TypeError("Invalid JSON-LD: null.");
|
39180
39180
|
options = {
|
39181
39181
|
...options,
|
39182
|
-
documentLoader: options.documentLoader ??
|
39183
|
-
contextLoader: options.contextLoader ??
|
39182
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
39183
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39184
39184
|
};
|
39185
39185
|
// deno-lint-ignore no-explicit-any
|
39186
39186
|
let values;
|
@@ -39315,7 +39315,7 @@ export class Tombstone extends Object {
|
|
39315
39315
|
}
|
39316
39316
|
options = {
|
39317
39317
|
...options,
|
39318
|
-
contextLoader: options.contextLoader ??
|
39318
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39319
39319
|
};
|
39320
39320
|
if (options.format == null && this.isCompactable()) {
|
39321
39321
|
const result = await super.toJsonLd({
|
@@ -39409,8 +39409,8 @@ export class Tombstone extends Object {
|
|
39409
39409
|
throw new TypeError("Invalid JSON-LD: null.");
|
39410
39410
|
options = {
|
39411
39411
|
...options,
|
39412
|
-
documentLoader: options.documentLoader ??
|
39413
|
-
contextLoader: options.contextLoader ??
|
39412
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
39413
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39414
39414
|
};
|
39415
39415
|
// deno-lint-ignore no-explicit-any
|
39416
39416
|
let values;
|
@@ -39541,7 +39541,7 @@ export class Travel extends IntransitiveActivity {
|
|
39541
39541
|
}
|
39542
39542
|
options = {
|
39543
39543
|
...options,
|
39544
|
-
contextLoader: options.contextLoader ??
|
39544
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39545
39545
|
};
|
39546
39546
|
// deno-lint-ignore no-unused-vars prefer-const
|
39547
39547
|
let array;
|
@@ -39597,8 +39597,8 @@ export class Travel extends IntransitiveActivity {
|
|
39597
39597
|
throw new TypeError("Invalid JSON-LD: null.");
|
39598
39598
|
options = {
|
39599
39599
|
...options,
|
39600
|
-
documentLoader: options.documentLoader ??
|
39601
|
-
contextLoader: options.contextLoader ??
|
39600
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
39601
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39602
39602
|
};
|
39603
39603
|
// deno-lint-ignore no-explicit-any
|
39604
39604
|
let values;
|
@@ -39706,7 +39706,7 @@ export class Undo extends Activity {
|
|
39706
39706
|
}
|
39707
39707
|
options = {
|
39708
39708
|
...options,
|
39709
|
-
contextLoader: options.contextLoader ??
|
39709
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39710
39710
|
};
|
39711
39711
|
// deno-lint-ignore no-unused-vars prefer-const
|
39712
39712
|
let array;
|
@@ -39762,8 +39762,8 @@ export class Undo extends Activity {
|
|
39762
39762
|
throw new TypeError("Invalid JSON-LD: null.");
|
39763
39763
|
options = {
|
39764
39764
|
...options,
|
39765
|
-
documentLoader: options.documentLoader ??
|
39766
|
-
contextLoader: options.contextLoader ??
|
39765
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
39766
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39767
39767
|
};
|
39768
39768
|
// deno-lint-ignore no-explicit-any
|
39769
39769
|
let values;
|
@@ -39869,7 +39869,7 @@ export class Update extends Activity {
|
|
39869
39869
|
}
|
39870
39870
|
options = {
|
39871
39871
|
...options,
|
39872
|
-
contextLoader: options.contextLoader ??
|
39872
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39873
39873
|
};
|
39874
39874
|
// deno-lint-ignore no-unused-vars prefer-const
|
39875
39875
|
let array;
|
@@ -39952,8 +39952,8 @@ export class Update extends Activity {
|
|
39952
39952
|
throw new TypeError("Invalid JSON-LD: null.");
|
39953
39953
|
options = {
|
39954
39954
|
...options,
|
39955
|
-
documentLoader: options.documentLoader ??
|
39956
|
-
contextLoader: options.contextLoader ??
|
39955
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
39956
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
39957
39957
|
};
|
39958
39958
|
// deno-lint-ignore no-explicit-any
|
39959
39959
|
let values;
|
@@ -40055,7 +40055,7 @@ export class Video extends Document {
|
|
40055
40055
|
}
|
40056
40056
|
options = {
|
40057
40057
|
...options,
|
40058
|
-
contextLoader: options.contextLoader ??
|
40058
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
40059
40059
|
};
|
40060
40060
|
if (options.format == null && this.isCompactable()) {
|
40061
40061
|
const result = await super.toJsonLd({
|
@@ -40127,8 +40127,8 @@ export class Video extends Document {
|
|
40127
40127
|
throw new TypeError("Invalid JSON-LD: null.");
|
40128
40128
|
options = {
|
40129
40129
|
...options,
|
40130
|
-
documentLoader: options.documentLoader ??
|
40131
|
-
contextLoader: options.contextLoader ??
|
40130
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
40131
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
40132
40132
|
};
|
40133
40133
|
// deno-lint-ignore no-explicit-any
|
40134
40134
|
let values;
|
@@ -40230,7 +40230,7 @@ export class View extends Activity {
|
|
40230
40230
|
}
|
40231
40231
|
options = {
|
40232
40232
|
...options,
|
40233
|
-
contextLoader: options.contextLoader ??
|
40233
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
40234
40234
|
};
|
40235
40235
|
// deno-lint-ignore no-unused-vars prefer-const
|
40236
40236
|
let array;
|
@@ -40286,8 +40286,8 @@ export class View extends Activity {
|
|
40286
40286
|
throw new TypeError("Invalid JSON-LD: null.");
|
40287
40287
|
options = {
|
40288
40288
|
...options,
|
40289
|
-
documentLoader: options.documentLoader ??
|
40290
|
-
contextLoader: options.contextLoader ??
|
40289
|
+
documentLoader: options.documentLoader ?? getDocumentLoader(),
|
40290
|
+
contextLoader: options.contextLoader ?? getDocumentLoader(),
|
40291
40291
|
};
|
40292
40292
|
// deno-lint-ignore no-explicit-any
|
40293
40293
|
let values;
|