1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/shared/modules/mv3.utils.js

5 lines
136 B
JavaScript
Raw Normal View History

2022-05-26 06:48:23 +02:00
import browser from 'webextension-polyfill';
export const isManifestV3 = () =>
browser.runtime.getManifest().manifest_version === 3;