@3birds/midori-ui 0.0.18 → 0.0.20
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/dist/firebase.js +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/firebase.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { initializeApp, getApps, getApp } from 'firebase/app';
|
|
2
2
|
import { getAuth } from 'firebase/auth';
|
|
3
|
-
import {
|
|
3
|
+
import { env } from '$env/dynamic/public';
|
|
4
4
|
const firebaseConfig = {
|
|
5
|
-
apiKey: PUBLIC_FIREBASE_API_KEY,
|
|
6
|
-
authDomain: PUBLIC_FIREBASE_AUTH_DOMAIN,
|
|
7
|
-
projectId: PUBLIC_FIREBASE_PROJECT_ID,
|
|
8
|
-
storageBucket: PUBLIC_FIREBASE_STORAGE_BUCKET,
|
|
9
|
-
messagingSenderId: PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
|
|
10
|
-
appId: PUBLIC_FIREBASE_APP_ID
|
|
5
|
+
apiKey: env.PUBLIC_FIREBASE_API_KEY,
|
|
6
|
+
authDomain: env.PUBLIC_FIREBASE_AUTH_DOMAIN,
|
|
7
|
+
projectId: env.PUBLIC_FIREBASE_PROJECT_ID,
|
|
8
|
+
storageBucket: env.PUBLIC_FIREBASE_STORAGE_BUCKET,
|
|
9
|
+
messagingSenderId: env.PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
|
|
10
|
+
appId: env.PUBLIC_FIREBASE_APP_ID
|
|
11
11
|
};
|
|
12
12
|
const app = getApps().length ? getApp() : initializeApp(firebaseConfig);
|
|
13
13
|
export const auth = getAuth(app);
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,6 @@ export { default as refreshSvg } from './assets/refresh.svg';
|
|
|
38
38
|
export { default as shapeOutlineSvg } from './assets/shape-outline.svg';
|
|
39
39
|
export { default as StarSvg } from './assets/star.svg';
|
|
40
40
|
export { alert } from './alert';
|
|
41
|
-
export { authState } from './auth.svelte';
|
|
41
|
+
export { authState } from './auth.svelte.ts';
|
|
42
42
|
export * as firebase from './auth';
|
|
43
43
|
export { auth } from './firebase';
|
package/dist/index.js
CHANGED
|
@@ -39,6 +39,6 @@ export { default as refreshSvg } from './assets/refresh.svg';
|
|
|
39
39
|
export { default as shapeOutlineSvg } from './assets/shape-outline.svg';
|
|
40
40
|
export { default as StarSvg } from './assets/star.svg';
|
|
41
41
|
export { alert } from './alert';
|
|
42
|
-
export { authState } from
|
|
42
|
+
export { authState } from "./auth.svelte.js";
|
|
43
43
|
export * as firebase from './auth';
|
|
44
44
|
export { auth } from './firebase';
|