@fedify/webfinger 2.0.0-dev.161 → 2.0.0-dev.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/lookup.test.cjs +1 -1
- package/dist/lookup.test.js +1 -1
- package/dist/mod.cjs +1 -1
- package/dist/mod.d.cts +10 -10
- package/dist/mod.d.ts +10 -10
- package/dist/mod.js +1 -1
- package/package.json +2 -2
- package/src/jrd.ts +10 -10
package/deno.json
CHANGED
package/dist/lookup.test.cjs
CHANGED
|
@@ -1405,7 +1405,7 @@ var esm_default = FetchMock_default;
|
|
|
1405
1405
|
//#endregion
|
|
1406
1406
|
//#region deno.json
|
|
1407
1407
|
var name = "@fedify/webfinger";
|
|
1408
|
-
var version = "2.0.0-dev.
|
|
1408
|
+
var version = "2.0.0-dev.167+2bfe41d4";
|
|
1409
1409
|
var license = "MIT";
|
|
1410
1410
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
1411
1411
|
var description = "WebFinger client library for Fedify";
|
package/dist/lookup.test.js
CHANGED
|
@@ -1407,7 +1407,7 @@ var esm_default = FetchMock_default;
|
|
|
1407
1407
|
//#endregion
|
|
1408
1408
|
//#region deno.json
|
|
1409
1409
|
var name = "@fedify/webfinger";
|
|
1410
|
-
var version = "2.0.0-dev.
|
|
1410
|
+
var version = "2.0.0-dev.167+2bfe41d4";
|
|
1411
1411
|
var license = "MIT";
|
|
1412
1412
|
var exports = { ".": "./src/mod.ts" };
|
|
1413
1413
|
var description = "WebFinger client library for Fedify";
|
package/dist/mod.cjs
CHANGED
|
@@ -27,7 +27,7 @@ const __opentelemetry_api = __toESM(require("@opentelemetry/api"));
|
|
|
27
27
|
|
|
28
28
|
//#region deno.json
|
|
29
29
|
var name = "@fedify/webfinger";
|
|
30
|
-
var version = "2.0.0-dev.
|
|
30
|
+
var version = "2.0.0-dev.167+2bfe41d4";
|
|
31
31
|
var license = "MIT";
|
|
32
32
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
33
33
|
var description = "WebFinger client library for Fedify";
|
package/dist/mod.d.cts
CHANGED
|
@@ -10,19 +10,19 @@ interface ResourceDescriptor {
|
|
|
10
10
|
/**
|
|
11
11
|
* A URI that identifies the entity that this descriptor describes.
|
|
12
12
|
*/
|
|
13
|
-
subject?: string;
|
|
13
|
+
readonly subject?: string;
|
|
14
14
|
/**
|
|
15
15
|
* URIs that identify the same entity as the `subject`.
|
|
16
16
|
*/
|
|
17
|
-
aliases?: string[];
|
|
17
|
+
readonly aliases?: readonly string[];
|
|
18
18
|
/**
|
|
19
19
|
* Conveys additional information about the `subject` of this descriptor.
|
|
20
20
|
*/
|
|
21
|
-
properties?: Record<string, string
|
|
21
|
+
readonly properties?: Readonly<Record<string, string>>;
|
|
22
22
|
/**
|
|
23
23
|
* Links to other resources.
|
|
24
24
|
*/
|
|
25
|
-
links?: Link[];
|
|
25
|
+
readonly links?: readonly Link[];
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Represents a link. See also
|
|
@@ -33,32 +33,32 @@ interface Link {
|
|
|
33
33
|
* The link's relation type, which is either a URI or a registered relation
|
|
34
34
|
* type (see [RFC 5988](https://datatracker.ietf.org/doc/html/rfc5988)).
|
|
35
35
|
*/
|
|
36
|
-
rel: string;
|
|
36
|
+
readonly rel: string;
|
|
37
37
|
/**
|
|
38
38
|
* The media type of the target resource (see
|
|
39
39
|
* [RFC 6838](https://datatracker.ietf.org/doc/html/rfc6838)).
|
|
40
40
|
*/
|
|
41
|
-
type?: string;
|
|
41
|
+
readonly type?: string;
|
|
42
42
|
/**
|
|
43
43
|
* A URI pointing to the target resource.
|
|
44
44
|
*/
|
|
45
|
-
href?: string;
|
|
45
|
+
readonly href?: string;
|
|
46
46
|
/**
|
|
47
47
|
* Human-readable titles describing the link relation. If the language is
|
|
48
48
|
* unknown or unspecified, the key is `"und"`.
|
|
49
49
|
*/
|
|
50
|
-
titles?: Record<string, string
|
|
50
|
+
readonly titles?: Readonly<Record<string, string>>;
|
|
51
51
|
/**
|
|
52
52
|
* Conveys additional information about the link relation.
|
|
53
53
|
*/
|
|
54
|
-
properties?: Record<string, string
|
|
54
|
+
readonly properties?: Readonly<Record<string, string>>;
|
|
55
55
|
/**
|
|
56
56
|
* A URI Template (RFC 6570) that can be used to construct URIs by
|
|
57
57
|
* substituting variables. Used primarily for subscription endpoints
|
|
58
58
|
* where parameters like account URIs need to be dynamically inserted.
|
|
59
59
|
* @since 1.9.0
|
|
60
60
|
*/
|
|
61
|
-
template?: string;
|
|
61
|
+
readonly template?: string;
|
|
62
62
|
}
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/lookup.d.ts
|
package/dist/mod.d.ts
CHANGED
|
@@ -10,19 +10,19 @@ interface ResourceDescriptor {
|
|
|
10
10
|
/**
|
|
11
11
|
* A URI that identifies the entity that this descriptor describes.
|
|
12
12
|
*/
|
|
13
|
-
subject?: string;
|
|
13
|
+
readonly subject?: string;
|
|
14
14
|
/**
|
|
15
15
|
* URIs that identify the same entity as the `subject`.
|
|
16
16
|
*/
|
|
17
|
-
aliases?: string[];
|
|
17
|
+
readonly aliases?: readonly string[];
|
|
18
18
|
/**
|
|
19
19
|
* Conveys additional information about the `subject` of this descriptor.
|
|
20
20
|
*/
|
|
21
|
-
properties?: Record<string, string
|
|
21
|
+
readonly properties?: Readonly<Record<string, string>>;
|
|
22
22
|
/**
|
|
23
23
|
* Links to other resources.
|
|
24
24
|
*/
|
|
25
|
-
links?: Link[];
|
|
25
|
+
readonly links?: readonly Link[];
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Represents a link. See also
|
|
@@ -33,32 +33,32 @@ interface Link {
|
|
|
33
33
|
* The link's relation type, which is either a URI or a registered relation
|
|
34
34
|
* type (see [RFC 5988](https://datatracker.ietf.org/doc/html/rfc5988)).
|
|
35
35
|
*/
|
|
36
|
-
rel: string;
|
|
36
|
+
readonly rel: string;
|
|
37
37
|
/**
|
|
38
38
|
* The media type of the target resource (see
|
|
39
39
|
* [RFC 6838](https://datatracker.ietf.org/doc/html/rfc6838)).
|
|
40
40
|
*/
|
|
41
|
-
type?: string;
|
|
41
|
+
readonly type?: string;
|
|
42
42
|
/**
|
|
43
43
|
* A URI pointing to the target resource.
|
|
44
44
|
*/
|
|
45
|
-
href?: string;
|
|
45
|
+
readonly href?: string;
|
|
46
46
|
/**
|
|
47
47
|
* Human-readable titles describing the link relation. If the language is
|
|
48
48
|
* unknown or unspecified, the key is `"und"`.
|
|
49
49
|
*/
|
|
50
|
-
titles?: Record<string, string
|
|
50
|
+
readonly titles?: Readonly<Record<string, string>>;
|
|
51
51
|
/**
|
|
52
52
|
* Conveys additional information about the link relation.
|
|
53
53
|
*/
|
|
54
|
-
properties?: Record<string, string
|
|
54
|
+
readonly properties?: Readonly<Record<string, string>>;
|
|
55
55
|
/**
|
|
56
56
|
* A URI Template (RFC 6570) that can be used to construct URIs by
|
|
57
57
|
* substituting variables. Used primarily for subscription endpoints
|
|
58
58
|
* where parameters like account URIs need to be dynamically inserted.
|
|
59
59
|
* @since 1.9.0
|
|
60
60
|
*/
|
|
61
|
-
template?: string;
|
|
61
|
+
readonly template?: string;
|
|
62
62
|
}
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/lookup.d.ts
|
package/dist/mod.js
CHANGED
|
@@ -4,7 +4,7 @@ import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
|
4
4
|
|
|
5
5
|
//#region deno.json
|
|
6
6
|
var name = "@fedify/webfinger";
|
|
7
|
-
var version = "2.0.0-dev.
|
|
7
|
+
var version = "2.0.0-dev.167+2bfe41d4";
|
|
8
8
|
var license = "MIT";
|
|
9
9
|
var exports = { ".": "./src/mod.ts" };
|
|
10
10
|
var description = "WebFinger client library for Fedify";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/webfinger",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.167+2bfe41d4",
|
|
4
4
|
"homepage": "https://fedify.dev/",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@logtape/logtape": "^1.3.5",
|
|
61
61
|
"@opentelemetry/api": "^1.9.0",
|
|
62
62
|
"es-toolkit": "1.43.0",
|
|
63
|
-
"@fedify/vocab-runtime": "2.0.0-dev.
|
|
63
|
+
"@fedify/vocab-runtime": "2.0.0-dev.167+2bfe41d4"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "tsdown",
|
package/src/jrd.ts
CHANGED
|
@@ -6,22 +6,22 @@ export interface ResourceDescriptor {
|
|
|
6
6
|
/**
|
|
7
7
|
* A URI that identifies the entity that this descriptor describes.
|
|
8
8
|
*/
|
|
9
|
-
subject?: string;
|
|
9
|
+
readonly subject?: string;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* URIs that identify the same entity as the `subject`.
|
|
13
13
|
*/
|
|
14
|
-
aliases?: string[];
|
|
14
|
+
readonly aliases?: readonly string[];
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Conveys additional information about the `subject` of this descriptor.
|
|
18
18
|
*/
|
|
19
|
-
properties?: Record<string, string
|
|
19
|
+
readonly properties?: Readonly<Record<string, string>>;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Links to other resources.
|
|
23
23
|
*/
|
|
24
|
-
links?: Link[];
|
|
24
|
+
readonly links?: readonly Link[];
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -33,29 +33,29 @@ export interface Link {
|
|
|
33
33
|
* The link's relation type, which is either a URI or a registered relation
|
|
34
34
|
* type (see [RFC 5988](https://datatracker.ietf.org/doc/html/rfc5988)).
|
|
35
35
|
*/
|
|
36
|
-
rel: string;
|
|
36
|
+
readonly rel: string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* The media type of the target resource (see
|
|
40
40
|
* [RFC 6838](https://datatracker.ietf.org/doc/html/rfc6838)).
|
|
41
41
|
*/
|
|
42
|
-
type?: string;
|
|
42
|
+
readonly type?: string;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* A URI pointing to the target resource.
|
|
46
46
|
*/
|
|
47
|
-
href?: string;
|
|
47
|
+
readonly href?: string;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Human-readable titles describing the link relation. If the language is
|
|
51
51
|
* unknown or unspecified, the key is `"und"`.
|
|
52
52
|
*/
|
|
53
|
-
titles?: Record<string, string
|
|
53
|
+
readonly titles?: Readonly<Record<string, string>>;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Conveys additional information about the link relation.
|
|
57
57
|
*/
|
|
58
|
-
properties?: Record<string, string
|
|
58
|
+
readonly properties?: Readonly<Record<string, string>>;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* A URI Template (RFC 6570) that can be used to construct URIs by
|
|
@@ -63,5 +63,5 @@ export interface Link {
|
|
|
63
63
|
* where parameters like account URIs need to be dynamically inserted.
|
|
64
64
|
* @since 1.9.0
|
|
65
65
|
*/
|
|
66
|
-
template?: string;
|
|
66
|
+
readonly template?: string;
|
|
67
67
|
}
|