clavarium 0.1.0-next.9 → 0.1.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/deploy/install.sh +1 -1
- package/deploy/online.mjs +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/deploy/install.sh
CHANGED
|
@@ -701,7 +701,7 @@ elif [ -n "$RELAY" ]; then
|
|
|
701
701
|
# It is a PUBLIC key: showing it is safe; it lets the relay know this machine.
|
|
702
702
|
if command -v qrencode >/dev/null 2>&1 || apt-get install -y -qq qrencode >/dev/null 2>&1; then
|
|
703
703
|
echo "The same key, to read with a phone or a tablet:"
|
|
704
|
-
qrencode -t
|
|
704
|
+
qrencode -t ANSI -m 1 -l L -- "$TUNNEL_KEY" || true
|
|
705
705
|
fi
|
|
706
706
|
echo "It will print this, and it must be the same: $RELAY_PRINT"
|
|
707
707
|
echo "The name $DOMAIN must lead to the relay."
|
package/deploy/online.mjs
CHANGED
|
@@ -124,7 +124,7 @@ export async function ensureKeys(sys, P = PATHS) {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
async function qr(sys, text) {
|
|
127
|
-
const r = await sys.run(['qrencode', '-t', '
|
|
127
|
+
const r = await sys.run(['qrencode', '-t', 'ANSI', '-m', '1', '-l', 'L', '--', text]);
|
|
128
128
|
if (r.code === 0 && r.out) sys.print(r.out.replace(/\n$/, ''));
|
|
129
129
|
}
|
|
130
130
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavarium",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "clavarium",
|
|
9
|
-
"version": "0.1.0
|
|
9
|
+
"version": "0.1.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|