@fedify/fedify 1.4.2 → 1.4.4

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.4.4
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.4.3
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.4.2
7
35
  -------------
8
36
 
@@ -114,6 +142,34 @@ Released on February 5, 2025.
114
142
  [#195]: https://github.com/fedify-dev/fedify/issues/195
115
143
 
116
144
 
145
+ Version 1.3.11
146
+ --------------
147
+
148
+ Released on February 25, 2025.
149
+
150
+ - Added the following default context to `Application`, `Group`,
151
+ `Organization`, `Person`, and `Service` classes:
152
+
153
+ ~~~~ json
154
+ {
155
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
156
+ }
157
+ ~~~~
158
+
159
+
160
+ Version 1.3.10
161
+ --------------
162
+
163
+ Released on February 22, 2025.
164
+
165
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
166
+ classes:
167
+
168
+ - <https://w3id.org/security/v1>
169
+ - <https://www.w3.org/ns/did/v1>
170
+ - <https://w3id.org/security/multikey/v1>
171
+
172
+
117
173
  Version 1.3.9
118
174
  -------------
119
175
 
@@ -341,6 +397,34 @@ Released on November 30, 2024.
341
397
  [#193]: https://github.com/fedify-dev/fedify/issues/193
342
398
 
343
399
 
400
+ Version 1.2.15
401
+ --------------
402
+
403
+ Released on February 25, 2025.
404
+
405
+ - Added the following default context to `Application`, `Group`,
406
+ `Organization`, `Person`, and `Service` classes:
407
+
408
+ ~~~~ json
409
+ {
410
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
411
+ }
412
+ ~~~~
413
+
414
+
415
+ Version 1.2.14
416
+ --------------
417
+
418
+ Released on February 22, 2025.
419
+
420
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
421
+ classes:
422
+
423
+ - <https://w3id.org/security/v1>
424
+ - <https://www.w3.org/ns/did/v1>
425
+ - <https://w3id.org/security/multikey/v1>
426
+
427
+
344
428
  Version 1.2.13
345
429
  --------------
346
430
 
@@ -614,6 +698,34 @@ Released on October 31, 2024.
614
698
  [#118]: https://github.com/fedify-dev/fedify/issues/118
615
699
 
616
700
 
701
+ Version 1.1.15
702
+ --------------
703
+
704
+ Released on February 25, 2025.
705
+
706
+ - Added the following default context to `Application`, `Group`,
707
+ `Organization`, `Person`, and `Service` classes:
708
+
709
+ ~~~~ json
710
+ {
711
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
712
+ }
713
+ ~~~~
714
+
715
+
716
+ Version 1.1.14
717
+ --------------
718
+
719
+ Released on February 22, 2025.
720
+
721
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
722
+ classes:
723
+
724
+ - <https://w3id.org/security/v1>
725
+ - <https://www.w3.org/ns/did/v1>
726
+ - <https://w3id.org/security/multikey/v1>
727
+
728
+
617
729
  Version 1.1.13
618
730
  --------------
619
731
 
@@ -928,6 +1040,34 @@ Released on October 20, 2024.
928
1040
  [#150]: https://github.com/fedify-dev/fedify/issues/150
929
1041
 
930
1042
 
1043
+ Version 1.0.18
1044
+ --------------
1045
+
1046
+ Released on February 25, 2025.
1047
+
1048
+ - Added the following default context to `Application`, `Group`,
1049
+ `Organization`, `Person`, and `Service` classes:
1050
+
1051
+ ~~~~ json
1052
+ {
1053
+ "Emoji": "http://joinmastodon.org/ns#Emoji"
1054
+ }
1055
+ ~~~~
1056
+
1057
+
1058
+ Version 1.0.17
1059
+ --------------
1060
+
1061
+ Released on February 22, 2025.
1062
+
1063
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
1064
+ classes:
1065
+
1066
+ - <https://w3id.org/security/v1>
1067
+ - <https://www.w3.org/ns/did/v1>
1068
+ - <https://w3id.org/security/multikey/v1>
1069
+
1070
+
931
1071
  Version 1.0.16
932
1072
  --------------
933
1073
 
package/README.md CHANGED
@@ -95,14 +95,16 @@ financial contributors:[^2]
95
95
  ### Supporters
96
96
 
97
97
  - [Daniel Supernault](https://pixelfed.org/)
98
+ - [tkgka](https://opencollective.com/tkgka)
99
+ - [Blaine](https://opencollective.com/blaine)
98
100
 
99
101
  ### Backers
100
102
 
101
- yamanoku, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart
103
+ yamanoku, Julian Fietkau, taye, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart, malte
102
104
 
103
105
  ### One-time donations
104
106
 
105
- Markus P, Rameez
107
+ Markus P, Nils Bergmann, Rameez
106
108
 
107
109
  <!-- /DO NOT EDIT -->
108
110
  <!-- cSpell: enable -->
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
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"