haxball.js 3.0.1 → 3.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/scripts/nodeify.js +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "haxball.js",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "A powerful library for interacting with the Haxball Headless API",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"author": "mertushka",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"@mertushka/node-datachannel": "^0.30.0",
|
|
23
24
|
"@peculiar/webcrypto": "^1.5.0",
|
|
24
25
|
"@types/haxball-headless-browser": "^0.4.0",
|
|
25
26
|
"https-proxy-agent": "^7.0.6",
|
|
26
27
|
"json5": "^2.2.3",
|
|
27
|
-
"node-datachannel": "^0.28.0",
|
|
28
28
|
"pako": "^2.1.0",
|
|
29
29
|
"ws": "^8.18.0",
|
|
30
30
|
"xhr2": "^0.2.1"
|
package/scripts/nodeify.js
CHANGED
|
@@ -148,7 +148,7 @@ const { Crypto } = require("@peculiar/webcrypto");
|
|
|
148
148
|
const { performance } = require("perf_hooks");
|
|
149
149
|
const crypto = new Crypto();
|
|
150
150
|
|
|
151
|
-
let { RTCPeerConnection, RTCIceCandidate, RTCSessionDescription } = require("node-datachannel/polyfill");
|
|
151
|
+
let { RTCPeerConnection, RTCIceCandidate, RTCSessionDescription } = require("@mertushka/node-datachannel/polyfill");
|
|
152
152
|
|
|
153
153
|
var promiseResolve;
|
|
154
154
|
var proxyAgent;
|
package/src/index.js
CHANGED
|
@@ -8,7 +8,7 @@ const { Crypto } = require("@peculiar/webcrypto");
|
|
|
8
8
|
const { performance } = require("perf_hooks");
|
|
9
9
|
const crypto = new Crypto();
|
|
10
10
|
|
|
11
|
-
let { RTCPeerConnection, RTCIceCandidate, RTCSessionDescription } = require("node-datachannel/polyfill");
|
|
11
|
+
let { RTCPeerConnection, RTCIceCandidate, RTCSessionDescription } = require("@mertushka/node-datachannel/polyfill");
|
|
12
12
|
|
|
13
13
|
var promiseResolve;
|
|
14
14
|
var proxyAgent;
|