@hot-updater/react-native 0.20.9 → 0.20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/react-native",
3
- "version": "0.20.9",
3
+ "version": "0.20.11",
4
4
  "description": "React Native OTA solution for self-hosted",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -119,13 +119,13 @@
119
119
  "react-native": "0.79.1",
120
120
  "react-native-builder-bob": "^0.40.10",
121
121
  "typescript": "^5.8.3",
122
- "hot-updater": "0.20.9"
122
+ "hot-updater": "0.20.11"
123
123
  },
124
124
  "dependencies": {
125
125
  "use-sync-external-store": "1.5.0",
126
- "@hot-updater/core": "0.20.9",
127
- "@hot-updater/js": "0.20.9",
128
- "@hot-updater/plugin-core": "0.20.9"
126
+ "@hot-updater/core": "0.20.11",
127
+ "@hot-updater/js": "0.20.11",
128
+ "@hot-updater/plugin-core": "0.20.11"
129
129
  },
130
130
  "scripts": {
131
131
  "build": "bob build && tsc -p plugin/tsconfig.json",
@@ -51,9 +51,12 @@ var getFingerprint = function () { return __awaiter(void 0, void 0, void 0, func
51
51
  if (fingerprintCache) {
52
52
  return [2 /*return*/, fingerprintCache];
53
53
  }
54
- return [4 /*yield*/, (0, hot_updater_1.createAndInjectFingerprintFiles)()];
54
+ return [4 /*yield*/, (0, hot_updater_1.generateFingerprints)()];
55
55
  case 1:
56
56
  fingerprintCache = _a.sent();
57
+ return [4 /*yield*/, (0, hot_updater_1.createFingerprintJSON)(fingerprintCache)];
58
+ case 2:
59
+ _a.sent();
57
60
  return [2 /*return*/, fingerprintCache];
58
61
  }
59
62
  });
@@ -223,7 +226,7 @@ var withHotUpdaterConfigAsync = function (props) { return function (config) {
223
226
  if (!(config.updateStrategy !== "appVersion")) return [3 /*break*/, 3];
224
227
  return [4 /*yield*/, getFingerprint()];
225
228
  case 2:
226
- fingerprint = (_a.sent()).fingerprint;
229
+ fingerprint = _a.sent();
227
230
  fingerprintHash = fingerprint.ios.hash;
228
231
  _a.label = 3;
229
232
  case 3:
@@ -248,7 +251,7 @@ var withHotUpdaterConfigAsync = function (props) { return function (config) {
248
251
  if (!(config.updateStrategy !== "appVersion")) return [3 /*break*/, 3];
249
252
  return [4 /*yield*/, getFingerprint()];
250
253
  case 2:
251
- fingerprint = (_a.sent()).fingerprint;
254
+ fingerprint = _a.sent();
252
255
  fingerprintHash = fingerprint.android.hash;
253
256
  _a.label = 3;
254
257
  case 3: