onebots 0.1.16 → 0.1.17
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/service/V12/index.js
CHANGED
|
@@ -120,7 +120,7 @@ class V12 extends events_1.EventEmitter {
|
|
|
120
120
|
"Content-Type": "application/json",
|
|
121
121
|
"User-Agent": "OneBot/12 (qq) Node-onebots/" + utils_1.version,
|
|
122
122
|
"X-OneBot-Version": 12,
|
|
123
|
-
"X-Impl": "
|
|
123
|
+
"X-Impl": "onebots",
|
|
124
124
|
},
|
|
125
125
|
};
|
|
126
126
|
if (config.access_token) {
|
|
@@ -330,7 +330,7 @@ class V12 extends events_1.EventEmitter {
|
|
|
330
330
|
dispatch(data) {
|
|
331
331
|
const payload = {
|
|
332
332
|
id: (0, utils_2.uuid)(),
|
|
333
|
-
impl: '
|
|
333
|
+
impl: 'onebots',
|
|
334
334
|
version: 12,
|
|
335
335
|
platform: 'qq',
|
|
336
336
|
self: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onebots",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "基于icqq的多例oneBot实现",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@koa/router": "^10.1.1",
|
|
53
|
-
"icqq": "^0.0.
|
|
53
|
+
"icqq": "^0.0.26",
|
|
54
54
|
"icqq-cq-enable": "^1.0.0",
|
|
55
55
|
"js-yaml": "^4.1.0",
|
|
56
56
|
"koa": "^2.13.4",
|