@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.js CHANGED
@@ -281,7 +281,8 @@ var InsforgeManager = class _InsforgeManager {
281
281
  async signIn(email, password) {
282
282
  const sdkResult = await this.sdk.auth.signInWithPassword({
283
283
  email,
284
- password
284
+ password,
285
+ hostedMode: this.config.hostedMode ?? false
285
286
  });
286
287
  if (sdkResult.data) {
287
288
  await this.handleAuthSuccess(
@@ -302,7 +303,7 @@ var InsforgeManager = class _InsforgeManager {
302
303
  }
303
304
  }
304
305
  async signUp(email, password) {
305
- const sdkResult = await this.sdk.auth.signUp({ email, password });
306
+ const sdkResult = await this.sdk.auth.signUp({ email, password, hostedMode: this.config.hostedMode ?? false });
306
307
  if (sdkResult.data) {
307
308
  if (sdkResult.data.accessToken) {
308
309
  await this.handleAuthSuccess(