onairos 0.1.231 → 0.1.233

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.
@@ -34,13 +34,16 @@ function AuthButtons(_ref) {
34
34
  // Call general login success handler
35
35
  await onLoginSuccess(othentData.userDetails);
36
36
  };
37
+ const othentLogin = async data => {
38
+ onLoginSuccess(data, true);
39
+ };
37
40
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
38
41
  className: "flex flex-row justify-center items-center space-x-4",
39
42
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_GoogleButton.default, {
40
43
  onSuccess: onLoginSuccess
41
44
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_OthentButton.default, {
42
45
  onSuccess: handleOthentSuccess,
43
- onLoginSuccess: onLoginSuccess
46
+ onLoginSuccess: othentLogin
44
47
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_OnairosAppButton.default, {
45
48
  hasSavedCredentials: hasSavedCredentials,
46
49
  onSuccess: onLoginSuccess