@hot-updater/firebase 1.2.0-rc.22 → 1.2.0-rc.24
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.
|
@@ -4617,7 +4617,7 @@ const createKvAdapter = ({ store, tablePrefix = "" }) => {
|
|
|
4617
4617
|
};
|
|
4618
4618
|
//#endregion
|
|
4619
4619
|
//#region ../../packages/server/dist/version.mjs
|
|
4620
|
-
const HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
4620
|
+
const HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.24";
|
|
4621
4621
|
//#endregion
|
|
4622
4622
|
//#region ../../packages/server/dist/handlerVersionRoutes.mjs
|
|
4623
4623
|
/**
|
package/dist/init/index.cjs
CHANGED
|
@@ -7854,7 +7854,7 @@ const runInit = async ({ build, envFile, secretsEnv }) => {
|
|
|
7854
7854
|
}]);
|
|
7855
7855
|
await deployFirestore(tmpDir, initializeVariable.databaseId, nonInteractive, cliEnv);
|
|
7856
7856
|
const credential = applicationCredentials ? (0, firebase_admin_app.cert)(JSON.parse(await fs.default.promises.readFile(applicationCredentials, "utf-8"))) : (0, firebase_admin_app.applicationDefault)();
|
|
7857
|
-
|
|
7857
|
+
await Promise.all((0, firebase_admin_app.getApps)().map((app) => (0, firebase_admin_app.deleteApp)(app)));
|
|
7858
7858
|
const databaseConfig = {
|
|
7859
7859
|
credential,
|
|
7860
7860
|
databaseId: initializeVariable.databaseId,
|
|
@@ -7879,7 +7879,7 @@ const runInit = async ({ build, envFile, secretsEnv }) => {
|
|
|
7879
7879
|
if (clientCredential !== void 0) await (0, _hot_updater_cli_tools.makeEnv)({ [clientCredential.env]: clientCredential.value });
|
|
7880
7880
|
} finally {
|
|
7881
7881
|
await database.dispose?.();
|
|
7882
|
-
await Promise.all((0, firebase_admin_app.getApps)().
|
|
7882
|
+
await Promise.all((0, firebase_admin_app.getApps)().map((app) => (0, firebase_admin_app.deleteApp)(app)));
|
|
7883
7883
|
}
|
|
7884
7884
|
await deployFunctions(tmpDir, nonInteractive, cliEnv);
|
|
7885
7885
|
await _hot_updater_cli_tools.p.tasks([{
|
package/dist/init/index.mjs
CHANGED
|
@@ -7847,7 +7847,7 @@ const runInit = async ({ build, envFile, secretsEnv }) => {
|
|
|
7847
7847
|
}]);
|
|
7848
7848
|
await deployFirestore(tmpDir, initializeVariable.databaseId, nonInteractive, cliEnv);
|
|
7849
7849
|
const credential = applicationCredentials ? cert(JSON.parse(await fs.promises.readFile(applicationCredentials, "utf-8"))) : applicationDefault();
|
|
7850
|
-
|
|
7850
|
+
await Promise.all(getApps().map((app) => deleteApp(app)));
|
|
7851
7851
|
const databaseConfig = {
|
|
7852
7852
|
credential,
|
|
7853
7853
|
databaseId: initializeVariable.databaseId,
|
|
@@ -7872,7 +7872,7 @@ const runInit = async ({ build, envFile, secretsEnv }) => {
|
|
|
7872
7872
|
if (clientCredential !== void 0) await makeEnv({ [clientCredential.env]: clientCredential.value });
|
|
7873
7873
|
} finally {
|
|
7874
7874
|
await database.dispose?.();
|
|
7875
|
-
await Promise.all(getApps().
|
|
7875
|
+
await Promise.all(getApps().map((app) => deleteApp(app)));
|
|
7876
7876
|
}
|
|
7877
7877
|
await deployFunctions(tmpDir, nonInteractive, cliEnv);
|
|
7878
7878
|
await p.tasks([{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.0-rc.
|
|
4
|
+
"version": "1.2.0-rc.24",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"types": "dist/index.d.cts",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"hono": "4.12.34",
|
|
40
40
|
"google-auth-library": "10.7.0",
|
|
41
|
-
"@hot-updater/
|
|
42
|
-
"@hot-updater/
|
|
43
|
-
"@hot-updater/
|
|
44
|
-
"@hot-updater/
|
|
41
|
+
"@hot-updater/cli-tools": "1.2.0-rc.24",
|
|
42
|
+
"@hot-updater/protocol": "1.2.0-rc.24",
|
|
43
|
+
"@hot-updater/plugin-core": "1.2.0-rc.24",
|
|
44
|
+
"@hot-updater/server": "1.2.0-rc.24"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"firebase-tools": "15.29.0",
|
|
57
57
|
"fkill": "^9.0.0",
|
|
58
58
|
"mime": "^4.0.4",
|
|
59
|
-
"@hot-updater/mock": "1.2.0-rc.
|
|
60
|
-
"@hot-updater/test-utils": "1.2.0-rc.
|
|
59
|
+
"@hot-updater/mock": "1.2.0-rc.24",
|
|
60
|
+
"@hot-updater/test-utils": "1.2.0-rc.24"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"firebase-admin": ">=11.10.0",
|