@iobroker/adapter-react-v5 4.0.6 → 4.0.7

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 +5 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -10,7 +10,7 @@ If you want to create the configuration page with react:
10
10
  - Change `name` from `src` to `ADAPTERNAME-admin` (Of course replace `ADAPTERNAME` with yours)
11
11
  - Add to devDependencies:
12
12
  ```
13
- "@iobroker/adapter-react": "^4.0.6",
13
+ "@iobroker/adapter-react": "^4.0.7",
14
14
  ```
15
15
  Versions can be higher.
16
16
  So your src/package.json should look like:
@@ -653,13 +653,16 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
653
653
  Object.keys(objects).forEach(obj => console.log(obj._id));
654
654
  });
655
655
  ```
656
-
656
+ - Replace all `socket.log.error('text')` to `socket.log('text', 'error')`
657
657
  <!--
658
658
  Placeholder for the next version (at the beginning of the line):
659
659
  ### **WORK IN PROGRESS**
660
660
  -->
661
661
 
662
662
  ## Changelog
663
+ ### 4.0.7 (2022-12-19)
664
+ * (bluefox) Extended socket with `log` command
665
+
663
666
  ### 4.0.6 (2022-12-19)
664
667
  * (bluefox) Corrected URL for the connection
665
668
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "bluefox",
@@ -33,10 +33,10 @@
33
33
  "@mui/material": "^5.11.0",
34
34
  "@mui/styles": "^5.11.0",
35
35
  "@mui/x-date-pickers": "5.0.9",
36
- "@iobroker/socket-client": "^2.0.0",
36
+ "@iobroker/socket-client": "^2.0.1",
37
37
  "react-cropper": "^2.1.8",
38
- "@sentry/browser": "^7.26.0",
39
- "@sentry/integrations": "^7.26.0",
38
+ "@sentry/browser": "^7.27.0",
39
+ "@sentry/integrations": "^7.27.0",
40
40
  "@types/iobroker": "^4.0.5",
41
41
  "react-color": "^2.19.3",
42
42
  "react-colorful": "^5.6.1",