Skip to content

Commit 2f02f1f

Browse files
committed
update sdk readme
1 parent e9cd7dd commit 2f02f1f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sdk/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ const client = new WebSocketHandler({
3636
onWebsocketReconnect: () => {
3737
console.log('onWebsocketReconnect')
3838
},
39+
onResponseError: async (error) => {
40+
console.log({ error }, 'onResponseError')
41+
},
3942
onRequestReconnect: async () => {
4043
console.log('onRequestReconnect')
4144
},

sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@codebuff/sdk",
33
"private": false,
44
"access": "public",
5-
"version": "0.1.1",
5+
"version": "0.1.2",
66
"description": "Official SDK for Codebuff — AI coding agent & framework",
77
"license": "MIT",
88
"type": "module",

0 commit comments

Comments
 (0)