diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-13 15:03:41 -0600 |
---|---|---|
committer | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-13 15:03:41 -0600 |
commit | 8e51f53f14c8cf8d357679296ea8f555a71b4175 (patch) | |
tree | c7610d6c955448707b211fa87726d3838e5e2764 /build/hypixelCached.js | |
parent | 8d2722bdd81591feef14dd4ccdf99ac9c1309925 (diff) | |
download | skyblock-api-8e51f53f14c8cf8d357679296ea8f555a71b4175.tar.gz skyblock-api-8e51f53f14c8cf8d357679296ea8f555a71b4175.tar.bz2 skyblock-api-8e51f53f14c8cf8d357679296ea8f555a71b4175.zip |
tsc
Diffstat (limited to 'build/hypixelCached.js')
-rw-r--r-- | build/hypixelCached.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js index c874089..9c63558 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -1,4 +1,7 @@ "use strict"; +/** + * Fetch the clean and cached Hypixel API + */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); @@ -27,10 +30,6 @@ const node_cache_1 = __importDefault(require("node-cache")); const mojang = __importStar(require("./mojang")); const hypixel = __importStar(require("./hypixel")); const util_1 = require("./util"); -/** -Hypixel... but with caching -All the caching in this project is done here! -*/ // cache usernames for 4 hours const usernameCache = new node_cache_1.default({ stdTTL: 60 * 60 * 4, |