Commit 1651d76f authored by nanahira's avatar nanahira

catchup

parent d9d6a979
......@@ -9,7 +9,7 @@
"version": "3.0.0",
"license": "MIT",
"dependencies": {
"koishi-thirdeye": "^7.0.2",
"koishi-thirdeye": "^7.2.0",
"source-map-support": "^0.5.21"
},
"devDependencies": {
......@@ -19,7 +19,7 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1",
"koishi": "^4.0.0-rc.2",
"prettier": "^2.5.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.2.6",
......@@ -209,9 +209,9 @@
}
},
"node_modules/@koishijs/core": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"dependencies": {
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
......@@ -2612,12 +2612,12 @@
}
},
"node_modules/koishi": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"dependencies": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-rc.1",
"@koishijs/core": "^4.0.0-rc.2",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
......@@ -2636,9 +2636,9 @@
}
},
"node_modules/koishi-thirdeye": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==",
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"dependencies": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
......@@ -2646,10 +2646,10 @@
"reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8"
"typed-reflector": "^1.0.9"
},
"peerDependencies": {
"koishi": "^4.0.0-rc.1"
"koishi": "^4.0.0-rc.2"
}
},
"node_modules/levn": {
......@@ -4031,9 +4031,9 @@
}
},
"node_modules/typed-reflector": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"dependencies": {
"reflect-metadata": "^0.1.13"
}
......@@ -4475,9 +4475,9 @@
}
},
"@koishijs/core": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"requires": {
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
......@@ -6298,12 +6298,12 @@
}
},
"koishi": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"requires": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-rc.1",
"@koishijs/core": "^4.0.0-rc.2",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
......@@ -6319,9 +6319,9 @@
}
},
"koishi-thirdeye": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==",
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"requires": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
......@@ -6329,7 +6329,7 @@
"reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8"
"typed-reflector": "^1.0.9"
}
},
"levn": {
......@@ -7307,9 +7307,9 @@
}
},
"typed-reflector": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"requires": {
"reflect-metadata": "^0.1.13"
}
......
......@@ -28,7 +28,7 @@
"koishi": "^4.0.0-beta.4"
},
"dependencies": {
"koishi-thirdeye": "^7.0.2",
"koishi-thirdeye": "^7.2.0",
"source-map-support": "^0.5.21"
},
"devDependencies": {
......@@ -38,7 +38,7 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1",
"koishi": "^4.0.0-rc.2",
"prettier": "^2.5.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.2.6",
......
......@@ -2,7 +2,7 @@ import 'source-map-support/register';
import { Bot, Context, Logger, Session } from 'koishi';
import { GuildVerifierConfig, GuildVerifierConfigLike } from './config';
import {
KoishiPlugin,
DefinePlugin,
InjectConfig,
OnPlatform,
UseEvent,
......@@ -16,7 +16,7 @@ import {
export * from './config';
@OnPlatform('onebot')
@KoishiPlugin({ name: 'guild-verifier', schema: GuildVerifierConfig })
@DefinePlugin({ name: 'guild-verifier', schema: GuildVerifierConfig })
export default class GuildVerifier {
constructor(private ctx: Context, config: GuildVerifierConfigLike) {}
......
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