pwa-auth 1.1.9 → 1.2.1

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/README.md CHANGED
@@ -52,18 +52,23 @@ import 'pwa-auth';
52
52
  ### `<user-settings>`
53
53
  - 1 Photo Upload
54
54
  - Unavailable Photo
55
+ - Update Username
56
+ - Update Email / Verify
57
+ - Update Password
55
58
  - Delete Account
56
59
 
57
60
  # Website Setup:
58
61
  ```html
59
62
  <header>
60
- <!-- Indicate the 'register' boolean for 'subscribe state' -->
61
- <!-- else 'login state' -->
63
+ <!-- register: Indicate the 'register' boolean for 'subscribe state' -->
64
+ <!-- register: else 'login state' -->
62
65
  <user-icon register></user-icon>
63
66
  </header>
64
67
 
65
- <!-- Indicate where the <pwa-settings> Tag will be Paged-->
66
- <user-drawer url="/settings"></user-drawer>
68
+ <!-- url: Indicate where the <pwa-settings> Tag will be Paged-->
69
+ <!-- register: Indicate the 'register' boolean for 'subscribe state' -->
70
+ <!-- register: else 'login state' -->
71
+ <user-drawer register url="/settings"></user-drawer>
67
72
 
68
73
  <main>
69
74
  <user-settings></user-settings>
@@ -74,31 +79,6 @@ import 'pwa-auth';
74
79
  <script src="pwa-auth.js"></script>
75
80
  ```
76
81
 
77
- ## Google Setup
78
- - Google Analytics
79
- - Firebase Project
80
-
81
- ## Firebase Setup
82
- - Authentication - email
83
- - Cloud Firestore - database
84
- - Cloud Storage
85
-
86
- ```javascript
87
- // Initialize Firebase
88
- let connect = {
89
- apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
90
- authDomain: "xxxxxxx.xxxxxxx.xxx",
91
- databaseURL: "https://xxxxxxx.xxxxxxx.xxx",
92
- projectId: "xxxxxxx",
93
- storageBucket: "xxxxxxx.xxxxxxx.xxx",
94
- messagingSenderId: "xxxxxxxxxxx",
95
- appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
96
- measurementId: "xxxxxxxxxxx"
97
- };
98
-
99
- if (lolalhost) { connect = { /* etc. */ } }
100
- ```
101
-
102
82
  ## CSS Default Custom Properties
103
83
  | CSS Custom Property | Description | Default | Custom Element |
104
84
  | :--- | ---: | :---: | :--- |
@@ -118,12 +98,43 @@ if (lolalhost) { connect = { /* etc. */ } }
118
98
  | --pwa_icon_hover | Input | lightgrey | Icon |
119
99
 
120
100
  ```html
121
- <!-- CSS: Custom Variables: <head> tag -->
101
+ <!-- CSS: Custom Variables -->
102
+ <!-- Place this txt into your document -->
122
103
  <style>
123
104
 
124
105
  :root {
125
- --pwa_divider: grey;
126
- /* etc. */
106
+
107
+ --pwa_settings_background: white;
108
+
109
+ /* Top Border Color */
110
+ --pwa_divider: grey;
111
+
112
+ /* Section Header Color */
113
+ --pwa_section_header: black;
114
+
115
+ /* Navigation Colors */
116
+ --pwa_nav_button: grey;
117
+ --pwa_nav_select: black;
118
+
119
+ /* Label Color */
120
+ --pwa_label_text_color: black;
121
+
122
+ /* Input Colors */
123
+ --pwa_input_background: #E1E5EB;
124
+
125
+ /* Button Colors */
126
+ --pwa_action_text_color: #fff;
127
+ --pwa_action_background_color: #6cc04a;
128
+ --pwa_action_border_color: #60b23e;
129
+
130
+ /* Drawer Colors */
131
+ --pwa_drawer_text_color: #303030;
132
+ --pwa_drawer_background_color: #fff;
133
+
134
+ /* Icon Colors */
135
+ --pwa_icon_background: #6cc04a;
136
+ --pwa_icon_hover: lightgrey;
137
+
127
138
  }
128
139
 
129
140
  /* Dark Theme */
@@ -135,7 +146,33 @@ if (lolalhost) { connect = { /* etc. */ } }
135
146
  </style>
136
147
  ```
137
148
 
149
+ ## Google Setup
150
+ - Google Analytics
151
+ - Firebase Project
152
+
153
+ ## Firebase Setup
154
+ - Authentication - email
155
+ - Cloud Firestore - database
156
+ - Cloud Storage
157
+
158
+ ```javascript
159
+ // Initialize Firebase
160
+ let connect = {
161
+ apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
162
+ authDomain: "xxxxxxx.xxxxxxx.xxx",
163
+ databaseURL: "https://xxxxxxx.xxxxxxx.xxx",
164
+ projectId: "xxxxxxx",
165
+ storageBucket: "xxxxxxx.xxxxxxx.xxx",
166
+ messagingSenderId: "xxxxxxxxxxx",
167
+ appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
168
+ measurementId: "xxxxxxxxxxx"
169
+ };
170
+
171
+ if (lolalhost) { connect = { /* etc. */ } }
172
+ ```
173
+
138
174
  # Feedback
139
175
  All feedback, comments, bugs, and requests are welcome.
140
176
  * [Jack's Publishing](https://www.jackspublishing.com)
141
- * [contractor's centre](https://www.contractorscentre.com)
177
+ * [contractor's centre](https://www.contractorscentre.com)
178
+ * [Node Package Manager](https://www.npmjs.com/package/pwa-auth)
package/demo/index.html CHANGED
@@ -45,7 +45,7 @@
45
45
  <header><user-icon register></user-icon></header>
46
46
 
47
47
  <!-- Drawer -->
48
- <user-drawer url="/demo/settings"></user-drawer>
48
+ <user-drawer register url="/demo/settings"></user-drawer>
49
49
 
50
50
  <!-- Settings -->
51
51
  <main><user-settings></user-settings></main>
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SAczB,CAAC"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SAYzB,CAAC"}
@@ -2,12 +2,10 @@ import { css } from "lit";
2
2
  export const drawerStyle = css `
3
3
 
4
4
  .userDrawer {
5
- z-index: 1;
6
5
  max-width: 600px;
7
6
  margin: 16px auto auto auto;
8
7
  background-color: var(--pwa_drawer_background_color);
9
8
  color: var(--pwa_drawer_text_color);
10
- padding: 8px 18px;
11
9
  box-sizing: border-box;
12
10
  border: 3px #303030 solid;
13
11
  border-radius: 20px;
@@ -1 +1 @@
1
- {"version":3,"file":"exit.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SA4CvB,CAAC"}
1
+ {"version":3,"file":"exit.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SA6CvB,CAAC"}
@@ -4,6 +4,7 @@ export const exitStyle = css `
4
4
  .exit {
5
5
  display: grid;
6
6
  grid-template-columns: 80px 1fr 80px;
7
+ padding: 16px;
7
8
  }
8
9
 
9
10
  .exit > h3 {
@@ -34,8 +35,8 @@ export const exitStyle = css `
34
35
  }
35
36
 
36
37
  .close {
37
- height: 36px;
38
- width: 36px;
38
+ height: 30px;
39
+ width: 42px;
39
40
  margin: auto;
40
41
  background-color: transparent;
41
42
  border: 0px;
@@ -18,12 +18,13 @@ declare const UserDrawer_base: (new (...args: any[]) => {
18
18
  export declare class UserDrawer extends UserDrawer_base {
19
19
  private url;
20
20
  drawer: boolean;
21
+ register: boolean;
21
22
  private _name;
22
23
  private _log;
23
24
  private _sign;
24
25
  constructor();
25
- protected firstUpdated(): void;
26
26
  stateChanged(state: AppState): void;
27
+ protected firstUpdated(): void;
27
28
  static get styles(): CSSResultArray;
28
29
  protected render(): import("lit-html").TemplateResult<1>;
29
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/drawer/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,MAAoB,KAAK,CAAC;AAG1E,OAAO,EAAS,QAAQ,EAAE,MAAqB,aAAa,CAAC;AAc7D,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;;;;;;;;;;;;;;AAEzB,qBACa,UAAW,SAAQ,eAA0B;IAGf,OAAO,CAAC,GAAG,CAAM;IAGO,MAAM,UAAS;IAEvE,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,IAAI,CAAiB;IAC7B,OAAO,CAAC,KAAK,CAAgB;;IAItC,SAAS,CAAC,YAAY;IAatB,YAAY,CAAC,KAAK,EAAE,QAAQ;IAO5B,MAAM,KAAK,MAAM,IAAI,cAAc,CA+BhC;IAEH,SAAS,CAAC,MAAM;CAgDjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,aAAa,EAAE,UAAU,CAAC;KAC7B;CACF"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/drawer/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,MAAoB,KAAK,CAAC;AAG1E,OAAO,EAAS,QAAQ,EAAE,MAAqB,aAAa,CAAC;AAc7D,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;;;;;;;;;;;;;;AAEzB,qBACa,UAAW,SAAQ,eAA0B;IAGf,OAAO,CAAC,GAAG,CAAM;IAGO,MAAM,UAAS;IAGf,QAAQ,UAAS;IAEzE,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,IAAI,CAAiB;IAC7B,OAAO,CAAC,KAAK,CAAgB;;IAMtC,YAAY,CAAC,KAAK,EAAE,QAAQ;IAO5B,SAAS,CAAC,YAAY;IAatB,MAAM,KAAK,MAAM,IAAI,cAAc,CAiChC;IAEH,SAAS,CAAC,MAAM;CAiDjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,aAAa,EAAE,UAAU,CAAC;KAC7B;CACF"}
@@ -25,10 +25,17 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
25
25
  super();
26
26
  this.url = '';
27
27
  this.drawer = false;
28
+ this.register = false;
28
29
  this._name = "";
29
30
  this._log = false;
30
31
  this._sign = false;
31
32
  }
33
+ stateChanged(state) {
34
+ this._name = state.backend.name;
35
+ this.drawer = state.frontend.drawer;
36
+ this._log = state.frontend.login;
37
+ this._sign = state.frontend.register;
38
+ }
32
39
  firstUpdated() {
33
40
  this.shadowRoot.querySelector('.close').addEventListener('click', () => {
34
41
  store.dispatch(toggleSign());
@@ -40,12 +47,6 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
40
47
  store.dispatch(toggleSign());
41
48
  });
42
49
  }
43
- stateChanged(state) {
44
- this._name = state.backend.name;
45
- this.drawer = state.frontend.drawer;
46
- this._log = state.frontend.login;
47
- this._sign = state.frontend.register;
48
- }
49
50
  static get styles() {
50
51
  return [
51
52
  show,
@@ -58,6 +59,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
58
59
  css `
59
60
 
60
61
  :host {
62
+ z-index: 2;
61
63
  position: fixed;
62
64
  top: 0;
63
65
  left: 0;
@@ -67,6 +69,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
67
69
  transform: translate3d(0, -150%, 0);
68
70
  transition-property: visibility, transform;
69
71
  /*transition-duration: 1.4s;*/
72
+ transition-duration: 0s;
70
73
  display: block;
71
74
  }
72
75
 
@@ -84,16 +87,16 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
84
87
  return html `
85
88
 
86
89
  <!-- Drawer Wrapper -->
87
- <div
90
+ <section
88
91
  class=" userDrawer"
89
92
  ?on="${this.drawer === true}">
90
93
 
91
94
  <!-- Exit Button -->
92
- <div class="exit">
95
+ <header class="exit">
93
96
  <div></div>
94
97
  <h3>${this._log ? this._name + " : Logged-in" : "SUBSCRIBE"}</h3>
95
98
  <button class="close">${close}</button>
96
- </div>
99
+ </header>
97
100
 
98
101
  <!-- Logged-out State -->
99
102
  <div
@@ -103,12 +106,13 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
103
106
  <!-- Log-in State -->
104
107
  <user-log-in
105
108
  class="spec"
106
- ?on="${this._sign === true}"></user-log-in>
109
+
110
+ ?on="${true === this._sign ? !this.register : this.register}"></user-log-in>
107
111
 
108
112
  <!-- Sign-up State -->
109
113
  <user-sign-up
110
114
  class="spec"
111
- ?on="${this._sign === false}"></user-sign-up>
115
+ ?on="${false === this._sign ? !this.register : this.register}"></user-sign-up>
112
116
 
113
117
  </div>
114
118
 
@@ -123,7 +127,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
123
127
 
124
128
  </div>
125
129
 
126
- </div>
130
+ </section>
127
131
 
128
132
  `;
129
133
  }
@@ -134,6 +138,9 @@ __decorate([
134
138
  __decorate([
135
139
  property({ type: Boolean, attribute: true, reflect: true })
136
140
  ], UserDrawer.prototype, "drawer", void 0);
141
+ __decorate([
142
+ property({ type: Boolean, attribute: true, reflect: true })
143
+ ], UserDrawer.prototype, "register", void 0);
137
144
  __decorate([
138
145
  state()
139
146
  ], UserDrawer.prototype, "_name", void 0);
@@ -21,7 +21,7 @@ let UserLogIn = class UserLogIn extends LitElement {
21
21
  this.password = '';
22
22
  this.signIn = async (email, password) => {
23
23
  const authCredential = EmailAuthProvider.credential(email, password);
24
- await signInWithCredential(auth, authCredential).then((credentials) => { console.log(credentials); }).catch((error) => { console.log(error); });
24
+ await signInWithCredential(auth, authCredential).catch((error) => { console.log(error); });
25
25
  };
26
26
  }
27
27
  static get styles() {
@@ -72,7 +72,7 @@ let UserLogIn = class UserLogIn extends LitElement {
72
72
  <!-- Change State -->
73
73
  <button
74
74
  class="new"
75
- @click="${this.change}">login with existing email</button>
75
+ @click="${this.change}">create a new account</button>
76
76
 
77
77
  <button
78
78
  class="login action-button"
@@ -1 +1 @@
1
- {"version":3,"file":"sign-up.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/input/sign-up.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAoB,KAAK,CAAC;AAa1D,qBACa,UAAW,SAAQ,UAAU;IAE/B,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,QAAQ,CAAU;;IAInC,MAAM,KAAK,MAAM,8BAad;IAEH,SAAS,CAAC,MAAM;IAkDhB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,UAAU,CAiBjB;CAeF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,cAAc,EAAE,UAAU,CAAC;KAC9B;CACF"}
1
+ {"version":3,"file":"sign-up.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/input/sign-up.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAe,KAAK,CAAC;AAarD,qBACa,UAAW,SAAQ,UAAU;IAE/B,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,QAAQ,CAAU;;IAInC,MAAM,KAAK,MAAM,8BAad;IAEH,SAAS,CAAC,MAAM;IAkDhB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,UAAU,CAiBjB;CAeF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,cAAc,EAAE,UAAU,CAAC;KAC9B;CACF"}
@@ -22,7 +22,6 @@ let UserSignUp = class UserSignUp extends LitElement {
22
22
  this.newAccount = async (email, password) => {
23
23
  await createUserWithEmailAndPassword(auth, email, password)
24
24
  .then((userCredential) => {
25
- console.log("User created: ", userCredential.user);
26
25
  const user = userCredential.user;
27
26
  sendEmailVerification(user)
28
27
  .then(() => {
@@ -83,7 +82,7 @@ let UserSignUp = class UserSignUp extends LitElement {
83
82
  <!-- Change State -->
84
83
  <button
85
84
  class="new"
86
- @click="${this.change}">create a new account</button>
85
+ @click="${this.change}">login with existing email</button>
87
86
 
88
87
  <button
89
88
  class="newUser action-button"
@@ -19,7 +19,6 @@ let UserIcon = class UserIcon extends connect(store)(LitElement) {
19
19
  }
20
20
  firstUpdated() {
21
21
  this.shadowRoot.querySelector('button').addEventListener('click', () => {
22
- console.log('logged-in: ', this._user);
23
22
  store.dispatch(toggleSign());
24
23
  });
25
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/settings/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAe,KAAK,CAAC;AAGrD,OAAO,EAAS,QAAQ,EAAE,MAAqB,aAAa,CAAC;AAG7D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;;;;;;;;;;;;;;AAGxB,qBACa,YAAa,SAAQ,iBAA0B;IAEjD,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,IAAI,CAAM;;IAI3B,SAAS,CAAC,YAAY;IA8BtB,YAAY,CAAC,KAAK,EAAE,QAAQ;IAK5B,MAAM,KAAK,MAAM,8BAkCX;IAEN,SAAS,CAAC,MAAM;CA6FjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,eAAe,EAAE,YAAY,CAAC;KACjC;CACF"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/settings/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAe,KAAK,CAAC;AAGrD,OAAO,EAAS,QAAQ,EAAE,MAAqB,aAAa,CAAC;AAG7D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;;;;;;;;;;;;;;AAGxB,qBACa,YAAa,SAAQ,iBAA0B;IAEjD,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,IAAI,CAAM;;IAI3B,SAAS,CAAC,YAAY;IA8BtB,YAAY,CAAC,KAAK,EAAE,QAAQ;IAK5B,MAAM,KAAK,MAAM,8BAyCX;IAEN,SAAS,CAAC,MAAM;CA6FjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,eAAe,EAAE,YAAY,CAAC;KACjC;CACF"}
@@ -78,6 +78,13 @@ let UserSettings = class UserSettings extends connect(store)(LitElement) {
78
78
  padding: 8px 0;
79
79
  }
80
80
 
81
+ /* up to 576 pixels */
82
+ @media only screen and (max-width: 576px) {
83
+ h2 {
84
+ font-size: medium;
85
+ }
86
+ }
87
+
81
88
  `
82
89
  ];
83
90
  }
@@ -1 +1 @@
1
- {"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../../src/redux/frontend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,eAAO,MAAM,YAAY,EAAE,YA0B1B,CAAA;AAGD,eAAO,MAAM,SAAS;+EAKkB,aAAa,CAAC,MAAM,CAAC;2EAsBxB,aAAa,CAAC,OAAO,CAAC;;;;8EAoBvB,aAAa,CAAC,OAAO,CAAC;2EAKtB,aAAa,CAAC,MAAM,CAAC;2EAKpB,aAAa,CAAC,MAAM,CAAC;2EAKxD,CAAC;AAEH,eAAO,MAAQ,YAAY,oFAAE,QAAQ,gFAAE,QAAQ,gFAAE,QAAQ,iFAAE,UAAU,6EAAE,SAAS,4EAAE,YAAY,+EAAE,WAAW,kFAAsB,CAAC;;AAElI,wBAAiC"}
1
+ {"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../../src/redux/frontend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,eAAO,MAAM,YAAY,EAAE,YA0B1B,CAAA;AAGD,eAAO,MAAM,SAAS;+EAKkB,aAAa,CAAC,MAAM,CAAC;2EAsBxB,aAAa,CAAC,OAAO,CAAC;;;;8EA0CvB,aAAa,CAAC,OAAO,CAAC;2EAKtB,aAAa,CAAC,MAAM,CAAC;2EAKpB,aAAa,CAAC,MAAM,CAAC;2EAKxD,CAAC;AAEH,eAAO,MAAQ,YAAY,oFAAE,QAAQ,gFAAE,QAAQ,gFAAE,QAAQ,iFAAE,UAAU,6EAAE,SAAS,4EAAE,YAAY,+EAAE,WAAW,kFAAsB,CAAC;;AAElI,wBAAiC"}
package/deploy/start.js CHANGED
@@ -68,7 +68,6 @@ onAuthStateChanged(auth, (user) => {
68
68
  }
69
69
  }
70
70
  else {
71
- console.log('logged out');
72
71
  store.dispatch(userAuth(false));
73
72
  store.dispatch(accID(''));
74
73
  store.dispatch(accName('John Doe'));