-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] Multibrowser compatibility (#564)
* Change from chrome to browser which is extended by webextension-polyfill * updated yarn.lock * fix: fixed font sizes on Firefox. * core: added multi manifest/browser logic on build scripts. * core: changed how makefile builds the extension. added logic for firefox. * core: finished Makefile changes. * style: fixed font on popupage for firefox. * fix: layout fixes. * style: fixed visual issues. * feat: added browser detection and disabled Ledger. TODO: message. * feat: added message to ledger. * lint: fixed lint. * tests: fixed tests. * fix: fixed UI tests. * fix: invalid html properties. * fix: fixed default network logo. * fix: replaced remaining chrome references. * Fixing 'DataCloneError' error - https://bugzilla.mozilla.org/show_bug.cgi?id=1370884 - https://stackoverflow.com/questions/68467946/datacloneerror-the-object-could-not-be-cloned-firefox-browser - https://stackoverflow.com/questions/44386656/datacloneerror-the-object-could-not-be-cloned * core: updated release pipeline. * test: release process testing. * core: fixed new manifest path. * core: updated NodeJS for background and provider packages. * core: upgraded NodeJS, react-scripts and webpack versions along with all config and script files. * fix: changed back isolated modules config. * fix: visual fixes. * core: upgraded package versions. * core: fixed webpack config to build chunks and corrected imports. * fix: reconstructed yarn.lock files and background build problems. * fix: lint fix. * fix: lint --------- Co-authored-by: Martin Lecam <[email protected]> Co-authored-by: Rodrigo <[email protected]>
- Loading branch information
1 parent
43e7c0a
commit 7d28076
Showing
87 changed files
with
10,148 additions
and
10,181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ eslint-report.html | |
# production | ||
/build | ||
/dist | ||
/dist-firefox | ||
|
||
# misc | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v14.17.6 | ||
v18.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"background": { | ||
"scripts": [ | ||
"hot-reload.js", | ||
"background.js" | ||
] | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"js": [ | ||
"content.js" | ||
], | ||
"matches": [ | ||
"http://*/*", | ||
"https://*/*" | ||
], | ||
"exclude_matches": [ | ||
"https://block-wallet.github.io/eth-ledger-bridge-keyring/*", | ||
"https://connect.trezor.io/*" | ||
], | ||
"run_at": "document_start", | ||
"all_frames": true | ||
}, | ||
{ | ||
"js": [ | ||
"vendor/trezor/trezor-content.js" | ||
], | ||
"matches": [ | ||
"*://connect.trezor.io/*/popup.html" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"background": { | ||
"scripts": [ | ||
"browser-polyfill.min.js", | ||
"background.js" | ||
] | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"js": [ | ||
"browser-polyfill.min.js", | ||
"content.js" | ||
], | ||
"matches": [ | ||
"http://*/*", | ||
"https://*/*" | ||
], | ||
"exclude_matches": [ | ||
"https://block-wallet.github.io/eth-ledger-bridge-keyring/*", | ||
"https://connect.trezor.io/*" | ||
], | ||
"run_at": "document_start", | ||
"all_frames": true | ||
}, | ||
{ | ||
"js": [ | ||
"browser-polyfill.min.js", | ||
"vendor/trezor/trezor-content.js" | ||
], | ||
"matches": [ | ||
"*://connect.trezor.io/*/popup.html" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ | |
"build": "make build", | ||
"build-prod": "make build/prod", | ||
"test": "make test" | ||
} | ||
} | ||
}, | ||
"dependencies": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v14.17.6 | ||
v18.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.