Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(suite-data): extend browser support #13696

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/connect/src/data/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ export const config = {
download: 'https://www.microsoft.com/en-us/edge',
update: 'https://www.microsoft.com/en-us/edge',
},
opera: {
// Chromium based
version: 95,
download: 'https://www.opera.com/download',
update: 'https://www.opera.com/download',
},
},
supportedFirmware: [
{
Expand Down
4 changes: 3 additions & 1 deletion packages/suite-build/browserslist
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Chrome >= 92
Firefox >= 102
Firefox >= 102
Edge >= 92
Opera >= 95
16 changes: 16 additions & 0 deletions packages/suite-data/src/browser-detection/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,22 @@ window.addEventListener('load', () => {
version: 102,
mobile: false, // no webusb support
},
// Other Chromium based browsers
{
name: 'brave',
version: 59,
mobile: true,
},
{
name: 'edge',
version: 92, // Edge 92 is based on Chromium 92
mobile: true,
},
{
name: 'opera',
version: 95,
mobile: true,
},
] as const;

const browserName = getBrowserName();
Expand Down
Loading