omnirtc-web 0.1.0-beta.9 → 1.0.1-beta.0

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.
@@ -97,7 +97,7 @@ var InvalidTokenError_1 = InvalidTokenError;
97
97
  lib.InvalidTokenError = InvalidTokenError_1;
98
98
 
99
99
  var StaticConfig = {
100
- agentVersion: "OmniRTC_Web_V0.1.0-beta.9",
100
+ agentVersion: "OmniRTC_Web_V1.0.1-beta.0",
101
101
  logVersion: 1,
102
102
  serviceType: 320,
103
103
  logBackendUrl: "https://rtc-logs.magic-school.com/stream.gif"
@@ -10619,7 +10619,7 @@ var VolcClient = /** @class */ (function (_super) {
10619
10619
  // on(event: "join-fallback-to-proxy", listener: typeof event_join_fallback_to_proxy): void;
10620
10620
  // on(event: string, listener: Function): void;
10621
10621
  // P0
10622
- VolcClient.prototype.join = function () {
10622
+ VolcClient.prototype.join = function (extraInfo) {
10623
10623
  return __awaiter$2(this, void 0, void 0, function () {
10624
10624
  var _this_1 = this;
10625
10625
  return __generator(this, function (_a) {
@@ -10628,7 +10628,7 @@ var VolcClient = /** @class */ (function (_super) {
10628
10628
  }
10629
10629
  this._stats = new MediaStatsManager();
10630
10630
  this._stats.init(this._engine);
10631
- return [2 /*return*/, this._engine.joinRoom(this._token, this._roomId, { userId: this._userId }, {
10631
+ return [2 /*return*/, this._engine.joinRoom(this._token, this._roomId, { userId: this._userId, extraInfo: extraInfo }, {
10632
10632
  isAutoPublish: false,
10633
10633
  isAutoSubscribeAudio: false,
10634
10634
  isAutoSubscribeVideo: false
package/dist/omni.d.ts CHANGED
@@ -620,7 +620,7 @@ export declare interface IOmniRTCClient extends EventEmitter {
620
620
  // on(event: "join-fallback-to-proxy", listener: typeof event_join_fallback_to_proxy): void;
621
621
  on(event: string, listener: Function): void;
622
622
 
623
- join(): Promise<UID>;
623
+ join(extraInfo?: string): Promise<UID>;
624
624
 
625
625
  leave(): Promise<void>;
626
626
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnirtc-web",
3
- "version": "0.1.0-beta.9",
3
+ "version": "1.0.1-beta.0",
4
4
  "description": "",
5
5
  "main": "./dist/es-omnirtc-web.js",
6
6
  "types": "./dist/omni.d.ts",