v1.10.0
github-actions
released this
14 May 12:11
·
453 commits
to master
since this release
Breaking changes
Changed isAvaliable to isAvailable
Changed result types for few endpoints
- control.isAvaliable()
+ control.isAvailable()
- public isAvaliable(): Promise<string>
+ public isAvailable(): Promise<boolean>
- public isAvailablePing(): Promise<string>
+ public isAvailablePing(): Promise<boolean>
- public turnOn(): Promise<string>
+ public turnOn(): Promise<boolean>
New API:
+ openAppByAppIdAndType(appId: string, type: number, done?)
+ openAppByAppIdAndTypePromise(appId: string, type: number)