@fedify/fedify 1.1.13 → 1.1.15
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/CHANGES.md +56 -0
- package/esm/runtime/key.js +1 -1
- package/esm/vocab/application.yaml +1 -0
- package/esm/vocab/follow.yaml +3 -0
- package/esm/vocab/group.yaml +1 -0
- package/esm/vocab/organization.yaml +1 -0
- package/esm/vocab/person.yaml +1 -0
- package/esm/vocab/service.yaml +1 -0
- package/esm/vocab/undo.yaml +3 -0
- package/esm/vocab/update.yaml +3 -0
- package/esm/vocab/vocab.js +19 -0
- package/package.json +1 -1
- package/types/vocab/vocab.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -3,6 +3,34 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.1.15
|
7
|
+
--------------
|
8
|
+
|
9
|
+
Released on February 25, 2025.
|
10
|
+
|
11
|
+
- Added the following default context to `Application`, `Group`,
|
12
|
+
`Organization`, `Person`, and `Service` classes:
|
13
|
+
|
14
|
+
~~~~ json
|
15
|
+
{
|
16
|
+
"Emoji": "http://joinmastodon.org/ns#Emoji"
|
17
|
+
}
|
18
|
+
~~~~
|
19
|
+
|
20
|
+
|
21
|
+
Version 1.1.14
|
22
|
+
--------------
|
23
|
+
|
24
|
+
Released on February 22, 2025.
|
25
|
+
|
26
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
27
|
+
classes:
|
28
|
+
|
29
|
+
- <https://w3id.org/security/v1>
|
30
|
+
- <https://www.w3.org/ns/did/v1>
|
31
|
+
- <https://w3id.org/security/multikey/v1>
|
32
|
+
|
33
|
+
|
6
34
|
Version 1.1.13
|
7
35
|
--------------
|
8
36
|
|
@@ -317,6 +345,34 @@ Released on October 20, 2024.
|
|
317
345
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
318
346
|
|
319
347
|
|
348
|
+
Version 1.0.18
|
349
|
+
--------------
|
350
|
+
|
351
|
+
Released on February 25, 2025.
|
352
|
+
|
353
|
+
- Added the following default context to `Application`, `Group`,
|
354
|
+
`Organization`, `Person`, and `Service` classes:
|
355
|
+
|
356
|
+
~~~~ json
|
357
|
+
{
|
358
|
+
"Emoji": "http://joinmastodon.org/ns#Emoji"
|
359
|
+
}
|
360
|
+
~~~~
|
361
|
+
|
362
|
+
|
363
|
+
Version 1.0.17
|
364
|
+
--------------
|
365
|
+
|
366
|
+
Released on February 22, 2025.
|
367
|
+
|
368
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
369
|
+
classes:
|
370
|
+
|
371
|
+
- <https://w3id.org/security/v1>
|
372
|
+
- <https://www.w3.org/ns/did/v1>
|
373
|
+
- <https://w3id.org/security/multikey/v1>
|
374
|
+
|
375
|
+
|
320
376
|
Version 1.0.16
|
321
377
|
--------------
|
322
378
|
|
package/esm/runtime/key.js
CHANGED
@@ -72,7 +72,7 @@ export async function importMultibaseKey(key) {
|
|
72
72
|
type: "pkcs1",
|
73
73
|
});
|
74
74
|
const spki = keyObject.export({ type: "spki", format: "der" }).buffer;
|
75
|
-
return await dntShim.crypto.subtle.importKey("spki", spki, { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256" }, true, ["verify"]);
|
75
|
+
return await dntShim.crypto.subtle.importKey("spki", new Uint8Array(spki), { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256" }, true, ["verify"]);
|
76
76
|
}
|
77
77
|
else if (code === 0xed) { // ed25519-pub
|
78
78
|
return await dntShim.crypto.subtle.importKey("raw", content, "Ed25519", true, ["verify"]);
|
package/esm/vocab/follow.yaml
CHANGED
@@ -12,5 +12,8 @@ description: |
|
|
12
12
|
defaultContext:
|
13
13
|
- "https://w3id.org/identity/v1"
|
14
14
|
- "https://www.w3.org/ns/activitystreams"
|
15
|
+
- "https://w3id.org/security/v1"
|
15
16
|
- "https://w3id.org/security/data-integrity/v1"
|
17
|
+
- "https://www.w3.org/ns/did/v1"
|
18
|
+
- "https://w3id.org/security/multikey/v1"
|
16
19
|
properties: []
|
package/esm/vocab/group.yaml
CHANGED
package/esm/vocab/person.yaml
CHANGED
package/esm/vocab/service.yaml
CHANGED
package/esm/vocab/undo.yaml
CHANGED
@@ -15,5 +15,8 @@ description: |
|
|
15
15
|
defaultContext:
|
16
16
|
- "https://w3id.org/identity/v1"
|
17
17
|
- "https://www.w3.org/ns/activitystreams"
|
18
|
+
- "https://w3id.org/security/v1"
|
18
19
|
- "https://w3id.org/security/data-integrity/v1"
|
20
|
+
- "https://www.w3.org/ns/did/v1"
|
21
|
+
- "https://w3id.org/security/multikey/v1"
|
19
22
|
properties: []
|
package/esm/vocab/update.yaml
CHANGED
@@ -13,7 +13,10 @@ description: |
|
|
13
13
|
defaultContext:
|
14
14
|
- "https://w3id.org/identity/v1"
|
15
15
|
- "https://www.w3.org/ns/activitystreams"
|
16
|
+
- "https://w3id.org/security/v1"
|
16
17
|
- "https://w3id.org/security/data-integrity/v1"
|
18
|
+
- "https://www.w3.org/ns/did/v1"
|
19
|
+
- "https://w3id.org/security/multikey/v1"
|
17
20
|
- toot: "http://joinmastodon.org/ns#"
|
18
21
|
schema: "http://schema.org#"
|
19
22
|
misskey: "https://misskey-hub.net/ns#"
|
package/esm/vocab/vocab.js
CHANGED
@@ -12611,6 +12611,7 @@ export class Application extends Object {
|
|
12611
12611
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
12612
12612
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
12613
12613
|
"toot": "http://joinmastodon.org/ns#",
|
12614
|
+
"Emoji": "toot:Emoji",
|
12614
12615
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
12615
12616
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
12616
12617
|
"discoverable": "toot:discoverable",
|
@@ -12891,6 +12892,7 @@ export class Application extends Object {
|
|
12891
12892
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
12892
12893
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
12893
12894
|
"toot": "http://joinmastodon.org/ns#",
|
12895
|
+
"Emoji": "toot:Emoji",
|
12894
12896
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
12895
12897
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
12896
12898
|
"discoverable": "toot:discoverable",
|
@@ -18330,7 +18332,10 @@ export class Follow extends Activity {
|
|
18330
18332
|
[
|
18331
18333
|
"https://w3id.org/identity/v1",
|
18332
18334
|
"https://www.w3.org/ns/activitystreams",
|
18335
|
+
"https://w3id.org/security/v1",
|
18333
18336
|
"https://w3id.org/security/data-integrity/v1",
|
18337
|
+
"https://www.w3.org/ns/did/v1",
|
18338
|
+
"https://w3id.org/security/multikey/v1",
|
18334
18339
|
];
|
18335
18340
|
const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
|
18336
18341
|
if (docContext != null) {
|
@@ -20597,6 +20602,7 @@ export class Group extends Object {
|
|
20597
20602
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
20598
20603
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
20599
20604
|
"toot": "http://joinmastodon.org/ns#",
|
20605
|
+
"Emoji": "toot:Emoji",
|
20600
20606
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
20601
20607
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
20602
20608
|
"discoverable": "toot:discoverable",
|
@@ -20877,6 +20883,7 @@ export class Group extends Object {
|
|
20877
20883
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
20878
20884
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
20879
20885
|
"toot": "http://joinmastodon.org/ns#",
|
20886
|
+
"Emoji": "toot:Emoji",
|
20880
20887
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
20881
20888
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
20882
20889
|
"discoverable": "toot:discoverable",
|
@@ -27799,6 +27806,7 @@ export class Organization extends Object {
|
|
27799
27806
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
27800
27807
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
27801
27808
|
"toot": "http://joinmastodon.org/ns#",
|
27809
|
+
"Emoji": "toot:Emoji",
|
27802
27810
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
27803
27811
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
27804
27812
|
"discoverable": "toot:discoverable",
|
@@ -28079,6 +28087,7 @@ export class Organization extends Object {
|
|
28079
28087
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
28080
28088
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
28081
28089
|
"toot": "http://joinmastodon.org/ns#",
|
28090
|
+
"Emoji": "toot:Emoji",
|
28082
28091
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
28083
28092
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
28084
28093
|
"discoverable": "toot:discoverable",
|
@@ -31285,6 +31294,7 @@ export class Person extends Object {
|
|
31285
31294
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
31286
31295
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
31287
31296
|
"toot": "http://joinmastodon.org/ns#",
|
31297
|
+
"Emoji": "toot:Emoji",
|
31288
31298
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
31289
31299
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
31290
31300
|
"discoverable": "toot:discoverable",
|
@@ -31565,6 +31575,7 @@ export class Person extends Object {
|
|
31565
31575
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
31566
31576
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
31567
31577
|
"toot": "http://joinmastodon.org/ns#",
|
31578
|
+
"Emoji": "toot:Emoji",
|
31568
31579
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
31569
31580
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
31570
31581
|
"discoverable": "toot:discoverable",
|
@@ -37467,6 +37478,7 @@ export class Service extends Object {
|
|
37467
37478
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
37468
37479
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
37469
37480
|
"toot": "http://joinmastodon.org/ns#",
|
37481
|
+
"Emoji": "toot:Emoji",
|
37470
37482
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
37471
37483
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
37472
37484
|
"discoverable": "toot:discoverable",
|
@@ -37747,6 +37759,7 @@ export class Service extends Object {
|
|
37747
37759
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
37748
37760
|
"movedTo": { "@id": "as:movedTo", "@type": "@id" },
|
37749
37761
|
"toot": "http://joinmastodon.org/ns#",
|
37762
|
+
"Emoji": "toot:Emoji",
|
37750
37763
|
"featured": { "@id": "toot:featured", "@type": "@id" },
|
37751
37764
|
"featuredTags": { "@id": "toot:featuredTags", "@type": "@id" },
|
37752
37765
|
"discoverable": "toot:discoverable",
|
@@ -39793,7 +39806,10 @@ export class Undo extends Activity {
|
|
39793
39806
|
[
|
39794
39807
|
"https://w3id.org/identity/v1",
|
39795
39808
|
"https://www.w3.org/ns/activitystreams",
|
39809
|
+
"https://w3id.org/security/v1",
|
39796
39810
|
"https://w3id.org/security/data-integrity/v1",
|
39811
|
+
"https://www.w3.org/ns/did/v1",
|
39812
|
+
"https://w3id.org/security/multikey/v1",
|
39797
39813
|
];
|
39798
39814
|
const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
|
39799
39815
|
if (docContext != null) {
|
@@ -39955,7 +39971,10 @@ export class Update extends Activity {
|
|
39955
39971
|
[
|
39956
39972
|
"https://w3id.org/identity/v1",
|
39957
39973
|
"https://www.w3.org/ns/activitystreams",
|
39974
|
+
"https://w3id.org/security/v1",
|
39958
39975
|
"https://w3id.org/security/data-integrity/v1",
|
39976
|
+
"https://www.w3.org/ns/did/v1",
|
39977
|
+
"https://w3id.org/security/multikey/v1",
|
39959
39978
|
{
|
39960
39979
|
"toot": "http://joinmastodon.org/ns#",
|
39961
39980
|
"schema": "http://schema.org#",
|