File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,6 @@ export default defineNuxtModule<VueFireNuxtModuleOptions>({
110110
111111 // This one is set by servers, we set the GOOGLE_APPLICATION_CREDENTIALS env variable instead that has a lower priority and can be both a path or a JSON string
112112 // process.env.FIREBASE_CONFIG ||= JSON.stringify(options.config)
113- // FIXME: remove deprecation in next release
114- if ( typeof options . admin ?. serviceAccount === 'string' ) {
115- process . env . GOOGLE_APPLICATION_CREDENTIALS ||=
116- options . admin . serviceAccount
117- }
118113 const hasServiceAccount =
119114 typeof process . env . GOOGLE_APPLICATION_CREDENTIALS === 'string' &&
120115 process . env . GOOGLE_APPLICATION_CREDENTIALS . length > 0
Original file line number Diff line number Diff line change 11import type { FirebaseOptions } from 'firebase/app'
2- import type { AppOptions , ServiceAccount } from 'firebase-admin'
2+ import type { AppOptions } from 'firebase-admin'
33import type { NuxtVueFireAppCheckOptions } from '../runtime/app-check'
44
55export interface VueFireNuxtModuleOptions {
@@ -23,13 +23,6 @@ export interface VueFireNuxtModuleOptions {
2323 * Firebase Admin Options passed to `firebase-admin`'s `initializeApp()`.
2424 */
2525 options ?: Omit < AppOptions , 'credential' >
26-
27- /**
28- * Firebase Admin Service Account passed to `firebase-admin`'s `initializeApp()`. Required if you are adding an
29- * adminConfig.
30- * @deprecated use GOOGLE_APPLICATION_CREDENTIALS env variable instead with the service-account JSON content
31- */
32- serviceAccount ?: string | ServiceAccount
3326 }
3427
3528 /**
You can’t perform that action at this time.
0 commit comments