1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/shared/modules/mv3.utils.js
Dan Miller bc6c60cde1 Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
This reverts commit 4d42715220, reversing
changes made to f09ab88891.
2022-06-29 13:03:10 -02:30

5 lines
136 B
JavaScript

import browser from 'webextension-polyfill';
export const isManifestV3 = () =>
browser.runtime.getManifest().manifest_version === 3;