@hot-updater/plugin-core 0.24.3 → 0.24.4

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.
@@ -304,7 +304,7 @@ const createBlobDatabasePlugin = ({ name, factory }) => {
304
304
  pendingBundlesMap.clear();
305
305
  }
306
306
  })
307
- })({}, hooks)();
307
+ })({}, hooks);
308
308
  };
309
309
  };
310
310
 
@@ -22,6 +22,6 @@ declare const createBlobDatabasePlugin: <TConfig>({
22
22
  }: {
23
23
  name: string;
24
24
  factory: (config: TConfig) => BlobOperations;
25
- }) => (config: TConfig, hooks?: DatabasePluginHooks) => DatabasePlugin;
25
+ }) => (config: TConfig, hooks?: DatabasePluginHooks) => () => DatabasePlugin;
26
26
  //#endregion
27
27
  export { BlobOperations, createBlobDatabasePlugin };
@@ -22,6 +22,6 @@ declare const createBlobDatabasePlugin: <TConfig>({
22
22
  }: {
23
23
  name: string;
24
24
  factory: (config: TConfig) => BlobOperations;
25
- }) => (config: TConfig, hooks?: DatabasePluginHooks) => DatabasePlugin;
25
+ }) => (config: TConfig, hooks?: DatabasePluginHooks) => () => DatabasePlugin;
26
26
  //#endregion
27
27
  export { BlobOperations, createBlobDatabasePlugin };
@@ -301,7 +301,7 @@ const createBlobDatabasePlugin = ({ name, factory }) => {
301
301
  pendingBundlesMap.clear();
302
302
  }
303
303
  })
304
- })({}, hooks)();
304
+ })({}, hooks);
305
305
  };
306
306
  };
307
307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/plugin-core",
3
- "version": "0.24.3",
3
+ "version": "0.24.4",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,
@@ -42,12 +42,12 @@
42
42
  "es-toolkit": "^1.32.0",
43
43
  "mime": "^4.0.4",
44
44
  "semver": "^7.7.2",
45
- "@hot-updater/core": "0.24.3"
45
+ "@hot-updater/core": "0.24.4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/semver": "^7.5.8",
49
49
  "typescript": "5.8.2",
50
- "@hot-updater/test-utils": "0.24.3"
50
+ "@hot-updater/test-utils": "0.24.4"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsdown",