Set logger outside

This commit is contained in:
Aleksandr Kraiz
2022-07-22 18:04:59 +04:00
parent 4d49081fe5
commit 4626cd7279
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.12.15",
"version": "0.12.16",
"description": "Orion Protocol SDK",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",

View File

@@ -158,7 +158,7 @@ class OrionAggregatorWS {
public onError?: (err: string) => void;
private logger?: (message: string) => void;
public logger?: (message: string) => void;
private readonly wsUrl: string;