twitch-api-ts
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -0,0 +0,0 @@ import { TwitchAPI } from '../twitch-api'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './interface'; | ||
export * from './bits-client'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface BitsLeaderboardUser { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=BitsLeaderboardUser.js.map |
export * from './BitsLeaderboardUser'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TwitchAPI } from '../twitch-api'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './interfaces'; | ||
export * from './channel-points-client'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Image } from '../../'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=CustomReward.js.map |
@@ -0,0 +0,0 @@ type CustomRewardRedemptionStatus = 'CANCELED' | 'FULFILLED' | 'UNFULFILLED'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=CustomRewardRedemption.js.map |
export * from './CustomReward'; | ||
export * from './CustomRewardRedemption'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TwitchAPI } from '../twitch-api'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './interface'; | ||
export * from './chat-client'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export type EmoteFormat = "static" | "animated"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=Emote.js.map |
export * from './Emote'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface Image { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=Image.js.map |
export * from './Image'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './twitch-api'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare class TwitchAPIException extends Error { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BitsClient } from './bits/bits-client'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './interfaces'; | ||
export * from './users-client'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './TwitchUser'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ type UserType = 'admin' | 'global_mod' | 'staff' | ''; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=TwitchUser.js.map |
@@ -0,0 +0,0 @@ import { TwitchAPI } from '../twitch-api'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function jsonToURLEncoded(object: Record<string, any>): string; | ||
//# sourceMappingURL=utils.d.ts.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.jsonToURLEncoded = void 0; | ||
const querystring_1 = __importDefault(require("querystring")); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
@@ -16,3 +12,3 @@ function jsonToURLEncoded(object) { | ||
} | ||
queries.push(key + '=' + querystring_1.default.escape(value)); | ||
queries.push(key + '=' + value); | ||
} | ||
@@ -19,0 +15,0 @@ return queries.join('&'); |
@@ -5,3 +5,3 @@ { | ||
"description": "Modern wrapper for the Twitch API with typings.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "main": "lib/index.js", |
@@ -1,3 +0,1 @@ | ||
import qs from 'querystring'; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
@@ -12,5 +10,5 @@ export function jsonToURLEncoded(object: Record<string, any>) { | ||
queries.push(key + '=' + qs.escape(value)); | ||
queries.push(key + '=' + value); | ||
} | ||
return queries.join('&'); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63130
1016