buzzk 1.9.9 → 1.9.10

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/lib/chat.js +3 -5
  2. package/package.json +1 -1
package/lib/chat.js CHANGED
@@ -542,9 +542,7 @@ class chzzkChat {
542
542
  }
543
543
  //Get ChatID
544
544
 
545
- let interval;
546
- if (cidRes && cidRes.polling && cidRes.polling.callPeriodMilliSecond) interval = cidRes.polling.callPeriodMilliSecond;
547
- else interval = 30000;
545
+ let interval = 30000;
548
546
 
549
547
  setTimeout(() => {
550
548
  return this.#polling();
@@ -565,12 +563,12 @@ class chzzkChat {
565
563
  catch (error) {
566
564
  return setTimeout(async () => {
567
565
  return this.#ping(pingID);
568
- }, 20000);
566
+ }, 30000);
569
567
  }
570
568
 
571
569
  setTimeout(() => {
572
570
  return this.#ping(pingID);
573
- }, 20000);
571
+ }, 30000);
574
572
  }
575
573
  }
576
574
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzk",
3
3
  "displayName": "BUZZK",
4
- "version": "1.9.9",
4
+ "version": "1.9.10",
5
5
  "description": "뿌지직 (BUZZK) - 치지직(CHZZK) 챗봇을 더욱 쉽게 개발할 수 있도록 돕는 비공식 라이브러리.",
6
6
  "main": "lib/index.js",
7
7
  "type": "commonjs",