shoonya-sdk 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -176,9 +176,9 @@ var Shoonya = class extends import_events.EventEmitter {
176
176
  this.heartbeatTimeout = { timer: null, timeout: heartbeatTimeout };
177
177
  if (logging) {
178
178
  this.logger = new logger_default(
179
- `./logs/log_${Date.now().toString()}.log`,
180
- 1024 * 10
181
- //1KB * 10 = 10KB
179
+ `shoonya-sdk-log`,
180
+ 1024 * 100
181
+ //1KB * 100 = 100KB
182
182
  );
183
183
  }
184
184
  }
@@ -150,9 +150,9 @@ var Shoonya = class extends EventEmitter {
150
150
  this.heartbeatTimeout = { timer: null, timeout: heartbeatTimeout };
151
151
  if (logging) {
152
152
  this.logger = new logger_default(
153
- `./logs/log_${Date.now().toString()}.log`,
154
- 1024 * 10
155
- //1KB * 10 = 10KB
153
+ `shoonya-sdk-log`,
154
+ 1024 * 100
155
+ //1KB * 100 = 100KB
156
156
  );
157
157
  }
158
158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoonya-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Wrapper around Shoonya API",
5
5
  "main": "dist/shoonya-sdk.js",
6
6
  "module": "dist/shoonya-sdk.mjs",