@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.
- package/dist/Appserver/client.js +1 -1
- package/package.json +1 -1
package/dist/Appserver/client.js
CHANGED
|
@@ -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(
|
|
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