lightapp-platform-common
Advanced tools
Comparing version
{ | ||
"name": "lightapp-platform-common", | ||
"version": "1.0.450", | ||
"version": "1.0.451", | ||
"description": "common utilities for lightapp platform", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,3 +43,3 @@ "use strict"; | ||
catch (error) { | ||
_error = error(error, 'fail instantiating CognitoUserPool'); | ||
_error = Result_2.getError(error, 'fail instantiating CognitoUserPool'); | ||
_result = Result_2.getResult(Result_1.StatusCode.BAD_REQUEST); | ||
@@ -111,3 +111,3 @@ console.error(`in new CognitoUserPool catch ${error}`); | ||
_error = Result_2.getError(err, `fail in cognitoUser.confirmRegistration with verificationCode: ${verificationCode}`); | ||
_result = result(Result_1.StatusCode.BAD_REQUEST, err); | ||
_result = Result_2.getResult(Result_1.StatusCode.BAD_REQUEST, err); | ||
callBack(_error, _result); | ||
@@ -117,3 +117,3 @@ } | ||
console.log(`success in confirmRegistration. result: ${JSON.stringify(result)}`); | ||
_result = result(Result_1.StatusCode.OK, result); | ||
_result = Result_2.getResult(Result_1.StatusCode.OK, result); | ||
callBack(null, _result); | ||
@@ -120,0 +120,0 @@ } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10407
0.35%0
-100%