@mercuryworkshop/epoxy-transport 2.1.2 → 2.1.3
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +36 -37
- package/src/main.ts +1 -1
- package/mercuryworkshop-epoxy-transport-2.1.2.tgz +0 -0
package/dist/index.js
CHANGED
|
@@ -1541,7 +1541,7 @@ var EpoxyClient = class {
|
|
|
1541
1541
|
EpoxyHandlers = null;
|
|
1542
1542
|
constructor({ wisp, wisp_v2, udp_extension_required }) {
|
|
1543
1543
|
this.wisp = wisp;
|
|
1544
|
-
this.wisp_v2 = wisp_v2 ||
|
|
1544
|
+
this.wisp_v2 = wisp_v2 || false;
|
|
1545
1545
|
this.udp_extension_required = udp_extension_required || false;
|
|
1546
1546
|
}
|
|
1547
1547
|
async init() {
|
package/dist/index.mjs
CHANGED
|
@@ -1502,7 +1502,7 @@ var EpoxyClient = class {
|
|
|
1502
1502
|
EpoxyHandlers = null;
|
|
1503
1503
|
constructor({ wisp, wisp_v2, udp_extension_required }) {
|
|
1504
1504
|
this.wisp = wisp;
|
|
1505
|
-
this.wisp_v2 = wisp_v2 ||
|
|
1505
|
+
this.wisp_v2 = wisp_v2 || false;
|
|
1506
1506
|
this.udp_extension_required = udp_extension_required || false;
|
|
1507
1507
|
}
|
|
1508
1508
|
async init() {
|
package/package.json
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
2
|
+
"name": "@mercuryworkshop/epoxy-transport",
|
|
3
|
+
"version": "2.1.3",
|
|
4
|
+
"description": "a bare transport that implements end-to-end encryption with epoxy-tls and wisp",
|
|
5
|
+
"main": "./dist/index.mjs",
|
|
6
|
+
"keywords": [],
|
|
7
|
+
"author": "",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"license": "AGPL-3.0-only",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@mercuryworkshop/epoxy-tls": "^2.0.6-1",
|
|
12
|
+
"esbuild-plugin-umd-wrapper": "^2.0.0",
|
|
13
|
+
"rollup": "^4.12.0",
|
|
14
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
15
|
+
"rollup-plugin-typescript2": "^0.36.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@mercuryworkshop/bare-mux": "^2.0.1",
|
|
19
|
+
"esbuild": "^0.19.11",
|
|
20
|
+
"esbuild-plugin-d.ts": "^1.2.2"
|
|
21
|
+
},
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"browser": {
|
|
25
|
+
"import": "./dist/index.mjs",
|
|
26
|
+
"require": "./dist/index.js"
|
|
27
|
+
},
|
|
28
|
+
"node": {
|
|
29
|
+
"require": "./lib/index.cjs",
|
|
30
|
+
"import": "./lib/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "node esbuild.bundle.mjs"
|
|
36
|
+
}
|
|
37
|
+
}
|
package/src/main.ts
CHANGED
|
@@ -12,7 +12,7 @@ export default class EpoxyClient implements BareTransport {
|
|
|
12
12
|
|
|
13
13
|
constructor({ wisp, wisp_v2, udp_extension_required }) {
|
|
14
14
|
this.wisp = wisp;
|
|
15
|
-
this.wisp_v2 = wisp_v2 ||
|
|
15
|
+
this.wisp_v2 = wisp_v2 || false;
|
|
16
16
|
this.udp_extension_required = udp_extension_required || false;
|
|
17
17
|
}
|
|
18
18
|
async init() {
|
|
Binary file
|