@tencentcloud/trtc-cloud-wx 0.0.16 → 0.0.17

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/package.json +1 -1
  2. package/trtc-cloud-wx.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/trtc-cloud-wx",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "",
5
5
  "main": "./trtc-cloud-wx.js",
6
6
  "type": "module",
package/trtc-cloud-wx.js CHANGED
@@ -814,7 +814,7 @@ var Logger = /*#__PURE__*/function () {
814
814
  var logger = new Logger();
815
815
 
816
816
  var name = "@tencentcloud/trtc-cloud-wx";
817
- var version = "0.0.15";
817
+ var version = "0.0.16";
818
818
  var description = "";
819
819
  var main = "dist/trtc-cloud-wx.js";
820
820
  var module$1 = "dist/trtc-cloud-wx.js";
@@ -826,7 +826,8 @@ var scripts = {
826
826
  copy: "node ./build/copy.js",
827
827
  doc: "npx typedoc --tsconfig typedoc.json",
828
828
  "doc:watch": "typedoc --watch",
829
- "doc:build": "jsdoc -c jsdoc.json"
829
+ "doc:build": "jsdoc -c jsdoc.json",
830
+ publish: "npm run build && bash ./sdk_publish.bash"
830
831
  };
831
832
  var keywords = [
832
833
  ];
@@ -1151,7 +1152,7 @@ var TRTCCloud = /*#__PURE__*/function () {
1151
1152
  });
1152
1153
  logger.info('enterRoom with options: ', JSON.stringify(params), scene);
1153
1154
  this.userId = userId;
1154
- this.trtc.createPusher({});
1155
+ this.trtc.createPusher(this.trtc.getPusherAttributes());
1155
1156
  var pusher = this.trtc.enterRoom({
1156
1157
  sdkAppID: sdkAppId,
1157
1158
  userID: userId,