laplace-api 4.3.1 → 4.3.2

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": "4.3.1",
3
+ "version": "4.3.2",
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": {
@@ -290,17 +290,13 @@ export class LivePriceClient extends Client {
290
290
  feedType: LivePriceFeed,
291
291
  ): Promise<WebSocketUsageResponse[]> {
292
292
  const url = new URL(`${this["baseUrl"]}/api/v1/ws/report`);
293
-
294
- const params = {
295
- month,
296
- year,
297
- feedType
298
- };
293
+ url.searchParams.append("month", month);
294
+ url.searchParams.append("year", year);
295
+ url.searchParams.append("feedType", feedType);
299
296
 
300
297
  const response = await this.sendRequest<WebSocketUsageResponse[]>({
301
298
  method: "GET",
302
299
  url: url.toString(),
303
- data: params,
304
300
  });
305
301
 
306
302
  return response;