UNPKG

react-native-malwarelytics

Version:

Malwarelytics for React Native protects your banking or fintech app from a broad range of mobile security threats with an industry-leading mobile threat intelligence solution.

46 lines (45 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateResult = void 0; /** * Info about observed update. * * Returned @see updateResult corresponds to these data: * - {@link UpdateResult.SUCCESS}: * @see failureReason is null * - {@link UpdateResult.PARTIAL_SUCCESS}: * @see failureReason is not null * and @see updatedApps is not empty * - {@link UpdateResult.FAILURE}: * and @see failureReason is not null * and @see updatedApps is empty * * Partially successful update can happen when an error occurs while storing the suggestions locally. * In such case, suggestions for only a fraction of apps were stored. */ /** Result of an update. */ let UpdateResult = exports.UpdateResult = /*#__PURE__*/function (UpdateResult) { /** * Successful update. * * All apps were successfully updated without any error. */ UpdateResult["SUCCESS"] = "SUCCESS"; /** * Partially successful update. * * Some apps were successfully updated but not all of them. * Some apps couldn't be successfully updated for some reason. */ UpdateResult["PARTIAL_SUCCESS"] = "PARTIAL_SUCCESS"; /** * Failure. * * Update failed for some reason. */ UpdateResult["FAILURE"] = "FAILURE"; return UpdateResult; }({}); //# sourceMappingURL=ObservedUpdateInfo.js.map