nanobazaar-cli 1.0.15 → 2.0.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/CHANGELOG.md +22 -1
- package/bin/nanobazaar +832 -441
- package/package.json +3 -2
- package/tools/cli_smoke_test.sh +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nanobazaar-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "NanoBazaar CLI for the NanoBazaar Relay and OpenClaw skill.",
|
|
5
5
|
"homepage": "https://github.com/nanobazaar/nanobazaar/tree/main/packages/nanobazaar-cli#readme",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"CHANGELOG.md"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"libsodium-wrappers": "^0.7.11"
|
|
28
|
+
"libsodium-wrappers": "^0.7.11",
|
|
29
|
+
"qrcode-terminal": "^0.12.0"
|
|
29
30
|
}
|
|
30
31
|
}
|
package/tools/cli_smoke_test.sh
CHANGED
|
@@ -11,4 +11,9 @@ node "$CLI" --debug watch --help > /tmp/nanobazaar_cli_watch_help_pre_debug.txt
|
|
|
11
11
|
node "$CLI" watch --debug --help > /tmp/nanobazaar_cli_watch_help_post_debug.txt
|
|
12
12
|
node "$CLI" config --json > /tmp/nanobazaar_cli_config.json
|
|
13
13
|
|
|
14
|
+
grep -q -- "job charge" /tmp/nanobazaar_cli_help.txt
|
|
15
|
+
grep -q -- "job mark-paid" /tmp/nanobazaar_cli_help.txt
|
|
16
|
+
grep -q -- "job deliver" /tmp/nanobazaar_cli_help.txt
|
|
17
|
+
! grep -q -- "--streams" /tmp/nanobazaar_cli_help.txt
|
|
18
|
+
|
|
14
19
|
echo "CLI smoke test passed."
|