@sd-jwt/hash 0.3.2-next.63 → 0.3.2-next.64
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/README.md +40 -0
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+

|
|
2
|
+

|
|
3
|
+

|
|
4
|
+

|
|
5
|
+
|
|
6
|
+
# SD-JWT Implementation in JavaScript (TypeScript)
|
|
7
|
+
|
|
8
|
+
## SD-JWT Hash
|
|
9
|
+
|
|
10
|
+
### About
|
|
11
|
+
|
|
12
|
+
SHA-256 support for SD JWT
|
|
13
|
+
|
|
14
|
+
Check the detail description in our github [repo](https://github.com/openwallet-foundation-labs/sd-jwt-js).
|
|
15
|
+
|
|
16
|
+
### Installation
|
|
17
|
+
|
|
18
|
+
To install this project, run the following command:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# using npm
|
|
22
|
+
npm install @sd-jwt/hash
|
|
23
|
+
|
|
24
|
+
# using yarn
|
|
25
|
+
yarn add @sd-jwt/hash
|
|
26
|
+
|
|
27
|
+
# using pnpm
|
|
28
|
+
pnpm install @sd-jwt/hash
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Ensure you have Node.js installed as a prerequisite.
|
|
32
|
+
|
|
33
|
+
### Usage
|
|
34
|
+
|
|
35
|
+
Check out more details in our [documentation](https://github.com/openwallet-foundation-labs/sd-jwt-js/tree/next/docs) or [examples](https://github.com/openwallet-foundation-labs/sd-jwt-js/tree/next/examples)
|
|
36
|
+
|
|
37
|
+
### Dependencies
|
|
38
|
+
|
|
39
|
+
- "@noble/hashes": "1.0.0",
|
|
40
|
+
- pure js hash algorithm implementation with security audit (v1.0.0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-jwt/hash",
|
|
3
|
-
"version": "0.3.2-next.
|
|
3
|
+
"version": "0.3.2-next.64+0f4cd5d",
|
|
4
4
|
"description": "sd-jwt draft 7 implementation in typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@sd-jwt/crypto-nodejs": "0.3.2-next.
|
|
38
|
+
"@sd-jwt/crypto-nodejs": "0.3.2-next.64+0f4cd5d"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@noble/hashes": "1.0.0",
|
|
42
|
-
"@sd-jwt/utils": "0.3.2-next.
|
|
42
|
+
"@sd-jwt/utils": "0.3.2-next.64+0f4cd5d"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"esm"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "0f4cd5d136936e2add0172bed5ab92ee3ce255fd"
|
|
61
61
|
}
|