@mastra/client-js 0.10.0 → 0.10.1-alpha.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mastra/client-js@0.10.0-alpha.1 build /home/runner/work/mastra/mastra/client-sdks/client-js
2
+ > @mastra/client-js@0.10.1-alpha.0 build /home/runner/work/mastra/mastra/client-sdks/client-js
3
3
  > tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,11 +9,11 @@
9
9
  CLI Cleaning output folder
10
10
  ESM Build start
11
11
  CJS Build start
12
- CJS dist/index.cjs 41.29 KB
13
- CJS ⚡️ Build success in 1290ms
14
12
  ESM dist/index.js 41.00 KB
15
- ESM ⚡️ Build success in 1302ms
13
+ ESM ⚡️ Build success in 1666ms
14
+ CJS dist/index.cjs 41.29 KB
15
+ CJS ⚡️ Build success in 1695ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 16990ms
17
+ DTS ⚡️ Build success in 16148ms
18
18
  DTS dist/index.d.ts 30.61 KB
19
19
  DTS dist/index.d.cts 30.61 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 0.10.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - f622cfa: Make some properties of CreateMemoryThreadParams optional
8
+ - Updated dependencies [6d16390]
9
+ - Updated dependencies [1e4a421]
10
+ - @mastra/core@0.10.1-alpha.0
11
+
3
12
  ## 0.10.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -147,10 +147,10 @@ interface SaveMessageToMemoryParams {
147
147
  }
148
148
  type SaveMessageToMemoryResponse = MessageType[];
149
149
  interface CreateMemoryThreadParams {
150
- title: string;
151
- metadata: Record<string, any>;
150
+ title?: string;
151
+ metadata?: Record<string, any>;
152
152
  resourceId: string;
153
- threadId: string;
153
+ threadId?: string;
154
154
  agentId: string;
155
155
  }
156
156
  type CreateMemoryThreadResponse = StorageThreadType;
package/dist/index.d.ts CHANGED
@@ -147,10 +147,10 @@ interface SaveMessageToMemoryParams {
147
147
  }
148
148
  type SaveMessageToMemoryResponse = MessageType[];
149
149
  interface CreateMemoryThreadParams {
150
- title: string;
151
- metadata: Record<string, any>;
150
+ title?: string;
151
+ metadata?: Record<string, any>;
152
152
  resourceId: string;
153
- threadId: string;
153
+ threadId?: string;
154
154
  agentId: string;
155
155
  }
156
156
  type CreateMemoryThreadResponse = StorageThreadType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/client-js",
3
- "version": "0.10.0",
3
+ "version": "0.10.1-alpha.0",
4
4
  "description": "The official TypeScript library for the Mastra Client API",
5
5
  "author": "",
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  "typescript": "^5.8.2",
44
44
  "vitest": "^3.1.2",
45
45
  "@internal/lint": "0.0.6",
46
- "@mastra/core": "0.10.0"
46
+ "@mastra/core": "0.10.1-alpha.0"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
package/src/types.ts CHANGED
@@ -177,10 +177,10 @@ export interface SaveMessageToMemoryParams {
177
177
  export type SaveMessageToMemoryResponse = MessageType[];
178
178
 
179
179
  export interface CreateMemoryThreadParams {
180
- title: string;
181
- metadata: Record<string, any>;
180
+ title?: string;
181
+ metadata?: Record<string, any>;
182
182
  resourceId: string;
183
- threadId: string;
183
+ threadId?: string;
184
184
  agentId: string;
185
185
  }
186
186