Skip to content

Commit 17222e8

Browse files
authored
Merge pull request #162 from jackblk/master
fix: claimed game notification, add changelog link
2 parents 4e3dd58 + 6de19e8 commit 17222e8

File tree

2 files changed

+2
-81
lines changed

2 files changed

+2
-81
lines changed

README.md

Lines changed: 1 addition & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -32,87 +32,8 @@ Also, this is a good alternative, in case you don't like using Epic's client or
3232
To which I will say, why not? Most of these games are actually outstanding games! Even if you don't like Epic and their shenanigans, you will be pleased to know that Epic actually funds all the free copies that are given away: ["But we actually found it was more economical to pay developers [a lump sum] to distribute their game free for two weeks..."](https://arstechnica.com/gaming/2019/03/epic-ceo-youre-going-to-see-lower-prices-on-epic-games-store/)
3333

3434
## Changelog
35-
### V1.5.7
36-
* Fixed breaking bug that occured with new offer type: edition (#159)
37-
* Merged Apprise image to main for docker (#157)
3835

39-
### V1.5.6
40-
* Added optional Apprise notifications (#143)
41-
* Improved update checking (#155)
42-
* Improved docker integration
43-
44-
### V1.5.5
45-
* Fixed testing (#137)
46-
* Fixed getting slug (for addons) (#134 #135 #136)
47-
48-
### V1.5.4
49-
* Create data directory to improve k8s convenience (#123)
50-
* Added optional Pushbullet notifications, if `pushbulletApiKey` option is present in `config.json` (#131)
51-
52-
### V1.5.3
53-
* Fixed missing history.json
54-
55-
### V1.5.2
56-
* Fixed a looping issue
57-
58-
### V1.5.1
59-
* Added docker support (#105)
60-
* Fixed getting wrong offer (#107 #108)
61-
* No longer logs in to check for new freebies (#109)
62-
* Keep track of claimed freebies history (#110)
63-
64-
### V1.5.0
65-
* Fixed login
66-
* Fixed purchase (claiming)
67-
* Removed ownership check (broken)
68-
* Removed unneeded dependencies
69-
* Code restyling
70-
71-
### V1.4.1
72-
* Removed the need for graphql query
73-
74-
### V1.4.0
75-
* Added two factor authentication (2fa) support while EpicGames changed policy (#17 #19 #21)
76-
* Added update checker (#20)
77-
78-
### V1.3.0
79-
* Changed method of obtaining free games list (#13)
80-
* Added better logger (#14)
81-
82-
### V1.2.3
83-
* Small bugfix
84-
85-
### V1.2.2
86-
* Added looping feature a.k.a. run forever* (#2)
87-
* Added multi-account support*
88-
89-
*Please update your config accordingly
90-
91-
### V1.2.1
92-
* Makes `rememberLastSession` optional in config or launch parameter (#8)
93-
* Added ESLint linter
94-
95-
### V1.2.0
96-
* Now allows web login, if normal login fails, e.g. due to captcha (#3)
97-
98-
*Please run `npm install` again, to install `epicgames-client-login-adapter`, required to utilize this new feature
99-
100-
### V1.1.2
101-
* Enables `rememberLastSession` by default* (#4)
102-
103-
*Please run `npm update` to update `epicgames-client`, required to utilize this new feature
104-
105-
### V1.1.1
106-
* Ensured all search results for all namespaces are purchased
107-
108-
### V1.1.0
109-
* Added support for email/password arguments
110-
* Moved saved credentials to config.json
111-
* Ensured all search results are returned
112-
* Fixed program not exiting
113-
114-
### V1.0.0
115-
* Initial release
36+
[Full changelog in Wiki](https://github.com/Revadike/epicgames-freebies-claimer/releases)
11637

11738
## Happy Freebie Claiming!
11839
![image](https://user-images.githubusercontent.com/4411977/122922274-bb263b00-d363-11eb-8b82-8a3ed6e7e29d.png)

claimer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function sleep(delay) {
116116
let purchased = await client.purchase(offer, 1);
117117
if (purchased) {
118118
Logger.info(`Successfully claimed ${offer.title} (${purchased})`);
119-
newlyClaimedPromos.push(offer);
119+
newlyClaimedPromos.push(offer.title);
120120
} else {
121121
Logger.warn(`${offer.title} was already claimed for this account`);
122122
}

0 commit comments

Comments
 (0)