1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/shared/modules/mv3.utils.js
2022-05-26 10:18:23 +05:30

5 lines
136 B
JavaScript

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