Skip to content

Commit

Permalink
修复BUG(#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLonely committed Jan 20, 2022
1 parent e37e9b7 commit fb606ba
Show file tree
Hide file tree
Showing 26 changed files with 162 additions and 109 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
uses: softprops/action-gh-release@v1
with:
prerelease: true
tag_name: v4.1.17-beta
name: 4.1.17-beta
body: '- 修复获取Discord凭证失败的BUG(#2)'
tag_name: v4.1.18-beta
name: 4.1.18-beta
body: '- 修复BUG(#3)'
files: |-
dist/auto-task-v4-for-giveawaysu.user.js
dist/auto-task-v4.compatibility.user.js
Expand Down
4 changes: 2 additions & 2 deletions dist/auto-task-v4-for-giveawaysu.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/auto-task-v4.compatibility.user.js

Large diffs are not rendered by default.

71 changes: 43 additions & 28 deletions dist/auto-task-v4.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name auto-task-v4
// @namespace auto-task-v4
// @version 4.1.17-beta
// @version 4.1.18-beta
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
// @author HCLonely
Expand Down Expand Up @@ -1813,9 +1813,10 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const defaultTasks = JSON.stringify({
const defaultTasksTemplate = {
servers: []
});
};
const defaultTasks = JSON.stringify(defaultTasksTemplate);
var _auth = new WeakMap();
var _cache = new WeakMap();
var _initialized = new WeakMap();
Expand Down Expand Up @@ -2174,9 +2175,10 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Instagram_defaultTasks = JSON.stringify({
const Instagram_defaultTasksTemplate = {
users: []
});
};
const Instagram_defaultTasks = JSON.stringify(Instagram_defaultTasksTemplate);
var Instagram_cache = new WeakMap();
var Instagram_auth = new WeakMap();
var Instagram_initialized = new WeakMap();
Expand Down Expand Up @@ -2496,9 +2498,10 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Reddit_defaultTasks = JSON.stringify({
const Reddit_defaultTasksTemplate = {
reddits: []
});
};
const Reddit_defaultTasks = JSON.stringify(Reddit_defaultTasksTemplate);
var Reddit_auth = new WeakMap();
var Reddit_initialized = new WeakMap();
var _useBeta = new WeakSet();
Expand Down Expand Up @@ -2777,9 +2780,10 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Twitch_defaultTasks = JSON.stringify({
const Twitch_defaultTasksTemplate = {
channels: []
});
};
const Twitch_defaultTasks = JSON.stringify(Twitch_defaultTasksTemplate);
var Twitch_auth = new WeakMap();
var Twitch_cache = new WeakMap();
var Twitch_initialized = new WeakMap();
Expand Down Expand Up @@ -3123,11 +3127,12 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Twitter_defaultTasks = JSON.stringify({
const Twitter_defaultTasksTemplate = {
users: [],
retweets: [],
likes: []
});
};
const Twitter_defaultTasks = JSON.stringify(Twitter_defaultTasksTemplate);
var _verifyId = new WeakMap();
var Twitter_auth = new WeakMap();
var Twitter_cache = new WeakMap();
Expand Down Expand Up @@ -3556,9 +3561,10 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Vk_defaultTasks = JSON.stringify({
const Vk_defaultTasksTemplate = {
names: []
});
};
const Vk_defaultTasks = JSON.stringify(Vk_defaultTasksTemplate);
var _username = new WeakMap();
var Vk_cache = new WeakMap();
var Vk_initialized = new WeakMap();
Expand Down Expand Up @@ -4128,10 +4134,11 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Youtube_defaultTasks = JSON.stringify({
const Youtube_defaultTasksTemplate = {
channels: [],
likes: []
});
};
const Youtube_defaultTasks = JSON.stringify(Youtube_defaultTasksTemplate);
const getInfo = async function(link, type) {
try {
const logStatus = scripts_echoLog({
Expand Down Expand Up @@ -4658,7 +4665,7 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return descriptor.value;
}
const Steam_defaultTasks = JSON.stringify({
const Steam_defaultTasksTemplate = {
groups: [],
wishlists: [],
follows: [],
Expand All @@ -4667,8 +4674,11 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
workshopVotes: [],
curators: [],
curatorLikes: [],
announcements: []
});
announcements: [],
licenses: [],
playtests: []
};
const Steam_defaultTasks = JSON.stringify(Steam_defaultTasksTemplate);
var Steam_cache = new WeakMap();
var Steam_auth = new WeakMap();
var _storeInitialized = new WeakMap();
Expand Down Expand Up @@ -6548,7 +6558,7 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return fn;
}
const FreeAnyWhere_defaultTasks = JSON.stringify({
const FreeAnyWhere_defaultTasksTemplate = {
steam: {
groupLinks: [],
wishlistLinks: [],
Expand All @@ -6558,7 +6568,8 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
vk: {
nameLinks: []
}
});
};
const FreeAnyWhere_defaultTasks = JSON.stringify(FreeAnyWhere_defaultTasksTemplate);
var _getGiveawayId = new WeakSet();
var _verify = new WeakSet();
class FreeAnyWhere extends website_Website {
Expand Down Expand Up @@ -7466,7 +7477,7 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return fn;
}
const Keyhub_defaultTasks = JSON.stringify({
const Keyhub_defaultTasksTemplate = {
steam: {
groupLinks: [],
wishlistLinks: [],
Expand All @@ -7476,7 +7487,8 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
serverLinks: []
},
links: []
});
};
const Keyhub_defaultTasks = JSON.stringify(Keyhub_defaultTasksTemplate);
var Keyhub_getGiveawayId = new WeakSet();
var Keyhub_checkLeftKey = new WeakSet();
var Keyhub_checkLogin = new WeakSet();
Expand Down Expand Up @@ -7695,7 +7707,7 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return fn;
}
const Givekey_defaultTasks = JSON.stringify({
const Givekey_defaultTasksTemplate = {
steam: {
groupLinks: [],
wishlistLinks: [],
Expand All @@ -7711,7 +7723,8 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
discord: {
serverLinks: []
}
});
};
const Givekey_defaultTasks = JSON.stringify(Givekey_defaultTasksTemplate);
var Givekey_verify = new WeakSet();
var Givekey_getGiveawayId = new WeakSet();
var Givekey_checkLeftKey = new WeakSet();
Expand Down Expand Up @@ -8611,7 +8624,7 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return fn;
}
const Keylol_defaultTasks = JSON.stringify({
const Keylol_defaultTasksTemplate = {
steam: {
groupLinks: [],
wishlistLinks: [],
Expand Down Expand Up @@ -8646,7 +8659,8 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
channelLinks: [],
likeLinks: []
}
});
};
const Keylol_defaultTasks = JSON.stringify(Keylol_defaultTasksTemplate);
var _addBtn = new WeakSet();
class Keylol extends website_Website {
constructor() {
Expand Down Expand Up @@ -9064,7 +9078,7 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
}
return fn;
}
const Gleam_defaultTasks = JSON.stringify({
const Gleam_defaultTasksTemplate = {
steam: {
groupLinks: [],
wishlistLinks: [],
Expand All @@ -9088,7 +9102,8 @@ ${$.makeArray($('#auto-task-info>li')).map(element => element.innerText).join('\
extra: {
gleam: []
}
});
};
const Gleam_defaultTasks = JSON.stringify(Gleam_defaultTasksTemplate);
const Gleam_defaultOptions = {
vlootUsername: '',
gameroundUsername: ''
Expand Down
6 changes: 6 additions & 0 deletions doc/docs/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ lang: zh-CN

## V4.1

### V4.1.18-beta

[Release](https://github.com/HCLonely/auto-task-v4/releases/tag/v4.1.18-beta)

- 修复BUG([#3](https://github.com/HCLonely/auto-task-v4/issues/3))

### V4.1.17-beta

[Release](https://github.com/HCLonely/auto-task-v4/releases/tag/v4.1.17-beta)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "auto-task-v4",
"version": "4.1.17-beta",
"version": "4.1.18-beta",
"change": [
"修复获取Discord凭证失败的BUG(#2)"
"修复BUG(#3)"
],
"description": "赠Key站自动任务脚本",
"main": "package.json",
Expand Down
4 changes: 2 additions & 2 deletions page/dist/auto-task-v4-for-giveawaysu.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions page/dist/auto-task-v4.compatibility.user.js

Large diffs are not rendered by default.

Loading

1 comment on commit fb606ba

@vercel
Copy link

@vercel vercel bot commented on fb606ba Jan 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.