File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,25 @@ export type FingerprintGeneratorOptions = {
1616
1717}
1818
19- export enum BrowserName {
19+ export const enum BrowserName {
2020 chrome = 'chrome' ,
2121 firefox = 'firefox' ,
2222 safari = 'safari' ,
2323}
2424
25- type BrowserSpecification = {
25+ export type BrowserSpecification = {
2626 name : BrowserName ;
2727 minVersion ?: number ;
2828 maxVersion ?: number ;
2929}
3030
31- export enum OperatingSystemsName {
31+ export const enum OperatingSystemsName {
3232 linux = 'linux' ,
3333 macos = 'macos' ,
3434 windows = 'windows' ,
3535}
3636
37- export enum DeviceCategory {
37+ export const enum DeviceCategory {
3838 mobile = 'mobile' ,
3939 desktop = 'desktop' ,
4040}
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ export * from './browser-pool';
2626export * from './playwright/playwright-plugin' ;
2727export * from './puppeteer/puppeteer-plugin' ;
2828export * from './events' ;
29+ export {
30+ BrowserName ,
31+ DeviceCategory ,
32+ OperatingSystemsName ,
33+ } from './fingerprinting/types' ;
2934
3035// Type exports
3136export type {
@@ -42,3 +47,9 @@ export type {
4247 LaunchContext ,
4348 LaunchContextOptions ,
4449} from './launch-context' ;
50+ export type {
51+ BrowserSpecification ,
52+ FingerprintGenerator ,
53+ FingerprintGeneratorOptions ,
54+ GetFingerprintReturn ,
55+ } from './fingerprinting/types' ;
You can’t perform that action at this time.
0 commit comments