@ix-xs/twitch.api 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/twitchapi.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ix-xs/twitch.api",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Twitch API JS",
5
5
  "main": "twitchapi.js",
6
6
  "scripts": {
package/twitchapi.js CHANGED
@@ -443,7 +443,7 @@ module.exports = class {
443
443
 
444
444
  try {
445
445
 
446
- const map = usernames.splice(0, 100).join('&login=');
446
+ const map = usernames.slice(0, 100).join('&login=');
447
447
  const link = `https://api.twitch.tv/helix/users?login=${map}`;
448
448
 
449
449
  if (this.isExpiredToken()) {