@hot-updater/standalone 0.31.1 → 0.31.3

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/dist/index.cjs CHANGED
@@ -6,7 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  var __copyProps = (to, from, except, desc) => {
11
11
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
12
  key = keys[i];
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  //#endregion
25
25
  let _hot_updater_plugin_core = require("@hot-updater/plugin-core");
26
26
  let fs_promises = require("fs/promises");
27
- fs_promises = __toESM(fs_promises);
27
+ fs_promises = __toESM(fs_promises, 1);
28
28
  let path = require("path");
29
- path = __toESM(path);
29
+ path = __toESM(path, 1);
30
30
  //#region src/standaloneRepository.ts
31
31
  const defaultRoutes$1 = {
32
32
  create: () => ({ path: "/api/bundles" }),
package/dist/index.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import * as _$_hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
1
  import { StoragePluginHooks, UniversalStoragePlugin } from "@hot-updater/plugin-core";
3
2
 
4
3
  //#region src/standaloneRepository.d.ts
@@ -19,7 +18,7 @@ interface StandaloneRepositoryConfig {
19
18
  commonHeaders?: Record<string, string>;
20
19
  routes?: Routes;
21
20
  }
22
- declare const standaloneRepository: (config: StandaloneRepositoryConfig, hooks?: _$_hot_updater_plugin_core0.DatabasePluginHooks) => () => _$_hot_updater_plugin_core0.DatabasePlugin<unknown>;
21
+ declare const standaloneRepository: (config: StandaloneRepositoryConfig, hooks?: import("@hot-updater/plugin-core").DatabasePluginHooks) => () => import("@hot-updater/plugin-core").DatabasePlugin<unknown>;
23
22
  //#endregion
24
23
  //#region src/standaloneStorage.d.ts
25
24
  interface StorageRoutes {
package/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import * as _$_hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
1
  import { StoragePluginHooks, UniversalStoragePlugin } from "@hot-updater/plugin-core";
3
2
 
4
3
  //#region src/standaloneRepository.d.ts
@@ -19,7 +18,7 @@ interface StandaloneRepositoryConfig {
19
18
  commonHeaders?: Record<string, string>;
20
19
  routes?: Routes;
21
20
  }
22
- declare const standaloneRepository: (config: StandaloneRepositoryConfig, hooks?: _$_hot_updater_plugin_core0.DatabasePluginHooks) => () => _$_hot_updater_plugin_core0.DatabasePlugin<unknown>;
21
+ declare const standaloneRepository: (config: StandaloneRepositoryConfig, hooks?: import("@hot-updater/plugin-core").DatabasePluginHooks) => () => import("@hot-updater/plugin-core").DatabasePlugin<unknown>;
23
22
  //#endregion
24
23
  //#region src/standaloneStorage.d.ts
25
24
  interface StorageRoutes {
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
8
  var __getOwnPropNames = Object.getOwnPropertyNames;
9
9
  var __getProtoOf = Object.getPrototypeOf;
10
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
11
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
12
12
  var __copyProps = (to, from, except, desc) => {
13
13
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
14
14
  key = keys[i];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/standalone",
3
- "version": "0.31.1",
3
+ "version": "0.31.3",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,
@@ -39,8 +39,8 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@hot-updater/core": "0.31.1",
43
- "@hot-updater/plugin-core": "0.31.1"
42
+ "@hot-updater/core": "0.31.3",
43
+ "@hot-updater/plugin-core": "0.31.3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "mime": "2.6.0",