@mathieuc/tradingview 3.4.2 → 3.4.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/README.md CHANGED
@@ -9,11 +9,15 @@
9
9
 
10
10
  Get realtime market prices and indicator values from Tradingview !
11
11
 
12
- ## 🔵 New Telegram group
12
+ ## 🟢 Need help with your project?
13
+
14
+ 🚀 Click [here](https://forms.gle/qPp5RKo8L55C5oJE7) for personalized assistance on your project.
15
+
16
+ ## 🔵 Telegram group
13
17
 
14
18
  👉 To get help, exchange tips, find collaborators, developers, missions, etc...
15
19
 
16
- Here is the Telegram group of the library: https://t.me/tradingview_api
20
+ Join the Telegram group of the TradingView-API Community: [t.me/tradingview_api](https://t.me/tradingview_api)
17
21
 
18
22
  ## Features
19
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathieuc/tradingview",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "description": "Tradingview instant stocks API, indicator alerts, trading bot, and more !",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -412,8 +412,8 @@ module.exports = {
412
412
  following: parseFloat(/,"following":([0-9]*?),/.exec(data)?.[1] || 0),
413
413
  followers: parseFloat(/,"followers":([0-9]*?),/.exec(data)?.[1] || 0),
414
414
  notifications: {
415
- following: parseFloat(/"notification_count":\{"following":([0-9]*),/.exec(data)?.[1] || 0),
416
- user: parseFloat(/"notification_count":\{"following":[0-9]*,"user":([0-9]*)/.exec(data)?.[1] || 0),
415
+ following: parseFloat(/"notification_count":\{"following":([0-9]*),/.exec(data)?.[1] ?? 0),
416
+ user: parseFloat(/"notification_count":\{"following":[0-9]*,"user":([0-9]*)/.exec(data)?.[1] ?? 0),
417
417
  },
418
418
  session,
419
419
  signature,