Skip to content

Commit 3256a6f

Browse files
1.1.27
1 parent 6556cb1 commit 3256a6f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codebolt/codeboltjs",
3-
"version": "1.1.26",
3+
"version": "1.1.27",
44
"description": "",
55
"keywords": [],
66
"author": "",

src/modules/chat.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ const cbchat = {
9292
}));
9393
}
9494
};
95+
},
96+
stopProcess: () => {
97+
// Implement the logic to stop the process here
98+
console.log("Stopping process...");
99+
// For example, you might want to send a specific message to the server to stop the process
100+
cbws.getWebsocket.send(JSON.stringify({
101+
"type": "processStoped"
102+
}));
95103
}
96104
};
97105

src/modules/debug.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const debug={
1212
return new Promise((resolve, reject) => {
1313
cbws.getWebsocket.send(JSON.stringify({
1414
"type": "debugEvent",
15+
"action":"addLog",
1516
message:{
1617
log,
1718
type

0 commit comments

Comments
 (0)