@mdvp/cli 1.9.0 → 1.9.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.
Files changed (2) hide show
  1. package/cli.mjs +1 -1
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -262,7 +262,7 @@ async function cmdLogin() {
262
262
  async function cmdBalance({ json, apiKey }) {
263
263
  if (!apiKey) { console.error(`${RED}No API key. Run: npx mdvp login${R}`); process.exit(1) }
264
264
  const d = await new Promise((resolve, reject) => {
265
- get(`${API}/token/balance`, { headers: { Accept: "application/json", "x-api-key": apiKey } }, (res) => {
265
+ httpsGet(`${API}/token/balance`, { headers: { Accept: "application/json", "x-api-key": apiKey } }, (res) => {
266
266
  let body = ""
267
267
  res.on("data", (c) => (body += c))
268
268
  res.on("end", () => resolve(JSON.parse(body)))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdvp/cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Machine Design Vision Protocol — gives agents eyes to understand design quality",
5
5
  "bin": {
6
6
  "mdvp": "./cli.mjs"