This commit is contained in:
Jaco Greeff 2020-11-16 07:19:04 +01:00 committed by GitHub
parent e395152cb1
commit 2c951cf263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 422 additions and 568 deletions

View File

@ -12,13 +12,13 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^2.6.2-9",
"@polkadot/api-contract": "^2.6.2-9",
"@polkadot/keyring": "^4.0.2-12",
"@polkadot/networks": "^4.0.2-12",
"@polkadot/types": "^2.6.2-9",
"@polkadot/util": "^4.0.2-12",
"@polkadot/util-crypto": "^4.0.2-12",
"@polkadot/api": "^2.6.2-15",
"@polkadot/api-contract": "^2.6.2-15",
"@polkadot/keyring": "^4.1.1",
"@polkadot/networks": "^4.1.1",
"@polkadot/types": "^2.6.2-15",
"@polkadot/util": "^4.1.1",
"@polkadot/util-crypto": "^4.1.1",
"@polkadot/wasm-crypto": "^2.0.1",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.2.0",
@ -63,17 +63,17 @@
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/register": "^7.12.1",
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@pinata/sdk": "^1.1.11",
"@polkadot/dev": "^0.60.1",
"@polkadot/ts": "^0.3.54",
"@polkadot/dev": "^0.60.2",
"@polkadot/ts": "^0.3.55",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.27",
"@types/file-saver": "^2.0.1",
"@types/jest": "^26.0.15",
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^16.9.8",
"@types/react-dom": "^16.9.9",
"@types/react-router-dom": "^5.1.6",
"@types/store": "^2.0.2",
"@types/styled-components": "^5.1.4",
@ -89,14 +89,14 @@
"react-dom": "^17.0.1",
"react-is": "^17.0.1",
"source-map-explorer": "^2.5.0",
"styled-components": "^5.2.0",
"styled-components": "^5.2.1",
"stylelint": "^13.7.2",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"terser-webpack-plugin": "^4.2.3",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.2.0",
"webpack-merge": "^5.4.0",
"webpack-plugin-serve": "^1.2.0"
}
}

View File

@ -10,10 +10,10 @@
"license": "Apache-2.0",
"dependencies": {
"@acala-network/type-definitions": "^0.4.0-beta.33",
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@edgeware/node-types": "^3.0.7",
"@laminar/type-definitions": "^0.2.0-beta.141",
"@polkadot/networks": "^4.0.2-12",
"@polkadot/networks": "^4.1.1",
"@subsocial/types": "^0.4.7"
}
}

View File

@ -6,20 +6,20 @@
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.60.1",
"@polkadot/dev": "^0.60.2",
"@polkadot/react-components": "^0.66.2-14",
"electron-log": "^4.3.0",
"electron-updater": "^4.3.5"
},
"devDependencies": {
"@types/react-dom": "^16.9.8",
"@types/react-dom": "^16.9.9",
"@types/tmp": "^0.2.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.2.1",
"babel-loader": "^8.2.1",
"copy-webpack-plugin": "^6.3.1",
"html-webpack-plugin": "^4.5.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"thread-loader": "^3.0.0",
"thread-loader": "^3.0.1",
"tmp": "^0.2.1",
"webpack": "^4.44.2"
}

View File

@ -9,6 +9,6 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1"
"@babel/runtime": "^7.12.5"
}
}

View File

@ -13,10 +13,10 @@
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/polyfill": "^7.12.1",
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/apps-config": "^0.66.2-14",
"@polkadot/apps-routing": "^0.66.2-14",
"@polkadot/dev": "^0.60.1",
"@polkadot/dev": "^0.60.2",
"@polkadot/react-api": "^0.66.2-14",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-hooks": "^0.66.2-14",
@ -24,22 +24,22 @@
"@polkadot/react-query": "^0.66.2-14",
"@polkadot/react-signer": "^0.66.2-14",
"punycode": "^2.1.1",
"query-string": "^6.13.6"
"query-string": "^6.13.7"
},
"devDependencies": {
"@types/punycode": "^2.1.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.2.1",
"babel-loader": "^8.2.1",
"copy-webpack-plugin": "^6.3.1",
"css-loader": "^4.3.0",
"empty": "^0.10.1",
"file-loader": "^6.1.1",
"file-loader": "^6.2.0",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^4.5.0",
"markdown-loader": "^6.0.0",
"mini-css-extract-plugin": "^0.11.3",
"null-loader": "^4.0.1",
"style-loader": "^1.3.0",
"thread-loader": "^3.0.0",
"thread-loader": "^3.0.1",
"url-loader": "^4.1.1",
"webpack": "^4.44.2"
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/vanitygen": "^0.23.2-4",
"detect-browser": "^5.2.0",
@ -17,6 +17,6 @@
},
"devDependencies": {
"@testing-library/react": "^11.1.0",
"testcontainers": "^4.6.0"
"testcontainers": "^4.7.0"
}
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/vanitygen": "^0.23.2-4",
"detect-browser": "^5.2.0",
@ -17,6 +17,6 @@
},
"devDependencies": {
"@testing-library/react": "^11.1.0",
"testcontainers": "^4.6.0"
"testcontainers": "^4.7.0"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"secp256k1": "^3.8.0"
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@polkadot/api-contract": "^2.6.2-9"
"@babel/runtime": "^7.12.5",
"@polkadot/api-contract": "^2.6.2-15"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14"
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14"
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-params": "^0.66.2-14",
"@polkadot/react-signer": "^0.66.2-14"

View File

@ -11,7 +11,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14"
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,10 +9,10 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/apps-config": "^0.66.2-14",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14",
"query-string": "^6.13.6"
"query-string": "^6.13.7"
}
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -8,7 +8,7 @@
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/app-explorer": "^0.66.2-14",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14"

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-params": "^0.66.2-14"
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14"
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14",
"@polkadot/react-query": "^0.66.2-14"
}

View File

@ -19,9 +19,9 @@
"bugs": "https://github.com/polkadot-js/apps/issues",
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-api#readme",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@polkadot/api": "^2.6.2-9",
"@polkadot/extension-dapp": "^0.35.0-beta.47",
"@babel/runtime": "^7.12.5",
"@polkadot/api": "^2.6.2-15",
"@polkadot/extension-dapp": "^0.35.0-beta.48",
"rxjs-compat": "^6.6.3"
}
}

View File

@ -8,19 +8,19 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/react-fontawesome": "^0.1.11",
"@polkadot/keyring": "^4.0.2-12",
"@polkadot/keyring": "^4.1.1",
"@polkadot/react-api": "^0.66.2-14",
"@polkadot/react-identicon": "^0.62.2-12",
"@polkadot/react-qr": "^0.62.2-12",
"@polkadot/react-query": "^0.66.2-14",
"@polkadot/ui-keyring": "^0.62.2-12",
"@polkadot/ui-settings": "^0.62.2-12",
"@polkadot/util": "^4.0.2-12",
"@polkadot/util-crypto": "^4.0.2-12",
"@polkadot/util": "^4.1.1",
"@polkadot/util-crypto": "^4.1.1",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^19.8.3",
@ -28,10 +28,10 @@
"owasp-password-strength-test": "^1.3.0",
"react": "^17.0.1",
"react-beautiful-dnd": "^13.0.0",
"react-chartjs-2": "^2.10.0",
"react-chartjs-2": "^2.11.1",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^17.0.1",
"react-dropzone": "^11.2.1",
"react-dropzone": "^11.2.4",
"react-i18next": "^11.7.3",
"react-is": "^17.0.1",
"react-markdown": "^4.3.1",

View File

@ -8,7 +8,7 @@ import { Codec } from '@polkadot/types/types';
import React, { useMemo } from 'react';
import { Input } from '@polkadot/react-components';
import Params from '@polkadot/react-params';
import { getTypeDef } from '@polkadot/types/create';
import { Bytes, getTypeDef } from '@polkadot/types';
import { useTranslation } from './translate';
import { classes, getContractAbi } from './util';
@ -44,7 +44,7 @@ function EventDisplay ({ children, className = '', value }: Props): React.ReactE
const abi = getContractAbi(accountId.toString());
if (abi) {
const decoded = abi.decodeEvent(encoded.toU8a(true));
const decoded = abi.decodeEvent(encoded as Bytes);
return {
...decoded,

View File

@ -9,6 +9,7 @@ import { ActionStatus, ActionStatusPartial, PartialQueueTxExtrinsic, PartialQueu
import React, { useCallback, useRef, useState } from 'react';
import { SubmittableResult } from '@polkadot/api';
import { registry } from '@polkadot/react-api';
import { Bytes } from '@polkadot/types';
import jsonrpc from '@polkadot/types/interfaces/jsonrpc';
import { getContractAbi } from '../util';
@ -112,7 +113,7 @@ function extractEvents (result?: SubmittableResult): ActionStatus[] {
const abi = getContractAbi(accountId.toString());
if (abi) {
const decoded = abi.decodeEvent(encoded.toU8a(true));
const decoded = abi.decodeEvent(encoded as Bytes);
return {
action: decoded.event.identifier,

View File

@ -19,10 +19,10 @@
"bugs": "https://github.com/polkadot-js/apps/issues",
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-hooks#readme",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"memoizee": "^0.4.14"
},
"devDependencies": {
"@types/memoizee": "^0.4.4"
"@types/memoizee": "^0.4.5"
}
}

View File

@ -8,7 +8,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

View File

@ -19,6 +19,6 @@
"bugs": "https://github.com/polkadot-js/apps/issues",
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-query#readme",
"dependencies": {
"@babel/runtime": "^7.12.1"
"@babel/runtime": "^7.12.5"
}
}

View File

@ -8,7 +8,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@polkadot/react-components": "^0.66.2-14"
}
}

847
yarn.lock

File diff suppressed because it is too large Load Diff