@ledvance/base 1.1.60 → 1.1.61

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.60",
7
+ "version": "1.1.61",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
package/src/api/native.ts CHANGED
@@ -8,7 +8,7 @@ interface LDVDevicePanelManager {
8
8
  getAllTaskTimer: (deviceId: string, type: number, callback: (res: NativeResult<string>) => void) => void
9
9
  deleteDevice: (deviceId: string, isReset: boolean, callback: (result: any) => void) => void
10
10
  rename: (deviceId: string, name: string, callback: (result: any) => void) => void
11
- toDeviceSettingsPage: (deviceId: string, isGroup: boolean) => void
11
+ toDeviceSettingsPage: (deviceId: string) => void
12
12
  toRoutinesPage: (params: {backTitle:string}) => void
13
13
  putJson: (deviceId: string, featureType: string, json: string, callback: (res: NativeResult<any>) => void) => void
14
14
  getJson: (deviceId: string, featureType: string, callback: (res: NativeResult<string>) => void) => void
@@ -194,7 +194,7 @@ const rename: RenameResultType = (deviceId: string, name: string) => {
194
194
  }
195
195
 
196
196
  function toDeviceSettingsPage(tuyaDeviceId: string, isGroup: boolean = false) {
197
- devicePanel.toDeviceSettingsPage(tuyaDeviceId, isGroup)
197
+ devicePanel.toDeviceSettingsPage(tuyaDeviceId)
198
198
  }
199
199
 
200
200
  function toRoutinesPage(params: {backTitle:string}) {