oberknecht-api
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -18,2 +18,3 @@ import { jsonsplitter } from "@jubewe/jsonsplitter"; | ||
static get symbol(): any; | ||
get clientData(): any; | ||
verified: boolean; | ||
@@ -20,0 +21,0 @@ userssplitter: jsonsplitter; |
@@ -66,2 +66,5 @@ "use strict"; | ||
} | ||
get clientData() { | ||
return index_1.i.apiclientData[this.symbol]; | ||
} | ||
verified = false; | ||
@@ -68,0 +71,0 @@ userssplitter; |
@@ -28,2 +28,4 @@ "use strict"; | ||
} | ||
if (!broadcaster_id_) | ||
broadcaster_id_ = __1.i.apiclientData[sym]?._options?.userid; | ||
if (!__1.i.regex.numregex().test(broadcaster_id_) && | ||
@@ -30,0 +32,0 @@ __1.i.regex.twitch.usernamereg().test(broadcaster_id_)) { |
@@ -79,2 +79,5 @@ import { i } from "../index"; | ||
} | ||
get clientData() { | ||
return i.apiclientData[this.symbol]; | ||
} | ||
@@ -81,0 +84,0 @@ verified = false; |
@@ -32,2 +32,5 @@ import { request } from "oberknecht-request"; | ||
if (!broadcaster_id_) | ||
broadcaster_id_ = i.apiclientData[sym]?._options?.userid; | ||
if ( | ||
@@ -34,0 +37,0 @@ !i.regex.numregex().test(broadcaster_id_) && |
{ | ||
"name": "oberknecht-api", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "A client for easy usage of the Twitch API (Helix)", | ||
@@ -5,0 +5,0 @@ "main": "./export", |
442247
10051