Loading libraries/adb-daemon-webusb/src/manager.ts +2 −3 Original line number Diff line number Diff line Loading @@ -18,11 +18,10 @@ export class AdbDaemonWebUsbDeviceManager { * * May be `undefined` if current runtime does not support WebUSB. */ static readonly BROWSER = /* #__PURE__ */ (() => { static readonly BROWSER = /* #__PURE__ */ (() => typeof globalThis.navigator !== "undefined" && globalThis.navigator.usb ? new AdbDaemonWebUsbDeviceManager(globalThis.navigator.usb) : undefined; })(); : undefined)(); #usbManager: USB; Loading libraries/adb/src/server/commands/wireless.ts +0 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ import { hexToNumber, sequenceEqual } from "../../utils/index.js"; import type { AdbServerClient } from "../client.js"; import { FAIL } from "../stream.js"; export class NetworkError extends Error { Loading Loading
libraries/adb-daemon-webusb/src/manager.ts +2 −3 Original line number Diff line number Diff line Loading @@ -18,11 +18,10 @@ export class AdbDaemonWebUsbDeviceManager { * * May be `undefined` if current runtime does not support WebUSB. */ static readonly BROWSER = /* #__PURE__ */ (() => { static readonly BROWSER = /* #__PURE__ */ (() => typeof globalThis.navigator !== "undefined" && globalThis.navigator.usb ? new AdbDaemonWebUsbDeviceManager(globalThis.navigator.usb) : undefined; })(); : undefined)(); #usbManager: USB; Loading
libraries/adb/src/server/commands/wireless.ts +0 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ import { hexToNumber, sequenceEqual } from "../../utils/index.js"; import type { AdbServerClient } from "../client.js"; import { FAIL } from "../stream.js"; export class NetworkError extends Error { Loading