@zgeoff/imp-client 0.3.0 → 0.5.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 +1870 -37
- package/dist/index.js +4 -2
- 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.5.0";
|
|
7
7
|
async function checkServer(rpc) {
|
|
8
8
|
const info = await rpc.system.info();
|
|
9
9
|
return {
|
|
@@ -663,7 +663,9 @@ function createImpClient(options) {
|
|
|
663
663
|
secrets: rpc.secrets,
|
|
664
664
|
grants: rpc.grants,
|
|
665
665
|
audit: rpc.audit,
|
|
666
|
-
|
|
666
|
+
events: rpc.events,
|
|
667
|
+
system: rpc.system,
|
|
668
|
+
tokens: rpc.tokens
|
|
667
669
|
};
|
|
668
670
|
const execDeps = {
|
|
669
671
|
rpc,
|