@coze/realtime-api 1.2.1-beta.11 → 1.2.1-beta.13

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.
package/dist/cjs/index.js CHANGED
@@ -654,6 +654,7 @@ class EngineClient extends RealtimeEventHandler {
654
654
  if (isTestEnv) rtc_default().setParameter('ICE_CONFIG_REQUEST_URLS', [
655
655
  'rtc-test.bytedance.com'
656
656
  ]);
657
+ else localStorage.removeItem('RTC_ACCESS_URLS-VolcEngine');
657
658
  this.engine = rtc_default().createEngine(appId);
658
659
  this.handleMessage = this.handleMessage.bind(this);
659
660
  this.handleUserJoin = this.handleUserJoin.bind(this);
package/dist/esm/index.js CHANGED
@@ -625,6 +625,7 @@ class EngineClient extends RealtimeEventHandler {
625
625
  if (isTestEnv) __WEBPACK_EXTERNAL_MODULE__volcengine_rtc__["default"].setParameter('ICE_CONFIG_REQUEST_URLS', [
626
626
  'rtc-test.bytedance.com'
627
627
  ]);
628
+ else localStorage.removeItem('RTC_ACCESS_URLS-VolcEngine');
628
629
  this.engine = __WEBPACK_EXTERNAL_MODULE__volcengine_rtc__["default"].createEngine(appId);
629
630
  this.handleMessage = this.handleMessage.bind(this);
630
631
  this.handleUserJoin = this.handleUserJoin.bind(this);
package/dist/umd/index.js CHANGED
@@ -692,6 +692,7 @@
692
692
  if (isTestEnv) rtc_default().setParameter('ICE_CONFIG_REQUEST_URLS', [
693
693
  'rtc-test.bytedance.com'
694
694
  ]);
695
+ else localStorage.removeItem('RTC_ACCESS_URLS-VolcEngine');
695
696
  this.engine = rtc_default().createEngine(appId);
696
697
  this.handleMessage = this.handleMessage.bind(this);
697
698
  this.handleUserJoin = this.handleUserJoin.bind(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze/realtime-api",
3
- "version": "1.2.1-beta.11",
3
+ "version": "1.2.1-beta.13",
4
4
  "description": "A powerful real-time communication SDK for voice interactions with Coze AI bots | 扣子官方实时通信 SDK,用于与 Coze AI bots 进行语音交互",
5
5
  "keywords": [
6
6
  "coze",