@zealicsolutions/web-ui 0.4.80 → 0.4.82

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ export declare type OrganismContextType = {
21
21
  submitHandler?: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  validations?: PasswordRuleValidation[];
26
26
  editable?: boolean;
27
27
  isFormInEditMode?: boolean;
@@ -21,7 +21,7 @@ export declare type OrganismContextProviderProps = PropsWithChildren<{
21
21
  submitHandler: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  isFormInEditMode: boolean;
26
26
  organismMetadata: AnyObject;
27
27
  isConfigurationMode: boolean;
package/dist/index.d.ts CHANGED
@@ -1557,7 +1557,7 @@ declare type OrganismContextProviderProps = PropsWithChildren<{
1557
1557
  submitHandler: (data: {
1558
1558
  formId: string;
1559
1559
  data: AnyObject$1;
1560
- }) => void;
1560
+ }) => Promise<void>;
1561
1561
  isFormInEditMode: boolean;
1562
1562
  organismMetadata: AnyObject$1;
1563
1563
  isConfigurationMode: boolean;
@@ -1582,7 +1582,7 @@ declare type OrganismContextType = {
1582
1582
  submitHandler?: (data: {
1583
1583
  formId: string;
1584
1584
  data: AnyObject$1;
1585
- }) => void;
1585
+ }) => Promise<void>;
1586
1586
  validations?: PasswordRuleValidation[];
1587
1587
  editable?: boolean;
1588
1588
  isFormInEditMode?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.4.80",
4
- "testVersion": "0.3.221",
3
+ "version": "0.4.82",
4
+ "testVersion": "0.3.223",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"