@decentnetwork/beagle 0.1.11 → 0.1.12

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.
@@ -1,4 +1,4 @@
1
- window.__DK_UI_VERSION="0.1.11";
1
+ window.__DK_UI_VERSION="0.1.12";
2
2
  const ICON_PATHS = {
3
3
  // ---- tab bar (the four must feel like one set) ----
4
4
  users: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',
@@ -303,6 +303,10 @@ var PeerWebRTC = (() => {
303
303
  const answer = await session.pc.createAnswer();
304
304
  await session.pc.setLocalDescription(answer);
305
305
  await __privateMethod(this, _send, send_fn).call(this, session.peerId, { type: "answer", sdp: answer.sdp, callId });
306
+ try {
307
+ await __privateMethod(this, _send, send_fn).call(this, session.peerId, { type: "action", action: "accept", callId });
308
+ } catch {
309
+ }
306
310
  __privateMethod(this, _setState, setState_fn).call(this, session, "connecting");
307
311
  await __privateMethod(this, _flushLocalCandidates, flushLocalCandidates_fn).call(this, session);
308
312
  __privateMethod(this, _log, log_fn).call(this, `accept callId=${callId}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/beagle",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Beagle — P2P chat, file transfer and calls for regular users, on the Decent Network. No admin privilege required.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "@decentnetwork/chat-components": "^0.1.3",
29
29
  "@decentnetwork/lan": "^0.1.256",
30
30
  "@decentnetwork/peer": "^0.1.138",
31
- "@decentnetwork/peer-webrtc": "^0.2.10",
31
+ "@decentnetwork/peer-webrtc": "^0.2.11",
32
32
  "js-yaml": "^4.1.0",
33
33
  "yargs": "^17.7.2"
34
34
  },