diff --git a/src/rpc.ts b/src/rpc.ts index 6c16db1..c1dd8a5 100644 --- a/src/rpc.ts +++ b/src/rpc.ts @@ -11,11 +11,24 @@ import { Transport } from "./transport.js"; import { Deserializer } from "./deserializer.js"; import { ModeOfOperationIGE } from "./aes.js"; import { pqPrimeFactorization } from "./pg.js"; -import { SHA1, SHA256, bigIntToBytes, bytesIsEqual, bytesToBigInt, bytesToBytesRaw, concatBytes, getRandomBytes, getRandomInt, intsToLong, longToBytesRaw, xorBytes } from "./common.js" import { Methods, Updates } from "./mtptoto-types.js"; import { RPCError } from "./errors.js"; import { Storage } from "./storage.js"; import { LAYER } from "./config.js"; +import { + SHA1, + SHA256, + bigIntToBytes, + bytesIsEqual, + bytesToBigInt, + bytesToBytesRaw, + concatBytes, + getRandomBytes, + getRandomInt, + intsToLong, + longToBytesRaw, + xorBytes +} from "./common.js" export interface Message { method: string