@juzi/wechaty-puppet-service 1.0.54 → 1.0.55
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.
|
@@ -286,7 +286,7 @@ class PuppetService extends PUPPET.Puppet {
|
|
|
286
286
|
this.emit('post-tap', JSON.parse(payload));
|
|
287
287
|
break;
|
|
288
288
|
case wechaty_grpc_1.puppet.EventType.EVENT_TYPE_READY:
|
|
289
|
-
if (this.
|
|
289
|
+
if (this.waitingForReady) {
|
|
290
290
|
config_js_1.log.warn('PuppetService', 'this ready event is ignored because the it is expected by event stream reconnect');
|
|
291
291
|
return;
|
|
292
292
|
}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageJson = void 0;
|
|
4
4
|
exports.packageJson = {
|
|
5
5
|
"name": "@juzi/wechaty-puppet-service",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.55",
|
|
7
7
|
"description": "Puppet Service for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -259,7 +259,7 @@ class PuppetService extends PUPPET.Puppet {
|
|
|
259
259
|
this.emit('post-tap', JSON.parse(payload));
|
|
260
260
|
break;
|
|
261
261
|
case grpcPuppet.EventType.EVENT_TYPE_READY:
|
|
262
|
-
if (this.
|
|
262
|
+
if (this.waitingForReady) {
|
|
263
263
|
log.warn('PuppetService', 'this ready event is ignored because the it is expected by event stream reconnect');
|
|
264
264
|
return;
|
|
265
265
|
}
|
package/package.json
CHANGED
|
@@ -358,7 +358,7 @@ class PuppetService extends PUPPET.Puppet {
|
|
|
358
358
|
this.emit('post-tap', JSON.parse(payload) as PUPPET.payloads.EventPostTap)
|
|
359
359
|
break
|
|
360
360
|
case grpcPuppet.EventType.EVENT_TYPE_READY:
|
|
361
|
-
if (this.
|
|
361
|
+
if (this.waitingForReady) {
|
|
362
362
|
log.warn('PuppetService', 'this ready event is ignored because the it is expected by event stream reconnect')
|
|
363
363
|
return
|
|
364
364
|
}
|
package/src/package-json.ts
CHANGED