@edgedev/firebase 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/index.ts +7 -6
  2. package/package.json +4 -2
package/index.ts CHANGED
@@ -9,12 +9,13 @@ import {
9
9
  } from "firebase/firestore";
10
10
 
11
11
  const firebaseConfig = {
12
- apiKey: process.env.FIREBASE_API_KEY as string,
13
- authDomain: process.env.FIREBASE_AUTH_DOMAIN as string,
14
- projectId: process.env.FIREBASE_PROJECT_ID as string,
15
- storageBucket: process.env.FIREBASE_STORAGE_BUCKET as string,
16
- messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID as string,
17
- appId: process.env.FIREBASE_APP_ID as string
12
+ apiKey: import.meta.env.VITE_FIREBASE_API_KEY as string,
13
+ authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN as string,
14
+ projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID as string,
15
+ storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET as string,
16
+ messagingSenderId: import.meta.env
17
+ .VITE_FIREBASE_MESSAGING_SENDER_ID as string,
18
+ appId: import.meta.env.VITE_FIREBASE_APP_ID as string
18
19
  };
19
20
 
20
21
  // Initialize Firebase
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Composables and stores for firebase",
5
5
  "main": "index.ts",
6
6
  "author": "Seth Fischer",
@@ -16,13 +16,15 @@
16
16
  "eslint-config-prettier": "^8.5.0",
17
17
  "prettier": "^2.7.1",
18
18
  "typescript": "^4.8.4",
19
+ "vite": "^3.1.8",
19
20
  "vue": "^3.2.41"
20
21
  },
21
22
  "dependencies": {
22
23
  "firebase": "^9.12.1"
23
24
  },
24
25
  "peerDependencies": {
25
- "vue": "^3.0.0"
26
+ "vite": "^3.1.8",
27
+ "vue": "^3.0.0 - 4.0.0"
26
28
  },
27
29
  "scripts": {
28
30
  "test": "echo \"Error: no test specified\" && exit 1"