@hot-updater/react-native 0.35.4 → 0.35.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.
@@ -429,7 +429,9 @@ class BundleFileStorageService(
429
429
  if (!HashUtils.verifyHash(patchDownloadResult.file, patch.patchFileHash)) {
430
430
  false
431
431
  } else {
432
- BsdiffPatch.apply(sourceFile, patchDownloadResult.file, targetFile)
432
+ withContext(Dispatchers.IO) {
433
+ BsdiffPatch.apply(sourceFile, patchDownloadResult.file, targetFile)
434
+ }
433
435
  HashUtils.verifyHash(targetFile, expectedHash).also { patched ->
434
436
  if (patched) {
435
437
  Log.d(
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.HOT_UPDATER_SDK_VERSION = void 0;
7
- const HOT_UPDATER_SDK_VERSION = exports.HOT_UPDATER_SDK_VERSION = "0.35.4";
7
+ const HOT_UPDATER_SDK_VERSION = exports.HOT_UPDATER_SDK_VERSION = "0.35.5";
8
8
  //# sourceMappingURL=sdkVersion.js.map
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
 
3
- export const HOT_UPDATER_SDK_VERSION = "0.35.4";
3
+ export const HOT_UPDATER_SDK_VERSION = "0.35.5";
4
4
  //# sourceMappingURL=sdkVersion.js.map
@@ -1,2 +1,2 @@
1
- export declare const HOT_UPDATER_SDK_VERSION = "0.35.4";
1
+ export declare const HOT_UPDATER_SDK_VERSION = "0.35.5";
2
2
  //# sourceMappingURL=sdkVersion.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const HOT_UPDATER_SDK_VERSION = "0.35.4";
1
+ export declare const HOT_UPDATER_SDK_VERSION = "0.35.5";
2
2
  //# sourceMappingURL=sdkVersion.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/react-native",
3
- "version": "0.35.4",
3
+ "version": "0.35.5",
4
4
  "description": "React Native OTA solution for self-hosted",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",
@@ -130,14 +130,14 @@
130
130
  "react-native": "0.79.1",
131
131
  "react-native-builder-bob": "0.41.0",
132
132
  "typescript": "^6.0.2",
133
- "hot-updater": "0.35.4"
133
+ "hot-updater": "0.35.5"
134
134
  },
135
135
  "dependencies": {
136
136
  "use-sync-external-store": "1.5.0",
137
- "@hot-updater/cli-tools": "0.35.4",
138
- "@hot-updater/core": "0.35.4",
139
- "@hot-updater/js": "0.35.4",
140
- "@hot-updater/plugin-core": "0.35.4"
137
+ "@hot-updater/core": "0.35.5",
138
+ "@hot-updater/js": "0.35.5",
139
+ "@hot-updater/plugin-core": "0.35.5",
140
+ "@hot-updater/cli-tools": "0.35.5"
141
141
  },
142
142
  "scripts": {
143
143
  "build": "node ./scripts/sync-sdk-version.mjs run -- bob build && tsc -p plugin/tsconfig.build.json",
package/src/sdkVersion.ts CHANGED
@@ -1 +1 @@
1
- export const HOT_UPDATER_SDK_VERSION = "0.35.4";
1
+ export const HOT_UPDATER_SDK_VERSION = "0.35.5";