Commit Graph

12 Commits

Author SHA1 Message Date
SeanWalsh95
86f420fdf3 add Tank/Heli count as sub-property of team per https://github.com/Thomas-Smyth/SquadJS/pull/184#discussion_r602898710 2021-03-30 14:43:24 -04:00
SeanWalsh95
3339f78df6
Add Helicopter and Tank count to layer info
simplified to reduce commit spam
2021-03-16 15:52:24 -04:00
Levent007
7771376a26 Replacing githubraw with CDN(jsDelivr) 2021-03-05 17:00:38 +01:00
Levent007
e37f6aad08 Squad IO API Plugin 2021-03-04 23:36:57 +01:00
Levent007
d2c2844755 adding failover for pull layer (Fixing issues with Chinese firewall) 2021-03-04 15:55:36 +01:00
Shanomac99
4008075fba Corrected Squad Wiki Data.
- Changed layer classname to use level name
- Updated github link to a more permanent folder location.
2021-02-26 02:17:34 -05:00
SeanWalsh95
a2c043ef4c prefer throwing error to catch
- rm try/catch
prefer to throw error on failure to fetch layer information as it is critical to the apps operation

+add log line to indicate a force update

+increase verboseness of already pulled log as it is not critical info
2021-02-25 15:50:18 -05:00
SeanWalsh95
2b565eb965 ESLint & README Generation 2021-02-25 17:38:00 +00:00
SeanWalsh95
6cd99f8bc9
try/catch axios request + set pulled flag
Wraps axios request with try/catch for cases where we do not get a response or get an error

sets `this.pulled` flag after receiving and parsing response
2021-02-25 12:37:20 -05:00
Thomas Smyth
2703afbd7d Add additional logging 2021-02-25 13:02:08 +00:00
Thomas Smyth
a289188dfa Initial Squad v2 Layer Support Bug Fixes 2021-02-03 18:41:35 +00:00
Thomas Smyth
b5a3f4c59b Initial Squad v2 Layer Support 2021-02-03 17:33:01 +00:00