corexxx 1.0.43 → 1.0.44

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.
@@ -10,16 +10,16 @@ export declare namespace yahooFin {
10
10
  high: number;
11
11
  low: number;
12
12
  change: number;
13
- pChange: number;
13
+ pchange: number;
14
14
  timestamp: number;
15
15
  week52High?: number;
16
16
  week52Low?: number;
17
17
  avgVolume?: number;
18
18
  yAnalystRating?: string;
19
19
  pre_ltp?: number;
20
- pre_pChange?: number;
20
+ pre_pchange?: number;
21
21
  post_ltp?: number;
22
- post_pChange?: number;
22
+ post_pchange?: number;
23
23
  previousClose?: number;
24
24
  };
25
25
  type TExchange = "NSE" | "BSE" | "NASDAQ" | "LSE";
package/dist/yahoofin.js CHANGED
@@ -107,12 +107,12 @@ var yahooFin;
107
107
  week52High: d.fiftyTwoWeekHigh.raw,
108
108
  week52Low: d.fiftyTwoWeekLow.raw,
109
109
  change: d.regularMarketChange.raw,
110
- pChange: d.regularMarketChangePercent.raw,
110
+ pchange: d.regularMarketChangePercent.raw,
111
111
  yAnalystRating: d.averageAnalystRating,
112
112
  post_ltp: (_b = d.postMarketPrice) === null || _b === void 0 ? void 0 : _b.raw,
113
- post_pChange: (_c = d.postMarketChangePercent) === null || _c === void 0 ? void 0 : _c.raw,
113
+ post_pchange: (_c = d.postMarketChangePercent) === null || _c === void 0 ? void 0 : _c.raw,
114
114
  pre_ltp: (_d = d.preMarketPrice) === null || _d === void 0 ? void 0 : _d.raw,
115
- pre_pChange: (_e = d.preMarketChangePercent) === null || _e === void 0 ? void 0 : _e.raw,
115
+ pre_pchange: (_e = d.preMarketChangePercent) === null || _e === void 0 ? void 0 : _e.raw,
116
116
  previousClose: (_f = d.regularMarketPreviousClose) === null || _f === void 0 ? void 0 : _f.raw,
117
117
  timestamp: d.regularMarketTime.raw,
118
118
  });
@@ -180,7 +180,7 @@ var yahooFin;
180
180
  _id: x.symbol + ".NS",
181
181
  symbol: x.symbol,
182
182
  change: x.change,
183
- pChange: x.pChange,
183
+ pchange: x.pchange,
184
184
  name: ((_a = x.meta) === null || _a === void 0 ? void 0 : _a.companyName) || x.symbol,
185
185
  week52Low: x.yearLow,
186
186
  week52High: x.yearHigh,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corexxx",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/yahoofin.ts CHANGED
@@ -15,7 +15,7 @@ export namespace yahooFin {
15
15
  high: number;
16
16
  low: number;
17
17
  change: number;
18
- pChange: number;
18
+ pchange: number;
19
19
  timestamp: number;
20
20
 
21
21
  // opt
@@ -24,9 +24,9 @@ export namespace yahooFin {
24
24
  avgVolume?: number;
25
25
  yAnalystRating?: string;
26
26
  pre_ltp?: number;
27
- pre_pChange?: number;
27
+ pre_pchange?: number;
28
28
  post_ltp?: number;
29
- post_pChange?: number;
29
+ post_pchange?: number;
30
30
  previousClose?: number;
31
31
  };
32
32
 
@@ -108,12 +108,12 @@ export namespace yahooFin {
108
108
  week52High: d.fiftyTwoWeekHigh.raw,
109
109
  week52Low: d.fiftyTwoWeekLow.raw,
110
110
  change: d.regularMarketChange.raw,
111
- pChange: d.regularMarketChangePercent.raw,
111
+ pchange: d.regularMarketChangePercent.raw,
112
112
  yAnalystRating: d.averageAnalystRating,
113
113
  post_ltp: d.postMarketPrice?.raw,
114
- post_pChange: d.postMarketChangePercent?.raw,
114
+ post_pchange: d.postMarketChangePercent?.raw,
115
115
  pre_ltp: d.preMarketPrice?.raw,
116
- pre_pChange: d.preMarketChangePercent?.raw,
116
+ pre_pchange: d.preMarketChangePercent?.raw,
117
117
  previousClose: d.regularMarketPreviousClose?.raw,
118
118
  timestamp: d.regularMarketTime.raw,
119
119
  });
@@ -183,7 +183,7 @@ export namespace yahooFin {
183
183
  _id: x.symbol + ".NS",
184
184
  symbol: x.symbol,
185
185
  change: x.change,
186
- pChange: x.pChange,
186
+ pchange: x.pchange,
187
187
  name: x.meta?.companyName || x.symbol,
188
188
  week52Low: x.yearLow,
189
189
  week52High: x.yearHigh,