thinkncollab-cli 0.0.69 → 0.0.71

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.
@@ -73,7 +73,7 @@ async function createBranch(roomId) {
73
73
  throw new Error("User email not found in configuration. Please login again.");
74
74
  }
75
75
 
76
- const res = await axios.post("http://localhost:3001/cli/createBranch", {
76
+ const res = await axios.post("https://thinkncollab.com/cli/createBranch", {
77
77
  branchName: branchName.trim(),
78
78
  roomId,
79
79
  email,
package/commands/init.js CHANGED
@@ -23,7 +23,7 @@ async function projectInit() {
23
23
  const currentUser = JSON.parse(data).email;
24
24
 
25
25
  // Initialize project via backend
26
- const response = await axios.post("https://thinkncollab.in/cli/init", {
26
+ const response = await axios.post("http://localhost:3001/cli/init", {
27
27
  projectName: answer.projectName,
28
28
  owner: currentUser
29
29
  });
package/commands/pull.js CHANGED
@@ -115,7 +115,7 @@ export default async function pull(roomId, version = "latest") {
115
115
  console.log(`📋 Project: ${projectId}`);
116
116
  console.log(`🎯 Version: ${version}\n`);
117
117
 
118
- let url = `https://thinkncollab.in/folders/${roomId}/download`;
118
+ let url = `https://thinkncollab.com/folders/${roomId}/download`;
119
119
  const params = { projectId };
120
120
 
121
121
  if (version !== "latest") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "thinkncollab-cli",
3
3
  "author": "Raman Singh",
4
- "version": "0.0.69",
4
+ "version": "0.0.71",
5
5
  "description": "CLI tool for ThinkNCollab",
6
6
  "main": "index.js",
7
7
  "bin": {