@zhin.js/plugin-60s 0.0.5 → 0.0.7

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
@@ -32,5 +32,4 @@ const config = {
32
32
  };
33
33
  // 将 API 地址写入环境变量,供 tool handler 使用
34
34
  process.env.ZHIN_60S_API = config.apiBase || 'https://60s.viki.moe';
35
- logger.info(`[60s] 插件已加载,API 地址: ${process.env.ZHIN_60S_API},工具由 tools/ 目录自动发现`);
36
35
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;AAC3B,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;AAQhC,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5C,MAAM,SAAS,GAAG,aAAa,EAAE,GAAG,CAAqB,iBAAiB,CAAC,IAAI,EAAE,CAAC;AAClF,MAAM,MAAM,GAAW;IACrB,OAAO,EAAE,sBAAsB;IAC/B,GAAG,SAAS,CAAC,KAAK,CAAC;CACpB,CAAC;AAEF,mCAAmC;AACnC,OAAO,CAAC,GAAG,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,IAAI,sBAAsB,CAAC;AAEpE,MAAM,CAAC,IAAI,CAAC,uBAAuB,OAAO,CAAC,GAAG,CAAC,YAAY,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;AAC3B,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;AAQhC,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5C,MAAM,SAAS,GAAG,aAAa,EAAE,GAAG,CAAqB,iBAAiB,CAAC,IAAI,EAAE,CAAC;AAClF,MAAM,MAAM,GAAW;IACrB,OAAO,EAAE,sBAAsB;IAC/B,GAAG,SAAS,CAAC,KAAK,CAAC;CACpB,CAAC;AAEF,mCAAmC;AACnC,OAAO,CAAC,GAAG,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,IAAI,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-60s",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "60s API aggregation plugin for Zhin.js — news, weather, hot searches, utilities and more",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -45,11 +45,11 @@
45
45
  "license": "MIT",
46
46
  "dependencies": {},
47
47
  "devDependencies": {
48
- "typescript": "^5.3.3",
49
- "zhin.js": "1.0.54"
48
+ "typescript": "^5.9.3",
49
+ "zhin.js": "1.0.60"
50
50
  },
51
51
  "peerDependencies": {
52
- "zhin.js": ">=1.0.54"
52
+ "zhin.js": ">=1.0.60"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
@@ -30,7 +30,24 @@ tags:
30
30
  - 金融
31
31
  - 娱乐
32
32
  - 工具
33
- tools: []
33
+ tools:
34
+ - 60s_news
35
+ - bing_image
36
+ - douyin_hot
37
+ - duanzi
38
+ - exchange_rate
39
+ - fuel_price
40
+ - gold_price
41
+ - history_today
42
+ - hitokoto
43
+ - ip_query
44
+ - kfc
45
+ - moyu
46
+ - toutiao_hot
47
+ - translate_60s
48
+ - weather
49
+ - weibo_hot
50
+ - zhihu_hot
34
51
  ---
35
52
 
36
53
  ## 执行规则
package/src/index.ts CHANGED
@@ -42,4 +42,3 @@ const config: Config = {
42
42
  // 将 API 地址写入环境变量,供 tool handler 使用
43
43
  process.env.ZHIN_60S_API = config.apiBase || 'https://60s.viki.moe';
44
44
 
45
- logger.info(`[60s] 插件已加载,API 地址: ${process.env.ZHIN_60S_API},工具由 tools/ 目录自动发现`);