ep_webrtc 2.1.0 → 2.1.1
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/package.json +2 -2
- package/static/js/index.js +2 -3
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "git@github.com:ether/ep_webrtc.git",
|
|
6
6
|
"type": "git"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.1.
|
|
8
|
+
"version": "2.1.1",
|
|
9
9
|
"description": "WebRTC based audio/video chat to Etherpad",
|
|
10
10
|
"author": "John McLear <john@mclear.co.uk>",
|
|
11
11
|
"contributors": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"abort-controller": "^3.0.0",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"node-fetch": "^3.2.
|
|
18
|
+
"node-fetch": "^3.2.3"
|
|
19
19
|
},
|
|
20
20
|
"funding": {
|
|
21
21
|
"type": "individual",
|
package/static/js/index.js
CHANGED
|
@@ -230,9 +230,8 @@ class PeerState extends EventTargetPolyfill {
|
|
|
230
230
|
if (!this._caller) {
|
|
231
231
|
this._debug('Waiting for peer to call');
|
|
232
232
|
// It is possible that the last invite sent to the peer was sent before the peer was ready
|
|
233
|
-
// to accept invites
|
|
234
|
-
//
|
|
235
|
-
// just in case. The peer will ignore any superfluous invites.
|
|
233
|
+
// to accept invites, so the peer might not know that it should call now. Send another
|
|
234
|
+
// invite just in case. The peer will ignore any superfluous invites.
|
|
236
235
|
this._sendMessage({invite: 'invite'});
|
|
237
236
|
return;
|
|
238
237
|
}
|