laplace-api 1.3.2 → 1.3.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laplace-api",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Client library for Laplace API for the US stock market and BIST (Istanbul stock market) fundamental financial data.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,3 @@
1
- import { WebSocket } from "ws";
2
1
 
3
2
  export interface BISTStockLiveData {
4
3
  symbol: string;
@@ -138,7 +137,7 @@ export class LivePriceWebSocketClient {
138
137
  this.ws.onerror = (error) => {
139
138
  reject(
140
139
  new WebSocketError(
141
- `WebSocket connection error: ${error.error}`,
140
+ `WebSocket connection error: ${error}`,
142
141
  WebSocketErrorType.CONNECTION_ERROR
143
142
  )
144
143
  );
@@ -1,2 +1,2 @@
1
- BASE_URL=https://api.finfree.app
2
- API_KEY=api-6fa6cefb-16df-4a19-8351-54f83c6bbe2f
1
+ BASE_URL=
2
+ API_KEY=