@fedify/fedify 1.3.9 → 1.3.10

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.3.10
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.3.9
7
20
  -------------
8
21
 
@@ -230,6 +243,19 @@ Released on November 30, 2024.
230
243
  [#193]: https://github.com/fedify-dev/fedify/issues/193
231
244
 
232
245
 
246
+ Version 1.2.14
247
+ --------------
248
+
249
+ Released on February 22, 2025.
250
+
251
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
252
+ classes:
253
+
254
+ - <https://w3id.org/security/v1>
255
+ - <https://www.w3.org/ns/did/v1>
256
+ - <https://w3id.org/security/multikey/v1>
257
+
258
+
233
259
  Version 1.2.13
234
260
  --------------
235
261
 
@@ -503,6 +529,19 @@ Released on October 31, 2024.
503
529
  [#118]: https://github.com/fedify-dev/fedify/issues/118
504
530
 
505
531
 
532
+ Version 1.1.14
533
+ --------------
534
+
535
+ Released on February 22, 2025.
536
+
537
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
538
+ classes:
539
+
540
+ - <https://w3id.org/security/v1>
541
+ - <https://www.w3.org/ns/did/v1>
542
+ - <https://w3id.org/security/multikey/v1>
543
+
544
+
506
545
  Version 1.1.13
507
546
  --------------
508
547
 
@@ -817,6 +856,19 @@ Released on October 20, 2024.
817
856
  [#150]: https://github.com/fedify-dev/fedify/issues/150
818
857
 
819
858
 
859
+ Version 1.0.17
860
+ --------------
861
+
862
+ Released on February 22, 2025.
863
+
864
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
865
+ classes:
866
+
867
+ - <https://w3id.org/security/v1>
868
+ - <https://www.w3.org/ns/did/v1>
869
+ - <https://w3id.org/security/multikey/v1>
870
+
871
+
820
872
  Version 1.0.16
821
873
  --------------
822
874
 
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.10",
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"