w3pk 0.7.0 → 0.7.2
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 +76 -19
- package/dist/index.d.mts +650 -5
- package/dist/index.d.ts +650 -5
- package/dist/index.js +776 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +776 -5
- package/dist/index.mjs.map +1 -1
- package/docs/BUNDLE_SIZES.md +7 -4
- package/docs/MIGRATION.md +15 -15
- package/docs/QR_CODE.md +1887 -0
- package/docs/RECOVERY.md +992 -0
- package/docs/SECURITY.md +631 -0
- package/docs/ZK_INTEGRATION_GUIDE.md +6 -4
- package/docs/index.html +4 -3
- package/package.json +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w3pk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "WebAuthn SDK for passwordless authentication, encrypted wallets, ERC-5564 stealth addresses, and zero-knowledge proofs",
|
|
5
5
|
"author": "Julien Béranger",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -77,14 +77,19 @@
|
|
|
77
77
|
"build:zk": "npm run build && npm run compile:circuits",
|
|
78
78
|
"compile:circuits": "node scripts/compile-circuits.js",
|
|
79
79
|
"dev": "tsup --watch",
|
|
80
|
-
"test": "tsx test/test.ts && tsx test/comprehensive.test.ts && tsx test/zk/zk.test.ts && tsx test/nft-ownership.test.ts && tsx test/chainlist.test.ts && tsx test/eip7702.test.ts && tsx test/erc5564.test.ts",
|
|
80
|
+
"test": "tsx test/test.ts && tsx test/comprehensive.test.ts && tsx test/backup.test.ts && tsx test/social-recovery.test.ts && tsx test/recovery-education.test.ts && tsx test/zk/zk.test.ts && tsx test/nft-ownership.test.ts && tsx test/chainlist.test.ts && tsx test/eip7702.test.ts && tsx test/erc5564.test.ts && tsx test/validation.test.ts",
|
|
81
81
|
"test:basic": "tsx test/test.ts",
|
|
82
82
|
"test:comprehensive": "tsx test/comprehensive.test.ts",
|
|
83
|
+
"test:backup": "tsx test/backup.test.ts",
|
|
84
|
+
"test:social-recovery": "tsx test/social-recovery.test.ts",
|
|
85
|
+
"test:education": "tsx test/recovery-education.test.ts",
|
|
86
|
+
"test:recovery": "tsx test/backup.test.ts && tsx test/social-recovery.test.ts && tsx test/recovery-education.test.ts",
|
|
83
87
|
"test:zk": "tsx test/zk/zk.test.ts",
|
|
84
88
|
"test:nft": "tsx test/nft-ownership.test.ts",
|
|
85
89
|
"test:chainlist": "tsx test/chainlist.test.ts",
|
|
86
90
|
"test:eip7702": "tsx test/eip7702.test.ts",
|
|
87
91
|
"test:erc5564": "tsx test/erc5564.test.ts",
|
|
92
|
+
"test:validation": "tsx test/validation.test.ts",
|
|
88
93
|
"prepublishOnly": "pnpm build",
|
|
89
94
|
"html": "lsof -ti:3000 | xargs kill -9 2>/dev/null || true && tsup && npx serve . -l 3000 & sleep 5 && open http://localhost:3000/checker.html"
|
|
90
95
|
},
|
|
@@ -94,6 +99,7 @@
|
|
|
94
99
|
},
|
|
95
100
|
"devDependencies": {
|
|
96
101
|
"@types/node": "^24.9.0",
|
|
102
|
+
"@types/qrcode": "^1.5.5",
|
|
97
103
|
"circomlib": "^2.0.5",
|
|
98
104
|
"tsup": "^8.5.0",
|
|
99
105
|
"tsx": "^4.20.6",
|
|
@@ -104,6 +110,7 @@
|
|
|
104
110
|
},
|
|
105
111
|
"optionalDependencies": {
|
|
106
112
|
"circomlibjs": "^0.1.7",
|
|
113
|
+
"qrcode": "^1.5.4",
|
|
107
114
|
"snarkjs": "^0.7.5"
|
|
108
115
|
}
|
|
109
116
|
}
|