1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-21 17:37:01 +01:00
metamask-extension/shared/modules/mv3.utils.js
2022-08-16 20:51:42 +05:30

5 lines
130 B
JavaScript

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