reddb-cli 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sdk/red-sdk.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reddb-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "JavaScript/TypeScript SDK for RedDB - unified multi-model database",
5
5
  "type": "commonjs",
6
6
  "main": "./sdk/red-sdk.js",
package/sdk/red-sdk.js CHANGED
@@ -828,7 +828,7 @@ async function createClient(options = {}) {
828
828
 
829
829
  // Version
830
830
  async version() {
831
- return runJson(binaryPath, ['version'], defaults);
831
+ return runJson(binaryPath, ['version', '--json'], defaults);
832
832
  },
833
833
 
834
834
  // Raw exec