mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-11-15 03:27:08 +00:00
zod 3.25.76 reached the extension along two paths, and 3.x has no fix:
- extension-compat-metamask took all of web3 4 for one call,
Web3.utils.sha3 on the eth_sign payload; web3-validator pins zod ^3.21.4
and has had no release since. ethSignHash replaces it with keccakAsHex
from @pezkuwi/util-crypto. Both read hex as bytes and anything else as
UTF-8, and agree on every input but empty data, for which web3 returned
nothing and MetaMask rejected the request; that is now refused up front.
web3 leaves the lockfile (about 480 lines).
- extension-ui used @paraspell/xcm-analyser 1.x, whose last release depends
on zod 3. 3.4.0 uses zod 4, renames convertMultilocationToUrl to
convertLocationToUrl, and no longer accepts the digit-grouped strings
that SignerPayload.toHuman() produces ("1,984"), so a plain bump would
have dropped the readable asset location from the signing popup without
an error. assetIdUrl turns those strings back into numbers first.
zod resolves to 4.6.7 alone. Lockfile changes resolved with a 14-day
minimum release age.
76 lines
2.7 KiB
JSON
76 lines
2.7 KiB
JSON
{
|
|
"author": "Kurdistan Tech Institute <dev@pezkuwichain.io> & PezkuwiChain Team <team@pezkuwichain.io>",
|
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-extension/issues",
|
|
"description": "A sample signer extension for the @pezkuwi/api",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"homepage": "https://github.com/pezkuwichain/pezkuwi-extension/tree/master/packages/extension-ui#readme",
|
|
"license": "Apache-2.0",
|
|
"name": "@pezkuwi/extension-ui",
|
|
"repository": {
|
|
"directory": "packages/extension-ui",
|
|
"type": "git",
|
|
"url": "https://github.com/pezkuwichain/pezkuwi-extension.git"
|
|
},
|
|
"sideEffects": true,
|
|
"type": "module",
|
|
"version": "0.62.27",
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
"@paraspell/xcm-analyser": "^3.4.0",
|
|
"@pezkuwi/api": "^16.5.37",
|
|
"@pezkuwi/extension-base": "0.62.27",
|
|
"@pezkuwi/extension-chains": "0.62.27",
|
|
"@pezkuwi/extension-dapp": "0.62.27",
|
|
"@pezkuwi/extension-inject": "0.62.27",
|
|
"@pezkuwi/hw-ledger": "^14.0.26",
|
|
"@pezkuwi/keyring": "^14.0.26",
|
|
"@pezkuwi/networks": "^14.0.26",
|
|
"@pezkuwi/react-identicon": "^3.17.1",
|
|
"@pezkuwi/react-qr": "^3.17.1",
|
|
"@pezkuwi/types": "^16.5.37",
|
|
"@pezkuwi/types-augment": "^16.5.37",
|
|
"@pezkuwi/ui-keyring": "^3.17.1",
|
|
"@pezkuwi/ui-settings": "^3.17.1",
|
|
"@pezkuwi/util": "^14.0.26",
|
|
"@pezkuwi/util-crypto": "^14.0.26",
|
|
"@polkadot-api/merkleize-metadata": "^1.1.27",
|
|
"@zxcvbn-ts/core": "^3.0.4",
|
|
"@zxcvbn-ts/language-common": "^3.0.4",
|
|
"@zxcvbn-ts/language-en": "^3.0.2",
|
|
"file-saver": "^2.0.5",
|
|
"i18next": "^23.7.11",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^11.7.1",
|
|
"react-i18next": "^13.5.0",
|
|
"react-is": "^18.2.0",
|
|
"react-router": "^5.3.4",
|
|
"react-router-dom": "^5.3.4",
|
|
"styled-components": "^5.3.11",
|
|
"tslib": "^2.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@pezkuwi/dev-test": "^0.86.3",
|
|
"@pezkuwi/extension-mocks": "0.62.27",
|
|
"@types/enzyme": "^3.10.18",
|
|
"@types/enzyme-adapter-react-16": "^1.0.9",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@types/react-router": "^5.1.20",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/sinon-chrome": "^2.2.15",
|
|
"@types/styled-components": "^5.1.26",
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.7",
|
|
"sinon-chrome": "^3.0.1"
|
|
}
|
|
}
|