@fabriktor/fx 0.0.23 → 0.0.24

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.
@@ -17,11 +17,9 @@ export class SessionFX {
17
17
  });
18
18
  }
19
19
  async finishSignUp(opts) {
20
- const out = await this.users.bootstrap({
20
+ return await this.users.bootstrap({
21
21
  in: opts.in,
22
22
  });
23
- await this.users.sendEmailVerification();
24
- return out;
25
23
  }
26
24
  async signUpAndBootstrap(opts) {
27
25
  await this.startSignUp({
@@ -61,11 +59,10 @@ export class SessionFX {
61
59
  }
62
60
  async checkEmailVerification() {
63
61
  await this.auth.reloadUser();
64
- await this.auth.refreshToken();
65
62
  if (!this.auth.emailVerified()) {
66
63
  return false;
67
64
  }
68
- await this.users.sync();
65
+ await this.auth.refreshToken();
69
66
  return true;
70
67
  }
71
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/fx",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {