Skip to content

Commit

Permalink
```
Browse files Browse the repository at this point in the history
Add MIT license and set default debug flag to false

Added MIT license to ensure clear legal usage terms for the package.
Set the debugMessage field to false by default in WebSocketClient
to prevent unnecessary debug logging unless explicitly enabled.
Updated gitHead to track the latest commit.

Fixes: #123
```
  • Loading branch information
andredezzy committed Sep 20, 2024
1 parent b2f34bc commit 73dbd35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/iqoption/lib/websocket/WebSocketClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class WebSocketClient implements BaseWebSocketClient {

public history: WebSocketEventHistory[]

public debugMessage: boolean
public debugMessage: boolean = false

constructor(public refreshLogIn: () => Promise<void>) {
this.subscribers = [new HeartbeatSubscriber(this)]
Expand Down
2 changes: 1 addition & 1 deletion packages/iqoption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"date-fns-timezone": "^0.1.4",
"md5": "2.3.0"
},
"gitHead": "26d6f55201eb107bd22ee73ac6e34b9df767a050",
"gitHead": "b2f34bc12d0786ad6ef79a354aa25abfc3130643",
"devDependencies": {
"@types/md5": "^2.3.0",
"@types/ws": "^7.4.0",
Expand Down

0 comments on commit 73dbd35

Please sign in to comment.