Danilo Bargen 7 роки тому
батько
коміт
3a00ed9354
3 змінених файлів з 17 додано та 11 видалено
  1. 16 7
      package-lock.json
  2. 1 1
      package.json
  3. 0 3
      src/services/peerconnection.ts

+ 16 - 7
package-lock.json

@@ -3503,7 +3503,8 @@
         "fs.realpath": {
           "version": "1.0.0",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "fstream": {
           "version": "1.0.11",
@@ -3565,6 +3566,7 @@
           "version": "7.1.2",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "fs.realpath": "^1.0.0",
             "inflight": "^1.0.4",
@@ -3617,7 +3619,8 @@
         "hoek": {
           "version": "2.16.3",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "http-signature": {
           "version": "1.1.1",
@@ -3634,6 +3637,7 @@
           "version": "1.0.6",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "once": "^1.3.0",
             "wrappy": "1"
@@ -3642,7 +3646,8 @@
         "inherits": {
           "version": "2.0.3",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "ini": {
           "version": "1.3.4",
@@ -3758,6 +3763,7 @@
           "version": "3.0.4",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "brace-expansion": "1.1.7"
           }
@@ -3846,6 +3852,7 @@
           "version": "1.4.0",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "wrappy": "1"
           }
@@ -3875,7 +3882,8 @@
         "path-is-absolute": {
           "version": "1.0.1",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "performance-now": {
           "version": "0.2.0",
@@ -3970,6 +3978,7 @@
           "version": "2.6.1",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "glob": "^7.0.5"
           }
@@ -8484,9 +8493,9 @@
       }
     },
     "sdp": {
-      "version": "1.3.0",
-      "resolved": "https://registry.npmjs.org/sdp/-/sdp-1.3.0.tgz",
-      "integrity": "sha1-8w/4pVSIZhaIGGGjGVGrgTPTA5I="
+      "version": "2.7.4",
+      "resolved": "https://registry.npmjs.org/sdp/-/sdp-2.7.4.tgz",
+      "integrity": "sha512-0+wTfgvUUEGcvvFoHIC0aiGbx6gzwAUm8FkKt5Oqqkjf9mEEDLgwnoDKX7MYTGXrNNwzikVbutJ+OVNAGmJBQw=="
     },
     "semver": {
       "version": "5.4.1",

+ 1 - 1
package.json

@@ -60,7 +60,7 @@
     "messageformat": "~2",
     "msgpack-lite": "~0.1.26",
     "node-sass": "^4.9.2",
-    "sdp": "~1.3.0",
+    "sdp": "~2.7.0",
     "ts-events": "^3.1.5",
     "tsify": "~4.0.0",
     "tweetnacl": "^1.0.0",

+ 0 - 3
src/services/peerconnection.ts

@@ -21,11 +21,8 @@ import TaskConnectionState = threema.TaskConnectionState;
 
 /**
  * Wrapper around the WebRTC PeerConnection.
- *
- * TODO: Convert to regular service?
  */
 export class PeerConnectionHelper {
-
     private logTag: string = '[PeerConnectionHelper]';
 
     // Angular services