@iobroker/adapter-react-v5 7.4.2 → 7.4.3
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/README.md +2 -2
- package/build/Components/FileBrowser.js +1 -1
- package/build/Components/FileBrowser.js.map +1 -1
- package/build/Components/IconPicker.js +0 -1
- package/build/Components/IconPicker.js.map +1 -1
- package/build/Components/Image.js.map +1 -1
- package/build/Components/Logo.js +4 -4
- package/build/Components/Logo.js.map +1 -1
- package/build/Components/ObjectBrowser.d.ts +8 -6
- package/build/Components/ObjectBrowser.js +1 -1
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/TextWithIcon.js +0 -1
- package/build/Components/TextWithIcon.js.map +1 -1
- package/build/Components/Utils.js +1 -3
- package/build/Components/Utils.js.map +1 -1
- package/build/Dialogs/SelectID.d.ts +2 -2
- package/build/Dialogs/SelectID.js +1 -1
- package/build/Dialogs/SelectID.js.map +1 -1
- package/build/GenericApp.js +1 -1
- package/build/GenericApp.js.map +1 -1
- package/build/LegacyConnection.d.ts +4 -7
- package/build/LegacyConnection.js +84 -159
- package/build/LegacyConnection.js.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/types.d.ts +80 -0
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ If you want to create the configuration page with ReactJS:
|
|
|
13
13
|
- Change `name` from `src` to `ADAPTERNAME-admin` (Of course replace `ADAPTERNAME` with yours)
|
|
14
14
|
- Add to devDependencies:
|
|
15
15
|
```json
|
|
16
|
-
"@iobroker/adapter-react-v5": "^7.4.
|
|
16
|
+
"@iobroker/adapter-react-v5": "^7.4.3",
|
|
17
17
|
```
|
|
18
18
|
Versions can be higher.
|
|
19
19
|
So your `src/package.json` should look like:
|
|
@@ -24,7 +24,7 @@ If you want to create the configuration page with ReactJS:
|
|
|
24
24
|
"version": "0.1.0",
|
|
25
25
|
"private": true,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@iobroker/adapter-react-v5": "^7.4.
|
|
27
|
+
"@iobroker/adapter-react-v5": "^7.4.3",
|
|
28
28
|
"@iobroker/build-tools": "^1.0.0",
|
|
29
29
|
"babel-eslint": "^10.1.0",
|
|
30
30
|
"react-scripts": "^5.0.1"
|
|
@@ -697,7 +697,7 @@ export class FileBrowserClass extends Component {
|
|
|
697
697
|
.filter(item => item.folder)
|
|
698
698
|
.map(item => this.browseFolder(item.id, newFoldersNotNull, true).catch(() => undefined)))
|
|
699
699
|
.then(() => resolve(newFoldersNotNull))
|
|
700
|
-
.catch(error => reject(new Error(error)));
|
|
700
|
+
.catch((error) => reject(new Error(error)));
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
703
|
return Promise.resolve(newFoldersNotNull);
|