hsync 0.8.0 → 0.9.0

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 CHANGED
@@ -6,3 +6,27 @@ Client for the ([hsync-server](https://github.com/monteslu/hsync-server)).
6
6
  Share your local webserver as a secure public URL, and more.
7
7
 
8
8
 
9
+ ## basic usage
10
+
11
+ clone repo
12
+ `npm i`
13
+
14
+ set enviroment:
15
+
16
+
17
+ ### hsync server URL
18
+ `export HSYNC_SERVER="wss://myhost.myserver.com"`
19
+
20
+
21
+ ### secret for your hsync client
22
+ `export HSYNC_SECRET="*****************"`
23
+
24
+ ### local webserver port
25
+ `export PORT="8080"`
26
+
27
+ ### run
28
+ `node index`
29
+
30
+
31
+
32
+
package/dev_dynamic.sh ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+
3
+ export DEBUG="hsync*,errors*";
4
+
5
+ export HSYNC_DYNAMIC_HOST="https://foo.hsync.tech";
6
+
7
+
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+
3
+ export DEBUG="hsync*,errors*";
4
+
5
+ export HSYNC_SECRET="f7glV4m_REeimy_TdwjM4w"
6
+
7
+ export HSYNC_SERVER="wss://luis-stripe.shiv.to"
8
+ export PORT="3021"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hsync",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "client for hsync-server",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/dev_keys2.sh DELETED
@@ -1,19 +0,0 @@
1
- #!/bin/bash
2
-
3
- export DEBUG="hsync*,errors*";
4
-
5
- export HSYNC_SECRET="PbqfT7DATIatgizQ5PGKvg"
6
-
7
- export HSYNC_SERVER="wss://aaron-provider.shiv.to"
8
- export PORT="3000"
9
-
10
- export HSYNC_SERVER_API="wss://aaron-api.shiv.to"
11
- export PORT_API="3001"
12
-
13
-
14
- export HSYNC_SERVER_PATIENT="wss://aaron-patient.shiv.to"
15
- export PORT_PATIENT="3010"
16
-
17
-
18
-
19
-