@atproto/jwk-webcrypto 0.1.4 → 0.1.6
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/CHANGELOG.md +16 -0
- package/LICENSE.txt +1 -1
- package/dist/webcrypto-key.d.ts +16 -16
- package/package.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atproto/jwk-webcrypto
|
|
2
2
|
|
|
3
|
+
## 0.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`26a077716`](https://github.com/bluesky-social/atproto/commit/26a07771673bf1090a61efb7c970235f0b2509fc)]:
|
|
8
|
+
- @atproto/jwk@0.1.5
|
|
9
|
+
- @atproto/jwk-jose@0.1.6
|
|
10
|
+
|
|
11
|
+
## 0.1.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`850e39843`](https://github.com/bluesky-social/atproto/commit/850e39843cb0ec9ea716675f7568c0c601f45e29)]:
|
|
16
|
+
- @atproto/jwk@0.1.4
|
|
17
|
+
- @atproto/jwk-jose@0.1.5
|
|
18
|
+
|
|
3
19
|
## 0.1.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Dual MIT/Apache-2.0 License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2022-
|
|
3
|
+
Copyright (c) 2022-2025 Bluesky PBC, and Contributors
|
|
4
4
|
|
|
5
5
|
Except as otherwise noted in individual files, this software is licensed under the MIT license (<http://opensource.org/licenses/MIT>), or the Apache License, Version 2.0 (<http://www.apache.org/licenses/LICENSE-2.0>).
|
|
6
6
|
|
package/dist/webcrypto-key.d.ts
CHANGED
|
@@ -319,26 +319,26 @@ export declare class WebcryptoKey<J extends JwkWithAlg = JwkWithAlg> extends Jos
|
|
|
319
319
|
static generate(allowedAlgos?: string[], kid?: string, options?: GenerateKeyPairOptions): Promise<WebcryptoKey<{
|
|
320
320
|
kty: string;
|
|
321
321
|
alg: string;
|
|
322
|
-
kid?: string | undefined;
|
|
323
|
-
ext?: boolean | undefined;
|
|
324
|
-
use?: "sig" | "enc" | undefined;
|
|
325
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
|
326
|
-
x5c?: string[] | undefined;
|
|
327
|
-
x5t?: string | undefined;
|
|
328
|
-
'x5t#S256'?: string | undefined;
|
|
329
|
-
x5u?: string | undefined;
|
|
322
|
+
kid?: string | undefined | undefined;
|
|
323
|
+
ext?: boolean | undefined | undefined;
|
|
324
|
+
use?: "sig" | "enc" | undefined | undefined;
|
|
325
|
+
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined | undefined;
|
|
326
|
+
x5c?: string[] | undefined | undefined;
|
|
327
|
+
x5t?: string | undefined | undefined;
|
|
328
|
+
'x5t#S256'?: string | undefined | undefined;
|
|
329
|
+
x5u?: string | undefined | undefined;
|
|
330
330
|
}>>;
|
|
331
331
|
static fromKeypair(cryptoKeyPair: CryptoKeyPair, kid?: string): Promise<WebcryptoKey<{
|
|
332
332
|
kty: string;
|
|
333
333
|
alg: string;
|
|
334
|
-
kid?: string | undefined;
|
|
335
|
-
ext?: boolean | undefined;
|
|
336
|
-
use?: "sig" | "enc" | undefined;
|
|
337
|
-
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined;
|
|
338
|
-
x5c?: string[] | undefined;
|
|
339
|
-
x5t?: string | undefined;
|
|
340
|
-
'x5t#S256'?: string | undefined;
|
|
341
|
-
x5u?: string | undefined;
|
|
334
|
+
kid?: string | undefined | undefined;
|
|
335
|
+
ext?: boolean | undefined | undefined;
|
|
336
|
+
use?: "sig" | "enc" | undefined | undefined;
|
|
337
|
+
key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined | undefined;
|
|
338
|
+
x5c?: string[] | undefined | undefined;
|
|
339
|
+
x5t?: string | undefined | undefined;
|
|
340
|
+
'x5t#S256'?: string | undefined | undefined;
|
|
341
|
+
x5u?: string | undefined | undefined;
|
|
342
342
|
}>>;
|
|
343
343
|
constructor(jwk: Readonly<J>, cryptoKeyPair: CryptoKeyPair);
|
|
344
344
|
get isPrivate(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/jwk-webcrypto",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Webcrypto based implementation of @atproto/jwk Key's",
|
|
6
6
|
"keywords": [
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"zod": "^3.23.8",
|
|
28
|
-
"@atproto/jwk": "0.1.
|
|
29
|
-
"@atproto/jwk-jose": "0.1.
|
|
28
|
+
"@atproto/jwk": "0.1.5",
|
|
29
|
+
"@atproto/jwk-jose": "0.1.6"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"typescript": "^5.6.3"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/util.ts","./src/webcrypto-key.ts"],"version":"5.
|
|
1
|
+
{"root":["./src/index.ts","./src/util.ts","./src/webcrypto-key.ts"],"version":"5.8.2"}
|