@pollar/core 0.4.1 → 0.4.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
@@ -688,6 +688,7 @@ var STATE_VAR_CODES = {
688
688
  FETCH_SESSION_START: "FETCH_SESSION_START",
689
689
  FETCH_SESSION_SUCCESS: "FETCH_SESSION_SUCCESS",
690
690
  FETCH_SESSION_ERROR: "FETCH_SESSION_ERROR",
691
+ NO_RESTORED_SESSION: "NO_RESTORED_SESSION",
691
692
  RESTORED_SESSION_SUCCESS: "RESTORED_SESSION_SUCCESS",
692
693
  RESTORED_SESSION_ERROR: "RESTORED_SESSION_ERROR",
693
694
  SESSION_STORED: "SESSION_STORED",
@@ -1453,7 +1454,7 @@ var PollarClient = class {
1453
1454
  );
1454
1455
  console.info("[PollarClient] Session restored from storage");
1455
1456
  } else {
1456
- this._emitState("authentication", STATE_VAR_CODES.authentication.RESTORED_SESSION_SUCCESS, "warn", StateStatus.ERROR);
1457
+ this._emitState("authentication", STATE_VAR_CODES.authentication.NO_RESTORED_SESSION, "info", StateStatus.NONE);
1457
1458
  console.info("[PollarClient] Session NO restored from storage");
1458
1459
  }
1459
1460
  }