@hot-updater/postgres 0.21.10 → 0.21.11

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.d.cts CHANGED
@@ -15,6 +15,6 @@ declare const getUpdateInfo: (pool: pg.Pool, args: GetBundlesArgs) => Promise<Up
15
15
  //#endregion
16
16
  //#region src/postgres.d.ts
17
17
  interface PostgresConfig extends PoolConfig {}
18
- declare const postgres: (config: PostgresConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
18
+ declare const postgres: (config: PostgresConfig, hooks?: DatabasePluginHooks) => () => _hot_updater_plugin_core0.DatabasePlugin;
19
19
  //#endregion
20
20
  export { PostgresConfig, appVersionStrategy, getUpdateInfo, postgres };
package/dist/index.d.ts CHANGED
@@ -15,6 +15,6 @@ declare const getUpdateInfo: (pool: pg.Pool, args: GetBundlesArgs) => Promise<Up
15
15
  //#endregion
16
16
  //#region src/postgres.d.ts
17
17
  interface PostgresConfig extends PoolConfig {}
18
- declare const postgres: (config: PostgresConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
18
+ declare const postgres: (config: PostgresConfig, hooks?: DatabasePluginHooks) => () => _hot_updater_plugin_core0.DatabasePlugin;
19
19
  //#endregion
20
20
  export { PostgresConfig, appVersionStrategy, getUpdateInfo, postgres };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/postgres",
3
3
  "type": "module",
4
- "version": "0.21.10",
4
+ "version": "0.21.11",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -31,16 +31,16 @@
31
31
  "dependencies": {
32
32
  "kysely": "^0.28.5",
33
33
  "pg": "^8.13.1",
34
- "@hot-updater/core": "0.21.10",
35
- "@hot-updater/plugin-core": "0.21.10"
34
+ "@hot-updater/plugin-core": "0.21.11",
35
+ "@hot-updater/core": "0.21.11"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@electric-sql/pglite": "^0.2.15",
39
39
  "@types/pg": "^8.11.10",
40
40
  "camelcase-keys": "^9.1.3",
41
41
  "pg-minify": "^1.6.5",
42
- "@hot-updater/test-utils": "0.21.10",
43
- "@hot-updater/js": "0.21.10"
42
+ "@hot-updater/js": "0.21.11",
43
+ "@hot-updater/test-utils": "0.21.11"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsdown",