@insforge/react 0.7.3 → 0.7.4-dev.1

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.cjs CHANGED
@@ -288,7 +288,8 @@ var InsforgeManager = class _InsforgeManager {
288
288
  async signIn(email, password) {
289
289
  const sdkResult = await this.sdk.auth.signInWithPassword({
290
290
  email,
291
- password
291
+ password,
292
+ hostedMode: this.config.hostedMode ?? false
292
293
  });
293
294
  if (sdkResult.data) {
294
295
  await this.handleAuthSuccess(
@@ -309,7 +310,7 @@ var InsforgeManager = class _InsforgeManager {
309
310
  }
310
311
  }
311
312
  async signUp(email, password) {
312
- const sdkResult = await this.sdk.auth.signUp({ email, password });
313
+ const sdkResult = await this.sdk.auth.signUp({ email, password, hostedMode: this.config.hostedMode ?? false });
313
314
  if (sdkResult.data) {
314
315
  if (sdkResult.data.accessToken) {
315
316
  await this.handleAuthSuccess(