w3pk 0.2.0 → 0.4.0
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 +290 -58
- package/dist/index.d.mts +85 -28
- package/dist/index.d.ts +85 -28
- package/dist/index.js +1 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -35
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -8
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w3pk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "WebAuthn SDK for passwordless authentication
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "WebAuthn SDK for passwordless authentication, encrypted wallets, and privacy-preserving stealth addresses",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"require": "./dist/index.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
+
"sideEffects": false,
|
|
15
16
|
"files": [
|
|
16
17
|
"dist",
|
|
17
18
|
"README.md",
|
|
@@ -20,7 +21,9 @@
|
|
|
20
21
|
"scripts": {
|
|
21
22
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
22
23
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
23
|
-
"test": "tsx test/test.ts",
|
|
24
|
+
"test": "tsx test/test.ts && tsx test/comprehensive.test.ts",
|
|
25
|
+
"test:basic": "tsx test/test.ts",
|
|
26
|
+
"test:comprehensive": "tsx test/comprehensive.test.ts",
|
|
24
27
|
"prepublishOnly": "pnpm build"
|
|
25
28
|
},
|
|
26
29
|
"keywords": [
|
|
@@ -34,9 +37,11 @@
|
|
|
34
37
|
"web3",
|
|
35
38
|
"encryption",
|
|
36
39
|
"zero-knowledge",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
+
"privacy",
|
|
41
|
+
"stealth-address",
|
|
42
|
+
"unlinkable",
|
|
43
|
+
"anonymous-transactions",
|
|
44
|
+
"privacy-preserving"
|
|
40
45
|
],
|
|
41
46
|
"author": "Julien Béranger",
|
|
42
47
|
"license": "GPL-3.0-or-later",
|
|
@@ -51,7 +56,7 @@
|
|
|
51
56
|
"packageManager": "pnpm@10.6.4",
|
|
52
57
|
"dependencies": {
|
|
53
58
|
"@simplewebauthn/browser": "^13.2.2",
|
|
54
|
-
"
|
|
59
|
+
"w3pk": "link:../Library/pnpm/store/5/node_modules/w3pk"
|
|
55
60
|
},
|
|
56
61
|
"devDependencies": {
|
|
57
62
|
"@types/node": "^24.6.2",
|
|
@@ -65,5 +70,10 @@
|
|
|
65
70
|
"optionalDependencies": {
|
|
66
71
|
"circomlibjs": "^0.1.0",
|
|
67
72
|
"snarkjs": "^0.7.0"
|
|
73
|
+
},
|
|
74
|
+
"pnpm": {
|
|
75
|
+
"overrides": {
|
|
76
|
+
"w3pk": "link:../Library/pnpm/store/5/node_modules/w3pk"
|
|
77
|
+
}
|
|
68
78
|
}
|
|
69
|
-
}
|
|
79
|
+
}
|