Skip to content

Commit

Permalink
docs: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 31, 2023
1 parent 1926e24 commit ad8e29a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/zhi-device/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-device",
"version": "0.8.0",
"version": "0.9.0",
"type": "module",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down
4 changes: 0 additions & 4 deletions libs/zhi-device/src/lib/browserUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ class BrowserUtil {
* 是否是Electron环境
*/
public static isElectron = () => {
if (!BrowserUtil.isInBrowser || !window.navigator || !window.navigator.userAgent) {
return false
}

return typeof process !== "undefined" && process.versions != null && process.versions.electron != null
}

Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-xmlrpc-middleware/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-xmlrpc-middleware",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"description": "abstract xmlrpc middle layer",
"main": "./dist/index.js",
Expand Down

0 comments on commit ad8e29a

Please sign in to comment.