diff --git a/src/v1.ts b/src/v1.ts index 2492bae..376eb70 100644 --- a/src/v1.ts +++ b/src/v1.ts @@ -28,6 +28,8 @@ export type ZedDefaultClientInterface = OmitBaseMethods< OmitBaseMethods & OmitBaseMethods & OmitBaseMethods & + OmitBaseMethods & + OmitBaseMethods & Pick; // The promisified version of the interface @@ -36,6 +38,8 @@ export type ZedPromiseClientInterface = PromisifiedClient & PromisifiedClient & PromisifiedClient & + PromisifiedClient & + PromisifiedClient & Pick; // A combined client containing the root gRPC client methods and a promisified set at a "promises" key @@ -124,9 +128,14 @@ class ZedClient implements ProxyHandler { } close = () => { - [this.acl, this.ns, this.watch, this.experimental].forEach((client) => - client?.close(), - ); + [ + this.acl, + this.ns, + this.watch, + this.experimental, + this.watchPermissions, + this.watchPermissionSets, + ].forEach((client) => client?.close()); }; get(_target: object, name: string | symbol) {