@hot-updater/server 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/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/_virtual/_rolldown/runtime.mjs +1 -1
- package/dist/db/createBundleDiff.cjs +4 -4
- package/dist/db/schemaEnhancements.cjs +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/node_modules/.pnpm/fumadb@0.2.2_drizzle-orm@0.44.7_@cloudflare_workers-types@4.20260313.1_@electric-sql_pg_c72c8c754becd21f6d6662e8fbd28e7f/node_modules/fumadb/dist/index.d.cts +1 -1
- package/dist/node_modules/.pnpm/fumadb@0.2.2_drizzle-orm@0.44.7_@cloudflare_workers-types@4.20260313.1_@electric-sql_pg_c72c8c754becd21f6d6662e8fbd28e7f/node_modules/fumadb/dist/index.d.mts +1 -1
- package/dist/node_modules/.pnpm/fumadb@0.2.2_drizzle-orm@0.44.7_@cloudflare_workers-types@4.20260313.1_@electric-sql_pg_c72c8c754becd21f6d6662e8fbd28e7f/node_modules/fumadb/dist/query/index.d.cts +1 -1
- package/dist/node_modules/.pnpm/fumadb@0.2.2_drizzle-orm@0.44.7_@cloudflare_workers-types@4.20260313.1_@electric-sql_pg_c72c8c754becd21f6d6662e8fbd28e7f/node_modules/fumadb/dist/query/index.d.mts +1 -1
- package/dist/packages/server/package.cjs +1 -1
- package/dist/packages/server/package.mjs +1 -1
- package/package.json +7 -7
|
@@ -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 {
|
|
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 {
|
|
49
|
+
export type { FumaDBFactory, InferFumaDB };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/server",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.3",
|
|
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.
|
|
59
|
-
"@hot-updater/core": "0.31.
|
|
60
|
-
"@hot-updater/
|
|
61
|
-
"@hot-updater/
|
|
58
|
+
"@hot-updater/bsdiff": "0.31.3",
|
|
59
|
+
"@hot-updater/core": "0.31.3",
|
|
60
|
+
"@hot-updater/js": "0.31.3",
|
|
61
|
+
"@hot-updater/plugin-core": "0.31.3"
|
|
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.
|
|
72
|
-
"@hot-updater/test-utils": "0.31.
|
|
71
|
+
"@hot-updater/standalone": "0.31.3",
|
|
72
|
+
"@hot-updater/test-utils": "0.31.3"
|
|
73
73
|
},
|
|
74
74
|
"inlinedDependencies": {
|
|
75
75
|
"@noble/hashes": "1.8.0",
|