@passflow/core 0.13.2 → 0.13.3

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.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import F from "axios";
2
2
  import { v4 as H } from "uuid";
3
3
  import { startAuthentication as z, startRegistration as X } from "@simplewebauthn/browser";
4
- const W = "0.13.2", J = {
4
+ const W = "0.13.3", J = {
5
5
  version: W
6
6
  }, b = "X-Passflow-Clientid", I = "Authorization", Z = "X-Passflow-DeviceId", Q = "X-Passflow-DeviceType", ee = J.version, qe = ["id", "offline", "openid"], te = ["id", "offline", "tenant", "email", "oidc", "openid", "access:tenant:all"], K = "https://auth.passflow.cloud", Be = "default", re = 500, se = 600, ie = 100, oe = 6e4, G = 30, ne = 3, ae = 30, ce = 200, he = (i) => {
7
7
  const e = [];
@@ -2720,10 +2720,8 @@ class Ue {
2720
2720
  initialize() {
2721
2721
  try {
2722
2722
  const e = this.storageManager.getTokens();
2723
- if (!e) {
2724
- this.startTokenCheck();
2723
+ if (!e)
2725
2724
  return;
2726
- }
2727
2725
  if (!e.access_token) {
2728
2726
  this.setTokensCache(e), this.startTokenCheck();
2729
2727
  return;