@fedify/fedify 1.4.2 → 1.4.3

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,19 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.4.3
7
+ -------------
8
+
9
+ Released on February 22, 2025.
10
+
11
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
12
+ classes:
13
+
14
+ - <https://w3id.org/security/v1>
15
+ - <https://www.w3.org/ns/did/v1>
16
+ - <https://w3id.org/security/multikey/v1>
17
+
18
+
6
19
  Version 1.4.2
7
20
  -------------
8
21
 
@@ -114,6 +127,19 @@ Released on February 5, 2025.
114
127
  [#195]: https://github.com/fedify-dev/fedify/issues/195
115
128
 
116
129
 
130
+ Version 1.3.10
131
+ --------------
132
+
133
+ Released on February 22, 2025.
134
+
135
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
136
+ classes:
137
+
138
+ - <https://w3id.org/security/v1>
139
+ - <https://www.w3.org/ns/did/v1>
140
+ - <https://w3id.org/security/multikey/v1>
141
+
142
+
117
143
  Version 1.3.9
118
144
  -------------
119
145
 
@@ -341,6 +367,19 @@ Released on November 30, 2024.
341
367
  [#193]: https://github.com/fedify-dev/fedify/issues/193
342
368
 
343
369
 
370
+ Version 1.2.14
371
+ --------------
372
+
373
+ Released on February 22, 2025.
374
+
375
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
376
+ classes:
377
+
378
+ - <https://w3id.org/security/v1>
379
+ - <https://www.w3.org/ns/did/v1>
380
+ - <https://w3id.org/security/multikey/v1>
381
+
382
+
344
383
  Version 1.2.13
345
384
  --------------
346
385
 
@@ -614,6 +653,19 @@ Released on October 31, 2024.
614
653
  [#118]: https://github.com/fedify-dev/fedify/issues/118
615
654
 
616
655
 
656
+ Version 1.1.14
657
+ --------------
658
+
659
+ Released on February 22, 2025.
660
+
661
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
662
+ classes:
663
+
664
+ - <https://w3id.org/security/v1>
665
+ - <https://www.w3.org/ns/did/v1>
666
+ - <https://w3id.org/security/multikey/v1>
667
+
668
+
617
669
  Version 1.1.13
618
670
  --------------
619
671
 
@@ -928,6 +980,19 @@ Released on October 20, 2024.
928
980
  [#150]: https://github.com/fedify-dev/fedify/issues/150
929
981
 
930
982
 
983
+ Version 1.0.17
984
+ --------------
985
+
986
+ Released on February 22, 2025.
987
+
988
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
989
+ classes:
990
+
991
+ - <https://w3id.org/security/v1>
992
+ - <https://www.w3.org/ns/did/v1>
993
+ - <https://w3id.org/security/multikey/v1>
994
+
995
+
931
996
  Version 1.0.16
932
997
  --------------
933
998
 
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.3",
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"]);
@@ -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: []
@@ -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"