@zgeoff/imp-client 0.13.1 → 0.15.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 +2553 -33
- package/dist/index.js +2 -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.15.0";
|
|
7
7
|
async function checkServer(rpc) {
|
|
8
8
|
const info = await rpc.system.info();
|
|
9
9
|
return {
|
|
@@ -805,6 +805,7 @@ 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,
|