diff --git a/index.d.ts b/index.d.ts index 6dc2c90..8febd56 100644 --- a/index.d.ts +++ b/index.d.ts @@ -9,14 +9,14 @@ declare interface NavigatorUA { } // https://wicg.github.io/ua-client-hints/#dictdef-navigatoruabrandversion -interface NavigatorUADataBrandVersion { +interface NavigatorUABrandVersion { readonly brand: string; readonly version: string; } // https://wicg.github.io/ua-client-hints/#dictdef-uadatavalues interface UADataValues { - readonly brands?: NavigatorUADataBrandVersion[]; + readonly brands?: NavigatorUABrandVersion[]; readonly mobile?: boolean; readonly platform?: string; readonly architecture?: string; @@ -28,7 +28,7 @@ interface UADataValues { // https://wicg.github.io/ua-client-hints/#dictdef-ualowentropyjson interface UALowEntropyJSON { - readonly brands: NavigatorUADataBrandVersion[]; + readonly brands: NavigatorUABrandVersion[]; readonly mobile: boolean; readonly platform: string; } diff --git a/package.json b/package.json index bd6e7da..9d2e663 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "user-agent-data-types", - "version": "0.1.0", + "version": "0.2.0", "description": "Type definition for navigator.userAgentData", "keywords": [ "user-agent",