koishi-plugin-ets2-tools-tmp 2.5.4 → 2.5.5

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.
@@ -1,4 +1,5 @@
1
1
  const BASE_API = 'https://tmp-fullmap.114512.xyz'
2
+ // const BASE_API = 'https://api.codetabs.com/v1/proxy/?quest=https://api.truckyapp.com'
2
3
 
3
4
  module.exports = {
4
5
  /**
@@ -182,7 +182,7 @@ module.exports = async (ctx, cfg, session, tmpId) => {
182
182
  if (!steamApiKey) {
183
183
  return { ets2: null, ats: null };
184
184
  }
185
- const url = `https://api.steampowered.com/IPlayerService/GetOwnedGames/v1?key=${steamApiKey}&steamid=${steamId}&appids_filter[0]=227300&appids_filter[1]=270880&include_played_free_games=1`;
185
+ const url = `https://steamapi.114512.xyz/IPlayerService/GetOwnedGames/v1?key=${steamApiKey}&steamid=${steamId}&appids_filter[0]=227300&appids_filter[1]=270880&include_played_free_games=1`;
186
186
  const response = await ctx.http.get(url);
187
187
  const result = { ets2: null, ats: null };
188
188
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ets2-tools-tmp",
3
3
  "description": "欧卡2 TruckersMP信息查询、车队平台查询及活动提醒",
4
- "version": "2.5.4",
4
+ "version": "2.5.5",
5
5
  "contributors": [
6
6
  "opwop <slhp1013@qq.com>",
7
7
  "bot_actions <168329908@qq.com>"