parent
80457f7f01
commit
c4eddfce40
32
package.json
32
package.json
@ -64,7 +64,7 @@
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@crustio/crust-pin": "^1.0.0",
|
||||
"@pinata/sdk": "^1.1.25",
|
||||
"@polkadot/dev": "^0.66.35",
|
||||
"@polkadot/dev": "^0.66.36",
|
||||
"@types/chart.js": "^2.9.37",
|
||||
"@types/file-saver": "^2.0.5",
|
||||
"@types/jest": "^28.1.1",
|
||||
@ -91,24 +91,24 @@
|
||||
"webpack-cli": "^4.9.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^8.7.2-1",
|
||||
"@polkadot/api-augment": "^8.7.2-1",
|
||||
"@polkadot/api-base": "^8.7.2-1",
|
||||
"@polkadot/api-contract": "^8.7.2-1",
|
||||
"@polkadot/api-derive": "^8.7.2-1",
|
||||
"@polkadot/api": "^8.7.2-12",
|
||||
"@polkadot/api-augment": "^8.7.2-12",
|
||||
"@polkadot/api-base": "^8.7.2-12",
|
||||
"@polkadot/api-contract": "^8.7.2-12",
|
||||
"@polkadot/api-derive": "^8.7.2-12",
|
||||
"@polkadot/hw-ledger": "^9.4.1",
|
||||
"@polkadot/keyring": "^9.4.1",
|
||||
"@polkadot/networks": "^9.4.1",
|
||||
"@polkadot/phishing": "^0.13.66",
|
||||
"@polkadot/rpc-augment": "^8.7.2-1",
|
||||
"@polkadot/rpc-core": "^8.7.2-1",
|
||||
"@polkadot/rpc-provider": "^8.7.2-1",
|
||||
"@polkadot/types": "^8.7.2-1",
|
||||
"@polkadot/types-augment": "^8.7.2-1",
|
||||
"@polkadot/types-codec": "^8.7.2-1",
|
||||
"@polkadot/types-create": "^8.7.2-1",
|
||||
"@polkadot/types-known": "^8.7.2-1",
|
||||
"@polkadot/types-support": "^8.7.2-1",
|
||||
"@polkadot/phishing": "^0.13.73",
|
||||
"@polkadot/rpc-augment": "^8.7.2-12",
|
||||
"@polkadot/rpc-core": "^8.7.2-12",
|
||||
"@polkadot/rpc-provider": "^8.7.2-12",
|
||||
"@polkadot/types": "^8.7.2-12",
|
||||
"@polkadot/types-augment": "^8.7.2-12",
|
||||
"@polkadot/types-codec": "^8.7.2-12",
|
||||
"@polkadot/types-create": "^8.7.2-12",
|
||||
"@polkadot/types-known": "^8.7.2-12",
|
||||
"@polkadot/types-support": "^8.7.2-12",
|
||||
"@polkadot/util": "^9.4.1",
|
||||
"@polkadot/util-crypto": "^9.4.1",
|
||||
"@polkadot/wasm-crypto": "^6.1.1",
|
||||
|
||||
@ -30,10 +30,10 @@
|
||||
"@metaverse-network-sdk/type-definitions": "^0.0.1-13",
|
||||
"@parallel-finance/type-definitions": "1.7.4",
|
||||
"@phala/typedefs": "0.2.30",
|
||||
"@polkadot/api": "^8.7.2-1",
|
||||
"@polkadot/api-derive": "^8.7.2-1",
|
||||
"@polkadot/api": "^8.7.2-12",
|
||||
"@polkadot/api-derive": "^8.7.2-12",
|
||||
"@polkadot/networks": "^9.4.1",
|
||||
"@polkadot/types": "^8.7.2-1",
|
||||
"@polkadot/types": "^8.7.2-12",
|
||||
"@polkadot/util": "^9.4.1",
|
||||
"@polkadot/x-fetch": "^9.4.1",
|
||||
"@polymathnetwork/polymesh-types": "0.0.2",
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.18.2",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@polkadot/dev": "^0.66.35",
|
||||
"@polkadot/dev": "^0.66.36",
|
||||
"@polkadot/react-components": "^0.116.2-16",
|
||||
"electron-log": "^4.4.7",
|
||||
"electron-updater": "^4.6.5"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/apps-config": "^0.116.2-16",
|
||||
"@polkadot/apps-routing": "^0.116.2-16",
|
||||
"@polkadot/dev": "^0.66.35",
|
||||
"@polkadot/dev": "^0.66.36",
|
||||
"@polkadot/react-api": "^0.116.2-16",
|
||||
"@polkadot/react-components": "^0.116.2-16",
|
||||
"@polkadot/react-hooks": "^0.116.2-16",
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/hw-ledger": "^9.4.1",
|
||||
"@polkadot/phishing": "^0.13.66",
|
||||
"@polkadot/phishing": "^0.13.73",
|
||||
"@polkadot/react-components": "^0.116.2-16",
|
||||
"@polkadot/react-hooks": "^0.116.2-16",
|
||||
"@polkadot/util": "^9.4.1",
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"version": "0.116.2-16",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api-contract": "^8.7.2-1"
|
||||
"@polkadot/api-contract": "^8.7.2-12"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,10 +14,10 @@
|
||||
"version": "0.116.2-16",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api": "^8.7.2-1",
|
||||
"@polkadot/extension-compat-metamask": "^0.43.4-0",
|
||||
"@polkadot/extension-dapp": "^0.43.4-0",
|
||||
"@polkadot/rpc-provider": "^8.7.2-1",
|
||||
"@polkadot/api": "^8.7.2-12",
|
||||
"@polkadot/extension-compat-metamask": "^0.44.1",
|
||||
"@polkadot/extension-dapp": "^0.44.1",
|
||||
"@polkadot/rpc-provider": "^8.7.2-12",
|
||||
"fflate": "^0.7.3",
|
||||
"rxjs": "^7.5.5"
|
||||
}
|
||||
|
||||
@ -31,7 +31,11 @@ interface AbiEvent extends DecodedEvent {
|
||||
|
||||
function EventDisplay ({ children, className = '', value }: Props): React.ReactElement<Props> {
|
||||
const { t } = useTranslation();
|
||||
const params = value.typeDef.map((type) => ({ type }));
|
||||
const names = value.data.names;
|
||||
const params = value.typeDef.map((type, i) => ({
|
||||
name: (names && names[i]) || undefined,
|
||||
type
|
||||
}));
|
||||
const values = value.data.map((value) => ({ isValid: true, value }));
|
||||
|
||||
const abiEvent = useMemo(
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"testcontainers": "^8.10.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "^8.7.2-1",
|
||||
"@polkadot/types-support": "^8.7.2-12",
|
||||
"@testing-library/jest-dom": "^5.16.4",
|
||||
"tsconfig-paths": "^4.0.0"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user