@ccci/micro-server 1.0.109 → 1.0.111
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -250953,9 +250953,11 @@ class PushNotifier {
|
|
|
250953
250953
|
PushNotifier.rootDir = path4;
|
|
250954
250954
|
const configPath = `${PushNotifier.rootDir}/notif.config.ts`;
|
|
250955
250955
|
if (!PushNotifier.instance) {
|
|
250956
|
+
console.log("configPath :>> ", configPath);
|
|
250956
250957
|
import(configPath).then((FirebaseServiceAccount) => {
|
|
250958
|
+
console.log("FirebaseServiceAccount :>> ", FirebaseServiceAccount.default());
|
|
250957
250959
|
PushNotifier.FirebaseAdmin.initializeApp({
|
|
250958
|
-
credential: import_firebase_admin.default.credential.cert(FirebaseServiceAccount)
|
|
250960
|
+
credential: import_firebase_admin.default.credential.cert(FirebaseServiceAccount.default())
|
|
250959
250961
|
});
|
|
250960
250962
|
PushNotifier.instance = PushNotifier.FirebaseAdmin.app.length;
|
|
250961
250963
|
});
|