Skip to content

Commit

Permalink
Update signature for logging interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Karan Kanwar authored and Karan Kanwar committed Jul 19, 2023
1 parent a7e7c1c commit b443249
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit b443249

Please sign in to comment.