@hot-updater/server 0.31.1 → 0.31.2

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.
@@ -5,7 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
8
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
9
  var __copyProps = (to, from, except, desc) => {
10
10
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
11
  key = keys[i];
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
2
  //#region \0rolldown/runtime.js
3
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
3
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
4
4
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
5
5
  //#endregion
6
6
  export { __commonJSMin, __require };
@@ -1,12 +1,12 @@
1
1
  const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
2
  let node_crypto = require("node:crypto");
3
- node_crypto = require_runtime.__toESM(node_crypto);
3
+ node_crypto = require_runtime.__toESM(node_crypto, 1);
4
4
  let node_fs_promises = require("node:fs/promises");
5
- node_fs_promises = require_runtime.__toESM(node_fs_promises);
5
+ node_fs_promises = require_runtime.__toESM(node_fs_promises, 1);
6
6
  let node_os = require("node:os");
7
- node_os = require_runtime.__toESM(node_os);
7
+ node_os = require_runtime.__toESM(node_os, 1);
8
8
  let node_path = require("node:path");
9
- node_path = require_runtime.__toESM(node_path);
9
+ node_path = require_runtime.__toESM(node_path, 1);
10
10
  let node_util = require("node:util");
11
11
  let node_zlib = require("node:zlib");
12
12
  let _hot_updater_bsdiff = require("@hot-updater/bsdiff");
@@ -1,7 +1,7 @@
1
1
  const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
2
  let _hot_updater_core = require("@hot-updater/core");
3
3
  let semver = require("semver");
4
- semver = require_runtime.__toESM(semver);
4
+ semver = require_runtime.__toESM(semver, 1);
5
5
  //#region src/db/schemaEnhancements.ts
6
6
  const normalizeNullableString = (value) => {
7
7
  if (value === null || value === void 0) return null;
package/dist/handler.cjs CHANGED
@@ -2,7 +2,7 @@ const require_runtime = require("./_virtual/_rolldown/runtime.cjs");
2
2
  const require_internalRouter = require("./internalRouter.cjs");
3
3
  const require_version = require("./version.cjs");
4
4
  let semver = require("semver");
5
- semver = require_runtime.__toESM(semver);
5
+ semver = require_runtime.__toESM(semver, 1);
6
6
  //#region src/handler.ts
7
7
  var HandlerBadRequestError = class extends Error {
8
8
  constructor(message) {
package/dist/index.d.cts CHANGED
@@ -4,4 +4,4 @@ import { HotUpdaterClient, HotUpdaterDB, Migrator } from "./db/ormCore.cjs";
4
4
  import { HOT_UPDATER_SERVER_VERSION } from "./version.cjs";
5
5
  import { CreateHotUpdaterOptions, HotUpdaterAPI, createHotUpdater } from "./db/index.cjs";
6
6
  import { Bundle, ChannelsResponse, DataResponse, Paginated, PaginatedResult, PaginationInfo, PaginationOptions } from "./types/index.cjs";
7
- export { Bundle, ChannelsResponse, CreateBundleDiffDependencies, CreateBundleDiffInput, CreateBundleDiffOptions, CreateHotUpdaterOptions, DataResponse, HOT_UPDATER_SERVER_VERSION, HandlerAPI, HandlerOptions, HandlerRoutes, HotUpdaterAPI, HotUpdaterClient, HotUpdaterDB, Migrator, Paginated, PaginatedResult, PaginationInfo, PaginationOptions, createBundleDiff, createHandler, createHotUpdater };
7
+ export { type Bundle, ChannelsResponse, CreateBundleDiffDependencies, CreateBundleDiffInput, CreateBundleDiffOptions, CreateHotUpdaterOptions, DataResponse, HOT_UPDATER_SERVER_VERSION, HandlerAPI, HandlerOptions, HandlerRoutes, HotUpdaterAPI, type HotUpdaterClient, HotUpdaterDB, type Migrator, Paginated, PaginatedResult, PaginationInfo, PaginationOptions, createBundleDiff, createHandler, createHotUpdater };
package/dist/index.d.mts CHANGED
@@ -4,4 +4,4 @@ import { HotUpdaterClient, HotUpdaterDB, Migrator } from "./db/ormCore.mjs";
4
4
  import { HOT_UPDATER_SERVER_VERSION } from "./version.mjs";
5
5
  import { CreateHotUpdaterOptions, HotUpdaterAPI, createHotUpdater } from "./db/index.mjs";
6
6
  import { Bundle, ChannelsResponse, DataResponse, Paginated, PaginatedResult, PaginationInfo, PaginationOptions } from "./types/index.mjs";
7
- export { Bundle, ChannelsResponse, CreateBundleDiffDependencies, CreateBundleDiffInput, CreateBundleDiffOptions, CreateHotUpdaterOptions, DataResponse, HOT_UPDATER_SERVER_VERSION, HandlerAPI, HandlerOptions, HandlerRoutes, HotUpdaterAPI, HotUpdaterClient, HotUpdaterDB, Migrator, Paginated, PaginatedResult, PaginationInfo, PaginationOptions, createBundleDiff, createHandler, createHotUpdater };
7
+ export { type Bundle, ChannelsResponse, CreateBundleDiffDependencies, CreateBundleDiffInput, CreateBundleDiffOptions, CreateHotUpdaterOptions, DataResponse, HOT_UPDATER_SERVER_VERSION, HandlerAPI, HandlerOptions, HandlerRoutes, HotUpdaterAPI, type HotUpdaterClient, HotUpdaterDB, type Migrator, Paginated, PaginatedResult, PaginationInfo, PaginationOptions, createBundleDiff, createHandler, createHotUpdater };
@@ -46,4 +46,4 @@ interface FumaDBFactory<Schemas extends AnySchema[]> {
46
46
  }
47
47
  type InferFumaDB<Factory extends FumaDBFactory<any>> = Factory extends FumaDBFactory<infer Schemas> ? FumaDB<Schemas> : never;
48
48
  //#endregion
49
- export { type FumaDBFactory, type InferFumaDB };
49
+ export type { FumaDBFactory, InferFumaDB };
@@ -46,4 +46,4 @@ interface FumaDBFactory<Schemas extends AnySchema[]> {
46
46
  }
47
47
  type InferFumaDB<Factory extends FumaDBFactory<any>> = Factory extends FumaDBFactory<infer Schemas> ? FumaDB<Schemas> : never;
48
48
  //#endregion
49
- export { type FumaDBFactory, type InferFumaDB };
49
+ export type { FumaDBFactory, InferFumaDB };
@@ -153,4 +153,4 @@ interface AbstractQuery<S extends AnySchema> {
153
153
  }) => Promise<void>;
154
154
  }
155
155
  //#endregion
156
- export { type AbstractQuery };
156
+ export type { AbstractQuery };
@@ -153,4 +153,4 @@ interface AbstractQuery<S extends AnySchema> {
153
153
  }) => Promise<void>;
154
154
  }
155
155
  //#endregion
156
- export { type AbstractQuery };
156
+ export type { AbstractQuery };
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.31.1";
2
+ var version = "0.31.2";
3
3
  //#endregion
4
4
  Object.defineProperty(exports, "version", {
5
5
  enumerable: true,
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.31.1";
2
+ var version = "0.31.2";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/server",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,
@@ -55,10 +55,10 @@
55
55
  "mongodb": "6.20.0",
56
56
  "rou3": "0.7.9",
57
57
  "semver": "^7.7.2",
58
- "@hot-updater/bsdiff": "0.31.1",
59
- "@hot-updater/core": "0.31.1",
60
- "@hot-updater/plugin-core": "0.31.1",
61
- "@hot-updater/js": "0.31.1"
58
+ "@hot-updater/bsdiff": "0.31.2",
59
+ "@hot-updater/core": "0.31.2",
60
+ "@hot-updater/plugin-core": "0.31.2",
61
+ "@hot-updater/js": "0.31.2"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@electric-sql/pglite": "0.2.17",
@@ -68,8 +68,8 @@
68
68
  "kysely-pglite-dialect": "1.2.0",
69
69
  "msw": "^2.7.0",
70
70
  "uuidv7": "^1.0.2",
71
- "@hot-updater/standalone": "0.31.1",
72
- "@hot-updater/test-utils": "0.31.1"
71
+ "@hot-updater/standalone": "0.31.2",
72
+ "@hot-updater/test-utils": "0.31.2"
73
73
  },
74
74
  "inlinedDependencies": {
75
75
  "@noble/hashes": "1.8.0",