@layercode/js-sdk 2.3.3 → 2.4.0
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.
|
@@ -3842,6 +3842,9 @@ class LayercodeClient {
|
|
|
3842
3842
|
await this._clientInterruptAgentReplay();
|
|
3843
3843
|
this._wsSend({ type: 'client.response.text', content: text });
|
|
3844
3844
|
}
|
|
3845
|
+
async sendClientResponseData(data) {
|
|
3846
|
+
this._wsSend({ type: 'client.response.data', data: data });
|
|
3847
|
+
}
|
|
3845
3848
|
/**
|
|
3846
3849
|
* Handles incoming WebSocket messages
|
|
3847
3850
|
* @param {MessageEvent} event - The WebSocket message event
|