@fedify/fedify 1.2.13 → 1.2.14
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 +39 -0
- package/esm/runtime/key.js +1 -1
- package/esm/vocab/follow.yaml +3 -0
- package/esm/vocab/undo.yaml +3 -0
- package/esm/vocab/update.yaml +3 -0
- package/esm/vocab/vocab.js +9 -0
- package/package.json +1 -1
- package/types/vocab/vocab.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -3,6 +3,19 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.2.14
|
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.2.13
|
7
20
|
--------------
|
8
21
|
|
@@ -276,6 +289,19 @@ Released on October 31, 2024.
|
|
276
289
|
[#118]: https://github.com/dahlia/fedify/issues/118
|
277
290
|
|
278
291
|
|
292
|
+
Version 1.1.14
|
293
|
+
--------------
|
294
|
+
|
295
|
+
Released on February 22, 2025.
|
296
|
+
|
297
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
298
|
+
classes:
|
299
|
+
|
300
|
+
- <https://w3id.org/security/v1>
|
301
|
+
- <https://www.w3.org/ns/did/v1>
|
302
|
+
- <https://w3id.org/security/multikey/v1>
|
303
|
+
|
304
|
+
|
279
305
|
Version 1.1.13
|
280
306
|
--------------
|
281
307
|
|
@@ -590,6 +616,19 @@ Released on October 20, 2024.
|
|
590
616
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
591
617
|
|
592
618
|
|
619
|
+
Version 1.0.17
|
620
|
+
--------------
|
621
|
+
|
622
|
+
Released on February 22, 2025.
|
623
|
+
|
624
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
625
|
+
classes:
|
626
|
+
|
627
|
+
- <https://w3id.org/security/v1>
|
628
|
+
- <https://www.w3.org/ns/did/v1>
|
629
|
+
- <https://w3id.org/security/multikey/v1>
|
630
|
+
|
631
|
+
|
593
632
|
Version 1.0.16
|
594
633
|
--------------
|
595
634
|
|
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/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
|
- alsoKnownAs:
|
18
21
|
"@id": "as:alsoKnownAs"
|
19
22
|
"@type": "@id"
|
package/esm/vocab/vocab.js
CHANGED
@@ -18414,7 +18414,10 @@ export class Follow extends Activity {
|
|
18414
18414
|
[
|
18415
18415
|
"https://w3id.org/identity/v1",
|
18416
18416
|
"https://www.w3.org/ns/activitystreams",
|
18417
|
+
"https://w3id.org/security/v1",
|
18417
18418
|
"https://w3id.org/security/data-integrity/v1",
|
18419
|
+
"https://www.w3.org/ns/did/v1",
|
18420
|
+
"https://w3id.org/security/multikey/v1",
|
18418
18421
|
];
|
18419
18422
|
const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
|
18420
18423
|
if (docContext != null) {
|
@@ -40213,7 +40216,10 @@ export class Undo extends Activity {
|
|
40213
40216
|
[
|
40214
40217
|
"https://w3id.org/identity/v1",
|
40215
40218
|
"https://www.w3.org/ns/activitystreams",
|
40219
|
+
"https://w3id.org/security/v1",
|
40216
40220
|
"https://w3id.org/security/data-integrity/v1",
|
40221
|
+
"https://www.w3.org/ns/did/v1",
|
40222
|
+
"https://w3id.org/security/multikey/v1",
|
40217
40223
|
];
|
40218
40224
|
const compacted = await jsonld.compact(values, docContext, { documentLoader: options.contextLoader });
|
40219
40225
|
if (docContext != null) {
|
@@ -40375,7 +40381,10 @@ export class Update extends Activity {
|
|
40375
40381
|
[
|
40376
40382
|
"https://w3id.org/identity/v1",
|
40377
40383
|
"https://www.w3.org/ns/activitystreams",
|
40384
|
+
"https://w3id.org/security/v1",
|
40378
40385
|
"https://w3id.org/security/data-integrity/v1",
|
40386
|
+
"https://www.w3.org/ns/did/v1",
|
40387
|
+
"https://w3id.org/security/multikey/v1",
|
40379
40388
|
{
|
40380
40389
|
"alsoKnownAs": { "@id": "as:alsoKnownAs", "@type": "@id" },
|
40381
40390
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|