koishi-plugin-bilirice 0.0.6 → 0.0.7

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Context, Schema } from 'koishi';
2
2
  export declare const name = "koishi-plugin-bilirice";
3
+ export declare const inject: string[];
3
4
  export interface Config {
4
5
  roomId: number;
5
6
  channelId: string;
package/lib/index.js CHANGED
@@ -32,6 +32,7 @@ var src_exports = {};
32
32
  __export(src_exports, {
33
33
  Config: () => Config,
34
34
  apply: () => apply,
35
+ inject: () => inject,
35
36
  name: () => name
36
37
  });
37
38
  module.exports = __toCommonJS(src_exports);
@@ -81,6 +82,7 @@ var LiveSession = class {
81
82
  // src/index.ts
82
83
  var import_ws = __toESM(require("ws"));
83
84
  var name = "koishi-plugin-bilirice";
85
+ var inject = ["database"];
84
86
  var logger = new import_koishi.Logger("bilirice");
85
87
  var Config = import_koishi.Schema.object({
86
88
  roomId: import_koishi.Schema.number().description("Bilibili 直播间 room_id").required(),
@@ -217,5 +219,6 @@ __name(apply, "apply");
217
219
  0 && (module.exports = {
218
220
  Config,
219
221
  apply,
222
+ inject,
220
223
  name
221
224
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-bilirice",
3
3
  "description": "这是一个bilibili直播间事件监控插件",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [