@insforge/react 0.7.4-dev.0 → 0.7.4-dev.2
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -289,7 +289,7 @@ var InsforgeManager = class _InsforgeManager {
|
|
|
289
289
|
const sdkResult = await this.sdk.auth.signInWithPassword({
|
|
290
290
|
email,
|
|
291
291
|
password,
|
|
292
|
-
hostedMode: this.config.hostedMode
|
|
292
|
+
hostedMode: this.config.hostedMode ?? false
|
|
293
293
|
});
|
|
294
294
|
if (sdkResult.data) {
|
|
295
295
|
await this.handleAuthSuccess(
|
|
@@ -310,7 +310,7 @@ var InsforgeManager = class _InsforgeManager {
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
async signUp(email, password) {
|
|
313
|
-
const sdkResult = await this.sdk.auth.signUp({ email, password });
|
|
313
|
+
const sdkResult = await this.sdk.auth.signUp({ email, password, hostedMode: this.config.hostedMode ?? false });
|
|
314
314
|
if (sdkResult.data) {
|
|
315
315
|
if (sdkResult.data.accessToken) {
|
|
316
316
|
await this.handleAuthSuccess(
|