koishi-plugin-starfx-bot 0.19.7 → 0.19.8

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.js CHANGED
@@ -970,7 +970,7 @@ var package_default = {
970
970
  contributors: [
971
971
  "StarFreedomX <starfreedomx@outlook.com>"
972
972
  ],
973
- version: "0.19.7",
973
+ version: "0.19.8",
974
974
  main: "lib/index.js",
975
975
  typings: "lib/index.d.ts",
976
976
  files: [
@@ -1297,7 +1297,7 @@ function apply(ctx, cfg) {
1297
1297
  return LOCAL_PATH_REGEX.test(src);
1298
1298
  }, convertUriToLocalPath = function(uri) {
1299
1299
  if (uri.startsWith("file:///")) {
1300
- return decodeURIComponent(uri.substring(8));
1300
+ return decodeURIComponent(uri.substring(7));
1301
1301
  }
1302
1302
  return uri;
1303
1303
  }, toBase64String = function(src) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "contributors": [
5
5
  "StarFreedomX <starfreedomx@outlook.com>"
6
6
  ],
7
- "version": "0.19.7",
7
+ "version": "0.19.8",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
10
10
  "files": [
package/readme.md CHANGED
@@ -118,4 +118,5 @@ StarFreedomX机器人的小功能,自用
118
118
  | `0.19.4` | inject database for ctx.broadcast |
119
119
  | `0.19.5` | 提取代码量较大的功能为单独插件 |
120
120
  | `0.19.6` | 查汇率支持近5d |
121
- | `0.19.6` | base64转换捕获file协议 |
121
+ | `0.19.7` | base64转换捕获file协议 |
122
+ | `0.19.8` | base64适配linux目录 |