diff --git a/src/index.tsx b/src/index.tsx index be7093c..f6adeb4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -81,11 +81,11 @@ export class ESPDevice implements ESPDeviceInterface { return EspIdfProvisioning.isSessionEstablished(this.name); } - getProofOfPossession(): string | undefined { + getProofOfPossession(): Promise { return EspIdfProvisioning.getProofOfPossession(this.name); } - scanWifiList(): ESPWifiList[] { + scanWifiList(): Promise { return EspIdfProvisioning.scanWifiList(this.name); }