@reactoo/watchtogether-sdk-js 2.5.19 → 2.5.22
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/watchtogether-sdk.js +4 -4
- package/dist/watchtogether-sdk.min.js +2 -2
- package/example/index.html +2 -1
- package/package.json +1 -1
- package/src/modules/wt-config.js +2 -2
- package/src/modules/wt-room.js +306 -208
package/example/index.html
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<script>
|
|
26
26
|
|
|
27
|
-
let roomId = '
|
|
27
|
+
let roomId = 'adab485a-548e-44a8-a9ca-157f3ba50c6e'; //It will create room automatically if not set
|
|
28
28
|
let pinHash = undefined;//'967ca05f-7fab-a205-5913-39393bbbe923';
|
|
29
29
|
|
|
30
30
|
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
.then(r => {
|
|
125
125
|
|
|
126
126
|
if(roomId) {
|
|
127
|
+
console.log(roomId);
|
|
127
128
|
return Promise.resolve({roomId, pinHash});
|
|
128
129
|
}
|
|
129
130
|
|
package/package.json
CHANGED
package/src/modules/wt-config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let config = {
|
|
2
|
-
apiUrl: 'https://api.reactoo.com/
|
|
3
|
-
devApiUrl: 'https://api.reactoo.com/
|
|
2
|
+
apiUrl: 'https://api.reactoo.com/v3/swagger.json',
|
|
3
|
+
devApiUrl: 'https://api.reactoo.com/dev3/swagger.json'
|
|
4
4
|
};
|
|
5
5
|
|
|
6
6
|
export default config;
|