pwa-auth 3.1.2 → 3.1.4
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 +3 -2
- package/package.json +7 -7
- package/src-export/tsconfig.production.json +1 -1
package/README.md
CHANGED
|
@@ -22,13 +22,14 @@ Continue reading to understand how to install the project:
|
|
|
22
22
|
ECMA Script Modules
|
|
23
23
|
```javascript
|
|
24
24
|
import 'pwa-auth';
|
|
25
|
-
import { db, storage, auth, user } from 'auth-helpers';
|
|
25
|
+
import { db, storage, auth, user } from 'pwa-auth/auth-helpers';
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Global Scope Management
|
|
29
29
|
```html
|
|
30
30
|
<!-- Optional: Copy the Project Files from 'src' Folder -->
|
|
31
31
|
<script type="module" src="./pwa-auth.js"></script>
|
|
32
|
+
<script type="module" src="./pwa-helpers.js"></script>
|
|
32
33
|
```
|
|
33
34
|
## Library
|
|
34
35
|
- 3 Tag Placement
|
|
@@ -118,7 +119,7 @@ import 'pwa-auth';
|
|
|
118
119
|
// <user-icon subscribe emptyArtwork="./images/empty.jpg"></user-icon>
|
|
119
120
|
// <user-drawer subscribe settingsURL="./settings"></user-drawer>
|
|
120
121
|
// <user-settings emptyArtwork="./images/empty.jpg"></user-settings>
|
|
121
|
-
import { db, storage, auth, user } from 'auth-helpers';
|
|
122
|
+
import { db, storage, auth, user } from 'pwa-auth/auth-helpers';
|
|
122
123
|
// db - firestore database reference
|
|
123
124
|
// storage - firebase storage reference
|
|
124
125
|
// auth - user object reference
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pwa-auth",
|
|
3
3
|
"author": "Jacek Markiewicz <jack.solutionbox@gmail.com>(https://www.jackspublishing.com)",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.4",
|
|
5
5
|
"description": "User Management Component with 3 HTML Tags, and 1 Boilerplate Function to display user icon, sign up, login, log out, change account details, delete account.",
|
|
6
6
|
"homepage": "https://pwa-authentic.firebaseapp.com",
|
|
7
7
|
"main": "src-compiled/pwa-auth.js",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"redux"
|
|
23
23
|
],
|
|
24
24
|
"exports":{
|
|
25
|
-
"
|
|
26
|
-
"default": "./
|
|
27
|
-
"types": "./src-
|
|
25
|
+
".": {
|
|
26
|
+
"default": "./src-compiled/pwa-auth.js",
|
|
27
|
+
"types": "./transpiled/src-export/pwa-auth.d.ts"
|
|
28
28
|
},
|
|
29
|
-
"auth-helpers": {
|
|
30
|
-
"default": "./
|
|
31
|
-
"types": "./src-
|
|
29
|
+
"./auth-helpers": {
|
|
30
|
+
"default": "./src-compiled/pwa-helpers.js",
|
|
31
|
+
"types": "./transpiled/src-export/pwa-helpers.d.ts"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"license": "BSD-3-Clause",
|