mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore:
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import { logger } from "../utils/index.js";
|
||||
import { setLogger } from "@certd/plus";
|
||||
import { setLogger, isPlus } from "@certd/plus";
|
||||
setLogger(logger);
|
||||
export * from "@certd/plus";
|
||||
|
||||
export function checkPlus() {
|
||||
if (!isPlus()) {
|
||||
throw new Error("此为专业版功能,请升级到专业版");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user