@mastra/client-js 1.29.0-alpha.5 → 1.29.0-alpha.6

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,15 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.29.0-alpha.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix `listLogs` and `getLogForRun` dropping the `page` and `perPage` query parameters when they are `0`. Requesting the first page with `page: 0` (or `perPage: 0`) now sends those values instead of falling back to the server defaults. Closes #18631. ([#18632](https://github.com/mastra-ai/mastra/pull/18632))
8
+
9
+ - Updated dependencies [[`b33c77d`](https://github.com/mastra-ai/mastra/commit/b33c77d5293f14a794f3ec38dc947a6676de2764), [`1009f77`](https://github.com/mastra-ai/mastra/commit/1009f772aa40016b49267c8566d0c29f6a16aa3c), [`23c31de`](https://github.com/mastra-ai/mastra/commit/23c31de96ed8153402dcf092ac84b27a0c3638c1), [`0368766`](https://github.com/mastra-ai/mastra/commit/0368766744c7ea3df4d6059e2cc15f7bdf55f5a6), [`d0702ee`](https://github.com/mastra-ai/mastra/commit/d0702eedc1594cb2d0d83476440cfc2ec8820adb), [`2866f04`](https://github.com/mastra-ai/mastra/commit/2866f04953edb78c1637fa45cc53abe24122edcb)]:
10
+ - @mastra/core@1.48.0-alpha.6
11
+ - @mastra/schema-compat@1.3.2-alpha.1
12
+
3
13
  ## 1.29.0-alpha.5
4
14
 
5
15
  ### Minor Changes
@@ -3,7 +3,7 @@ name: mastra-client-js
3
3
  description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/client-js"
6
- version: "1.29.0-alpha.5"
6
+ version: "1.29.0-alpha.6"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.29.0-alpha.5",
2
+ "version": "1.29.0-alpha.6",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {
5
5
  "RequestContext": {
package/dist/index.cjs CHANGED
@@ -6729,10 +6729,10 @@ var MastraClient = class extends BaseResource {
6729
6729
  if (logLevel) {
6730
6730
  searchParams.set("logLevel", logLevel);
6731
6731
  }
6732
- if (page) {
6732
+ if (page !== void 0) {
6733
6733
  searchParams.set("page", String(page));
6734
6734
  }
6735
- if (perPage) {
6735
+ if (perPage !== void 0) {
6736
6736
  searchParams.set("perPage", String(perPage));
6737
6737
  }
6738
6738
  if (_filters) {
@@ -6774,10 +6774,10 @@ var MastraClient = class extends BaseResource {
6774
6774
  if (logLevel) {
6775
6775
  searchParams.set("logLevel", logLevel);
6776
6776
  }
6777
- if (page) {
6777
+ if (page !== void 0) {
6778
6778
  searchParams.set("page", String(page));
6779
6779
  }
6780
- if (perPage) {
6780
+ if (perPage !== void 0) {
6781
6781
  searchParams.set("perPage", String(perPage));
6782
6782
  }
6783
6783
  if (_filters) {