@hot-updater/firebase 0.35.10 → 0.35.11
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.
|
@@ -22,8 +22,6 @@ var __toESM$1 = (mod, isNodeMode, target) => (target = mod != null ? __create$1(
|
|
|
22
22
|
enumerable: true
|
|
23
23
|
}) : target, mod));
|
|
24
24
|
//#endregion
|
|
25
|
-
let node_path = require("node:path");
|
|
26
|
-
node_path = __toESM$1(node_path);
|
|
27
25
|
let firebase_admin = require("firebase-admin");
|
|
28
26
|
firebase_admin = __toESM$1(firebase_admin);
|
|
29
27
|
let firebase_functions_v2_https = require("firebase-functions/v2/https");
|
|
@@ -34,7 +32,7 @@ let path = require("path");
|
|
|
34
32
|
path = __toESM$1(path);
|
|
35
33
|
//#endregion
|
|
36
34
|
//#region ../../packages/server/dist/version.mjs
|
|
37
|
-
const HOT_UPDATER_SERVER_VERSION = "0.35.
|
|
35
|
+
const HOT_UPDATER_SERVER_VERSION = "0.35.11";
|
|
38
36
|
//#endregion
|
|
39
37
|
//#region ../../packages/server/dist/internalRouter.mjs
|
|
40
38
|
const normalizePath = (path) => {
|
|
@@ -3362,8 +3360,8 @@ function getCompressionMimeType(filename) {
|
|
|
3362
3360
|
* @returns Content-Type string (never undefined, falls back to application/octet-stream)
|
|
3363
3361
|
*/
|
|
3364
3362
|
function getContentType(bundlePath) {
|
|
3365
|
-
const filename =
|
|
3366
|
-
return src_default.getType(bundlePath) ?? getCompressionMimeType(filename) ?? "application/octet-stream";
|
|
3363
|
+
const filename = bundlePath.replace(/[\\/]+$/, "").split(/[\\/]/).pop();
|
|
3364
|
+
return src_default.getType(bundlePath) ?? getCompressionMimeType(filename ?? "") ?? "application/octet-stream";
|
|
3367
3365
|
}
|
|
3368
3366
|
//#endregion
|
|
3369
3367
|
//#region ../plugin-core/dist/contentAddressedAssets.mjs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.35.
|
|
4
|
+
"version": "0.35.11",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"types": "dist/index.d.cts",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"hono": "4.12.9",
|
|
46
|
-
"@hot-updater/cli-tools": "0.35.
|
|
47
|
-
"@hot-updater/
|
|
48
|
-
"@hot-updater/core": "0.35.
|
|
49
|
-
"@hot-updater/server": "0.35.
|
|
46
|
+
"@hot-updater/cli-tools": "0.35.11",
|
|
47
|
+
"@hot-updater/core": "0.35.11",
|
|
48
|
+
"@hot-updater/plugin-core": "0.35.11",
|
|
49
|
+
"@hot-updater/server": "0.35.11"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"firebase-tools": "^13.32.0",
|
|
62
62
|
"fkill": "^9.0.0",
|
|
63
63
|
"mime": "^4.0.4",
|
|
64
|
-
"@hot-updater/
|
|
65
|
-
"@hot-updater/
|
|
66
|
-
"@hot-updater/test-utils": "0.35.
|
|
64
|
+
"@hot-updater/js": "0.35.11",
|
|
65
|
+
"@hot-updater/mock": "0.35.11",
|
|
66
|
+
"@hot-updater/test-utils": "0.35.11"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"firebase-admin": "*",
|