From ac1ad99645109d67f787572030642315d4468991 Mon Sep 17 00:00:00 2001 From: csgulati09 Date: Thu, 17 Oct 2024 15:05:11 +0530 Subject: [PATCH 1/7] fix: Issue: #130 --- src/baseClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/baseClient.ts b/src/baseClient.ts index 2ad0aa7..f90f64d 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -57,7 +57,7 @@ async function defaultParseResponse(props: APIResponseProps): Promise { if (contentType?.includes('application/json')) { const headers = defaultParseHeaders(props); const json = { - ...(await response.json()), + ...(await response.json() as any), getHeaders: () => headers, }; From ed45c2a94dd2c587c6e5d103cf94e3ad9eb17fec Mon Sep 17 00:00:00 2001 From: shivam-pareek Date: Mon, 21 Oct 2024 14:47:02 +0530 Subject: [PATCH 2/7] feat: Logs Export API endpoints integrated --- src/apis/index.ts | 1 + src/apis/logsExport.ts | 166 +++++++++++++++++++++++++++++++++++++++++ src/client.ts | 3 +- src/utils.ts | 2 + 4 files changed, 171 insertions(+), 1 deletion(-) create mode 100644 src/apis/logsExport.ts diff --git a/src/apis/index.ts b/src/apis/index.ts index 92b00e0..6910ee8 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -21,3 +21,4 @@ export { VectorStores } from './vectorStores'; export { BetaChat } from './betaChat'; export { Uploads } from './uploads'; export { ApiKeys } from './apiKeys'; +export { LogsExport } from './logsExport'; \ No newline at end of file diff --git a/src/apis/logsExport.ts b/src/apis/logsExport.ts new file mode 100644 index 0000000..4b2d745 --- /dev/null +++ b/src/apis/logsExport.ts @@ -0,0 +1,166 @@ +import { ApiResource } from "../apiResource"; +import { APIResponseType, ApiClientInterface } from "../_types/generalTypes"; +import { APIPromise, RequestOptions } from "../baseClient"; +import { createHeaders } from "./createHeaders"; +import { toQueryParams } from "../utils"; + +export interface LogsExportCreateParams { + filters?:Record; + workspace_id?:string; + description?:string; + requested_data?:string[]; +} +export interface LogsExportCreateResponse extends APIResponseType { + id?:string; + total?:number; + object?:string; +} +export interface LogsExportListParams{ + workspace_id?:string; +} +export interface LogsExportListResponse extends APIResponseType { + object?:string; + total?: number; + data?: Record[]; +} +export interface LogsExportUpdateParams{ + exportId?:string; + workspace_id?:string; + filters?:Record; + requested_data?:string[]; +} +export interface LogsExportUpdateResponse extends APIResponseType{ + id?:string; + total?:number; + object?:string; +} +export interface LogsExportCancelParams { + exportId?:string; +} +export interface LogsExportCancelResponse extends APIResponseType{ + message?:string; + object?:string; +} +export interface LogsExportRetrieveParams { + exportId:string; +} +export interface LogsExportRetrieveResponse extends APIResponseType{ + id?:string; + organisation_id?: string; + filters?:Record; + requested_data?:string[]; + status?:string; + description?:string; + created_at?: Date; + last_updated_at?:Date; + created_by?: string; + workspace_id?:string; + total_records?:number; + object?:string; +} +export interface LogsExportStartParams{ + exportId?:string; +} +export interface LogsExportStartResponse extends APIResponseType{ + message?:string; + object?:string; +} +export interface LogsExportDownloadParams{ + exportId?: string; +} +export interface LogsExportDownloadResponse extends APIResponseType{ + signed_url?:string; +} + +export class LogsExport extends ApiResource { + create( + _body:LogsExportCreateParams, + params?:ApiClientInterface, + opts?:RequestOptions + ):APIPromise{ + const body = _body; + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.post('/logs/exports', { body, ...opts }); + return response; + } + retrieve( + _body:LogsExportRetrieveParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.getMethod(`/logs/exports/${exportId}`, { ...opts }); + return response; + } + list( + _body:LogsExportListParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise{ + const body = _body; + const query = toQueryParams(body); + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.getMethod(`/logs/exports${query}`, {...opts}); + return response; + } + update( + _body: LogsExportUpdateParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.put(`/logs/exports/${exportId}`, { body, ...opts }); + return response; + } + start( + _body:LogsExportStartParams, + params?:ApiClientInterface, + opts?:RequestOptions + ): APIPromise{ + const body = _body + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.post(`/logs/exports/${exportId}/start`, { body, ...opts }); + return response; + } + cancel( + _body:LogsExportCancelParams, + params?:ApiClientInterface, + opts?:RequestOptions + ): APIPromise{ + const body=_body; + const exportId=body.exportId; + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.post(`/logs/exports/${exportId}/cancel`, { body, ...opts }); + return response; + } + download( + _body: LogsExportDownloadParams, + params?:ApiClientInterface, + opts?:RequestOptions + ): APIPromise{ + const body=_body; + const exportId=body.exportId; + if (params) { + this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } + } + const response = this.getMethod(`/logs/exports/${exportId}/download`, { body, ...opts }); + return response; + } +} \ No newline at end of file diff --git a/src/client.ts b/src/client.ts index 445607a..f6ef325 100644 --- a/src/client.ts +++ b/src/client.ts @@ -162,13 +162,14 @@ export class Portkey extends ApiClient { virtualKeys = new API.VirtualKeys(this); apiKeys = new API.ApiKeys(this); configs = new API.Configs(this); + logsExport = new API.LogsExport(this); beta = { assistants: new API.Assistants(this), threads: new API.Threads(this), vectorStores: new API.VectorStores(this), chat: new API.BetaChat(this), }; - + post = ( url: string, _body: PostBodyParams, diff --git a/src/utils.ts b/src/utils.ts index 5c38ca4..1eb8776 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -11,6 +11,7 @@ import { import { VirtualKeysListParams } from './apis/virtualKeys'; import { ApiKeysListParams } from './apis/apiKeys'; import { CongfigsListParams } from './apis/configs'; +import { LogsExportListParams } from './apis/logsExport'; type PlatformProperties = { 'x-portkey-runtime'?: string; @@ -156,6 +157,7 @@ export function toQueryParams( | VirtualKeysListParams | ApiKeysListParams | CongfigsListParams + | LogsExportListParams ): string { if (!params) { return ''; From fd637a64fabd6076df7aaa8c79744418a2953dbb Mon Sep 17 00:00:00 2001 From: shivam-pareek Date: Thu, 24 Oct 2024 14:53:59 +0530 Subject: [PATCH 3/7] fix: linting fixes --- src/apis/index.ts | 2 +- src/apis/logsExport.ts | 320 +++++++++++++++++++++++------------------ src/client.ts | 2 +- 3 files changed, 183 insertions(+), 141 deletions(-) diff --git a/src/apis/index.ts b/src/apis/index.ts index 6910ee8..11f6947 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -21,4 +21,4 @@ export { VectorStores } from './vectorStores'; export { BetaChat } from './betaChat'; export { Uploads } from './uploads'; export { ApiKeys } from './apiKeys'; -export { LogsExport } from './logsExport'; \ No newline at end of file +export { LogsExport } from './logsExport'; diff --git a/src/apis/logsExport.ts b/src/apis/logsExport.ts index 4b2d745..4a426c0 100644 --- a/src/apis/logsExport.ts +++ b/src/apis/logsExport.ts @@ -1,166 +1,208 @@ -import { ApiResource } from "../apiResource"; -import { APIResponseType, ApiClientInterface } from "../_types/generalTypes"; -import { APIPromise, RequestOptions } from "../baseClient"; -import { createHeaders } from "./createHeaders"; -import { toQueryParams } from "../utils"; +import { ApiResource } from '../apiResource'; +import { APIResponseType, ApiClientInterface } from '../_types/generalTypes'; +import { APIPromise, RequestOptions } from '../baseClient'; +import { createHeaders } from './createHeaders'; +import { toQueryParams } from '../utils'; export interface LogsExportCreateParams { - filters?:Record; - workspace_id?:string; - description?:string; - requested_data?:string[]; + filters?: Record; + workspace_id?: string; + description?: string; + requested_data?: string[]; } export interface LogsExportCreateResponse extends APIResponseType { - id?:string; - total?:number; - object?:string; + id?: string; + total?: number; + object?: string; } -export interface LogsExportListParams{ - workspace_id?:string; +export interface LogsExportListParams { + workspace_id?: string; } export interface LogsExportListResponse extends APIResponseType { - object?:string; - total?: number; - data?: Record[]; + object?: string; + total?: number; + data?: Record[]; } -export interface LogsExportUpdateParams{ - exportId?:string; - workspace_id?:string; - filters?:Record; - requested_data?:string[]; +export interface LogsExportUpdateParams { + exportId?: string; + workspace_id?: string; + filters?: Record; + requested_data?: string[]; } -export interface LogsExportUpdateResponse extends APIResponseType{ - id?:string; - total?:number; - object?:string; +export interface LogsExportUpdateResponse extends APIResponseType { + id?: string; + total?: number; + object?: string; } export interface LogsExportCancelParams { - exportId?:string; + exportId?: string; } -export interface LogsExportCancelResponse extends APIResponseType{ - message?:string; - object?:string; +export interface LogsExportCancelResponse extends APIResponseType { + message?: string; + object?: string; } export interface LogsExportRetrieveParams { - exportId:string; + exportId: string; } -export interface LogsExportRetrieveResponse extends APIResponseType{ - id?:string; - organisation_id?: string; - filters?:Record; - requested_data?:string[]; - status?:string; - description?:string; - created_at?: Date; - last_updated_at?:Date; - created_by?: string; - workspace_id?:string; - total_records?:number; - object?:string; +export interface LogsExportRetrieveResponse extends APIResponseType { + id?: string; + organisation_id?: string; + filters?: Record; + requested_data?: string[]; + status?: string; + description?: string; + created_at?: Date; + last_updated_at?: Date; + created_by?: string; + workspace_id?: string; + total_records?: number; + object?: string; } -export interface LogsExportStartParams{ - exportId?:string; +export interface LogsExportStartParams { + exportId?: string; } -export interface LogsExportStartResponse extends APIResponseType{ - message?:string; - object?:string; +export interface LogsExportStartResponse extends APIResponseType { + message?: string; + object?: string; } -export interface LogsExportDownloadParams{ - exportId?: string; +export interface LogsExportDownloadParams { + exportId?: string; } -export interface LogsExportDownloadResponse extends APIResponseType{ - signed_url?:string; +export interface LogsExportDownloadResponse extends APIResponseType { + signed_url?: string; } export class LogsExport extends ApiResource { - create( - _body:LogsExportCreateParams, - params?:ApiClientInterface, - opts?:RequestOptions - ):APIPromise{ - const body = _body; - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.post('/logs/exports', { body, ...opts }); - return response; + create( + _body: LogsExportCreateParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; } - retrieve( - _body:LogsExportRetrieveParams, - params?: ApiClientInterface, - opts?: RequestOptions - ): APIPromise { - const body = _body; - const exportId = body.exportId; - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.getMethod(`/logs/exports/${exportId}`, { ...opts }); - return response; - } - list( - _body:LogsExportListParams, - params?: ApiClientInterface, - opts?: RequestOptions - ): APIPromise{ - const body = _body; - const query = toQueryParams(body); - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.getMethod(`/logs/exports${query}`, {...opts}); - return response; + const response = this.post('/logs/exports', { + body, + ...opts, + }); + return response; + } + retrieve( + _body: LogsExportRetrieveParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; } - update( - _body: LogsExportUpdateParams, - params?: ApiClientInterface, - opts?: RequestOptions - ): APIPromise { - const body = _body; - const exportId = body.exportId; - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.put(`/logs/exports/${exportId}`, { body, ...opts }); - return response; - } - start( - _body:LogsExportStartParams, - params?:ApiClientInterface, - opts?:RequestOptions - ): APIPromise{ - const body = _body - const exportId = body.exportId; - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.post(`/logs/exports/${exportId}/start`, { body, ...opts }); - return response; + const response = this.getMethod( + `/logs/exports/${exportId}`, + { ...opts } + ); + return response; + } + list( + _body: LogsExportListParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const query = toQueryParams(body); + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; } - cancel( - _body:LogsExportCancelParams, - params?:ApiClientInterface, - opts?:RequestOptions - ): APIPromise{ - const body=_body; - const exportId=body.exportId; - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.post(`/logs/exports/${exportId}/cancel`, { body, ...opts }); - return response; + const response = this.getMethod( + `/logs/exports${query}`, + { ...opts } + ); + return response; + } + update( + _body: LogsExportUpdateParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; } - download( - _body: LogsExportDownloadParams, - params?:ApiClientInterface, - opts?:RequestOptions - ): APIPromise{ - const body=_body; - const exportId=body.exportId; - if (params) { - this.client.customHeaders = { ...this.client.customHeaders, ...createHeaders({ ...params }) } - } - const response = this.getMethod(`/logs/exports/${exportId}/download`, { body, ...opts }); - return response; + const response = this.put( + `/logs/exports/${exportId}`, + { body, ...opts } + ); + return response; + } + start( + _body: LogsExportStartParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; } -} \ No newline at end of file + const response = this.post( + `/logs/exports/${exportId}/start`, + { body, ...opts } + ); + return response; + } + cancel( + _body: LogsExportCancelParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; + } + const response = this.post( + `/logs/exports/${exportId}/cancel`, + { body, ...opts } + ); + return response; + } + download( + _body: LogsExportDownloadParams, + params?: ApiClientInterface, + opts?: RequestOptions + ): APIPromise { + const body = _body; + const exportId = body.exportId; + if (params) { + this.client.customHeaders = { + ...this.client.customHeaders, + ...createHeaders({ ...params }), + }; + } + const response = this.getMethod( + `/logs/exports/${exportId}/download`, + { body, ...opts } + ); + return response; + } +} diff --git a/src/client.ts b/src/client.ts index f6ef325..d8bda4f 100644 --- a/src/client.ts +++ b/src/client.ts @@ -169,7 +169,7 @@ export class Portkey extends ApiClient { vectorStores: new API.VectorStores(this), chat: new API.BetaChat(this), }; - + post = ( url: string, _body: PostBodyParams, From 07eb5465afc380d4d4f43b1a0264deac4356f23e Mon Sep 17 00:00:00 2001 From: shivam-pareek Date: Sun, 3 Nov 2024 19:32:09 +0530 Subject: [PATCH 4/7] fix: restructuring to logs and exports classes --- src/apis/index.ts | 2 +- src/apis/logsExport.ts | 11 +++++++++-- src/client.ts | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/apis/index.ts b/src/apis/index.ts index 11f6947..009d6c9 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -21,4 +21,4 @@ export { VectorStores } from './vectorStores'; export { BetaChat } from './betaChat'; export { Uploads } from './uploads'; export { ApiKeys } from './apiKeys'; -export { LogsExport } from './logsExport'; +export { Logs } from './logsExport'; diff --git a/src/apis/logsExport.ts b/src/apis/logsExport.ts index 4a426c0..d480614 100644 --- a/src/apis/logsExport.ts +++ b/src/apis/logsExport.ts @@ -4,6 +4,7 @@ import { APIPromise, RequestOptions } from '../baseClient'; import { createHeaders } from './createHeaders'; import { toQueryParams } from '../utils'; + export interface LogsExportCreateParams { filters?: Record; workspace_id?: string; @@ -71,8 +72,14 @@ export interface LogsExportDownloadParams { export interface LogsExportDownloadResponse extends APIResponseType { signed_url?: string; } - -export class LogsExport extends ApiResource { +export class Logs extends ApiResource { + exports: Exports; + constructor(client:any){ + super(client); + this.exports = new Exports(client); + } +} +export class Exports extends ApiResource { create( _body: LogsExportCreateParams, params?: ApiClientInterface, diff --git a/src/client.ts b/src/client.ts index d8bda4f..c0eac08 100644 --- a/src/client.ts +++ b/src/client.ts @@ -162,7 +162,7 @@ export class Portkey extends ApiClient { virtualKeys = new API.VirtualKeys(this); apiKeys = new API.ApiKeys(this); configs = new API.Configs(this); - logsExport = new API.LogsExport(this); + logs = new API.Logs(this); beta = { assistants: new API.Assistants(this), threads: new API.Threads(this), From 6b3e647eec296b572ed2a0a63f3f95cecb396e33 Mon Sep 17 00:00:00 2001 From: shivam-pareek Date: Tue, 5 Nov 2024 14:53:57 +0530 Subject: [PATCH 5/7] fix: casing fixes --- src/apis/logsExport.ts | 41 +++++++++++++++++++++++++++-------------- src/utils.ts | 2 +- 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/src/apis/logsExport.ts b/src/apis/logsExport.ts index d480614..c4a4078 100644 --- a/src/apis/logsExport.ts +++ b/src/apis/logsExport.ts @@ -4,12 +4,11 @@ import { APIPromise, RequestOptions } from '../baseClient'; import { createHeaders } from './createHeaders'; import { toQueryParams } from '../utils'; - export interface LogsExportCreateParams { filters?: Record; - workspace_id?: string; + workspaceId?: string; description?: string; - requested_data?: string[]; + requestedData?: string[]; } export interface LogsExportCreateResponse extends APIResponseType { id?: string; @@ -17,7 +16,7 @@ export interface LogsExportCreateResponse extends APIResponseType { object?: string; } export interface LogsExportListParams { - workspace_id?: string; + workspaceId?: string; } export interface LogsExportListResponse extends APIResponseType { object?: string; @@ -26,9 +25,9 @@ export interface LogsExportListResponse extends APIResponseType { } export interface LogsExportUpdateParams { exportId?: string; - workspace_id?: string; + workspaceId?: string; filters?: Record; - requested_data?: string[]; + requestedData?: string[]; } export interface LogsExportUpdateResponse extends APIResponseType { id?: string; @@ -73,11 +72,11 @@ export interface LogsExportDownloadResponse extends APIResponseType { signed_url?: string; } export class Logs extends ApiResource { - exports: Exports; - constructor(client:any){ - super(client); - this.exports = new Exports(client); - } + exports: Exports; + constructor(client: any) { + super(client); + this.exports = new Exports(client); + } } export class Exports extends ApiResource { create( @@ -85,7 +84,12 @@ export class Exports extends ApiResource { params?: ApiClientInterface, opts?: RequestOptions ): APIPromise { - const body = _body; + const { workspaceId, requestedData, ...rest } = _body; + const body = { + ...rest, + workspace_id: workspaceId, + requested_data: requestedData, + }; if (params) { this.client.customHeaders = { ...this.client.customHeaders, @@ -122,7 +126,11 @@ export class Exports extends ApiResource { params?: ApiClientInterface, opts?: RequestOptions ): APIPromise { - const body = _body; + const { workspaceId, ...rest } = _body; + const body = { + ...rest, + workspace_id: workspaceId, + }; const query = toQueryParams(body); if (params) { this.client.customHeaders = { @@ -141,7 +149,12 @@ export class Exports extends ApiResource { params?: ApiClientInterface, opts?: RequestOptions ): APIPromise { - const body = _body; + const { workspaceId, requestedData, ...rest } = _body; + const body = { + ...rest, + workspace_id: workspaceId, + requested_data: requestedData, + }; const exportId = body.exportId; if (params) { this.client.customHeaders = { diff --git a/src/utils.ts b/src/utils.ts index 1eb8776..764d9e7 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -157,7 +157,7 @@ export function toQueryParams( | VirtualKeysListParams | ApiKeysListParams | CongfigsListParams - | LogsExportListParams + | LogsExportListParams|any ): string { if (!params) { return ''; From 32f08c26e7b76d16293bb55b4c9fc3ed927906fc Mon Sep 17 00:00:00 2001 From: csgulati09 Date: Thu, 7 Nov 2024 14:23:07 +0530 Subject: [PATCH 6/7] 1.5.2 --- src/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.ts b/src/version.ts index 8710a37..a9ccb49 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.5.1'; +export const VERSION = '1.5.2'; From 5a88ee0a554e5d8d4f04941b3d73ec31bdb704f6 Mon Sep 17 00:00:00 2001 From: csgulati09 Date: Thu, 7 Nov 2024 14:23:17 +0530 Subject: [PATCH 7/7] 1.5.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6d51770..5ae8bbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "portkey-ai", - "version": "1.5.1", + "version": "1.5.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "portkey-ai", - "version": "1.5.1", + "version": "1.5.2", "license": "MIT", "dependencies": { "agentkeepalive": "^4.5.0", diff --git a/package.json b/package.json index f3456d9..1c826b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "portkey-ai", - "version": "1.5.1", + "version": "1.5.2", "description": "Node client library for the Portkey API", "types": "dist/src/index.d.ts", "main": "dist/src/index.js",