@fedify/fedify 0.15.0-dev.384 → 1.0.0-dev.386
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +19 -4
- package/FEDERATION.md +7 -7
- package/README.md +1 -1
- package/esm/mod.js +1 -1
- package/esm/vocab/application.yaml +1 -1
- package/esm/vocab/dataintegrityproof.yaml +1 -1
- package/esm/vocab/group.yaml +1 -1
- package/esm/vocab/multikey.yaml +1 -1
- package/esm/vocab/organization.yaml +1 -1
- package/esm/vocab/person.yaml +1 -1
- package/esm/vocab/service.yaml +1 -1
- package/esm/vocab/vocab.js +12 -12
- package/package.json +1 -1
- package/types/federation/middleware.d.ts +2 -2
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/mod.d.ts +1 -1
- package/types/vocab/vocab.d.ts +12 -12
package/CHANGES.md
CHANGED
@@ -3,11 +3,17 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
-
Version 0.
|
6
|
+
Version 1.0.0
|
7
7
|
--------------
|
8
8
|
|
9
9
|
To be released.
|
10
10
|
|
11
|
+
|
12
|
+
Version 0.15.0
|
13
|
+
--------------
|
14
|
+
|
15
|
+
Released on September 11, 2024.
|
16
|
+
|
11
17
|
- Actors, collections, and objects now can have their URIs that do not consist
|
12
18
|
of a WebFinger username, which means actors can change their fediverse
|
13
19
|
handles.
|
@@ -31,6 +37,15 @@ To be released.
|
|
31
37
|
- `new Question()` constructor now accepts `quoteUrl` option.
|
32
38
|
- `Question.clone()` method now accepts `quoteUrl` option.
|
33
39
|
|
40
|
+
- The element type of the liked collection is now `Object` or `URL` instead of
|
41
|
+
`Like`.
|
42
|
+
|
43
|
+
- Changed the type of `Federation.setLikedDispatcher()` method's second
|
44
|
+
parameter to `CollectionDispatcher<Object | URL,
|
45
|
+
RequestContext<TContextData>, TContextData, void>` (was
|
46
|
+
`CollectionDispatcher<Like, RequestContext<TContextData>, TContextData,
|
47
|
+
void>`).
|
48
|
+
|
34
49
|
- Removed `expand` option of `Object.toJsonLd()` method, which was deprecated
|
35
50
|
in version 0.14.0. Use `format: "expand"` option instead.
|
36
51
|
|
@@ -908,8 +923,8 @@ is now distributed under the [MIT License] to encourage wider adoption.
|
|
908
923
|
[#68]: https://github.com/dahlia/fedify/pull/68
|
909
924
|
[AGPL 3.0]: https://www.gnu.org/licenses/agpl-3.0.en.html
|
910
925
|
[MIT License]: https://minhee.mit-license.org/
|
911
|
-
[FEP-521a]: https://
|
912
|
-
[FEP-8b32]: https://
|
926
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
927
|
+
[FEP-8b32]: https://w3id.org/fep/8b32
|
913
928
|
[x-forwarded-fetch]: https://github.com/dahlia/x-forwarded-fetch
|
914
929
|
|
915
930
|
|
@@ -1117,7 +1132,7 @@ Released on May 6, 2024.
|
|
1117
1132
|
|
1118
1133
|
[@fedify/cli]: https://jsr.io/@fedify/cli
|
1119
1134
|
[releases]: https://github.com/dahlia/fedify/releases
|
1120
|
-
[FEP-8fcf]: https://
|
1135
|
+
[FEP-8fcf]: https://w3id.org/fep/8fcf
|
1121
1136
|
[#47]: https://github.com/dahlia/fedify/issues/47
|
1122
1137
|
|
1123
1138
|
|
package/FEDERATION.md
CHANGED
@@ -28,13 +28,13 @@ Supported FEPs
|
|
28
28
|
- [FEP-5feb][]: Search indexing consent for actors
|
29
29
|
- [FEP-c7d3][]: Ownership
|
30
30
|
|
31
|
-
[FEP-67ff]: https://
|
32
|
-
[FEP-8fcf]: https://
|
33
|
-
[FEP-f1d5]: https://
|
34
|
-
[FEP-8b32]: https://
|
35
|
-
[FEP-521a]: https://
|
36
|
-
[FEP-5feb]: https://
|
37
|
-
[FEP-c7d3]: https://
|
31
|
+
[FEP-67ff]: https://w3id.org/fep/67ff
|
32
|
+
[FEP-8fcf]: https://w3id.org/fep/8fcf
|
33
|
+
[FEP-f1d5]: https://w3id.org/fep/f1d5
|
34
|
+
[FEP-8b32]: https://w3id.org/fep/8b32
|
35
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
36
|
+
[FEP-5feb]: https://w3id.org/fep/5feb
|
37
|
+
[FEP-c7d3]: https://w3id.org/fep/c7d3
|
38
38
|
|
39
39
|
|
40
40
|
ActivityPub
|
package/README.md
CHANGED
@@ -66,7 +66,7 @@ join our [Matrix chat space][Matrix] or [GitHub Discussions]. Or tag
|
|
66
66
|
[Activity Vocabulary]: https://www.w3.org/TR/activitystreams-vocabulary/
|
67
67
|
[WebFinger]: https://datatracker.ietf.org/doc/html/rfc7033
|
68
68
|
[HTTP Signatures]: https://tools.ietf.org/html/draft-cavage-http-signatures-12
|
69
|
-
[FEP-8b32]: https://
|
69
|
+
[FEP-8b32]: https://w3id.org/fep/8b32
|
70
70
|
[NodeInfo]: https://nodeinfo.diaspora.software/
|
71
71
|
[GitHub Discussions]: https://github.com/dahlia/fedify/discussions
|
72
72
|
[#Fedify]: https://mastodon.social/tags/fedify
|
package/esm/mod.js
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
* [Activity Vocabulary]: https://www.w3.org/TR/activitystreams-vocabulary/
|
36
36
|
* [WebFinger]: https://datatracker.ietf.org/doc/html/rfc7033
|
37
37
|
* [HTTP Signatures]: https://tools.ietf.org/html/draft-cavage-http-signatures-12
|
38
|
-
* [FEP-8b32]: https://
|
38
|
+
* [FEP-8b32]: https://w3id.org/fep/8b32
|
39
39
|
* [NodeInfo]: https://nodeinfo.diaspora.software/
|
40
40
|
*
|
41
41
|
* @module
|
@@ -59,7 +59,7 @@ properties:
|
|
59
59
|
Represents this actor's public keys. It serves as equivalent to
|
60
60
|
the `publicKeys` property, but is used for [FEP-521a] compliance.
|
61
61
|
|
62
|
-
[FEP-521a]: https://
|
62
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
63
63
|
range:
|
64
64
|
- "https://w3id.org/security#Multikey"
|
65
65
|
|
@@ -23,7 +23,7 @@ properties:
|
|
23
23
|
A key owned by an actor according to [FEP-521a: Representing actor's public
|
24
24
|
keys][1].
|
25
25
|
|
26
|
-
[1]: https://
|
26
|
+
[1]: https://w3id.org/fep/521a
|
27
27
|
range:
|
28
28
|
- "https://w3id.org/security#Multikey"
|
29
29
|
|
package/esm/vocab/group.yaml
CHANGED
@@ -59,7 +59,7 @@ properties:
|
|
59
59
|
Represents this actor's public keys. It serves as equivalent to
|
60
60
|
the `publicKeys` property, but is used for [FEP-521a] compliance.
|
61
61
|
|
62
|
-
[FEP-521a]: https://
|
62
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
63
63
|
range:
|
64
64
|
- "https://w3id.org/security#Multikey"
|
65
65
|
|
package/esm/vocab/multikey.yaml
CHANGED
@@ -7,7 +7,7 @@ description: |
|
|
7
7
|
Represents a key owned by an actor according to [FEP-521a: Representing
|
8
8
|
actor's public keys.][1]
|
9
9
|
|
10
|
-
[1]: https://
|
10
|
+
[1]: https://w3id.org/fep/521a
|
11
11
|
defaultContext: "https://w3id.org/security/multikey/v1"
|
12
12
|
|
13
13
|
properties:
|
@@ -59,7 +59,7 @@ properties:
|
|
59
59
|
Represents this actor's public keys. It serves as equivalent to
|
60
60
|
the `publicKeys` property, but is used for [FEP-521a] compliance.
|
61
61
|
|
62
|
-
[FEP-521a]: https://
|
62
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
63
63
|
range:
|
64
64
|
- "https://w3id.org/security#Multikey"
|
65
65
|
|
package/esm/vocab/person.yaml
CHANGED
@@ -59,7 +59,7 @@ properties:
|
|
59
59
|
Represents this actor's public keys. It serves as equivalent to
|
60
60
|
the `publicKeys` property, but is used for [FEP-521a] compliance.
|
61
61
|
|
62
|
-
[FEP-521a]: https://
|
62
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
63
63
|
range:
|
64
64
|
- "https://w3id.org/security#Multikey"
|
65
65
|
|
package/esm/vocab/service.yaml
CHANGED
@@ -59,7 +59,7 @@ properties:
|
|
59
59
|
Represents this actor's public keys. It serves as equivalent to
|
60
60
|
the `publicKeys` property, but is used for [FEP-521a] compliance.
|
61
61
|
|
62
|
-
[FEP-521a]: https://
|
62
|
+
[FEP-521a]: https://w3id.org/fep/521a
|
63
63
|
range:
|
64
64
|
- "https://w3id.org/security#Multikey"
|
65
65
|
|
package/esm/vocab/vocab.js
CHANGED
@@ -6433,7 +6433,7 @@ export class DataIntegrityProof {
|
|
6433
6433
|
/** A key owned by an actor according to [FEP-521a: Representing actor's public
|
6434
6434
|
* keys][1].
|
6435
6435
|
*
|
6436
|
-
* [1]: https://
|
6436
|
+
* [1]: https://w3id.org/fep/521a
|
6437
6437
|
*/
|
6438
6438
|
async getVerificationMethod(options = {}) {
|
6439
6439
|
if (this.#_2mHVKxqA7zncjveJrDEo3pWpMZqg_verificationMethod.length < 1) {
|
@@ -7249,7 +7249,7 @@ export class CryptographicKey {
|
|
7249
7249
|
/** Represents a key owned by an actor according to [FEP-521a: Representing
|
7250
7250
|
* actor's public keys.][1]
|
7251
7251
|
*
|
7252
|
-
* [1]: https://
|
7252
|
+
* [1]: https://w3id.org/fep/521a
|
7253
7253
|
*/
|
7254
7254
|
export class Multikey {
|
7255
7255
|
#documentLoader;
|
@@ -10613,7 +10613,7 @@ export class Application extends Object {
|
|
10613
10613
|
/** Represents this actor's public keys. It serves as equivalent to
|
10614
10614
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
10615
10615
|
*
|
10616
|
-
* [FEP-521a]: https://
|
10616
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
10617
10617
|
*/
|
10618
10618
|
async getAssertionMethod(options = {}) {
|
10619
10619
|
if (this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.length < 1) {
|
@@ -10640,7 +10640,7 @@ export class Application extends Object {
|
|
10640
10640
|
/** Represents this actor's public keys. It serves as equivalent to
|
10641
10641
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
10642
10642
|
*
|
10643
|
-
* [FEP-521a]: https://
|
10643
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
10644
10644
|
*/
|
10645
10645
|
async *getAssertionMethods(options = {}) {
|
10646
10646
|
const vs = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;
|
@@ -18035,7 +18035,7 @@ export class Group extends Object {
|
|
18035
18035
|
/** Represents this actor's public keys. It serves as equivalent to
|
18036
18036
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
18037
18037
|
*
|
18038
|
-
* [FEP-521a]: https://
|
18038
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
18039
18039
|
*/
|
18040
18040
|
async getAssertionMethod(options = {}) {
|
18041
18041
|
if (this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.length < 1) {
|
@@ -18062,7 +18062,7 @@ export class Group extends Object {
|
|
18062
18062
|
/** Represents this actor's public keys. It serves as equivalent to
|
18063
18063
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
18064
18064
|
*
|
18065
|
-
* [FEP-521a]: https://
|
18065
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
18066
18066
|
*/
|
18067
18067
|
async *getAssertionMethods(options = {}) {
|
18068
18068
|
const vs = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;
|
@@ -24647,7 +24647,7 @@ export class Organization extends Object {
|
|
24647
24647
|
/** Represents this actor's public keys. It serves as equivalent to
|
24648
24648
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
24649
24649
|
*
|
24650
|
-
* [FEP-521a]: https://
|
24650
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
24651
24651
|
*/
|
24652
24652
|
async getAssertionMethod(options = {}) {
|
24653
24653
|
if (this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.length < 1) {
|
@@ -24674,7 +24674,7 @@ export class Organization extends Object {
|
|
24674
24674
|
/** Represents this actor's public keys. It serves as equivalent to
|
24675
24675
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
24676
24676
|
*
|
24677
|
-
* [FEP-521a]: https://
|
24677
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
24678
24678
|
*/
|
24679
24679
|
async *getAssertionMethods(options = {}) {
|
24680
24680
|
const vs = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;
|
@@ -27491,7 +27491,7 @@ export class Person extends Object {
|
|
27491
27491
|
/** Represents this actor's public keys. It serves as equivalent to
|
27492
27492
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
27493
27493
|
*
|
27494
|
-
* [FEP-521a]: https://
|
27494
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
27495
27495
|
*/
|
27496
27496
|
async getAssertionMethod(options = {}) {
|
27497
27497
|
if (this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.length < 1) {
|
@@ -27518,7 +27518,7 @@ export class Person extends Object {
|
|
27518
27518
|
/** Represents this actor's public keys. It serves as equivalent to
|
27519
27519
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
27520
27520
|
*
|
27521
|
-
* [FEP-521a]: https://
|
27521
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
27522
27522
|
*/
|
27523
27523
|
async *getAssertionMethods(options = {}) {
|
27524
27524
|
const vs = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;
|
@@ -33133,7 +33133,7 @@ export class Service extends Object {
|
|
33133
33133
|
/** Represents this actor's public keys. It serves as equivalent to
|
33134
33134
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
33135
33135
|
*
|
33136
|
-
* [FEP-521a]: https://
|
33136
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
33137
33137
|
*/
|
33138
33138
|
async getAssertionMethod(options = {}) {
|
33139
33139
|
if (this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod.length < 1) {
|
@@ -33160,7 +33160,7 @@ export class Service extends Object {
|
|
33160
33160
|
/** Represents this actor's public keys. It serves as equivalent to
|
33161
33161
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
33162
33162
|
*
|
33163
|
-
* [FEP-521a]: https://
|
33163
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
33164
33164
|
*/
|
33165
33165
|
async *getAssertionMethods(options = {}) {
|
33166
33166
|
const vs = this.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3_assertionMethod;
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import * as dntShim from "../_dnt.shims.js";
|
4
4
|
import { type AuthenticatedDocumentLoaderFactory, type DocumentLoader } from "../runtime/docloader.js";
|
5
5
|
import type { Actor, Recipient } from "../vocab/actor.js";
|
6
|
-
import { Activity, type Hashtag, type
|
6
|
+
import { Activity, type Hashtag, type Object } from "../vocab/vocab.js";
|
7
7
|
import type { ActorDispatcher, ActorHandleMapper, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
|
8
8
|
import type { Context, RequestContext } from "./context.js";
|
9
9
|
import type { KvKey, KvStore } from "./kv.js";
|
@@ -376,7 +376,7 @@ export interface Federation<TContextData> {
|
|
376
376
|
* callbacks.
|
377
377
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
378
378
|
*/
|
379
|
-
setLikedDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<
|
379
|
+
setLikedDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Object | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
|
380
380
|
/**
|
381
381
|
* Registers a featured collection dispatcher.
|
382
382
|
* @param path The URI path pattern for the featured collection. The syntax
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EACL,KAAK,k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E,SAAS,CAAC,GAC/C,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAEtC;;;;;;OAMG;IACH,OAAO,CACL,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAAC,GACvC,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAEtC;;;;;;;;OAQG;IACH,sBAAsB,CACpB,UAAU,EAAE,wBAAwB,CAAC,YAAY,CAAC,GACjD,oBAAoB,CAAC,YAAY,CAAC,CAAC;CACvC"}
|
package/types/mod.d.ts
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
* [Activity Vocabulary]: https://www.w3.org/TR/activitystreams-vocabulary/
|
36
36
|
* [WebFinger]: https://datatracker.ietf.org/doc/html/rfc7033
|
37
37
|
* [HTTP Signatures]: https://tools.ietf.org/html/draft-cavage-http-signatures-12
|
38
|
-
* [FEP-8b32]: https://
|
38
|
+
* [FEP-8b32]: https://w3id.org/fep/8b32
|
39
39
|
* [NodeInfo]: https://nodeinfo.diaspora.software/
|
40
40
|
*
|
41
41
|
* @module
|
package/types/vocab/vocab.d.ts
CHANGED
@@ -1092,7 +1092,7 @@ export declare class DataIntegrityProof {
|
|
1092
1092
|
/** A key owned by an actor according to [FEP-521a: Representing actor's public
|
1093
1093
|
* keys][1].
|
1094
1094
|
*
|
1095
|
-
* [1]: https://
|
1095
|
+
* [1]: https://w3id.org/fep/521a
|
1096
1096
|
*/
|
1097
1097
|
getVerificationMethod(options?: {
|
1098
1098
|
documentLoader?: DocumentLoader;
|
@@ -1225,7 +1225,7 @@ export declare class CryptographicKey {
|
|
1225
1225
|
/** Represents a key owned by an actor according to [FEP-521a: Representing
|
1226
1226
|
* actor's public keys.][1]
|
1227
1227
|
*
|
1228
|
-
* [1]: https://
|
1228
|
+
* [1]: https://w3id.org/fep/521a
|
1229
1229
|
*/
|
1230
1230
|
export declare class Multikey {
|
1231
1231
|
#private;
|
@@ -2402,7 +2402,7 @@ export declare class Application extends Object {
|
|
2402
2402
|
/** Represents this actor's public keys. It serves as equivalent to
|
2403
2403
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
2404
2404
|
*
|
2405
|
-
* [FEP-521a]: https://
|
2405
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
2406
2406
|
*/
|
2407
2407
|
getAssertionMethod(options?: {
|
2408
2408
|
documentLoader?: DocumentLoader;
|
@@ -2418,7 +2418,7 @@ export declare class Application extends Object {
|
|
2418
2418
|
/** Represents this actor's public keys. It serves as equivalent to
|
2419
2419
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
2420
2420
|
*
|
2421
|
-
* [FEP-521a]: https://
|
2421
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
2422
2422
|
*/
|
2423
2423
|
getAssertionMethods(options?: {
|
2424
2424
|
documentLoader?: DocumentLoader;
|
@@ -5596,7 +5596,7 @@ export declare class Group extends Object {
|
|
5596
5596
|
/** Represents this actor's public keys. It serves as equivalent to
|
5597
5597
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
5598
5598
|
*
|
5599
|
-
* [FEP-521a]: https://
|
5599
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
5600
5600
|
*/
|
5601
5601
|
getAssertionMethod(options?: {
|
5602
5602
|
documentLoader?: DocumentLoader;
|
@@ -5612,7 +5612,7 @@ export declare class Group extends Object {
|
|
5612
5612
|
/** Represents this actor's public keys. It serves as equivalent to
|
5613
5613
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
5614
5614
|
*
|
5615
|
-
* [FEP-521a]: https://
|
5615
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
5616
5616
|
*/
|
5617
5617
|
getAssertionMethods(options?: {
|
5618
5618
|
documentLoader?: DocumentLoader;
|
@@ -8253,7 +8253,7 @@ export declare class Organization extends Object {
|
|
8253
8253
|
/** Represents this actor's public keys. It serves as equivalent to
|
8254
8254
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
8255
8255
|
*
|
8256
|
-
* [FEP-521a]: https://
|
8256
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
8257
8257
|
*/
|
8258
8258
|
getAssertionMethod(options?: {
|
8259
8259
|
documentLoader?: DocumentLoader;
|
@@ -8269,7 +8269,7 @@ export declare class Organization extends Object {
|
|
8269
8269
|
/** Represents this actor's public keys. It serves as equivalent to
|
8270
8270
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
8271
8271
|
*
|
8272
|
-
* [FEP-521a]: https://
|
8272
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
8273
8273
|
*/
|
8274
8274
|
getAssertionMethods(options?: {
|
8275
8275
|
documentLoader?: DocumentLoader;
|
@@ -8872,7 +8872,7 @@ export declare class Person extends Object {
|
|
8872
8872
|
/** Represents this actor's public keys. It serves as equivalent to
|
8873
8873
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
8874
8874
|
*
|
8875
|
-
* [FEP-521a]: https://
|
8875
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
8876
8876
|
*/
|
8877
8877
|
getAssertionMethod(options?: {
|
8878
8878
|
documentLoader?: DocumentLoader;
|
@@ -8888,7 +8888,7 @@ export declare class Person extends Object {
|
|
8888
8888
|
/** Represents this actor's public keys. It serves as equivalent to
|
8889
8889
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
8890
8890
|
*
|
8891
|
-
* [FEP-521a]: https://
|
8891
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
8892
8892
|
*/
|
8893
8893
|
getAssertionMethods(options?: {
|
8894
8894
|
documentLoader?: DocumentLoader;
|
@@ -10688,7 +10688,7 @@ export declare class Service extends Object {
|
|
10688
10688
|
/** Represents this actor's public keys. It serves as equivalent to
|
10689
10689
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
10690
10690
|
*
|
10691
|
-
* [FEP-521a]: https://
|
10691
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
10692
10692
|
*/
|
10693
10693
|
getAssertionMethod(options?: {
|
10694
10694
|
documentLoader?: DocumentLoader;
|
@@ -10704,7 +10704,7 @@ export declare class Service extends Object {
|
|
10704
10704
|
/** Represents this actor's public keys. It serves as equivalent to
|
10705
10705
|
* the `publicKeys` property, but is used for [FEP-521a] compliance.
|
10706
10706
|
*
|
10707
|
-
* [FEP-521a]: https://
|
10707
|
+
* [FEP-521a]: https://w3id.org/fep/521a
|
10708
10708
|
*/
|
10709
10709
|
getAssertionMethods(options?: {
|
10710
10710
|
documentLoader?: DocumentLoader;
|