@asgardeo/react 0.5.31 → 0.5.32

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/cjs/index.js CHANGED
@@ -173,10 +173,10 @@ var AsgardeoContext = (0, import_react.createContext)({
173
173
  isLoading: true,
174
174
  isSignedIn: false,
175
175
  organization: null,
176
- signIn: null,
177
- signInSilently: null,
178
- signOut: null,
179
- signUp: null,
176
+ signIn: () => Promise.resolve({}),
177
+ signInSilently: () => Promise.resolve({}),
178
+ signOut: () => Promise.resolve({}),
179
+ signUp: () => Promise.resolve({}),
180
180
  user: null,
181
181
  http: {
182
182
  request: () => null,
@@ -7725,7 +7725,7 @@ var CheckboxInput = ({
7725
7725
  }) => {
7726
7726
  const config = component.config || {};
7727
7727
  const fieldName = config["identifier"] || config["name"] || component.id;
7728
- const value = formValues[fieldName] || "";
7728
+ const value = formValues[fieldName] || false;
7729
7729
  const error = touchedFields[fieldName] ? formErrors[fieldName] : void 0;
7730
7730
  return createField({
7731
7731
  type: import_browser51.FieldType.Checkbox,