@fedify/fedify 1.3.9 → 1.3.11

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 CHANGED
@@ -3,6 +3,34 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.3.11
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.3.10
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.3.9
7
35
  -------------
8
36
 
@@ -230,6 +258,34 @@ Released on November 30, 2024.
230
258
  [#193]: https://github.com/fedify-dev/fedify/issues/193
231
259
 
232
260
 
261
+ Version 1.2.15
262
+ --------------
263
+
264
+ Released on February 25, 2025.
265
+
266
+ - Added the following default context to `Application`, `Group`,
267
+ `Organization`, `Person`, and `Service` classes:
268
+
269
+ ~~~~ json
270
+ {
271
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
272
+ }
273
+ ~~~~
274
+
275
+
276
+ Version 1.2.14
277
+ --------------
278
+
279
+ Released on February 22, 2025.
280
+
281
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
282
+ classes:
283
+
284
+ - <https://w3id.org/security/v1>
285
+ - <https://www.w3.org/ns/did/v1>
286
+ - <https://w3id.org/security/multikey/v1>
287
+
288
+
233
289
  Version 1.2.13
234
290
  --------------
235
291
 
@@ -503,6 +559,34 @@ Released on October 31, 2024.
503
559
  [#118]: https://github.com/fedify-dev/fedify/issues/118
504
560
 
505
561
 
562
+ Version 1.1.15
563
+ --------------
564
+
565
+ Released on February 25, 2025.
566
+
567
+ - Added the following default context to `Application`, `Group`,
568
+ `Organization`, `Person`, and `Service` classes:
569
+
570
+ ~~~~ json
571
+ {
572
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
573
+ }
574
+ ~~~~
575
+
576
+
577
+ Version 1.1.14
578
+ --------------
579
+
580
+ Released on February 22, 2025.
581
+
582
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
583
+ classes:
584
+
585
+ - <https://w3id.org/security/v1>
586
+ - <https://www.w3.org/ns/did/v1>
587
+ - <https://w3id.org/security/multikey/v1>
588
+
589
+
506
590
  Version 1.1.13
507
591
  --------------
508
592
 
@@ -817,6 +901,34 @@ Released on October 20, 2024.
817
901
  [#150]: https://github.com/fedify-dev/fedify/issues/150
818
902
 
819
903
 
904
+ Version 1.0.18
905
+ --------------
906
+
907
+ Released on February 25, 2025.
908
+
909
+ - Added the following default context to `Application`, `Group`,
910
+ `Organization`, `Person`, and `Service` classes:
911
+
912
+ ~~~~ json
913
+ {
914
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
915
+ }
916
+ ~~~~
917
+
918
+
919
+ Version 1.0.17
920
+ --------------
921
+
922
+ Released on February 22, 2025.
923
+
924
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
925
+ classes:
926
+
927
+ - <https://w3id.org/security/v1>
928
+ - <https://www.w3.org/ns/did/v1>
929
+ - <https://w3id.org/security/multikey/v1>
930
+
931
+
820
932
  Version 1.0.16
821
933
  --------------
822
934
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.9",
3
+ "version": "1.3.11",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -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"]);
@@ -19,6 +19,7 @@ defaultContext:
19
19
  "@id": "as:movedTo"
20
20
  "@type": "@id"
21
21
  toot: "http://joinmastodon.org/ns#"
22
+ Emoji: "toot:Emoji"
22
23
  featured:
23
24
  "@id": "toot:featured"
24
25
  "@type": "@id"
@@ -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: []
@@ -19,6 +19,7 @@ defaultContext:
19
19
  "@id": "as:movedTo"
20
20
  "@type": "@id"
21
21
  toot: "http://joinmastodon.org/ns#"
22
+ Emoji: "toot:Emoji"
22
23
  featured:
23
24
  "@id": "toot:featured"
24
25
  "@type": "@id"
@@ -19,6 +19,7 @@ defaultContext:
19
19
  "@id": "as:movedTo"
20
20
  "@type": "@id"
21
21
  toot: "http://joinmastodon.org/ns#"
22
+ Emoji: "toot:Emoji"
22
23
  featured:
23
24
  "@id": "toot:featured"
24
25
  "@type": "@id"
@@ -19,6 +19,7 @@ defaultContext:
19
19
  "@id": "as:movedTo"
20
20
  "@type": "@id"
21
21
  toot: "http://joinmastodon.org/ns#"
22
+ Emoji: "toot:Emoji"
22
23
  featured:
23
24
  "@id": "toot:featured"
24
25
  "@type": "@id"
@@ -19,6 +19,7 @@ defaultContext:
19
19
  "@id": "as:movedTo"
20
20
  "@type": "@id"
21
21
  toot: "http://joinmastodon.org/ns#"
22
+ Emoji: "toot:Emoji"
22
23
  featured:
23
24
  "@id": "toot:featured"
24
25
  "@type": "@id"
@@ -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: []
@@ -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
  - alsoKnownAs:
18
21
  "@id": "as:alsoKnownAs"
19
22
  "@type": "@id"