pwa-auth 3.3.10 → 3.3.12
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/LICENSES.txt +27 -27
- package/README.md +6 -6
- package/base/redux/backend.d.ts +16 -16
- package/base/redux/drawer.d.ts +4 -4
- package/base/redux/frontend.d.ts +18 -18
- package/base/webcomponents/icon/css/icon.js +1 -1
- package/package.json +8 -8
- package/source/pwa-auth.js +83 -64
package/LICENSES.txt
CHANGED
|
@@ -154,7 +154,7 @@ SOFTWARE.
|
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
---
|
|
157
|
-
immer@
|
|
157
|
+
immer@11.1.3
|
|
158
158
|
MIT
|
|
159
159
|
MIT License
|
|
160
160
|
|
|
@@ -206,29 +206,29 @@ SOFTWARE.
|
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
---
|
|
209
|
-
@reduxjs/toolkit@2.
|
|
209
|
+
@reduxjs/toolkit@2.11.2
|
|
210
210
|
MIT
|
|
211
|
-
MIT License
|
|
212
|
-
|
|
213
|
-
Copyright (c) 2018 Mark Erikson
|
|
214
|
-
|
|
215
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
216
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
217
|
-
in the Software without restriction, including without limitation the rights
|
|
218
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
219
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
220
|
-
furnished to do so, subject to the following conditions:
|
|
221
|
-
|
|
222
|
-
The above copyright notice and this permission notice shall be included in all
|
|
223
|
-
copies or substantial portions of the Software.
|
|
224
|
-
|
|
225
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
226
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
227
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
228
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
229
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
230
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
231
|
-
SOFTWARE.
|
|
211
|
+
MIT License
|
|
212
|
+
|
|
213
|
+
Copyright (c) 2018 Mark Erikson
|
|
214
|
+
|
|
215
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
216
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
217
|
+
in the Software without restriction, including without limitation the rights
|
|
218
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
219
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
220
|
+
furnished to do so, subject to the following conditions:
|
|
221
|
+
|
|
222
|
+
The above copyright notice and this permission notice shall be included in all
|
|
223
|
+
copies or substantial portions of the Software.
|
|
224
|
+
|
|
225
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
226
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
227
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
228
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
229
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
230
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
231
|
+
SOFTWARE.
|
|
232
232
|
|
|
233
233
|
|
|
234
234
|
---
|
|
@@ -258,17 +258,17 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
---
|
|
261
|
-
@firebase/app@0.14.
|
|
261
|
+
@firebase/app@0.14.6
|
|
262
262
|
Apache-2.0
|
|
263
263
|
No license text provided
|
|
264
264
|
|
|
265
265
|
---
|
|
266
|
-
@firebase/auth@1.
|
|
266
|
+
@firebase/auth@1.12.0
|
|
267
267
|
Apache-2.0
|
|
268
268
|
No license text provided
|
|
269
269
|
|
|
270
270
|
---
|
|
271
|
-
firebase@12.
|
|
271
|
+
firebase@12.7.0
|
|
272
272
|
Apache-2.0
|
|
273
273
|
No license text provided
|
|
274
274
|
|
|
@@ -278,7 +278,7 @@ Apache-2.0
|
|
|
278
278
|
No license text provided
|
|
279
279
|
|
|
280
280
|
---
|
|
281
|
-
@firebase/firestore@4.9.
|
|
281
|
+
@firebase/firestore@4.9.3
|
|
282
282
|
Apache-2.0
|
|
283
283
|
No license text provided
|
|
284
284
|
|
package/README.md
CHANGED
|
@@ -31,10 +31,10 @@ Continue reading to understand how to install this project:
|
|
|
31
31
|
## Library
|
|
32
32
|
```javascript
|
|
33
33
|
// ES - import Modules
|
|
34
|
-
import '
|
|
34
|
+
import 'pwa-auth';
|
|
35
35
|
|
|
36
36
|
// Optional - copy CoreJS files
|
|
37
|
-
'npm/pwa-auth/source/**/*'
|
|
37
|
+
'./npm/pwa-auth/source/**/*'
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Technical Summary
|
|
@@ -208,10 +208,10 @@ Eports: classes and objects
|
|
|
208
208
|
```javascript
|
|
209
209
|
// Custom HTML Element Classes
|
|
210
210
|
import 'pwa-auth';
|
|
211
|
-
`<user-icon
|
|
212
|
-
`<user-drawer
|
|
213
|
-
`<user-settings
|
|
214
|
-
`<user-login
|
|
211
|
+
`<user-icon>` // subscribe | empty= "./images/empty.jpg"
|
|
212
|
+
`<user-drawer>` // subscribe | url= "./settings"
|
|
213
|
+
`<user-settings>` // empty= "./images/empty.jpg"
|
|
214
|
+
`<user-login>` // subscribe |
|
|
215
215
|
|
|
216
216
|
// Firebase Objects
|
|
217
217
|
import { db, storage, auth, user } from 'pwa-auth';
|
package/base/redux/backend.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
9
9
|
phone: string;
|
|
10
10
|
msgToken: string;
|
|
11
11
|
}, {
|
|
12
|
-
accVerified: (state:
|
|
12
|
+
accVerified: (state: {
|
|
13
13
|
verified: boolean;
|
|
14
14
|
anon: boolean;
|
|
15
15
|
userId: string;
|
|
@@ -18,8 +18,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
18
18
|
photoURL: string;
|
|
19
19
|
phone: string;
|
|
20
20
|
msgToken: string;
|
|
21
|
-
}
|
|
22
|
-
accAnon: (state:
|
|
21
|
+
}, action: PayloadAction<boolean>) => void;
|
|
22
|
+
accAnon: (state: {
|
|
23
23
|
verified: boolean;
|
|
24
24
|
anon: boolean;
|
|
25
25
|
userId: string;
|
|
@@ -28,8 +28,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
28
28
|
photoURL: string;
|
|
29
29
|
phone: string;
|
|
30
30
|
msgToken: string;
|
|
31
|
-
}
|
|
32
|
-
accID: (state:
|
|
31
|
+
}, action: PayloadAction<boolean>) => void;
|
|
32
|
+
accID: (state: {
|
|
33
33
|
verified: boolean;
|
|
34
34
|
anon: boolean;
|
|
35
35
|
userId: string;
|
|
@@ -38,8 +38,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
38
38
|
photoURL: string;
|
|
39
39
|
phone: string;
|
|
40
40
|
msgToken: string;
|
|
41
|
-
}
|
|
42
|
-
accName: (state:
|
|
41
|
+
}, action: PayloadAction<string>) => void;
|
|
42
|
+
accName: (state: {
|
|
43
43
|
verified: boolean;
|
|
44
44
|
anon: boolean;
|
|
45
45
|
userId: string;
|
|
@@ -48,8 +48,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
48
48
|
photoURL: string;
|
|
49
49
|
phone: string;
|
|
50
50
|
msgToken: string;
|
|
51
|
-
}
|
|
52
|
-
accPhone: (state:
|
|
51
|
+
}, action: PayloadAction<string>) => void;
|
|
52
|
+
accPhone: (state: {
|
|
53
53
|
verified: boolean;
|
|
54
54
|
anon: boolean;
|
|
55
55
|
userId: string;
|
|
@@ -58,8 +58,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
58
58
|
photoURL: string;
|
|
59
59
|
phone: string;
|
|
60
60
|
msgToken: string;
|
|
61
|
-
}
|
|
62
|
-
accEmail: (state:
|
|
61
|
+
}, action: PayloadAction<string>) => void;
|
|
62
|
+
accEmail: (state: {
|
|
63
63
|
verified: boolean;
|
|
64
64
|
anon: boolean;
|
|
65
65
|
userId: string;
|
|
@@ -68,8 +68,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
68
68
|
photoURL: string;
|
|
69
69
|
phone: string;
|
|
70
70
|
msgToken: string;
|
|
71
|
-
}
|
|
72
|
-
accImage: (state:
|
|
71
|
+
}, action: PayloadAction<string>) => void;
|
|
72
|
+
accImage: (state: {
|
|
73
73
|
verified: boolean;
|
|
74
74
|
anon: boolean;
|
|
75
75
|
userId: string;
|
|
@@ -78,8 +78,8 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
78
78
|
photoURL: string;
|
|
79
79
|
phone: string;
|
|
80
80
|
msgToken: string;
|
|
81
|
-
}
|
|
82
|
-
messageId: (state:
|
|
81
|
+
}, action: PayloadAction<string>) => void;
|
|
82
|
+
messageId: (state: {
|
|
83
83
|
verified: boolean;
|
|
84
84
|
anon: boolean;
|
|
85
85
|
userId: string;
|
|
@@ -88,7 +88,7 @@ export declare const accountSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
88
88
|
photoURL: string;
|
|
89
89
|
phone: string;
|
|
90
90
|
msgToken: string;
|
|
91
|
-
}
|
|
91
|
+
}, action: PayloadAction<string>) => void;
|
|
92
92
|
}, "backend", "backend", import("@reduxjs/toolkit").SliceSelectors<{
|
|
93
93
|
verified: boolean;
|
|
94
94
|
anon: boolean;
|
package/base/redux/drawer.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const drawerSlice: import("@reduxjs/toolkit").Slice<{
|
|
2
2
|
drawer: boolean;
|
|
3
3
|
}, {
|
|
4
|
-
setDrawer: (state:
|
|
4
|
+
setDrawer: (state: {
|
|
5
5
|
drawer: boolean;
|
|
6
|
-
}
|
|
7
|
-
closeDrawer: (state:
|
|
6
|
+
}) => void;
|
|
7
|
+
closeDrawer: (state: {
|
|
8
8
|
drawer: boolean;
|
|
9
|
-
}
|
|
9
|
+
}) => void;
|
|
10
10
|
}, "drawers", "drawers", import("@reduxjs/toolkit").SliceSelectors<{
|
|
11
11
|
drawer: boolean;
|
|
12
12
|
}>>;
|
package/base/redux/frontend.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
27
27
|
phone: string;
|
|
28
28
|
email: string;
|
|
29
29
|
}, {
|
|
30
|
-
navigateAuth: (state:
|
|
30
|
+
navigateAuth: (state: {
|
|
31
31
|
settings: string;
|
|
32
32
|
login: boolean;
|
|
33
33
|
drawer: boolean;
|
|
@@ -40,8 +40,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
40
40
|
photoURL: string;
|
|
41
41
|
phone: string;
|
|
42
42
|
email: string;
|
|
43
|
-
}
|
|
44
|
-
userAuth: (state:
|
|
43
|
+
}, action: PayloadAction<string>) => void;
|
|
44
|
+
userAuth: (state: {
|
|
45
45
|
settings: string;
|
|
46
46
|
login: boolean;
|
|
47
47
|
drawer: boolean;
|
|
@@ -54,8 +54,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
54
54
|
photoURL: string;
|
|
55
55
|
phone: string;
|
|
56
56
|
email: string;
|
|
57
|
-
}
|
|
58
|
-
toggleSign: (state:
|
|
57
|
+
}, action: PayloadAction<boolean>) => void;
|
|
58
|
+
toggleSign: (state: {
|
|
59
59
|
settings: string;
|
|
60
60
|
login: boolean;
|
|
61
61
|
drawer: boolean;
|
|
@@ -68,8 +68,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
68
68
|
photoURL: string;
|
|
69
69
|
phone: string;
|
|
70
70
|
email: string;
|
|
71
|
-
}
|
|
72
|
-
closeSign: (state:
|
|
71
|
+
}) => void;
|
|
72
|
+
closeSign: (state: {
|
|
73
73
|
settings: string;
|
|
74
74
|
login: boolean;
|
|
75
75
|
drawer: boolean;
|
|
@@ -82,8 +82,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
82
82
|
photoURL: string;
|
|
83
83
|
phone: string;
|
|
84
84
|
email: string;
|
|
85
|
-
}
|
|
86
|
-
signUpAction: (state:
|
|
85
|
+
}) => void;
|
|
86
|
+
signUpAction: (state: {
|
|
87
87
|
settings: string;
|
|
88
88
|
login: boolean;
|
|
89
89
|
drawer: boolean;
|
|
@@ -96,8 +96,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
96
96
|
photoURL: string;
|
|
97
97
|
phone: string;
|
|
98
98
|
email: string;
|
|
99
|
-
}
|
|
100
|
-
universalToggle: (state:
|
|
99
|
+
}) => void;
|
|
100
|
+
universalToggle: (state: {
|
|
101
101
|
settings: string;
|
|
102
102
|
login: boolean;
|
|
103
103
|
drawer: boolean;
|
|
@@ -110,8 +110,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
110
110
|
photoURL: string;
|
|
111
111
|
phone: string;
|
|
112
112
|
email: string;
|
|
113
|
-
}
|
|
114
|
-
signUpClose: (state:
|
|
113
|
+
}, action: PayloadAction<string>) => void;
|
|
114
|
+
signUpClose: (state: {
|
|
115
115
|
settings: string;
|
|
116
116
|
login: boolean;
|
|
117
117
|
drawer: boolean;
|
|
@@ -124,8 +124,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
124
124
|
photoURL: string;
|
|
125
125
|
phone: string;
|
|
126
126
|
email: string;
|
|
127
|
-
}
|
|
128
|
-
iconAuth: (state:
|
|
127
|
+
}, action: PayloadAction<boolean>) => void;
|
|
128
|
+
iconAuth: (state: {
|
|
129
129
|
settings: string;
|
|
130
130
|
login: boolean;
|
|
131
131
|
drawer: boolean;
|
|
@@ -138,8 +138,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
138
138
|
photoURL: string;
|
|
139
139
|
phone: string;
|
|
140
140
|
email: string;
|
|
141
|
-
}
|
|
142
|
-
nameAuth: (state:
|
|
141
|
+
}, action: PayloadAction<string>) => void;
|
|
142
|
+
nameAuth: (state: {
|
|
143
143
|
settings: string;
|
|
144
144
|
login: boolean;
|
|
145
145
|
drawer: boolean;
|
|
@@ -152,7 +152,7 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
152
152
|
photoURL: string;
|
|
153
153
|
phone: string;
|
|
154
154
|
email: string;
|
|
155
|
-
}
|
|
155
|
+
}, action: PayloadAction<string>) => void;
|
|
156
156
|
}, "user", "user", import("@reduxjs/toolkit").SliceSelectors<{
|
|
157
157
|
settings: string;
|
|
158
158
|
login: boolean;
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://www.jackspublishing.com",
|
|
7
7
|
"email": "jack.solutionbox@gmail.com"
|
|
8
8
|
},
|
|
9
|
-
"version": "3.3.
|
|
9
|
+
"version": "3.3.12",
|
|
10
10
|
"description": "pwa-auth is a collection of four HTML webomponents for User Management to display a login button with icon picture state once logged in. Sign up and login within a drawer and optionally a static for a page. Being able to log out, change account details, and delete account.",
|
|
11
11
|
"homepage": "https://pwa-authentic.firebaseapp.com",
|
|
12
12
|
"repository": {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
61
61
|
"@babel/preset-env": "^7.28.5",
|
|
62
|
-
"@lit-labs/rollup-plugin-minify-html-literals": "^0.1.
|
|
63
|
-
"@reduxjs/toolkit": "^2.
|
|
62
|
+
"@lit-labs/rollup-plugin-minify-html-literals": "^0.1.1",
|
|
63
|
+
"@reduxjs/toolkit": "^2.11.2",
|
|
64
64
|
"@rollup/plugin-alias": "^6.0.0",
|
|
65
65
|
"@rollup/plugin-babel": "^6.1.0",
|
|
66
66
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"@rollup/plugin-replace": "^6.0.3",
|
|
69
69
|
"@rollup/plugin-terser": "^0.4.4",
|
|
70
70
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
71
|
-
"@types/node": "^
|
|
71
|
+
"@types/node": "^25.0.3",
|
|
72
72
|
"@web/dev-server": "^0.4.6",
|
|
73
73
|
"@web/rollup-plugin-copy": "^0.5.1",
|
|
74
74
|
"babel-plugin-template-html-minifier": "^4.1.0",
|
|
75
|
-
"firebase": "^12.
|
|
76
|
-
"lit": "^3.3.
|
|
77
|
-
"rollup": "^4.
|
|
78
|
-
"rollup-plugin-dts": "^6.
|
|
75
|
+
"firebase": "^12.7.0",
|
|
76
|
+
"lit": "^3.3.2",
|
|
77
|
+
"rollup": "^4.54.0",
|
|
78
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
79
79
|
"rollup-plugin-html-literals": "^2.0.1",
|
|
80
80
|
"rollup-plugin-license": "^3.6.0",
|
|
81
81
|
"rollup-plugin-summary": "^3.0.1",
|