Support 0.31 SDK, vrooom #2277

Merged
tzarebczan merged 10 commits from 031-sdk-fixes into master 2019-02-12 18:26:51 +01:00
Showing only changes of commit 2aafc6d63f - Show all commits

View file

@ -12,7 +12,7 @@ export type Price = {
amount: number, amount: number,
}; };
type SetDaemonSettingArg = boolean | string | Price; type SetDaemonSettingArg = boolean | string | number | Price;
type DaemonSettings = { type DaemonSettings = {
download_dir: string, download_dir: string,
@ -22,7 +22,7 @@ type DaemonSettings = {
type Props = { type Props = {
setDaemonSetting: (string, ?SetDaemonSettingArg) => void, setDaemonSetting: (string, ?SetDaemonSettingArg) => void,
setClientSetting: (string, SetDaemonSettingArg | number) => void, setClientSetting: (string, SetDaemonSettingArg) => void,
clearCache: () => Promise<any>, clearCache: () => Promise<any>,
getThemes: () => void, getThemes: () => void,
daemonSettings: DaemonSettings, daemonSettings: DaemonSettings,