@cripty2001/utils 0.0.229 → 0.0.230

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.
@@ -51,7 +51,7 @@ class Client {
51
51
  constructor(url, rpcMount) {
52
52
  this.url = url;
53
53
  this.rpcMount = rpcMount;
54
- const [token, setToken] = whispr_1.Whispr.create(null);
54
+ const [token, setToken] = whispr_1.Whispr.create(''); // This will make sure the loggedin only flips to false when there is really an auth rejected. Server will ignore invalid tokens on public apis anyway
55
55
  this.token = token;
56
56
  this.setToken = setToken;
57
57
  this.loggedIn = token.transform((t) => t !== null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.229",
3
+ "version": "0.0.230",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {