Loading libraries/adb-backend-direct-sockets/src/index.ts +3 −7 Original line number Diff line number Diff line import { AdbPacket, AdbPacketSerializeStream, type AdbBackend, } from "@yume-chan/adb"; import type { AdbBackend } from "@yume-chan/adb"; import { AdbPacket, AdbPacketSerializeStream } from "@yume-chan/adb"; import type { ReadableStream, WritableStream } from "@yume-chan/stream-extra"; import { StructDeserializeStream, WrapReadableStream, WrapWritableStream, pipeFrom, type ReadableStream, type WritableStream, } from "@yume-chan/stream-extra"; declare global { Loading libraries/adb-backend-webusb/src/backend.ts +5 −12 Original line number Diff line number Diff line import { AdbPacketHeader, AdbPacketSerializeStream, type AdbBackend, type AdbPacketData, type AdbPacketInit, } from "@yume-chan/adb"; import type { AdbBackend, AdbPacketData, AdbPacketInit } from "@yume-chan/adb"; import { AdbPacketHeader, AdbPacketSerializeStream } from "@yume-chan/adb"; import type { ReadableWritablePair } from "@yume-chan/stream-extra"; import { DuplexStreamFactory, ReadableStream, WritableStream, pipeFrom, type ReadableWritablePair, } from "@yume-chan/stream-extra"; import { EMPTY_UINT8_ARRAY, type StructDeserializeStream, } from "@yume-chan/struct"; import type { StructDeserializeStream } from "@yume-chan/struct"; import { EMPTY_UINT8_ARRAY } from "@yume-chan/struct"; /** * `classCode`, `subclassCode` and `protocolCode` are required Loading libraries/adb-backend-ws/src/index.ts +2 −5 Original line number Diff line number Diff line import { AdbPacket, AdbPacketSerializeStream, type AdbBackend, } from "@yume-chan/adb"; import type { AdbBackend } from "@yume-chan/adb"; import { AdbPacket, AdbPacketSerializeStream } from "@yume-chan/adb"; import { DuplexStreamFactory, ReadableStream, Loading libraries/adb-credential-web/src/index.ts +1 −1 Original line number Diff line number Diff line // cspell: ignore RSASSA import type { AdbCredentialStore } from "@yume-chan/adb"; import { calculateBase64EncodedLength, calculatePublicKey, Loading @@ -7,7 +8,6 @@ import { decodeBase64, decodeUtf8, encodeBase64, type AdbCredentialStore, } from "@yume-chan/adb"; export default class AdbWebCredentialStore implements AdbCredentialStore { Loading libraries/adb/src/adb.ts +10 −14 Original line number Diff line number Diff line import { PromiseResolver } from "@yume-chan/async"; import type { ReadableWritablePair } from "@yume-chan/stream-extra"; import { AbortController, DecodeUtf8Stream, GatherStringStream, WritableStream, type ReadableWritablePair, } from "@yume-chan/stream-extra"; import type { AdbCredentialStore } from "./auth.js"; import { ADB_DEFAULT_AUTHENTICATORS, AdbAuthenticationProcessor, type AdbCredentialStore, } from "./auth.js"; import type { AdbFrameBuffer } from "./commands/index.js"; import { AdbPower, AdbReverseCommand, Loading @@ -21,21 +22,16 @@ import { escapeArg, framebuffer, install, type AdbFrameBuffer, } from "./commands/index.js"; import { AdbFeatures } from "./features.js"; import { AdbCommand, calculateChecksum, type AdbPacketData, type AdbPacketInit, } from "./packet.js"; import { AdbPacketDispatcher, type AdbIncomingSocketHandler, type AdbSocket, type Closeable, import type { AdbPacketData, AdbPacketInit } from "./packet.js"; import { AdbCommand, calculateChecksum } from "./packet.js"; import type { AdbIncomingSocketHandler, AdbSocket, Closeable, } from "./socket/index.js"; import { AdbPacketDispatcher } from "./socket/index.js"; import { decodeUtf8, encodeUtf8 } from "./utils/index.js"; export enum AdbPropKey { Loading Loading
libraries/adb-backend-direct-sockets/src/index.ts +3 −7 Original line number Diff line number Diff line import { AdbPacket, AdbPacketSerializeStream, type AdbBackend, } from "@yume-chan/adb"; import type { AdbBackend } from "@yume-chan/adb"; import { AdbPacket, AdbPacketSerializeStream } from "@yume-chan/adb"; import type { ReadableStream, WritableStream } from "@yume-chan/stream-extra"; import { StructDeserializeStream, WrapReadableStream, WrapWritableStream, pipeFrom, type ReadableStream, type WritableStream, } from "@yume-chan/stream-extra"; declare global { Loading
libraries/adb-backend-webusb/src/backend.ts +5 −12 Original line number Diff line number Diff line import { AdbPacketHeader, AdbPacketSerializeStream, type AdbBackend, type AdbPacketData, type AdbPacketInit, } from "@yume-chan/adb"; import type { AdbBackend, AdbPacketData, AdbPacketInit } from "@yume-chan/adb"; import { AdbPacketHeader, AdbPacketSerializeStream } from "@yume-chan/adb"; import type { ReadableWritablePair } from "@yume-chan/stream-extra"; import { DuplexStreamFactory, ReadableStream, WritableStream, pipeFrom, type ReadableWritablePair, } from "@yume-chan/stream-extra"; import { EMPTY_UINT8_ARRAY, type StructDeserializeStream, } from "@yume-chan/struct"; import type { StructDeserializeStream } from "@yume-chan/struct"; import { EMPTY_UINT8_ARRAY } from "@yume-chan/struct"; /** * `classCode`, `subclassCode` and `protocolCode` are required Loading
libraries/adb-backend-ws/src/index.ts +2 −5 Original line number Diff line number Diff line import { AdbPacket, AdbPacketSerializeStream, type AdbBackend, } from "@yume-chan/adb"; import type { AdbBackend } from "@yume-chan/adb"; import { AdbPacket, AdbPacketSerializeStream } from "@yume-chan/adb"; import { DuplexStreamFactory, ReadableStream, Loading
libraries/adb-credential-web/src/index.ts +1 −1 Original line number Diff line number Diff line // cspell: ignore RSASSA import type { AdbCredentialStore } from "@yume-chan/adb"; import { calculateBase64EncodedLength, calculatePublicKey, Loading @@ -7,7 +8,6 @@ import { decodeBase64, decodeUtf8, encodeBase64, type AdbCredentialStore, } from "@yume-chan/adb"; export default class AdbWebCredentialStore implements AdbCredentialStore { Loading
libraries/adb/src/adb.ts +10 −14 Original line number Diff line number Diff line import { PromiseResolver } from "@yume-chan/async"; import type { ReadableWritablePair } from "@yume-chan/stream-extra"; import { AbortController, DecodeUtf8Stream, GatherStringStream, WritableStream, type ReadableWritablePair, } from "@yume-chan/stream-extra"; import type { AdbCredentialStore } from "./auth.js"; import { ADB_DEFAULT_AUTHENTICATORS, AdbAuthenticationProcessor, type AdbCredentialStore, } from "./auth.js"; import type { AdbFrameBuffer } from "./commands/index.js"; import { AdbPower, AdbReverseCommand, Loading @@ -21,21 +22,16 @@ import { escapeArg, framebuffer, install, type AdbFrameBuffer, } from "./commands/index.js"; import { AdbFeatures } from "./features.js"; import { AdbCommand, calculateChecksum, type AdbPacketData, type AdbPacketInit, } from "./packet.js"; import { AdbPacketDispatcher, type AdbIncomingSocketHandler, type AdbSocket, type Closeable, import type { AdbPacketData, AdbPacketInit } from "./packet.js"; import { AdbCommand, calculateChecksum } from "./packet.js"; import type { AdbIncomingSocketHandler, AdbSocket, Closeable, } from "./socket/index.js"; import { AdbPacketDispatcher } from "./socket/index.js"; import { decodeUtf8, encodeUtf8 } from "./utils/index.js"; export enum AdbPropKey { Loading