1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 03:20:23 +01:00
metamask-extension/shared/modules/mv3.utils.js

5 lines
130 B
JavaScript
Raw Normal View History

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