mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 09:49:24 +02:00
chore: update dependencies
This commit is contained in:
parent
599351c9b1
commit
dce44ae9ac
36 changed files with 742 additions and 922 deletions
|
@ -4,7 +4,6 @@ import type {
|
|||
Consumable,
|
||||
PushReadableStreamController,
|
||||
ReadableStream,
|
||||
ReadableWritablePair,
|
||||
WritableStream,
|
||||
} from "@yume-chan/stream-extra";
|
||||
import {
|
||||
|
@ -15,7 +14,7 @@ import {
|
|||
pipeFrom,
|
||||
} from "@yume-chan/stream-extra";
|
||||
|
||||
import type { Closeable } from "../adb.js";
|
||||
import type { AdbSocket } from "../adb.js";
|
||||
|
||||
import type { AdbPacketDispatcher } from "./dispatcher.js";
|
||||
import { AdbCommand } from "./packet.js";
|
||||
|
@ -36,11 +35,7 @@ export interface AdbDaemonSocketConstructionOptions
|
|||
}
|
||||
|
||||
export class AdbDaemonSocketController
|
||||
implements
|
||||
AdbDaemonSocketInfo,
|
||||
ReadableWritablePair<Uint8Array, Consumable<Uint8Array>>,
|
||||
Closeable,
|
||||
Disposable
|
||||
implements AdbDaemonSocketInfo, AdbSocket, Disposable
|
||||
{
|
||||
readonly #dispatcher!: AdbPacketDispatcher;
|
||||
|
||||
|
@ -175,11 +170,7 @@ export class AdbDaemonSocketController
|
|||
* `socket.writable.abort()`, `socket.writable.getWriter().abort()`,
|
||||
* `socket.writable.close()` or `socket.writable.getWriter().close()`.
|
||||
*/
|
||||
export class AdbDaemonSocket
|
||||
implements
|
||||
AdbDaemonSocketInfo,
|
||||
ReadableWritablePair<Uint8Array, Consumable<Uint8Array>>
|
||||
{
|
||||
export class AdbDaemonSocket implements AdbDaemonSocketInfo, AdbSocket {
|
||||
#controller: AdbDaemonSocketController;
|
||||
|
||||
get localId(): number {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue