@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.
- package/dist/components/auth.js +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/components/auth.js
CHANGED
|
@@ -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) {
|
package/dist/index.d.ts
CHANGED
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) {
|