Commit 52bff7f4 authored by nanahira's avatar nanahira

bump

parent 24351bbe
......@@ -9,7 +9,7 @@
"version": "1.3.0",
"license": "UNLICENSED",
"dependencies": {
"@koishijs/plugin-adapter-onebot": "^4.0.0-beta.3",
"@koishijs/plugin-adapter-onebot": "^4.0.0-rc.0",
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.0.3",
"@nestjs/core": "^8.0.0",
......@@ -18,7 +18,7 @@
"@nestjs/websockets": "^8.1.2",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"koishi": "^4.0.0-beta.4",
"koishi": "^4.0.0-rc.0",
"koishi-nestjs": "^2.2.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
......@@ -1348,28 +1348,28 @@
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
},
"node_modules/@koishijs/core": {
"version": "4.0.0-beta.4",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-beta.4.tgz",
"integrity": "sha512-i+66ZR3mSAIm1pJmC21QID8QhqJDdJ7zmZ8pCn3mPcfZFGiwL8MDMvwuDvG2ceCyILmtzmXwstURrc2tjB+QPg==",
"version": "4.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.0.tgz",
"integrity": "sha512-YHr63LnLxWaRQTYzAKq+xWf4ToYnJ/RI4VxdytOIrchwmRrUDQ19R35eO6yF2KiA+scyEZ4e7QpAIpn2pLmu5g==",
"dependencies": {
"@koishijs/utils": "^5.0.0-beta.1",
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
"schemastery": "^2.1.0"
"schemastery": "^2.1.2"
},
"engines": {
"node": ">=12.0.0"
}
},
"node_modules/@koishijs/plugin-adapter-onebot": {
"version": "4.0.0-beta.3",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0-beta.3.tgz",
"integrity": "sha512-6UWO5qBRHk95UxSfHmPkuwQuAWeLL6T9YnIMlvg9d1EzTQHJWv66FkK4EdJ7Yfs0DoLdFodZ67eLCP707oeYNA==",
"version": "4.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0-rc.0.tgz",
"integrity": "sha512-IU7EQGXt35V73qGRHPn1WBGmdgaMkVky/OestbLAtZq07hQmBCbnZ8HTSakOMx34day+TS5Qn04QSUm/kfVIGA==",
"dependencies": {
"qface": "^1.2.0",
"ws": "^8.2.1"
},
"peerDependencies": {
"koishi": "^4.0.0-beta.3"
"koishi": "^4.0.0-rc.0"
}
},
"node_modules/@koishijs/plugin-adapter-onebot/node_modules/ws": {
......@@ -1393,9 +1393,9 @@
}
},
"node_modules/@koishijs/utils": {
"version": "5.0.0-beta.1",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-5.0.0-beta.1.tgz",
"integrity": "sha512-JZae1kaums2beMH+AVc7jiKYJArnqCgw+1h2kEuvnaiaSHe7qNJp+BAhMJfxrXOe3VZ/oYKoUOd71FNjzaN2RA==",
"version": "5.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-5.0.0-rc.0.tgz",
"integrity": "sha512-aG1FjFB9NKiSqGS/tjjsSnmSfrW5yXQK7aZAR7DhsSaiF+/CdWZ0sQ9XS830xZ6PV1UwKib9alluVMULyWvrbA==",
"dependencies": {
"supports-color": "^8.1.0"
}
......@@ -6868,13 +6868,13 @@
}
},
"node_modules/koishi": {
"version": "4.0.0-beta.4",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-beta.4.tgz",
"integrity": "sha512-H0ci/bZ+wHDCnNmLFM125RI+cdprz3McJLEbyK43tGsGuf2y13BuFb+j1ovb6FBRuT3SXlDqH+BpVMlCV2ZaVg==",
"version": "4.0.0-rc.0",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.0.tgz",
"integrity": "sha512-GhnBVBOzsdny5GwwcC3twDWAKwdtA5Q6P64jtwHxUxq6iV69ttKhmz76xHSWQYM2h9JoOaXyOTO4b7n4M0nTkw==",
"dependencies": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-beta.4",
"@koishijs/utils": "^5.0.0-beta.1",
"@koishijs/core": "^4.0.0-rc.0",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
"@types/ws": "^7.4.7",
......@@ -6883,7 +6883,8 @@
"koa-bodyparser": "^4.3.0",
"parseurl": "^1.3.3",
"path-to-regexp": "^6.2.0",
"proxy-agent": "^5.0.0"
"proxy-agent": "^5.0.0",
"ws": "^8.2.1"
},
"engines": {
"node": ">=12.0.0"
......@@ -6951,6 +6952,26 @@
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.0.tgz",
"integrity": "sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg=="
},
"node_modules/koishi/node_modules/ws": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.4.0.tgz",
"integrity": "sha512-IHVsKe2pjajSUIl4KYMQOdlyliovpEPquKkqbwswulszzI7r0SfQrxnXdWAEqOlDCLrVSJzo+O1hAwdog2sKSQ==",
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
}
},
"node_modules/leven": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
......@@ -8290,9 +8311,9 @@
"dev": true
},
"node_modules/schemastery": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/schemastery/-/schemastery-2.1.0.tgz",
"integrity": "sha512-D5wGNn5lc8GnhTzSl2ClH6RwUB69NMUrIXn6qWJVZSSq1fJtEodL9zXoJUbzoLQlL7rGMuO6entajhZvJY25Tw=="
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/schemastery/-/schemastery-2.1.2.tgz",
"integrity": "sha512-iHwWfKxWaTFgZmKNULNtgyo8VDpdEWx31b6+j0tGTST8dBIYU7VYAHmq5qdYKYZ0uNSM5u57c09cuN75Yf7WwQ=="
},
"node_modules/semver": {
"version": "7.3.5",
......@@ -10905,19 +10926,19 @@
}
},
"@koishijs/core": {
"version": "4.0.0-beta.4",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-beta.4.tgz",
"integrity": "sha512-i+66ZR3mSAIm1pJmC21QID8QhqJDdJ7zmZ8pCn3mPcfZFGiwL8MDMvwuDvG2ceCyILmtzmXwstURrc2tjB+QPg==",
"version": "4.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.0.tgz",
"integrity": "sha512-YHr63LnLxWaRQTYzAKq+xWf4ToYnJ/RI4VxdytOIrchwmRrUDQ19R35eO6yF2KiA+scyEZ4e7QpAIpn2pLmu5g==",
"requires": {
"@koishijs/utils": "^5.0.0-beta.1",
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
"schemastery": "^2.1.0"
"schemastery": "^2.1.2"
}
},
"@koishijs/plugin-adapter-onebot": {
"version": "4.0.0-beta.3",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0-beta.3.tgz",
"integrity": "sha512-6UWO5qBRHk95UxSfHmPkuwQuAWeLL6T9YnIMlvg9d1EzTQHJWv66FkK4EdJ7Yfs0DoLdFodZ67eLCP707oeYNA==",
"version": "4.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0-rc.0.tgz",
"integrity": "sha512-IU7EQGXt35V73qGRHPn1WBGmdgaMkVky/OestbLAtZq07hQmBCbnZ8HTSakOMx34day+TS5Qn04QSUm/kfVIGA==",
"requires": {
"qface": "^1.2.0",
"ws": "^8.2.1"
......@@ -10932,9 +10953,9 @@
}
},
"@koishijs/utils": {
"version": "5.0.0-beta.1",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-5.0.0-beta.1.tgz",
"integrity": "sha512-JZae1kaums2beMH+AVc7jiKYJArnqCgw+1h2kEuvnaiaSHe7qNJp+BAhMJfxrXOe3VZ/oYKoUOd71FNjzaN2RA==",
"version": "5.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-5.0.0-rc.0.tgz",
"integrity": "sha512-aG1FjFB9NKiSqGS/tjjsSnmSfrW5yXQK7aZAR7DhsSaiF+/CdWZ0sQ9XS830xZ6PV1UwKib9alluVMULyWvrbA==",
"requires": {
"supports-color": "^8.1.0"
},
......@@ -15114,13 +15135,13 @@
}
},
"koishi": {
"version": "4.0.0-beta.4",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-beta.4.tgz",
"integrity": "sha512-H0ci/bZ+wHDCnNmLFM125RI+cdprz3McJLEbyK43tGsGuf2y13BuFb+j1ovb6FBRuT3SXlDqH+BpVMlCV2ZaVg==",
"version": "4.0.0-rc.0",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.0.tgz",
"integrity": "sha512-GhnBVBOzsdny5GwwcC3twDWAKwdtA5Q6P64jtwHxUxq6iV69ttKhmz76xHSWQYM2h9JoOaXyOTO4b7n4M0nTkw==",
"requires": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-beta.4",
"@koishijs/utils": "^5.0.0-beta.1",
"@koishijs/core": "^4.0.0-rc.0",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
"@types/ws": "^7.4.7",
......@@ -15129,7 +15150,8 @@
"koa-bodyparser": "^4.3.0",
"parseurl": "^1.3.3",
"path-to-regexp": "^6.2.0",
"proxy-agent": "^5.0.0"
"proxy-agent": "^5.0.0",
"ws": "^8.2.1"
},
"dependencies": {
"axios": {
......@@ -15144,6 +15166,12 @@
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.0.tgz",
"integrity": "sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg=="
},
"ws": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.4.0.tgz",
"integrity": "sha512-IHVsKe2pjajSUIl4KYMQOdlyliovpEPquKkqbwswulszzI7r0SfQrxnXdWAEqOlDCLrVSJzo+O1hAwdog2sKSQ==",
"requires": {}
}
}
},
......@@ -16198,9 +16226,9 @@
}
},
"schemastery": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/schemastery/-/schemastery-2.1.0.tgz",
"integrity": "sha512-D5wGNn5lc8GnhTzSl2ClH6RwUB69NMUrIXn6qWJVZSSq1fJtEodL9zXoJUbzoLQlL7rGMuO6entajhZvJY25Tw=="
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/schemastery/-/schemastery-2.1.2.tgz",
"integrity": "sha512-iHwWfKxWaTFgZmKNULNtgyo8VDpdEWx31b6+j0tGTST8dBIYU7VYAHmq5qdYKYZ0uNSM5u57c09cuN75Yf7WwQ=="
},
"semver": {
"version": "7.3.5",
......
......@@ -21,7 +21,7 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@koishijs/plugin-adapter-onebot": "^4.0.0-beta.3",
"@koishijs/plugin-adapter-onebot": "^4.0.0-rc.0",
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.0.3",
"@nestjs/core": "^8.0.0",
......@@ -30,7 +30,7 @@
"@nestjs/websockets": "^8.1.2",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"koishi": "^4.0.0-beta.4",
"koishi": "^4.0.0-rc.0",
"koishi-nestjs": "^2.2.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
......
......@@ -17,7 +17,7 @@ export class WaitBotService {
});
}
@UseEvent('bot-updated')
@UseEvent('bot-status-updated')
onBotChanged(bot: Bot) {
if (bot.status !== 'online') {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment