@stamn/stamn-plugin 0.1.0-alpha.19 → 0.1.0-alpha.20

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/dist/index.js CHANGED
@@ -5674,15 +5674,15 @@ var StamnWsService = class {
5674
5674
  });
5675
5675
  }
5676
5676
  onCommand(payload) {
5677
+ if (payload.command === "request_logs") {
5678
+ this.handleRequestLogs(payload.params);
5679
+ return;
5680
+ }
5677
5681
  this.logger.info(`Command received: ${payload.command} (${payload.commandId})`);
5678
5682
  if (payload.command === "update_plugin") {
5679
5683
  this.handleUpdatePlugin();
5680
5684
  return;
5681
5685
  }
5682
- if (payload.command === "request_logs") {
5683
- this.handleRequestLogs(payload.params);
5684
- return;
5685
- }
5686
5686
  this.bufferEvent(ServerEvent.COMMAND, payload);
5687
5687
  }
5688
5688
  handleUpdatePlugin() {