@satorijs/adapter-dingtalk 2.3.1 → 2.4.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.
package/lib/bot.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { Bot, Context, Quester, Schema } from '@satorijs/satori';
1
+ import { Bot, Context, HTTP, Schema } from '@satorijs/core';
2
2
  import { DingtalkMessageEncoder } from './message';
3
3
  import { WsClient } from './ws';
4
4
  import { Internal } from './internal';
5
5
  export declare class DingtalkBot<C extends Context = Context> extends Bot<C, DingtalkBot.Config> {
6
6
  static MessageEncoder: typeof DingtalkMessageEncoder;
7
7
  static inject: string[];
8
- oldHttp: Quester;
9
- http: Quester;
8
+ oldHttp: HTTP;
9
+ http: HTTP;
10
10
  internal: Internal;
11
11
  private refreshTokenTimer;
12
12
  constructor(ctx: C, config: DingtalkBot.Config);
@@ -23,8 +23,8 @@ export declare namespace DingtalkBot {
23
23
  protocol: string;
24
24
  appkey: string;
25
25
  agentId?: number;
26
- api: Quester.Config;
27
- oldApi: Quester.Config;
26
+ api: HTTP.Config;
27
+ oldApi: HTTP.Config;
28
28
  }
29
29
  const Config: Schema<Config>;
30
30
  }
package/lib/http.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Adapter, Context } from '@satorijs/satori';
1
+ import { Adapter, Context } from '@satorijs/core';
2
2
  import { DingtalkBot } from './bot';
3
3
  export declare class HttpServer<C extends Context = Context> extends Adapter<C, DingtalkBot<C>> {
4
4
  static inject: string[];