@acidify/core 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -926,6 +926,16 @@ export declare namespace UnstableNetworkException {
926
926
  const constructor: abstract new () => UnstableNetworkException;
927
927
  }
928
928
  }
929
+ export declare class UrlSignException extends /* Exception */ Error {
930
+ constructor(msg: string, code: number);
931
+ get code(): number;
932
+ }
933
+ export declare namespace UrlSignException {
934
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
935
+ namespace $metadata$ {
936
+ const constructor: abstract new () => UrlSignException;
937
+ }
938
+ }
929
939
  export declare class WebApiException extends /* Exception */ Error {
930
940
  private constructor();
931
941
  get statusCode(): number;
@@ -2141,6 +2151,7 @@ export declare abstract class AbstractBot /* implements CoroutineScope */ {
2141
2151
  get uin(): bigint;
2142
2152
  get uid(): string;
2143
2153
  get isLoggedIn(): boolean;
2154
+ unsafeSendPacket(cmd: string, payload: Int8Array, timeoutMillis?: bigint): Promise<SsoResponse>;
2144
2155
  online(preloadContacts?: boolean): Promise<void>;
2145
2156
  offline(): Promise<void>;
2146
2157
  fetchUserInfoByUin(uin: bigint): Promise<BotUserInfo>;
@@ -2319,7 +2330,6 @@ export declare namespace AndroidUrlSignProvider {
2319
2330
  export declare class Bot extends AbstractBot.$metadata$.constructor {
2320
2331
  private constructor();
2321
2332
  protected get bot(): any/* Bot */;
2322
- unsafeSendPacket(cmd: string, payload: Int8Array, timeoutMillis?: bigint): Promise<SsoResponse>;
2323
2333
  login(queryInterval?: bigint, preloadContacts?: boolean): Promise<void>;
2324
2334
  qrCodeLogin(queryInterval?: bigint, preloadContacts?: boolean): Promise<void>;
2325
2335
  static create(appInfo: AppInfo, sessionStore: SessionStore, signProvider: SignProvider, jsScope: CoroutineScope, minLogLevel: LogLevel, logHandler: LogHandler): Promise<Bot>;