moontraze 2.0.5 → 2.0.6

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/lib/auth.js +1 -1
  2. package/package.json +1 -1
package/lib/auth.js CHANGED
@@ -227,7 +227,7 @@ async function promptAndVerifyTotp({ apiUrl, loginTicket, label }) {
227
227
  if (!code) throw new Error('Login cancelled');
228
228
 
229
229
  const fetch = require('node-fetch');
230
- const res = await fetch(`${apiUrl}/api/authenticator/verify-login`, {
230
+ const res = await fetch(`${apiUrl}/api/authenticator/login-verify`, { // ← yahan fix
231
231
  method: 'POST',
232
232
  headers: { 'Content-Type': 'application/json' },
233
233
  body: JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moontraze",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Deploy to Moontraze hosting",
5
5
  "main": "./bin/moontraze.js",
6
6
  "bin": {