@twin.org/api-models 0.0.1-next.22 → 0.0.1-next.23

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.
@@ -19,7 +19,7 @@ export interface ISocketRoute<T extends IHttpRequest = any, U extends IHttpRespo
19
19
  */
20
20
  request: T,
21
21
  /**
22
- * The function to emit a message.
22
+ * The function to emit an event.
23
23
  */
24
- emit: (topic: string, response: U) => Promise<void>) => void;
24
+ emit: (event: string, response: U) => Promise<void>) => void;
25
25
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/api-models - Changelog
2
2
 
3
- ## v0.0.1-next.22
3
+ ## v0.0.1-next.23
4
4
 
5
5
  - Initial Release
@@ -68,7 +68,7 @@ The request object.
68
68
 
69
69
  • **emit**
70
70
 
71
- The function to emit a message.
71
+ The function to emit an event.
72
72
 
73
73
  #### Returns
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/api-models",
3
- "version": "0.0.1-next.22",
3
+ "version": "0.0.1-next.23",
4
4
  "description": "Contains models and classes for use with APIs",
5
5
  "repository": {
6
6
  "type": "git",