@hot-updater/plugin-core 1.0.0-rc.40 → 1.0.0-rc.42
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.
|
@@ -56,8 +56,12 @@ interface RemoteDatabase {
|
|
|
56
56
|
readonly name: string;
|
|
57
57
|
/** Core's reads and typed operations over the server's admin API. */
|
|
58
58
|
readonly core: HotUpdaterCoreApi;
|
|
59
|
-
/**
|
|
60
|
-
|
|
59
|
+
/**
|
|
60
|
+
* A request to the server's admin handler, for admin routes core does not
|
|
61
|
+
* cover, such as its plugins' routes: a GET unless `init` names another
|
|
62
|
+
* method. The database's headers come first; `init.headers` add to them.
|
|
63
|
+
*/
|
|
64
|
+
readonly fetchAdmin: (path: string, init?: RequestInit) => Promise<Response>;
|
|
61
65
|
dispose?(): Promise<void>;
|
|
62
66
|
}
|
|
63
67
|
/** The database a config names: one the CLI opens itself, or a self-hosted server's. */
|
|
@@ -56,8 +56,12 @@ interface RemoteDatabase {
|
|
|
56
56
|
readonly name: string;
|
|
57
57
|
/** Core's reads and typed operations over the server's admin API. */
|
|
58
58
|
readonly core: HotUpdaterCoreApi;
|
|
59
|
-
/**
|
|
60
|
-
|
|
59
|
+
/**
|
|
60
|
+
* A request to the server's admin handler, for admin routes core does not
|
|
61
|
+
* cover, such as its plugins' routes: a GET unless `init` names another
|
|
62
|
+
* method. The database's headers come first; `init.headers` add to them.
|
|
63
|
+
*/
|
|
64
|
+
readonly fetchAdmin: (path: string, init?: RequestInit) => Promise<Response>;
|
|
61
65
|
dispose?(): Promise<void>;
|
|
62
66
|
}
|
|
63
67
|
/** The database a config names: one the CLI opens itself, or a self-hosted server's. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/plugin-core",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"es-toolkit": "^1.32.0",
|
|
46
46
|
"mime": "^4.0.4",
|
|
47
47
|
"verkit": "0.4.0",
|
|
48
|
-
"@hot-updater/protocol": "1.0.0-rc.
|
|
48
|
+
"@hot-updater/protocol": "1.0.0-rc.42"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@electric-sql/pglite": "0.4.1",
|
|
52
52
|
"@types/node": "^20",
|
|
53
53
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
54
54
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
55
|
-
"@hot-updater/test-utils": "1.0.0-rc.
|
|
55
|
+
"@hot-updater/test-utils": "1.0.0-rc.42"
|
|
56
56
|
},
|
|
57
57
|
"nx": {
|
|
58
58
|
"implicitDependencies": [
|