diff --git a/package-lock.json b/package-lock.json index fd1c617..939c54c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@spresso-sdk/price_optimization", - "version": "2.1.1", + "version": "2.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@spresso-sdk/price_optimization", - "version": "2.1.1", + "version": "2.2.0", "license": "MIT", "dependencies": { "axios": "^1.4.0" diff --git a/package.json b/package.json index 3d06c8a..9b18fb9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@spresso-sdk/price_optimization", - "version": "2.1.1", + "version": "2.2.0", "description": "Spresso Price Optimization SDK for Node", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", diff --git a/src/index.ts b/src/index.ts index 7449bf6..54d49fc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,8 +7,8 @@ const DEFAULT_KEEPALIVE_TIMEOUT_MS = 30000; const DEFAULT_SOCKET_COUNT = 128; export interface ILogger { - error(message: string): void; - info?(message: string): void; + error(message?: any, ...optionalParams: any[]): void; + info?(message?: any, ...optionalParams: any[]): void; } export type PricingRequest = {