thinkncollab-cli 0.0.67 → 0.0.69

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.
package/Readme.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🧠 ThinkNCollab CLI
1
+ # 🧠 ThinkNCollab CLI (Develoment Phase)
2
2
 
3
3
  A powerful command-line interface for seamless collaboration with **ThinkNCollab** — push files, manage rooms, and collaborate directly from your terminal.
4
4
 
@@ -79,9 +79,16 @@ async function createBranch(roomId) {
79
79
  email,
80
80
  });
81
81
 
82
+ const {
83
+ success,
84
+ message,
85
+ branch: { id, name, roomId: branchRoomId, headVersionId } = {},
86
+ } = res.data;
87
+
88
+
82
89
  if (res.data.success) {
83
90
  console.log(`✅ Branch '${branchName}' created successfully!`);
84
- await updateBranch(branchName, res.data.branch.id);
91
+ await updateBranch(branchName, id);
85
92
  } else {
86
93
  console.log(`❌ Failed to create branch: ${res.data.message}`);
87
94
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "thinkncollab-cli",
3
3
  "author": "Raman Singh",
4
- "version": "0.0.67",
4
+ "version": "0.0.69",
5
5
  "description": "CLI tool for ThinkNCollab",
6
6
  "main": "index.js",
7
7
  "bin": {