BREAKING CHANGE - Add new property to browser: type

This commit is contained in:
Faisal Salman
2024-06-02 23:04:25 +07:00
parent 1a22c6951f
commit 39590f112d
8 changed files with 25 additions and 14 deletions

View File

@@ -144,6 +144,14 @@ const Browser = Object.freeze({
// TODO : test!
});
const BrowserType = Object.freeze({
BOT: 'bot',
CLI: 'cli',
EMAIL: 'email',
INAPP: 'inapp',
MODULE: 'module'
});
const CPU = Object.freeze({
ARM : 'arm',
ARM_64: 'arm64',
@@ -341,7 +349,8 @@ const OS = Object.freeze({
});
module.exports = {
Browser,
Browser,
BrowserType,
CPU,
Device,
Vendor,