Follows quantus/common#6, which removed ed25519, sr25519, ecdsa and ethereum from the keyring (forks at 14.0.3-quantus.3). - restoreAccount now goes through keyring.createFromJson instead of building the pair itself. A restored backup therefore gets the same refusal as every other entry point: a polkadot{.js} export of an sr25519 or ed25519 account is told "<type> keys are not quantum-safe and cannot be held here", not decoded. - Version-0 JSON, which does not record its key type and so cannot be ML-DSA, is refused. Upstream guessed ed25519. - isEthereum is always false; it's kept so callers written against upstream still read a boolean. - loadAll already skips, with a warning, any stored account the keyring refuses, so a profile holding an old classical account still starts. The spec that pinned sr25519 restore as unchanged is replaced by the two refusals. ui-keyring 3.16.7-quantus.3, on the quantus.3 forks. yarn test 47 passing; lint clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
{
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"bugs": "https://github.com/polkadot-js/ui/issues",
|
|
"engines": {
|
|
"node": ">=18.14"
|
|
},
|
|
"homepage": "https://github.com/polkadot-js/ui#readme",
|
|
"license": "Apache-2.0",
|
|
"packageManager": "yarn@4.5.1",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/polkadot-js/ui.git"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"version": "3.16.7",
|
|
"versions": {
|
|
"git": "3.16.7",
|
|
"npm": "3.16.7"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "polkadot-dev-build-ts",
|
|
"build:release": "polkadot-ci-ghact-build",
|
|
"build:rollup": "polkadot-exec-rollup --config",
|
|
"clean": "polkadot-dev-clean-build",
|
|
"lint": "polkadot-dev-run-lint",
|
|
"postinstall": "polkadot-dev-yarn-only",
|
|
"test": "polkadot-dev-run-test --env browser",
|
|
"test:one": "polkadot-dev-run-test --env browser"
|
|
},
|
|
"devDependencies": {
|
|
"@polkadot/dev": "^0.83.3",
|
|
"@polkadot/x-bundle": "^14.0.3",
|
|
"@types/node": "^22.10.5",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-is": "^18.2.0",
|
|
"react-native": "^0.73.1"
|
|
},
|
|
"resolutions": {
|
|
"@polkadot/keyring": "https://git.lair.cafe/api/packages/quantus/npm/%40polkadot%2Fkeyring/-/14.0.3-quantus.3/keyring-14.0.3-quantus.3.tgz",
|
|
"@polkadot/networks": "https://git.lair.cafe/api/packages/quantus/npm/%40polkadot%2Fnetworks/-/14.0.3-quantus.3/networks-14.0.3-quantus.3.tgz",
|
|
"@polkadot/util-crypto": "https://git.lair.cafe/api/packages/quantus/npm/%40polkadot%2Futil-crypto/-/14.0.3-quantus.3/util-crypto-14.0.3-quantus.3.tgz",
|
|
"typescript": "5.5.4"
|
|
}
|
|
}
|