Ui 2 packages (#6169)
* Ensure all internal dapps have package.json * Update compilation rules # Conflicts: # js/src/redux/providers/balancesActions.js # js/src/ui/Form/TypedInput/typedInput.js * Remove SignerIcon * Cleanup providers * Enable request of new token from app * Queue when no token (yet) * Add location & token request * Cleanup send logic * Request token * Request comms token * Remove yarn.lock (not updated) * Update version to 1.99.99 (publish prepare) * Move jsonrpc to seperate repo * Update jsonrpc references * Update repo info * Update repo info * Additional debugging * Update repo references * Move ABI to js-abi repo * Move webWorker to shared * Fix package reference * Worker location * Move js-ui & js-shared components * Update file references * Update package repo locations * Remove debugging info * Cleanup debug * Split api into own repo * Update api local references * Update app loading * Update dependencies * Allow serving of /parity-utils * Error when EthereumProvider has not been attached * Use inject.js * Correct appId retrieval
This commit is contained in:
@@ -18,4 +18,8 @@ import Api from '@parity/api';
|
||||
|
||||
const ethereumProvider = window.ethereum || window.parent.ethereum;
|
||||
|
||||
if (!ethereumProvider) {
|
||||
throw new Error('Unable to locate EthereumProvider, object not attached');
|
||||
}
|
||||
|
||||
export default new Api(ethereumProvider);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@parity/dapp-develop",
|
||||
"description": "Parity contract development interface",
|
||||
"version": "0.0.0",
|
||||
"version": "1.99.99",
|
||||
"main": "index.js",
|
||||
"author": "Parity Team <admin@parity.io>",
|
||||
"maintainers": [],
|
||||
@@ -9,7 +9,7 @@
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/paritytech/parity.git"
|
||||
"url": "git+https://github.com/paritytech/dapp-develop.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"scripts": {},
|
||||
|
||||
Reference in New Issue
Block a user