@zgeoff/imp-client 0.14.0 → 0.16.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/README.md +6 -5
- package/dist/index.d.ts +4090 -78
- package/dist/index.js +3 -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.16.0";
|
|
7
7
|
async function checkServer(rpc) {
|
|
8
8
|
const info = await rpc.system.info();
|
|
9
9
|
return {
|
|
@@ -805,12 +805,14 @@ function createImpClient(options) {
|
|
|
805
805
|
const rpc = createORPCClient(link);
|
|
806
806
|
const namespaces = {
|
|
807
807
|
imps: rpc.imps,
|
|
808
|
+
leases: rpc.leases,
|
|
808
809
|
checkpoints: rpc.checkpoints,
|
|
809
810
|
backups: rpc.backups,
|
|
810
811
|
images: rpc.images,
|
|
811
812
|
exec: rpc.exec,
|
|
812
813
|
sessions: rpc.sessions,
|
|
813
814
|
services: rpc.services,
|
|
815
|
+
moves: rpc.moves,
|
|
814
816
|
secrets: rpc.secrets,
|
|
815
817
|
networks: rpc.networks,
|
|
816
818
|
grants: rpc.grants,
|