From eab022e29da7f29ad0f4a766aa2dd1fc1ac61a2a Mon Sep 17 00:00:00 2001 From: Cristina Leon Date: Thu, 22 Aug 2024 14:03:08 +0000 Subject: [PATCH] Use secure connection --- package-lock.json | 4 ++-- package.json | 2 +- src/pt.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 690d5ab..de2db69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@m-lab/packet-test", - "version": "0.0.12", + "version": "0.0.16", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@m-lab/packet-test", - "version": "0.0.12", + "version": "0.0.16", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 6ed4d78..1b0a8d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@m-lab/packet-test", - "version": "0.0.12", + "version": "0.0.16", "description": "", "main": "src/pt.js", "scripts": { diff --git a/src/pt.js b/src/pt.js index 47df54b..0191ed1 100644 --- a/src/pt.js +++ b/src/pt.js @@ -55,7 +55,7 @@ serverDiscovery: cb('serverDiscovery', userCallbacks), serverChosen: cb('serverChosen', userCallbacks), }; - let protocol = 'ws'; + let protocol = 'wss'; if (config && ('protocol' in config)) { protocol = config.protocol; }