BREAKING CHANGE: AR/VR devices moved to new device type: xr

This commit is contained in:
Faisal Salman
2024-06-05 15:47:27 +07:00
parent 39590f112d
commit 0543b87c02
5 changed files with 20 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ declare namespace UAParser {
}
interface IDevice extends IData<IDevice> {
type?: 'mobile' | 'tablet' | 'console' | 'smarttv' | 'wearable';
type?: 'mobile' | 'tablet' | 'console' | 'smarttv' | 'wearable' | 'xr' | 'embedded';
vendor?: string;
model?: string;
}
@@ -76,6 +76,7 @@ declare namespace UAParser {
SMARTTV: 'smarttv';
TABLET: 'tablet';
WEARABLE: 'wearable';
XR: 'xr';
EMBEDDED: 'embedded';
};
static readonly ENGINE: {