pwa-auth 3.1.3 → 3.1.5

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
@@ -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.3",
4
+ "version": "3.1.5",
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,11 +22,11 @@
22
22
  "redux"
23
23
  ],
24
24
  "exports":{
25
- "pwa-auth": {
25
+ ".": {
26
26
  "default": "./src-compiled/pwa-auth.js",
27
27
  "types": "./transpiled/src-export/pwa-auth.d.ts"
28
28
  },
29
- "auth-helpers": {
29
+ "./auth-helpers.js": {
30
30
  "default": "./src-compiled/pwa-helpers.js",
31
31
  "types": "./transpiled/src-export/pwa-helpers.d.ts"
32
32
  }
@@ -13,7 +13,7 @@
13
13
 
14
14
  "compilerOptions": {
15
15
 
16
- "outDir": "../transpiled",
16
+ "outDir": "../src-transpiled",
17
17
 
18
18
  "target": "ES2022",
19
19
  "module": "ESNext",