@wacht/jsx 0.0.1-alpha.12 → 0.0.1-alpha.13

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.d.ts CHANGED
@@ -179,7 +179,7 @@ export declare interface ConversationSession {
179
179
  export declare const CreateOrganizationForm: React.FC<CreateOrganizationFormProps>;
180
180
 
181
181
  declare interface CreateOrganizationFormProps {
182
- onSuccess?: () => void;
182
+ onSuccess?: (organization?: any) => void;
183
183
  onCancel?: () => void;
184
184
  }
185
185
 
@@ -211,7 +211,7 @@ export declare const CreateWorkspaceForm: default_2.FC<CreateWorkspaceFormProps>
211
211
 
212
212
  declare interface CreateWorkspaceFormProps {
213
213
  organizationId: string;
214
- onSuccess?: () => void;
214
+ onSuccess?: (workspace?: any) => void;
215
215
  onCancel?: () => void;
216
216
  onCreateOrganization?: () => void;
217
217
  }
@@ -359,6 +359,7 @@ declare type GenericSignInParams = {
359
359
  password?: string;
360
360
  phone?: string;
361
361
  strategy?: string;
362
+ token?: string;
362
363
  };
363
364
 
364
365
  export declare function hasIncompleteProfile(session: Session): boolean;
@@ -702,7 +703,7 @@ declare type SignInFunction<T extends SignInStrategy> = {
702
703
  ["generic"]: SignInGeneric;
703
704
  }[T];
704
705
 
705
- declare type SignInGeneric = ({ email, username, password, phone, strategy, }: GenericSignInParams) => Promise<ApiResult<Session>>;
706
+ declare type SignInGeneric = ({ email, username, password, phone, strategy, token, }: GenericSignInParams) => Promise<ApiResult<Session>>;
706
707
 
707
708
  declare type SignInMagicLink = ({ email, }: MagicLinkSignInParams) => Promise<ApiResult<Session>>;
708
709