async-xbox-live-api
Version:
Async library to enable you to interact with the xbox live api
20 lines (19 loc) • 834 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CacheKeys = exports.xlaCache = void 0;
const async_disk_cache_1 = __importDefault(require("async-disk-cache"));
exports.xlaCache = new async_disk_cache_1.default('xla-cache');
var CacheKeys;
(function (CacheKeys) {
CacheKeys["ACCESS_TOKEN"] = "access_token";
CacheKeys["TOKEN"] = "token";
CacheKeys["UHS"] = "uhs";
CacheKeys["NOT_AFTER"] = "notAfter";
CacheKeys["COOKIES"] = "cookies";
CacheKeys["AUTHORIZATION_HEADER"] = "authorizationHeader";
CacheKeys["URL_POST"] = "url_post";
CacheKeys["PPFT_RE"] = "ppft_re";
})(CacheKeys = exports.CacheKeys || (exports.CacheKeys = {}));