@cal.macconnachie/web-components 0.0.13 → 0.0.14

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.
@@ -1784,6 +1784,9 @@ let m = class extends H {
1784
1784
  otp: e.otp
1785
1785
  }), await this.handleSignIn();
1786
1786
  }
1787
+ isUserLoggedIn() {
1788
+ return this.isLoggedIn;
1789
+ }
1787
1790
  async logout() {
1788
1791
  const e = this.cookies.getAuthToken("ACCESS_TOKEN"), t = this.cookies.getAuthToken("AUTH_TOKEN"), s = this.cookies.getAuthToken("REFRESH_TOKEN");
1789
1792
  if (e == null || s == null || t == null) {
@@ -94,6 +94,7 @@ export declare class Auth extends LitElement {
94
94
  private handleSignupWithOtp;
95
95
  private handleRequestReset;
96
96
  private handleConfirmReset;
97
+ isUserLoggedIn(): boolean;
97
98
  logout(): Promise<void>;
98
99
  private handleGoogleSignIn;
99
100
  private handleAppleSignIn;
package/dist/index.d.ts CHANGED
@@ -94,6 +94,7 @@ export declare class Auth extends LitElement {
94
94
  private handleSignupWithOtp;
95
95
  private handleRequestReset;
96
96
  private handleConfirmReset;
97
+ isUserLoggedIn(): boolean;
97
98
  logout(): Promise<void>;
98
99
  private handleGoogleSignIn;
99
100
  private handleAppleSignIn;
package/dist/index.js CHANGED
@@ -1784,6 +1784,9 @@ let A = class extends ee {
1784
1784
  otp: t.otp
1785
1785
  }), await this.handleSignIn();
1786
1786
  }
1787
+ isUserLoggedIn() {
1788
+ return this.isLoggedIn;
1789
+ }
1787
1790
  async logout() {
1788
1791
  const t = this.cookies.getAuthToken("ACCESS_TOKEN"), e = this.cookies.getAuthToken("AUTH_TOKEN"), s = this.cookies.getAuthToken("REFRESH_TOKEN");
1789
1792
  if (t == null || s == null || e == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "lit",