koishi-plugin-sy-bot 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -2
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -176,8 +176,7 @@ ${hljsCss}
176
176
  logger.info("视口设置成功");
177
177
  logger.info("开始加载内容...");
178
178
  await page.setContent(html, {
179
- waitUntil: "domcontentloaded",
180
- timeout: 3e4
179
+ waitUntil: "networkidle0"
181
180
  });
182
181
  logger.info("内容加载成功");
183
182
  logger.info("开始设置body...");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-sy-bot",
3
3
  "description": "考研群答疑Bot,接入Gemini。",
4
- "version": "0.0.8",
4
+ "version": "0.0.9",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
@@ -12,7 +12,7 @@
12
12
  "scripts": {
13
13
  "dev": "cd ../.. && npm run dev",
14
14
  "build": "cd ../.. && npm run build",
15
- "bump": "cd ../.. && npm run bump",
15
+ "v": "cd ../.. && npm run build && npm run bump",
16
16
  "pub": "cd ../.. && npm run pub"
17
17
  },
18
18
  "keywords": [