diff --git a/.pnp.cjs b/.pnp.cjs index c9529f485b2..cf6f4cf5e70 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -2979,6 +2979,7 @@ const RAW_RUNTIME_STATE = ["path-browserify", "npm:1.0.1"],\ ["process", "npm:0.11.10"],\ ["semver", "npm:7.5.3"],\ + ["setimmediate", "npm:1.0.5"],\ ["sinon", "npm:17.0.1"],\ ["sinon-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:3.7.0"],\ ["stream-browserify", "npm:3.0.0"],\ diff --git a/packages/js-dapi-client/lib/logger/index.js b/packages/js-dapi-client/lib/logger/index.js index a06b34c145d..1dae49d6d53 100644 --- a/packages/js-dapi-client/lib/logger/index.js +++ b/packages/js-dapi-client/lib/logger/index.js @@ -3,7 +3,7 @@ const winston = require('winston'); // TODO: Refactor to use params instead on envs -const LOG_LEVEL = process.env.LOG_LEVEL || 'silent'; +const LOG_LEVEL = 'silly'; // process.env.LOG_LEVEL || 'silent'; const LOG_TO_FILE = process.env.LOG_WALLET_TO_FILE || 'false'; // Log levels: diff --git a/packages/js-dash-sdk/src/logger/index.ts b/packages/js-dash-sdk/src/logger/index.ts index d0b0bd763d9..c19fe5544a1 100644 --- a/packages/js-dash-sdk/src/logger/index.ts +++ b/packages/js-dash-sdk/src/logger/index.ts @@ -7,7 +7,7 @@ export type ConfigurableLogger = Logger & { const util = require('util'); const winston = require('winston'); -const LOG_LEVEL = process.env.LOG_LEVEL || 'info'; +const LOG_LEVEL = 'silly'; // process.env.LOG_LEVEL || 'info'; // Log levels: // error 0 diff --git a/packages/platform-test-suite/lib/test/karma/bootstrap.js b/packages/platform-test-suite/lib/test/karma/bootstrap.js index 4ed1d836b8a..d76c466bdbc 100644 --- a/packages/platform-test-suite/lib/test/karma/bootstrap.js +++ b/packages/platform-test-suite/lib/test/karma/bootstrap.js @@ -3,6 +3,7 @@ const dirtyChai = require('dirty-chai'); const chaiAsPromised = require('chai-as-promised'); const sinon = require('sinon'); const sinonChai = require('sinon-chai'); +require('setimmediate'); use(chaiAsPromised); use(dirtyChai); diff --git a/packages/platform-test-suite/package.json b/packages/platform-test-suite/package.json index 75c8df73bed..9f97dc81441 100644 --- a/packages/platform-test-suite/package.json +++ b/packages/platform-test-suite/package.json @@ -63,6 +63,7 @@ "path-browserify": "^1.0.1", "process": "^0.11.10", "semver": "^7.5.3", + "setimmediate": "^1.0.5", "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "stream-browserify": "^3.0.0", diff --git a/packages/wallet-lib/src/logger/index.js b/packages/wallet-lib/src/logger/index.js index c7fa9cffbf5..7444a3ccbeb 100644 --- a/packages/wallet-lib/src/logger/index.js +++ b/packages/wallet-lib/src/logger/index.js @@ -1,7 +1,7 @@ const util = require('util'); const winston = require('winston'); -const LOG_LEVEL = process.env.LOG_LEVEL || 'info'; +const LOG_LEVEL = 'silly'; // process.env.LOG_LEVEL || 'info'; const LOG_TO_FILE = process.env.LOG_WALLET_TO_FILE || 'false'; // Log levels: diff --git a/yarn.lock b/yarn.lock index 4d6964c3908..2877c5f9801 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1820,6 +1820,7 @@ __metadata: path-browserify: "npm:^1.0.1" process: "npm:^0.11.10" semver: "npm:^7.5.3" + setimmediate: "npm:^1.0.5" sinon: "npm:^17.0.1" sinon-chai: "npm:^3.7.0" stream-browserify: "npm:^3.0.0"