@zhin.js/plugin-repeater 3.0.17 → 3.0.19
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.
|
@@ -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 { getRepeaterEngine, resolveRepeaterConfig, } from "../lib/engine.js";
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '查看复读机的运行状态',
|
package/middlewares/repeater.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineMiddleware } from '
|
|
2
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
3
3
|
import { getRepeaterEngine, resolveRepeaterConfig, } from "../lib/engine.js";
|
|
4
4
|
/**
|
|
5
5
|
* Runtime `Message` 是 conversation 原生:`conversation.kind/id` 直接喂给引擎
|
package/middlewares/repeater.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/plugin-repeater",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"description": "Repeater plugin for Zhin.js — auto-repeat when group members echo the same content (Plugin Runtime)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -41,14 +41,12 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@zhin.js/
|
|
45
|
-
"@zhin.js/core": "1.5.9",
|
|
46
|
-
"@zhin.js/middleware": "1.0.10",
|
|
47
|
-
"@zhin.js/plugin-runtime": "1.1.6"
|
|
44
|
+
"@zhin.js/core": "1.5.10"
|
|
48
45
|
},
|
|
49
46
|
"devDependencies": {
|
|
50
47
|
"typescript": "^6.0.3",
|
|
51
|
-
"vitest": "^4.1.10"
|
|
48
|
+
"vitest": "^4.1.10",
|
|
49
|
+
"zhin.js": "6.0.10"
|
|
52
50
|
},
|
|
53
51
|
"repository": {
|
|
54
52
|
"type": "git",
|
|
@@ -80,6 +78,19 @@
|
|
|
80
78
|
],
|
|
81
79
|
"plugins": []
|
|
82
80
|
},
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"@zhin.js/command": "1.0.14",
|
|
83
|
+
"@zhin.js/middleware": "1.0.11",
|
|
84
|
+
"zhin.js": "6.0.10"
|
|
85
|
+
},
|
|
86
|
+
"peerDependenciesMeta": {
|
|
87
|
+
"@zhin.js/command": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"@zhin.js/middleware": {
|
|
91
|
+
"optional": true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
83
94
|
"scripts": {
|
|
84
95
|
"build": "tsc",
|
|
85
96
|
"clean": "rimraf lib",
|
package/plugin.js
CHANGED