@simfinity/constellation-client 1.0.9 → 1.0.10

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/dist/index.cjs CHANGED
@@ -44,8 +44,8 @@ var WebClient = class {
44
44
  * @exception
45
45
  * This method throws new Error(...) if unable to execute successfully for any reason.
46
46
  */
47
- async fetchAvailableTools() {
48
- const response = await fetch(`${this.config.sessionEndpoint}/available_tools`, {
47
+ async fetchSupportedTools() {
48
+ const response = await fetch(`${this.config.sessionEndpoint}/supported_tools`, {
49
49
  method: "GET",
50
50
  headers: {
51
51
  "Authorization": `Bearer ${this.config.key}`,
package/dist/index.d.cts CHANGED
@@ -106,7 +106,7 @@ declare class WebClient {
106
106
  * @exception
107
107
  * This method throws new Error(...) if unable to execute successfully for any reason.
108
108
  */
109
- fetchAvailableTools(): Promise<ToolDescription[]>;
109
+ fetchSupportedTools(): Promise<ToolDescription[]>;
110
110
  /**
111
111
  * Start a persistent chat room on the server, allowing for re-connection,
112
112
  * when the streaming connection is lost. Once a session was started it must
package/dist/index.d.ts CHANGED
@@ -106,7 +106,7 @@ declare class WebClient {
106
106
  * @exception
107
107
  * This method throws new Error(...) if unable to execute successfully for any reason.
108
108
  */
109
- fetchAvailableTools(): Promise<ToolDescription[]>;
109
+ fetchSupportedTools(): Promise<ToolDescription[]>;
110
110
  /**
111
111
  * Start a persistent chat room on the server, allowing for re-connection,
112
112
  * when the streaming connection is lost. Once a session was started it must
package/dist/index.js CHANGED
@@ -18,8 +18,8 @@ var WebClient = class {
18
18
  * @exception
19
19
  * This method throws new Error(...) if unable to execute successfully for any reason.
20
20
  */
21
- async fetchAvailableTools() {
22
- const response = await fetch(`${this.config.sessionEndpoint}/available_tools`, {
21
+ async fetchSupportedTools() {
22
+ const response = await fetch(`${this.config.sessionEndpoint}/supported_tools`, {
23
23
  method: "GET",
24
24
  headers: {
25
25
  "Authorization": `Bearer ${this.config.key}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simfinity/constellation-client",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {