@mastra/client-js 1.0.0-beta.22 → 1.0.0-beta.24

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.0.0-beta.24
4
+
5
+ ### Major Changes
6
+
7
+ - **Fixed:** Align `Agent.network` with core and update `@mastra/react` network usage. ([#12015](https://github.com/mastra-ai/mastra/pull/12015))
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
12
+ - @mastra/core@1.0.0-beta.24
13
+ - @mastra/schema-compat@1.0.0-beta.7
14
+
15
+ ## 1.0.0-beta.23
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
20
+ - @mastra/core@1.0.0-beta.23
21
+
3
22
  ## 1.0.0-beta.22
4
23
 
5
24
  ### Major Changes
@@ -30,4 +30,4 @@ docs/
30
30
  ## Version
31
31
 
32
32
  Package: @mastra/client-js
33
- Version: 1.0.0-beta.22
33
+ Version: 1.0.0-beta.24
@@ -5,7 +5,7 @@ description: Documentation for @mastra/client-js. Includes links to type definit
5
5
 
6
6
  # @mastra/client-js Documentation
7
7
 
8
- > **Version**: 1.0.0-beta.22
8
+ > **Version**: 1.0.0-beta.24
9
9
  > **Package**: @mastra/client-js
10
10
 
11
11
  ## Quick Navigation
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-beta.22",
2
+ "version": "1.0.0-beta.24",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -2193,10 +2193,13 @@ var Agent = class extends BaseResource {
2193
2193
  }
2194
2194
  return response;
2195
2195
  }
2196
- async network(params) {
2196
+ async network(messages, params) {
2197
2197
  const response = await this.request(`/api/agents/${this.agentId}/network`, {
2198
2198
  method: "POST",
2199
- body: params,
2199
+ body: {
2200
+ messages,
2201
+ ...params
2202
+ },
2200
2203
  stream: true
2201
2204
  });
2202
2205
  if (!response.body) {