Skip to content

Commit fa9f8dc

Browse files
committed
fix(eventsub): update endpoint
1 parent f6e44ca commit fa9f8dc

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/node_modules/@twurple/eventsub-ws/es/EventSubWsListener.mjs b/node_modules/@twurple/eventsub-ws/es/EventSubWsListener.mjs
2+
index c86253d..0f2da5b 100644
3+
--- a/node_modules/@twurple/eventsub-ws/es/EventSubWsListener.mjs
4+
+++ b/node_modules/@twurple/eventsub-ws/es/EventSubWsListener.mjs
5+
@@ -38,7 +38,7 @@ let EventSubWsListener = class EventSubWsListener extends EventSubBase {
6+
* @param error The error that caused the disconnection, or `undefined` for a clean disconnect.
7+
*/
8+
this.onUserSocketDisconnect = this.registerEvent();
9+
- this._initialUrl = (_a = config.url) !== null && _a !== void 0 ? _a : 'wss://eventsub-beta.wss.twitch.tv/ws';
10+
+ this._initialUrl = (_a = config.url) !== null && _a !== void 0 ? _a : 'wss://eventsub.wss.twitch.tv/ws';
11+
this._loggerOptions = config.logger;
12+
}
13+
/**
14+
diff --git a/node_modules/@twurple/eventsub-ws/lib/EventSubWsListener.js b/node_modules/@twurple/eventsub-ws/lib/EventSubWsListener.js
15+
index 1bb20f1..53f44aa 100644
16+
--- a/node_modules/@twurple/eventsub-ws/lib/EventSubWsListener.js
17+
+++ b/node_modules/@twurple/eventsub-ws/lib/EventSubWsListener.js
18+
@@ -41,7 +41,7 @@ let EventSubWsListener = class EventSubWsListener extends eventsub_base_1.EventS
19+
* @param error The error that caused the disconnection, or `undefined` for a clean disconnect.
20+
*/
21+
this.onUserSocketDisconnect = this.registerEvent();
22+
- this._initialUrl = (_a = config.url) !== null && _a !== void 0 ? _a : 'wss://eventsub-beta.wss.twitch.tv/ws';
23+
+ this._initialUrl = (_a = config.url) !== null && _a !== void 0 ? _a : 'wss://eventsub.wss.twitch.tv/ws';
24+
this._loggerOptions = config.logger;
25+
}
26+
/**

0 commit comments

Comments
 (0)