@zgeoff/imp-client 0.0.0 → 0.1.0
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.ts +1273 -90
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { RPCLink } from "@orpc/client/fetch";
|
|
|
3
3
|
import * as z from "zod";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/check-server.ts
|
|
6
|
-
const CLIENT_VERSION = "0.
|
|
6
|
+
const CLIENT_VERSION = "0.1.0";
|
|
7
7
|
async function checkServer(rpc) {
|
|
8
8
|
const info = await rpc.system.info();
|
|
9
9
|
return {
|
|
@@ -653,9 +653,13 @@ function createImpClient(options) {
|
|
|
653
653
|
const namespaces = {
|
|
654
654
|
imps: rpc.imps,
|
|
655
655
|
checkpoints: rpc.checkpoints,
|
|
656
|
+
backups: rpc.backups,
|
|
656
657
|
images: rpc.images,
|
|
657
658
|
exec: rpc.exec,
|
|
658
659
|
sessions: rpc.sessions,
|
|
660
|
+
secrets: rpc.secrets,
|
|
661
|
+
grants: rpc.grants,
|
|
662
|
+
audit: rpc.audit,
|
|
659
663
|
system: rpc.system
|
|
660
664
|
};
|
|
661
665
|
const execDeps = {
|