@hot-updater/firebase 1.0.0-rc.44 → 1.0.0-rc.46
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/functions/index.cjs +381 -394
- package/dist/index.cjs +0 -13
- package/dist/index.d.cts +2 -1016
- package/dist/index.d.mts +2 -1016
- package/dist/index.mjs +1 -13
- package/dist/init/index.cjs +18 -20
- package/dist/init/index.mjs +19 -21
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,6 @@ let firebase_admin_app = require("firebase-admin/app");
|
|
|
4
4
|
let firebase_admin_firestore = require("firebase-admin/firestore");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let firebase_admin_storage = require("firebase-admin/storage");
|
|
7
|
-
let _hot_updater_server_plugins = require("@hot-updater/server/plugins");
|
|
8
7
|
//#region src/firebaseInfrastructureNames.ts
|
|
9
8
|
/**
|
|
10
9
|
* The one collection the storage engine keeps every item in. It namespaces
|
|
@@ -260,18 +259,6 @@ const firebaseStorage = (config) => {
|
|
|
260
259
|
});
|
|
261
260
|
};
|
|
262
261
|
//#endregion
|
|
263
|
-
//#region src/plugins.ts
|
|
264
|
-
/**
|
|
265
|
-
* The plugins the managed Firebase server runs: Insights, API keys on every
|
|
266
|
-
* client route, and Remote Config. Its Cloud Function imports this list.
|
|
267
|
-
*/
|
|
268
|
-
const plugins = [
|
|
269
|
-
(0, _hot_updater_server_plugins.insights)(),
|
|
270
|
-
(0, _hot_updater_server_plugins.apiKeys)(),
|
|
271
|
-
(0, _hot_updater_server_plugins.remoteConfig)()
|
|
272
|
-
];
|
|
273
|
-
//#endregion
|
|
274
262
|
exports.firebaseDatabase = firebaseDatabase;
|
|
275
263
|
exports.firebaseStorage = firebaseStorage;
|
|
276
264
|
exports.migrateFirebaseDatabase = migrateFirebaseDatabase;
|
|
277
|
-
exports.plugins = plugins;
|