@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.cjs.js
CHANGED
|
@@ -1529,13 +1529,13 @@ var useCredentialsHandler = function (onAuthComplete) {
|
|
|
1529
1529
|
return [2 /*return*/, true];
|
|
1530
1530
|
}
|
|
1531
1531
|
else {
|
|
1532
|
-
onAuthComplete(false, response
|
|
1532
|
+
onAuthComplete(false, response);
|
|
1533
1533
|
return [2 /*return*/, false];
|
|
1534
1534
|
}
|
|
1535
1535
|
case 2:
|
|
1536
1536
|
error_2 = _a.sent();
|
|
1537
1537
|
console.error(error_2);
|
|
1538
|
-
onAuthComplete(false, error_2
|
|
1538
|
+
onAuthComplete(false, error_2);
|
|
1539
1539
|
return [2 /*return*/, false];
|
|
1540
1540
|
case 3:
|
|
1541
1541
|
setLoading(false);
|