jvcs 1.2.4 → 1.2.5

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.
@@ -4,7 +4,7 @@ async function handleDbForRepo(reponame,driveId,parentId,Content,token) {
4
4
 
5
5
  try {
6
6
 
7
- const response = await fetch("http://localhost:3000/createCLIRepo", {
7
+ const response = await fetch("https://version-control-system-mebn.onrender.com/createCLIRepo", {
8
8
  method: "POST",
9
9
  headers: {
10
10
  'Content-Type': "application/json"
@@ -74,7 +74,7 @@ async function getVisibilityAndLatestCommit(username,reponame,configData) {
74
74
 
75
75
  try {
76
76
 
77
- const response = await fetch("http://localhost:3000/cloneRepo", {
77
+ const response = await fetch("https://version-control-system-mebn.onrender.com/cloneRepo", {
78
78
  method:"POST",
79
79
  headers: {
80
80
  'Content-Type':"application/json"
@@ -3,7 +3,7 @@ const chalk = require("chalk")
3
3
  const fs = require("fs")
4
4
  async function login(loginData) {
5
5
 
6
- const response = await fetch("http://localhost:3000/login", {
6
+ const response = await fetch("https://version-control-system-mebn.onrender.com/login", {
7
7
  method: "POST",
8
8
  headers: {
9
9
  'Content-Type': 'application/json'
@@ -115,7 +115,7 @@ async function deleteCommitsFromDatabase(configData,toDelete,reponame) {
115
115
 
116
116
  try {
117
117
 
118
- const response = await fetch("http://localhost:3000/deleteCommit", {
118
+ const response = await fetch("https://version-control-system-mebn.onrender.com/deleteCommit", {
119
119
  method: "POST",
120
120
  headers: {
121
121
  'Content-Type': 'application/json'
@@ -2,7 +2,7 @@ const chalk = require("chalk")
2
2
  const verifyOtp = require("./verifyOtp")
3
3
  async function signup(signupData) {
4
4
 
5
- const response = await fetch("http://localhost:3000/signup", {
5
+ const response = await fetch("https://version-control-system-mebn.onrender.com/signup", {
6
6
  method: "POST",
7
7
  headers: {
8
8
  'Content-Type': 'application/json'
@@ -23,7 +23,7 @@ async function verifyOtp(signupData) {
23
23
  ])
24
24
 
25
25
  console.log(`otp is : ${otp.otp}`)
26
- const response = await fetch("http://localhost:3000/verifyEmail", {
26
+ const response = await fetch("https://version-control-system-mebn.onrender.com/verifyEmail", {
27
27
  method: "POST",
28
28
  headers: { 'Content-Type': 'application/json' },
29
29
  credentials: "include",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jvcs",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "bin": {
5
5
  "jvcs": "./index.js"
6
6
  },