@meticulous-home/espresso-api 0.4.2 → 0.5.0

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/dist/index.d.ts CHANGED
@@ -38,7 +38,7 @@ export default class Api {
38
38
  getSettings(settingName?: string): Promise<AxiosResponse<Settings | APIError>>;
39
39
  updateSetting(setting: Partial<Settings>): Promise<AxiosResponse<Settings | APIError>>;
40
40
  updateFirmware(formData: FormData): Promise<AxiosResponse<void | APIError>>;
41
- getWiFiConfig(): Promise<AxiosResponse<WifiStatus | APIError>>;
41
+ getWiFiStatus(): Promise<AxiosResponse<WifiStatus | APIError>>;
42
42
  setWiFiConfig(data: Partial<WiFiConfig>): Promise<AxiosResponse<WiFiConfig | APIError>>;
43
43
  getWiFiQR(): Promise<AxiosResponse<Blob>>;
44
44
  getWiFiQRURL(): string;
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ class Api {
129
129
  }
130
130
  });
131
131
  }
132
- async getWiFiConfig() {
132
+ async getWiFiStatus() {
133
133
  return this.axiosInstance.get('/api/v1/wifi/config');
134
134
  }
135
135
  async setWiFiConfig(data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meticulous-home/espresso-api",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Typescript based package to interact with the meticulous API",
5
5
  "author": "Mimoja <mimoja@meticuloushome.com>",
6
6
  "license": "GPLv3",