@tencentcloud/trtc-component-wx 0.0.29 → 0.0.30

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/copy_to_roomkit.js +15 -15
  2. package/package.json +2 -2
@@ -1,19 +1,19 @@
1
- const fs = require('fs')
2
- const path = require('path')
1
+ // const fs = require('fs')
2
+ // const path = require('path')
3
3
 
4
- const sourceDir = '/Users/connor/Desktop/work/TRTCCloud-wx/trtc-component-wx/miniprogram_dist'
5
- const targetDir = '/Users/connor/Desktop/TUIRoomEngine/samples/tui-room-uniapp/dist/build/mp-weixin/node_modules/@tencentcloud/trtc-component-wx/miniprogram_dist'
4
+ // const sourceDir = '/Users/connor/Desktop/work/TRTCCloud-wx/trtc-component-wx/miniprogram_dist'
5
+ // const targetDir = '/Users/connor/Desktop/TUIRoomEngine/samples/tui-room-uniapp/dist/build/mp-weixin/node_modules/@tencentcloud/trtc-component-wx/miniprogram_dist'
6
6
 
7
- fs.readdir(sourceDir, (err, files) => {
8
- if (err) throw err
7
+ // fs.readdir(sourceDir, (err, files) => {
8
+ // if (err) throw err
9
9
 
10
- files.forEach((file) => {
11
- const sourceFile = path.join(sourceDir, file)
12
- const targetFile = path.join(targetDir, file)
10
+ // files.forEach((file) => {
11
+ // const sourceFile = path.join(sourceDir, file)
12
+ // const targetFile = path.join(targetDir, file)
13
13
 
14
- fs.copyFile(sourceFile, targetFile, (err) => {
15
- if (err) throw err
16
- console.log(`${sourceFile} was copied to ${targetFile}`)
17
- })
18
- })
19
- })
14
+ // fs.copyFile(sourceFile, targetFile, (err) => {
15
+ // if (err) throw err
16
+ // console.log(`${sourceFile} was copied to ${targetFile}`)
17
+ // })
18
+ // })
19
+ // })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/trtc-component-wx",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -67,6 +67,6 @@
67
67
  "webpack-node-externals": "^1.7.2"
68
68
  },
69
69
  "dependencies": {
70
- "@tencentcloud/trtc-cloud-wx": "0.0.20"
70
+ "@tencentcloud/trtc-cloud-wx": "0.0.22"
71
71
  }
72
72
  }