aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
AgeCommit message (Collapse)Author
2021-09-06Bump node-fetch from 2.6.1 to 3.0.0 (#116)dependabot[bot]
* Bump node-fetch from 2.6.1 to 3.0.0 Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix issues with node fetch 3.0 * change module to esnext instead of commonjs * fix imports and tests * fix package-lock.json Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mat <github@matdoes.dev> Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
2021-06-29enable strictNullChecks and fix all related issues (#65)mat
2021-06-02actually 404 when something isn't foundmat
2021-06-02remove returning key usagemat
2021-06-01add key usage info to indexmat
2021-06-01add queue sizes to index debug datamat
2021-06-01temporarily disable fetchMemberLeaderboardSpotsmat
2021-05-31removed fetching all the members in all of the leaderboardsmat
2021-05-30do more things to maybe prevent random crashes???mat
2021-05-29add more try catchesmat
2021-05-28add more useful stuff to indexmat
2021-05-28add more stuff to index routemat
2021-05-27fix some bugs with it loading forevermat
2021-05-27random random debug things and optimize leaderboardsmat
optimize leaderboards by fetching all the raw ones at the beginning
2021-05-27Profile customization (#46)mat
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests * change mainSiteUrl
2021-05-27Profile customization (#45)mat
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests
2021-05-09Revert "temp debug stuff"mat
This reverts commit 58807d12eefe264e817d8dc4b7075dbb25e4c2d2.
2021-05-09temp debug stuffmat
2021-05-02add `/constants` api to get max minions and fairy souls (#21)mat
2021-05-01Show minions that haven't been unlocked in response (#20)mat
* add minions that haven't been unlocked yet to response, and slightly optimize constants * remove most console.logs with console.debugs * mock constants
2021-04-30add "basic" url parameter to /player/<user>mat
2021-04-27Add minion_count leaderboard (#15)mat
* add minion count leaderboard * fix error that happens sometimes * Update index.js
2021-04-27Add unit tests (#12)mat
* start adding unit tests * add more to test/data/mojang.json * fix sending http requests in tests when it shouldn't * add a few more tests * try to add a github action to run tests * Update test.yml
2021-04-14make cf-connecting-ip lowercasemat
2021-04-08add Access-Control-Allow-Origin * and change ratelimit to be strictermat
2021-04-08debug=falsemat
2021-04-08add member leaderboard spots apimat
2021-04-08add more debug stuffmat
2021-03-24increase ratelimitsmat
2021-03-24add ratelimits to skyblock-apimat
2021-03-01send 401 status code when unauthorizedmat
2021-02-28fix constant cachemat
2021-02-28make /leaderboards include categoriesmat
2021-02-28add /leaderboardsmat
2021-02-28Add leaderboardsmat
2021-02-20add debug stuffmat
2021-02-13move some code to make more sensemat
2021-02-13add banking infomat
2021-02-13add optional check to verify all clients are owned by the creatormat
2021-02-13move stuff into src foldermat