twitch-api-helix
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.2.7](https://github.com/AntoninJuquel/twitch-api-helix/compare/v0.2.6...v0.2.7) (2023-12-20) | ||
### Bug Fixes | ||
* process undefined ([c4d3b4e](https://github.com/AntoninJuquel/twitch-api-helix/commit/c4d3b4ecf3198e873b76525f7cfa565b11bf672f)) | ||
### [0.2.6](https://github.com/AntoninJuquel/twitch-api-helix/compare/v0.2.5...v0.2.6) (2023-12-20) | ||
@@ -7,0 +14,0 @@ |
"use strict"; | ||
var _a, _b; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -14,5 +13,5 @@ exports.twitchAxios = exports.VALIDATE_TOKEN_ENDPOINT = exports.ACCESS_TOKEN_ENDPOINT = exports.AUTHORIZATION_ENDPOINT = exports.OAUTH2_PREFIX = exports.API_PREFIX = void 0; | ||
headers: { | ||
"Client-ID": ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.TWITCH_CLIENT_ID) || "", | ||
Authorization: `Bearer ${((_b = process === null || process === void 0 ? void 0 : process.env) === null || _b === void 0 ? void 0 : _b.TWITCH_ACCESS_TOKEN) || ""}`, | ||
"Client-ID": "", | ||
Authorization: "", | ||
}, | ||
}); |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"main": "dist/index.js", | ||
@@ -16,0 +16,0 @@ "types": "dist/index.d.ts", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
41884
822