changes for: 1.1.9

This commit is contained in:
Andrei O 2022-12-21 19:50:19 +02:00
parent 640dbd3e4c
commit 3d9c635f6c
No known key found for this signature in database
GPG Key ID: B961E5B68389457E
6 changed files with 20 additions and 5 deletions

View File

@ -1,5 +1,13 @@
# Changelog # 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 ## Manifest Version 1.1.7
- added support for eth get code method - added support for eth get code method

View File

@ -6,6 +6,8 @@
Simple EVM wallet chrome extension implementation using ethers, mv3, ionc, vue. Simple EVM wallet chrome extension implementation using ethers, mv3, ionc, vue.
![Featured on Alchemy](/repo_res/alchemy.png?raw=true "Featured on Alchemy")
### Extended article abut this repo ### Extended article abut this repo
[Article on Mirror](https://mirror.xyz/andrei0x309.eth/9nc8UXrGIGOvz694ZY2gouS1JM9L8-Z8ITLNtirqD6Q) [Article on Mirror](https://mirror.xyz/andrei0x309.eth/9nc8UXrGIGOvz694ZY2gouS1JM9L8-Z8ITLNtirqD6Q)

View File

@ -1,6 +1,6 @@
{ {
"name": "clear-wallet", "name": "clear-wallet",
"version": "1.1.8", "version": "1.1.9",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

BIN
repo_res/alchemy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

View File

@ -6,8 +6,13 @@
// Add MetamaskAPI STUB for wallets lib to detect wallet exists // Add MetamaskAPI STUB for wallets lib to detect wallet exists
window.ethereum = { window.ethereum = {
isMetaMask: true, 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.setAttribute('onreset', metamaskStub);
document.documentElement.dispatchEvent(new CustomEvent('reset')); document.documentElement.dispatchEvent(new CustomEvent('reset'));
document.documentElement.removeAttribute('onreset'); document.documentElement.removeAttribute('onreset');

View File

@ -3,8 +3,8 @@
"name": "__MSG_appName__", "name": "__MSG_appName__",
"description": "__MSG_appDesc__", "description": "__MSG_appDesc__",
"default_locale": "en", "default_locale": "en",
"version": "1.1.7", "version": "1.1.9",
"version_name": "1.1.7", "version_name": "1.1.9",
"icons": { "icons": {
"16": "assets/extension-icon/wallet_16.png", "16": "assets/extension-icon/wallet_16.png",
"32": "assets/extension-icon/wallet_32.png", "32": "assets/extension-icon/wallet_32.png",