Skip to content

Commit

Permalink
+getHighEntropyValues
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jul 27, 2024
1 parent bccbbb2 commit 1d93c12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,9 @@ declare interface VMScriptGMInfoObject {
platform: VMScriptGMInfoPlatform;
/**
* A copy of navigator.userAgentData from the content script of the extension.
* Not present in browsers that don't implement this API.
* @since VM2.20.2 */
userAgentData?: {
brands: {brand: string, version: string}[],
mobile: boolean,
platform: string,
};
userAgentData?: NavigatorUAData;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"repository": "[email protected]:violentmonkey/types.git",
"devDependencies": {
"typedoc": "^0.25.6",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"user-agent-data-types": "^0.4.2"
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"allowSyntheticDefaultImports": true
},
"include": [
"./node_modules/user-agent-data-types/index.d.ts",
"index.d.ts"
]
}

0 comments on commit 1d93c12

Please sign in to comment.