From 473a51338efd399114b2caa5d044b2ba66e49519 Mon Sep 17 00:00:00 2001 From: zerodytrash <59258980+zerodytrash@users.noreply.github.com> Date: Thu, 2 May 2024 21:59:00 +0200 Subject: [PATCH] add `wrss` param --- package.json | 2 +- src/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5bcf473..955e0ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tiktok-live-connector", - "version": "1.1.5", + "version": "1.1.6", "description": "Node.js module to receive live stream chat events like comments and gifts from TikTok LIVE", "main": "index.js", "types": "./dist/index.d.ts", diff --git a/src/index.js b/src/index.js index a238185..92d8d1d 100644 --- a/src/index.js +++ b/src/index.js @@ -441,6 +441,7 @@ class WebcastPushConnection extends EventEmitter { // Websocket specific params let wsParams = { imprp: webcastResponse.wsParam?.value || '', + wrss: webcastResponse.wsParam?.value || '', compress: 'gzip', };