authera 2.0.6-test-1 → 2.0.6

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/web/login.js CHANGED
@@ -62,7 +62,6 @@ export default function LoginForm({ on_after_login, on_after_step, backendUrl, }
62
62
  // loading check
63
63
  if (loading)
64
64
  return _jsx("p", { children: "loading ..." });
65
- console.log("activeStep", activeStep?.structure);
66
65
  // show forms from steps
67
- return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsx(EasyForm, { control: control, structure: activeStep?.structure || {} }), _jsx("button", { type: "submit", children: "Submit" })] }));
66
+ return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsx(EasyForm, { control: control, structure: activeStep.structure }), _jsx("button", { type: "submit", children: "Submit" })] }));
68
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authera",
3
- "version": "2.0.6-test-1",
3
+ "version": "2.0.6",
4
4
  "description": "this project is a simple auth hook for react",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -43,4 +43,4 @@
43
43
  "minimal-form": "^2.8.1",
44
44
  "react-hook-form": "^7.66.0"
45
45
  }
46
- }
46
+ }