@nibssplc/cams-sdk-react 1.0.0-rc.105 → 1.0.0-rc.106
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/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1508,13 +1508,13 @@ var useCredentialsHandler = function (onAuthComplete) {
|
|
|
1508
1508
|
return [2 /*return*/, true];
|
|
1509
1509
|
}
|
|
1510
1510
|
else {
|
|
1511
|
-
onAuthComplete(false, response
|
|
1511
|
+
onAuthComplete(false, response);
|
|
1512
1512
|
return [2 /*return*/, false];
|
|
1513
1513
|
}
|
|
1514
1514
|
case 2:
|
|
1515
1515
|
error_2 = _a.sent();
|
|
1516
1516
|
console.error(error_2);
|
|
1517
|
-
onAuthComplete(false, error_2
|
|
1517
|
+
onAuthComplete(false, error_2);
|
|
1518
1518
|
return [2 /*return*/, false];
|
|
1519
1519
|
case 3:
|
|
1520
1520
|
setLoading(false);
|