cabbage-react 1.0.46 → 1.0.47

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,14 +34,14 @@ Get properties for a widget from the backend. This hook:
34
34
  Get messages from the backend. This hook:
35
35
 
36
36
  - Automatically updates local state when a message is received
37
- - Expects a serialized JSON object (sent as a string) with a `messageType` property
37
+ - Expects a serialized JSON object (sent as a string) with a `type` property
38
38
 
39
39
  #### Example: sending a message from Csound
40
40
 
41
41
  ```csd
42
42
  jsonData:S = sprintf({{
43
43
  {
44
- "messageType":"NoteData",
44
+ "type":"NoteData",
45
45
  "noteCount":%f,
46
46
  "note":%f,
47
47
  "noteLength":%f,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cabbage-react",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "cabbage",