minep2p 1.0.0 → 1.0.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/README.md +5 -0
- package/cli.js +3 -1
- package/package.json +7 -3
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
## VIP Donation Terms
|
|
2
|
+
1. The full MineP2P source code is open-source under the MIT license. Anyone may download the code and deploy their own relay node independently.
|
|
3
|
+
2. Voluntary donations unlock a VIP activation code, granting priority relay access and higher connection limits.
|
|
4
|
+
3. This only provides queue priority benefits. Uptime and stability are not guaranteed. VIP service may also be disrupted by attacks, heavy load, or host issues. No refunds or compensation will be offered.
|
|
5
|
+
4. All users bear full responsibility for connection failures, service outages, and any resulting losses. The developer accepts no liability for damages.
|
package/cli.js
CHANGED
|
@@ -3,7 +3,9 @@ const yargs = require('yargs');
|
|
|
3
3
|
const chalk = require('chalk');
|
|
4
4
|
const MineP2P = require('./lib/client');
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const os = require('os');
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const P2P_INSTANCE_FILE = path.join(os.tmpdir(), 'minep2p_instance.json');
|
|
7
9
|
|
|
8
10
|
let client = null;
|
|
9
11
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minep2p",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MineP2P - A Node.js P2P connection library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"mp": "
|
|
7
|
+
"mp": "cli.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node cli.js start",
|
|
11
11
|
"test": "node test.js"
|
|
12
12
|
},
|
|
13
|
-
"keywords": [
|
|
13
|
+
"keywords": [
|
|
14
|
+
"p2p",
|
|
15
|
+
"webrtc",
|
|
16
|
+
"networking"
|
|
17
|
+
],
|
|
14
18
|
"author": "andrew-china",
|
|
15
19
|
"license": "MIT",
|
|
16
20
|
"dependencies": {
|