mirror of
https://github.com/andrei0x309/clear-wallet.git
synced 2024-11-18 23:41:10 +00:00
changes for: 1.1.9
This commit is contained in:
parent
640dbd3e4c
commit
cd8e6c4411
@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## Manifest Version 1.1.9
|
||||
|
||||
- added proxy in intial stub for send, request, sendAsync for better compatibility
|
||||
|
||||
## Manifest Version 1.1.8
|
||||
|
||||
- added support to extract private key from seed when adding account
|
||||
|
||||
## Manifest Version 1.1.7
|
||||
|
||||
- added support for eth get code method
|
||||
|
@ -6,8 +6,13 @@
|
||||
// Add MetamaskAPI STUB for wallets lib to detect wallet exists
|
||||
window.ethereum = {
|
||||
isMetaMask: true,
|
||||
isConnected: () => false
|
||||
}`;
|
||||
isConnected: () => true,
|
||||
request: (a,b,c) => window.ethereum.request(a,b,c),
|
||||
sendAsync: (a,b,c) => window.ethereum.sendAsync(a,b,c),
|
||||
send: (a,b,c) => window.ethereum.send(a,b,c),
|
||||
}
|
||||
|
||||
`;
|
||||
document.documentElement.setAttribute('onreset', metamaskStub);
|
||||
document.documentElement.dispatchEvent(new CustomEvent('reset'));
|
||||
document.documentElement.removeAttribute('onreset');
|
||||
|
@ -3,8 +3,8 @@
|
||||
"name": "__MSG_appName__",
|
||||
"description": "__MSG_appDesc__",
|
||||
"default_locale": "en",
|
||||
"version": "1.1.7",
|
||||
"version_name": "1.1.7",
|
||||
"version": "1.1.9",
|
||||
"version_name": "1.1.9",
|
||||
"icons": {
|
||||
"16": "assets/extension-icon/wallet_16.png",
|
||||
"32": "assets/extension-icon/wallet_32.png",
|
||||
|
Loading…
Reference in New Issue
Block a user