From 3b18135ebffe382fe3b7752a9e8e4957105fd52d Mon Sep 17 00:00:00 2001 From: Srinidhi Date: Fri, 7 Feb 2020 22:22:28 +0530 Subject: [PATCH] feat(unvired-cordova-sdk): add new property containing HTTP status code (#3302) * feat(unvired-cordova-sdk): support login via email * fix(unvired-cordova-sdk): return typed promise object for user settings * fix(unvired-cordova-sdk): change return type to string for guid() * doc(unvired-cordova-sdk): doc update * doc(unvired-cordova-sdk): update doc * feat(unvired-cordova-sdk): add support for metadata JSON * doc(unvired-cordova-sdk): update doc * doc(unvired-cordova-sdk): update doc * feat(unvired-cordova-sdk): add methods to get and set log level * fix(unvired-cordova-sdk): update the return type for getLog() * feat(unvired-cordova-sdk): return platform name * feat(unvired-cordova-sdk): add method to get log file path * feat(unvired-cordova-sdk): test push notifications * fix(unvired-cordova-sdk): define return for logRead * doc(unvired-cordova-sdk): remove mobile only restriction for some apis * feat(unvired-cordova-sdk): add new property containing HTTP status code. --- src/@ionic-native/plugins/unvired-cordova-sdk/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts b/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts index 71637079b..ca1fc7a13 100644 --- a/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts +++ b/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts @@ -264,6 +264,10 @@ export class SettingsResult extends UnviredResult { export class SyncResult extends UnviredResult { type: ResultType; + /** + * This code refers to the HTTP status code obtained during the network call. + */ + code: number; } export class DbResult extends UnviredResult {