clashofclans.js 1.5.5 → 2.0.0-dev.3a1efb5
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/CHANGELOG.md +16 -0
- package/LICENSE +2 -1
- package/README.md +34 -622
- package/dist/client/Client.d.ts +177 -0
- package/dist/client/Client.js +237 -0
- package/dist/client/EventManager.d.ts +86 -0
- package/dist/client/EventManager.js +279 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +21 -0
- package/dist/rest/HTTPError.d.ts +24 -0
- package/dist/rest/HTTPError.js +42 -0
- package/dist/rest/RESTManager.d.ts +151 -0
- package/dist/rest/RESTManager.js +99 -0
- package/dist/rest/RequestHandler.d.ts +155 -0
- package/dist/rest/RequestHandler.js +192 -0
- package/dist/rest/Throttler.d.ts +31 -0
- package/dist/rest/Throttler.js +86 -0
- package/dist/struct/Achievement.d.ts +25 -0
- package/dist/struct/Achievement.js +28 -0
- package/dist/struct/Badge.d.ts +16 -0
- package/dist/struct/Badge.js +27 -0
- package/dist/struct/ChatLanguage.d.ts +11 -0
- package/dist/struct/ChatLanguage.js +12 -0
- package/dist/struct/Clan.d.ts +64 -0
- package/dist/struct/Clan.js +44 -0
- package/dist/struct/ClanMember.d.ts +32 -0
- package/dist/struct/ClanMember.js +28 -0
- package/dist/struct/ClanWar.d.ts +137 -0
- package/dist/struct/ClanWar.js +198 -0
- package/dist/struct/ClanWarLeagueGroup.d.ts +62 -0
- package/dist/struct/ClanWarLeagueGroup.js +84 -0
- package/dist/struct/ClanWarLog.d.ts +54 -0
- package/dist/struct/ClanWarLog.js +46 -0
- package/dist/struct/Icon.d.ts +16 -0
- package/dist/struct/Icon.js +27 -0
- package/dist/struct/Label.d.ts +12 -0
- package/dist/struct/Label.js +13 -0
- package/dist/struct/League.d.ts +14 -0
- package/dist/struct/League.js +18 -0
- package/dist/struct/LegendStatistics.d.ts +18 -0
- package/dist/struct/LegendStatistics.js +17 -0
- package/dist/struct/Location.d.ts +15 -0
- package/dist/struct/Location.js +14 -0
- package/dist/struct/Player.d.ts +78 -0
- package/dist/struct/Player.js +70 -0
- package/dist/struct/PlayerClan.d.ts +19 -0
- package/dist/struct/PlayerClan.js +19 -0
- package/dist/struct/Ranking.d.ts +58 -0
- package/dist/struct/Ranking.js +50 -0
- package/dist/struct/Season.d.ts +19 -0
- package/dist/struct/Season.js +21 -0
- package/dist/struct/Unit.d.ts +35 -0
- package/dist/struct/Unit.js +50 -0
- package/dist/struct/WarLeague.d.ts +11 -0
- package/dist/struct/WarLeague.js +16 -0
- package/dist/struct/index.d.ts +19 -0
- package/dist/struct/index.js +31 -0
- package/dist/types/index.d.ts +350 -0
- package/dist/types/index.js +2 -0
- package/dist/util/Constants.d.ts +41 -0
- package/dist/util/Constants.js +122 -0
- package/dist/util/Util.d.ts +18 -0
- package/dist/util/Util.js +53 -0
- package/package.json +109 -33
- package/src/index.d.ts +0 -811
- package/src/index.js +0 -5
- package/src/struct/Client.js +0 -473
- package/src/util/Extension.js +0 -129
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## 2.0.0
|
|
6
|
+
|
|
7
|
+
This new version is a complete TypeScript rewrite to convert everything from plain (literal JSON) objects to class (constructor) objects and support a lot more features.
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- EventManager and Custom Events ([#37](https://github.com/clashperk/clashofclans.js/issues/37)) ([5027ae6](https://github.com/clashperk/clashofclans.js/commit/5027ae663a8e07175e17384c7e5706f4a1a7afb4)) ([984451d](https://github.com/clashperk/clashofclans.js/commit/30ea3240c11866008d0dae514468c0fdbb34ffd0))
|
|
12
|
+
- Internal Caching Options ([#53](https://github.com/clashperk/clashofclans.js/issues/53))
|
|
13
|
+
- Email Password Login ([#31](https://github.com/clashperk/clashofclans.js/issues/31)) ([4153cd3](https://github.com/clashperk/clashofclans.js/commit/4153cd37ea0e1c71550b9e892105b84d5a407e23))
|
|
14
|
+
- API Date Parser and Request Retries ([#26](https://github.com/clashperk/clashofclans.js/issues/26)) ([94585f3](https://github.com/clashperk/clashofclans.js/commit/94585f3a84a7175b2d07872f9eb9e42372b95e12))
|
|
15
|
+
- Override Request Options ([#36](https://github.com/clashperk/clashofclans.js/issues/36)) ([42d7fdd](https://github.com/clashperk/clashofclans.js/commit/42d7fdd36262cc46f23b731f8cffb9daea19d3b0))
|
|
16
|
+
- QueueThrottler and BatchThrottler ([#34](https://github.com/clashperk/clashofclans.js/issues/34)) ([3a8f051](https://github.com/clashperk/clashofclans.js/commit/3a8f051552e93b98f89bc7d524acdecddf242718))
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2020 - 2021
|
|
3
|
+
Copyright (c) 2020 - 2021 csuvajit
|
|
4
|
+
Copyright (c) 2020 - 2021 TheLearneer
|
|
4
5
|
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|