koishi-plugin-bilibili-notify 1.0.0-rc.1 → 1.0.0-rc.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/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/package.json +1 -7
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.apply = exports.Config = exports.name = void 0;
|
|
29
|
+
exports.apply = exports.Config = exports.name = exports.inject = void 0;
|
|
30
30
|
const koishi_1 = require("koishi");
|
|
31
31
|
// import crypto
|
|
32
32
|
// import crypto from 'crypto'
|
|
@@ -38,6 +38,7 @@ const Database = __importStar(require("./database"));
|
|
|
38
38
|
const wbi_1 = __importDefault(require("./wbi"));
|
|
39
39
|
const generateImg_1 = __importDefault(require("./generateImg"));
|
|
40
40
|
const biliAPI_1 = __importDefault(require("./biliAPI"));
|
|
41
|
+
exports.inject = ['puppeteer', 'database'];
|
|
41
42
|
exports.name = 'bilibili-notify';
|
|
42
43
|
exports.Config = koishi_1.Schema.object({
|
|
43
44
|
pushTime: koishi_1.Schema.number()
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-bilibili-notify",
|
|
3
3
|
"description": "Koishi bilibili notify plugin",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.2",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Akokko <admin@akokko.com>"
|
|
7
7
|
],
|
|
@@ -36,12 +36,6 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"koishi-plugin-puppeteer": "^3.7.3"
|
|
38
38
|
},
|
|
39
|
-
"service": {
|
|
40
|
-
"required": [
|
|
41
|
-
"puppeteer",
|
|
42
|
-
"database"
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
39
|
"koishi": {
|
|
46
40
|
"preview": true,
|
|
47
41
|
"service": {
|