@zhin.js/plugin-60s 4.0.10 → 4.0.12
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/commands/60s.js +1 -1
- package/commands/60s.ts +1 -1
- package/commands/bing.js +1 -1
- package/commands/bing.ts +1 -1
- package/commands/douyin/[[limit]].js +1 -1
- package/commands/douyin/[[limit]].ts +1 -1
- package/commands/duanzi.js +1 -1
- package/commands/duanzi.ts +1 -1
- package/commands/exchange.js +1 -1
- package/commands/exchange.ts +1 -1
- package/commands/fanyi/[text].js +1 -1
- package/commands/fanyi/[text].ts +1 -1
- package/commands/fuel/[province].js +1 -1
- package/commands/fuel/[province].ts +1 -1
- package/commands/gold.js +1 -1
- package/commands/gold.ts +1 -1
- package/commands/history.js +1 -1
- package/commands/history.ts +1 -1
- package/commands/hitokoto/[type].js +1 -1
- package/commands/hitokoto/[type].ts +1 -1
- package/commands/ip/[ip].js +1 -1
- package/commands/ip/[ip].ts +1 -1
- package/commands/kfc.js +1 -1
- package/commands/kfc.ts +1 -1
- package/commands/moyu.js +1 -1
- package/commands/moyu.ts +1 -1
- package/commands/toutiao/[[limit]].js +1 -1
- package/commands/toutiao/[[limit]].ts +1 -1
- package/commands/weather/[city].js +1 -1
- package/commands/weather/[city].ts +1 -1
- package/commands/weibo/[[limit]].js +1 -1
- package/commands/weibo/[[limit]].ts +1 -1
- package/commands/zhihu/[[limit]].js +1 -1
- package/commands/zhihu/[[limit]].ts +1 -1
- package/package.json +10 -6
- package/plugin.js +1 -1
package/commands/60s.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/60s-news.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '每日60秒新闻',
|
package/commands/60s.ts
CHANGED
package/commands/bing.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/bing-image.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: 'Bing 每日壁纸',
|
package/commands/bing.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/douyin-hot.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '抖音热搜',
|
package/commands/duanzi.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/duanzi.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '随机段子',
|
package/commands/duanzi.ts
CHANGED
package/commands/exchange.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/exchange-rate.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '货币汇率',
|
package/commands/exchange.ts
CHANGED
package/commands/fanyi/[text].js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/translate.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '文本翻译',
|
package/commands/fanyi/[text].ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/fuel-price.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '今日油价',
|
package/commands/gold.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/gold-price.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '今日金价',
|
package/commands/gold.ts
CHANGED
package/commands/history.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/history-today.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '历史上的今天',
|
package/commands/history.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/hitokoto.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '随机一言',
|
package/commands/ip/[ip].js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/ip-query.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: 'IP 查询',
|
package/commands/ip/[ip].ts
CHANGED
package/commands/kfc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/kfc.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: 'KFC 文案',
|
package/commands/kfc.ts
CHANGED
package/commands/moyu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../lib/handlers/moyu.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '摸鱼日历',
|
package/commands/moyu.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/toutiao-hot.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '头条热搜',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/weather.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '查询城市天气',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/weibo-hot.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '微博热搜',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import handler from "../../lib/handlers/zhihu-hot.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '知乎热榜',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/plugin-60s",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.12",
|
|
4
4
|
"description": "60s API aggregation plugin for Zhin.js — news, weather, hot searches, utilities (Plugin Runtime)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -45,24 +45,28 @@
|
|
|
45
45
|
},
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@zhin.js/
|
|
49
|
-
"@zhin.js/plugin-runtime": "1.1.6",
|
|
50
|
-
"@zhin.js/tool": "1.0.10"
|
|
48
|
+
"@zhin.js/tool": "1.0.11"
|
|
51
49
|
},
|
|
52
50
|
"devDependencies": {
|
|
53
51
|
"typescript": "^6.0.3",
|
|
54
52
|
"vitest": "^4.1.10",
|
|
55
53
|
"zod": "^4.4.3",
|
|
56
|
-
"@zhin.js/agent": "1.1.
|
|
54
|
+
"@zhin.js/agent": "1.1.12",
|
|
55
|
+
"zhin.js": "6.0.10"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
59
58
|
"zod": "^4.0.0",
|
|
60
|
-
"@zhin.js/agent": "1.1.
|
|
59
|
+
"@zhin.js/agent": "1.1.12",
|
|
60
|
+
"@zhin.js/command": "1.0.14",
|
|
61
|
+
"zhin.js": "6.0.10"
|
|
61
62
|
},
|
|
62
63
|
"peerDependenciesMeta": {
|
|
63
64
|
"@zhin.js/agent": {
|
|
64
65
|
"optional": true
|
|
65
66
|
},
|
|
67
|
+
"@zhin.js/command": {
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
66
70
|
"zod": {
|
|
67
71
|
"optional": true
|
|
68
72
|
}
|
package/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { definePlugin } from '
|
|
2
|
+
import { definePlugin } from 'zhin.js';
|
|
3
3
|
import { DEFAULT_API_BASE, registerSixtySApiBase } from "./lib/runtime-deps.js";
|
|
4
4
|
export default definePlugin({
|
|
5
5
|
name: 'sixty-s',
|