@momo2555/koppeliajs 0.0.165 → 0.0.167

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.
@@ -85,6 +85,7 @@ export declare class Message {
85
85
  * @param type The MessageType to assign.
86
86
  */
87
87
  setType(type: MessageType): void;
88
+ getType(): string;
88
89
  /**
89
90
  * Configures the message as an event request.
90
91
  * @param event The name of the event.
@@ -121,6 +121,9 @@ export class Message {
121
121
  setType(type) {
122
122
  this.header.type = type;
123
123
  }
124
+ getType() {
125
+ return this.header.type;
126
+ }
124
127
  /**
125
128
  * Configures the message as an event request.
126
129
  * @param event The name of the event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.165",
3
+ "version": "0.0.167",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",