eufy-security-client 4.0.0-dev.32 → 4.0.0-dev.34
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/build/eufysecurity.d.ts +15 -0
- package/build/eufysecurity.js +58 -6
- package/build/eufysecurity.js.map +1 -1
- package/build/http/index.d.ts +2 -0
- package/build/http/index.js +2 -0
- package/build/http/index.js.map +1 -1
- package/build/http/interfaces.d.ts +2 -0
- package/build/http/megaApi.d.ts +186 -0
- package/build/http/megaApi.js +513 -0
- package/build/http/megaApi.js.map +1 -0
- package/build/http/megaCrypto.d.ts +84 -0
- package/build/http/megaCrypto.js +129 -0
- package/build/http/megaCrypto.js.map +1 -0
- package/build/http/megaInterfaces.d.ts +83 -0
- package/build/http/megaInterfaces.js +3 -0
- package/build/http/megaInterfaces.js.map +1 -0
- package/build/http/megaTransition.d.ts +103 -0
- package/build/http/megaTransition.js +203 -0
- package/build/http/megaTransition.js.map +1 -0
- package/build/http/station.d.ts +1 -0
- package/build/http/station.js +4 -0
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +7 -1
- package/build/http/types.js +6 -0
- package/build/http/types.js.map +1 -1
- package/build/interfaces.d.ts +2 -0
- package/build/p2p/interfaces.d.ts +2 -0
- package/build/p2p/session.js +17 -0
- package/build/p2p/session.js.map +1 -1
- package/build/p2p/types.d.ts +1 -0
- package/build/p2p/types.js +1 -0
- package/build/p2p/types.js.map +1 -1
- package/coverage/clover.xml +7703 -7366
- package/coverage/coverage-final.json +26 -23
- package/coverage/lcov-report/index.html +35 -35
- package/coverage/lcov.info +12683 -12033
- package/package.json +1 -1
package/build/http/types.d.ts
CHANGED
|
@@ -222,7 +222,13 @@ export declare enum ResponseErrorCode {
|
|
|
222
222
|
MULTIPLE_INACTIVATED_ERROR = 26015,
|
|
223
223
|
MULTIPLE_REGISTRATION_ERROR = 26000,
|
|
224
224
|
RESP_ERROR_CODE_SESSION_TIMEOUT = 401,
|
|
225
|
-
CODE_REQUEST_TOO_FAST = 250999
|
|
225
|
+
CODE_REQUEST_TOO_FAST = 250999,
|
|
226
|
+
CODE_PASSWORD_TOO_MANY_INCORRECT = 10019,
|
|
227
|
+
CODE_PASSWORD_WRONG_FIVE_TIMES = 100056,
|
|
228
|
+
CODE_EMAIL_OR_PASSWORD_INCORRECT = 26108,
|
|
229
|
+
CODE_NEED_EMAIL_VERIFICATION = 26105,
|
|
230
|
+
CODE_NEED_NEGOTIATE_KEY = 4404,
|
|
231
|
+
CODE_SIGNATURE_ERROR = 4416
|
|
226
232
|
}
|
|
227
233
|
export declare enum VerfyCodeTypes {
|
|
228
234
|
TYPE_SMS = 0,
|
package/build/http/types.js
CHANGED
|
@@ -246,6 +246,12 @@ var ResponseErrorCode;
|
|
|
246
246
|
ResponseErrorCode[ResponseErrorCode["MULTIPLE_REGISTRATION_ERROR"] = 26000] = "MULTIPLE_REGISTRATION_ERROR";
|
|
247
247
|
ResponseErrorCode[ResponseErrorCode["RESP_ERROR_CODE_SESSION_TIMEOUT"] = 401] = "RESP_ERROR_CODE_SESSION_TIMEOUT";
|
|
248
248
|
ResponseErrorCode[ResponseErrorCode["CODE_REQUEST_TOO_FAST"] = 250999] = "CODE_REQUEST_TOO_FAST";
|
|
249
|
+
ResponseErrorCode[ResponseErrorCode["CODE_PASSWORD_TOO_MANY_INCORRECT"] = 10019] = "CODE_PASSWORD_TOO_MANY_INCORRECT";
|
|
250
|
+
ResponseErrorCode[ResponseErrorCode["CODE_PASSWORD_WRONG_FIVE_TIMES"] = 100056] = "CODE_PASSWORD_WRONG_FIVE_TIMES";
|
|
251
|
+
ResponseErrorCode[ResponseErrorCode["CODE_EMAIL_OR_PASSWORD_INCORRECT"] = 26108] = "CODE_EMAIL_OR_PASSWORD_INCORRECT";
|
|
252
|
+
ResponseErrorCode[ResponseErrorCode["CODE_NEED_EMAIL_VERIFICATION"] = 26105] = "CODE_NEED_EMAIL_VERIFICATION";
|
|
253
|
+
ResponseErrorCode[ResponseErrorCode["CODE_NEED_NEGOTIATE_KEY"] = 4404] = "CODE_NEED_NEGOTIATE_KEY";
|
|
254
|
+
ResponseErrorCode[ResponseErrorCode["CODE_SIGNATURE_ERROR"] = 4416] = "CODE_SIGNATURE_ERROR";
|
|
249
255
|
})(ResponseErrorCode || (exports.ResponseErrorCode = ResponseErrorCode = {}));
|
|
250
256
|
var VerfyCodeTypes;
|
|
251
257
|
(function (VerfyCodeTypes) {
|