stated-protocol-parser 1.0.5 → 1.0.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/package.json +9 -2
- package/src/index.ts +2 -2
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stated-protocol-parser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Parser and formatter for the Stated protocol - a decentralized statement verification system",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"browser": "./dist/esm/index.js",
|
|
10
12
|
"import": "./dist/esm/index.js",
|
|
11
13
|
"require": "./dist/index.js",
|
|
12
|
-
"
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./node": {
|
|
17
|
+
"types": "./dist/hash.node.d.ts",
|
|
18
|
+
"import": "./dist/esm/hash.node.js",
|
|
19
|
+
"require": "./dist/hash.node.js"
|
|
13
20
|
}
|
|
14
21
|
},
|
|
15
22
|
"scripts": {
|
package/src/index.ts
CHANGED
|
@@ -32,8 +32,8 @@ export * from './v3'
|
|
|
32
32
|
export * from './hash.browser'
|
|
33
33
|
|
|
34
34
|
// Export Node.js synchronous hash functions with clear names
|
|
35
|
-
export {
|
|
36
|
-
sha256 as sha256Node,
|
|
35
|
+
export {
|
|
36
|
+
sha256 as sha256Node,
|
|
37
37
|
verify as verifyNode,
|
|
38
38
|
fromUrlSafeBase64,
|
|
39
39
|
toUrlSafeBase64
|