@hot-updater/firebase 0.20.3 → 0.20.5

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.
@@ -4826,23 +4826,6 @@ const filterCompatibleAppVersions = (targetAppVersionList, currentVersion) => {
4826
4826
  };
4827
4827
  const encoder = new TextEncoder();
4828
4828
  const decoder = new TextDecoder();
4829
- var JOSEError = class extends Error {
4830
- static code = "ERR_JOSE_GENERIC";
4831
- code = "ERR_JOSE_GENERIC";
4832
- constructor(message$1, options$1) {
4833
- super(message$1, options$1);
4834
- this.name = this.constructor.name;
4835
- Error.captureStackTrace?.(this, this.constructor);
4836
- }
4837
- };
4838
- (class extends JOSEError {
4839
- [Symbol.asyncIterator];
4840
- static code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
4841
- code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
4842
- constructor(message$1 = "multiple matching keys found in the JSON Web Key Set", options$1) {
4843
- super(message$1, options$1);
4844
- }
4845
- });
4846
4829
  const minute = 60;
4847
4830
  const hour = minute * 60;
4848
4831
  const day = hour * 24;
@@ -2043,7 +2043,6 @@ const fallbackSymbols = {
2043
2043
  };
2044
2044
  const shouldUseMain = isUnicodeSupported();
2045
2045
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
2046
- var figures_default = figures;
2047
2046
  const replacements = Object.entries(specialMainSymbols);
2048
2047
 
2049
2048
  //#endregion
@@ -2125,8 +2124,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
2125
2124
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
2126
2125
  const padField = (field, padding) => String(field).padStart(padding, "0");
2127
2126
  const getFinalIcon = ({ failed, reject }) => {
2128
- if (!failed) return figures_default.tick;
2129
- return reject ? figures_default.cross : figures_default.warning;
2127
+ if (!failed) return figures.tick;
2128
+ return reject ? figures.cross : figures.warning;
2130
2129
  };
2131
2130
  const ICONS = {
2132
2131
  command: ({ piped }) => piped ? "|" : "$",
@@ -8089,7 +8088,7 @@ function App() {
8089
8088
 
8090
8089
  export default HotUpdater.wrap({
8091
8090
  source: getUpdateSource("%%source%%", {
8092
- updateStrategy: "fingerprint", // or "appVersion"
8091
+ updateStrategy: "appVersion", // or "fingerprint"
8093
8092
  }),
8094
8093
  })(App);`;
8095
8094
  const REGIONS = [
package/dist/iac/index.js CHANGED
@@ -2046,7 +2046,6 @@ const fallbackSymbols = {
2046
2046
  };
2047
2047
  const shouldUseMain = isUnicodeSupported();
2048
2048
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
2049
- var figures_default = figures;
2050
2049
  const replacements = Object.entries(specialMainSymbols);
2051
2050
 
2052
2051
  //#endregion
@@ -2128,8 +2127,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
2128
2127
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
2129
2128
  const padField = (field, padding) => String(field).padStart(padding, "0");
2130
2129
  const getFinalIcon = ({ failed, reject }) => {
2131
- if (!failed) return figures_default.tick;
2132
- return reject ? figures_default.cross : figures_default.warning;
2130
+ if (!failed) return figures.tick;
2131
+ return reject ? figures.cross : figures.warning;
2133
2132
  };
2134
2133
  const ICONS = {
2135
2134
  command: ({ piped }) => piped ? "|" : "$",
@@ -8092,7 +8091,7 @@ function App() {
8092
8091
 
8093
8092
  export default HotUpdater.wrap({
8094
8093
  source: getUpdateSource("%%source%%", {
8095
- updateStrategy: "fingerprint", // or "appVersion"
8094
+ updateStrategy: "appVersion", // or "fingerprint"
8096
8095
  }),
8097
8096
  })(App);`;
8098
8097
  const REGIONS = [
package/dist/index.cjs CHANGED
@@ -27,7 +27,7 @@ const firebase_admin = __toESM(require("firebase-admin"));
27
27
  const fs_promises = __toESM(require("fs/promises"));
28
28
 
29
29
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
30
- const types$1 = {
30
+ const types = {
31
31
  "application/prs.cww": ["cww"],
32
32
  "application/prs.xsf+xml": ["xsf"],
33
33
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -838,12 +838,11 @@ const types$1 = {
838
838
  "video/x-smv": ["smv"],
839
839
  "x-conference/x-cooltalk": ["ice"]
840
840
  };
841
- Object.freeze(types$1);
842
- var other_default = types$1;
841
+ Object.freeze(types);
843
842
 
844
843
  //#endregion
845
844
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
846
- const types = {
845
+ const types$1 = {
847
846
  "application/andrew-inset": ["ez"],
848
847
  "application/appinstaller": ["appinstaller"],
849
848
  "application/applixware": ["aw"],
@@ -1285,8 +1284,7 @@ const types = {
1285
1284
  "video/quicktime": ["qt", "mov"],
1286
1285
  "video/webm": ["webm"]
1287
1286
  };
1288
- Object.freeze(types);
1289
- var standard_default = types;
1287
+ Object.freeze(types$1);
1290
1288
 
1291
1289
  //#endregion
1292
1290
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
@@ -1358,11 +1356,10 @@ var Mime = class {
1358
1356
  }
1359
1357
  };
1360
1358
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1361
- var Mime_default = Mime;
1362
1359
 
1363
1360
  //#endregion
1364
1361
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
1365
- var src_default = new Mime_default(standard_default, other_default)._freeze();
1362
+ var src_default = new Mime(types$1, types)._freeze();
1366
1363
 
1367
1364
  //#endregion
1368
1365
  //#region src/firebaseStorage.ts
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import * as admin from "firebase-admin";
4
4
  import fs from "fs/promises";
5
5
 
6
6
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
7
- const types$1 = {
7
+ const types = {
8
8
  "application/prs.cww": ["cww"],
9
9
  "application/prs.xsf+xml": ["xsf"],
10
10
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -815,12 +815,11 @@ const types$1 = {
815
815
  "video/x-smv": ["smv"],
816
816
  "x-conference/x-cooltalk": ["ice"]
817
817
  };
818
- Object.freeze(types$1);
819
- var other_default = types$1;
818
+ Object.freeze(types);
820
819
 
821
820
  //#endregion
822
821
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
823
- const types = {
822
+ const types$1 = {
824
823
  "application/andrew-inset": ["ez"],
825
824
  "application/appinstaller": ["appinstaller"],
826
825
  "application/applixware": ["aw"],
@@ -1262,8 +1261,7 @@ const types = {
1262
1261
  "video/quicktime": ["qt", "mov"],
1263
1262
  "video/webm": ["webm"]
1264
1263
  };
1265
- Object.freeze(types);
1266
- var standard_default = types;
1264
+ Object.freeze(types$1);
1267
1265
 
1268
1266
  //#endregion
1269
1267
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
@@ -1335,11 +1333,10 @@ var Mime = class {
1335
1333
  }
1336
1334
  };
1337
1335
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1338
- var Mime_default = Mime;
1339
1336
 
1340
1337
  //#endregion
1341
1338
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
1342
- var src_default = new Mime_default(standard_default, other_default)._freeze();
1339
+ var src_default = new Mime(types$1, types)._freeze();
1343
1340
 
1344
1341
  //#endregion
1345
1342
  //#region src/firebaseStorage.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/firebase",
3
3
  "type": "module",
4
- "version": "0.20.3",
4
+ "version": "0.20.5",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "types": "dist/index.d.ts",
@@ -34,8 +34,8 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "firebase": "^11.3.1",
37
- "@hot-updater/core": "0.20.3",
38
- "@hot-updater/plugin-core": "0.20.3"
37
+ "@hot-updater/core": "0.20.5",
38
+ "@hot-updater/plugin-core": "0.20.5"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -53,7 +53,7 @@
53
53
  "hono": "^4.6.3",
54
54
  "mime": "^4.0.4",
55
55
  "picocolors": "^1.0.0",
56
- "@hot-updater/js": "0.20.3"
56
+ "@hot-updater/js": "0.20.5"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "firebase-admin": "*"