mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-10-20 18:56:30 +00:00
recoverAddress used secp256k1/elliptic.js, which put elliptic (open advisories, no fixed version) into the shipped bundle. secp256k1Recover from @pezkuwi/util-crypto (@noble/curves, or wasm) with the 'keccak' hash type returns the same expanded key without its 0x04 prefix. The spec's signature vector had been broken by the rebrand: the signed message was rewritten from "Kusama" to "Dicle", so recovery gave another address and the test failed on the old code too (it only runs in test:all). Restored; old and new code pass it, and changing one word of the message makes it fail.
27 lines
690 B
JSON
27 lines
690 B
JSON
{
|
|
"bugs": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-apps/issues",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"homepage": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-apps/tree/master/packages/page-claims#readme",
|
|
"license": "Apache-2.0",
|
|
"name": "@pezkuwi/app-claims",
|
|
"private": true,
|
|
"repository": {
|
|
"directory": "packages/page-claims",
|
|
"type": "git",
|
|
"url": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-apps.git"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"version": "1.0.2-1-x",
|
|
"dependencies": {
|
|
"@pezkuwi/react-components": "^1.0.2-1-x"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-dom": "*",
|
|
"react-is": "*"
|
|
}
|
|
}
|