diff --git a/package.json b/package.json index 1578fa5..883ce60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@serve.zone/api", - "version": "5.3.3", + "version": "5.3.4", "private": false, "description": "Type-safe API client for Cloudly and the serve.zone control plane.", "exports": { diff --git a/ts/classes.cloudlyapiclient.ts b/ts/classes.cloudlyapiclient.ts index 27e08de..9843d81 100644 --- a/ts/classes.cloudlyapiclient.ts +++ b/ts/classes.cloudlyapiclient.ts @@ -260,6 +260,9 @@ export class CloudlyApiClient { createService: async (optionsArg: Parameters[1]) => { return Service.createService(this, optionsArg); }, + getRegistryTarget: async (serviceId: string, tag = 'latest') => { + return Service.getServiceRegistryTarget(this, serviceId, tag); + }, updateService: async (serviceId: string, serviceData: plugins.servezoneInterfaces.data.IService['data']): Promise<{ service: plugins.servezoneInterfaces.data.IService }> => { const op = 'updateService'; const payload = { identity: this.identity, serviceId, serviceData } as any;