@assistant-ui/react-langgraph 0.2.2 → 0.2.3

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.d.mts CHANGED
@@ -2,6 +2,12 @@ import * as _assistant_ui_react from '@assistant-ui/react';
2
2
  import { AttachmentAdapter, SpeechSynthesisAdapter, FeedbackAdapter, useExternalMessageConverter } from '@assistant-ui/react';
3
3
  import * as react from 'react';
4
4
 
5
+ type ReadonlyJSONValue = null | string | number | boolean | ReadonlyJSONObject | ReadonlyJSONArray;
6
+ type ReadonlyJSONObject = {
7
+ readonly [key: string]: ReadonlyJSONValue;
8
+ };
9
+ type ReadonlyJSONArray = readonly ReadonlyJSONValue[];
10
+
5
11
  type LangChainToolCallChunk = {
6
12
  id: string;
7
13
  name: string;
@@ -10,7 +16,7 @@ type LangChainToolCallChunk = {
10
16
  type LangChainToolCall = {
11
17
  id: string;
12
18
  name: string;
13
- args: Record<string, unknown>;
19
+ args: ReadonlyJSONObject;
14
20
  };
15
21
  type MessageContentText = {
16
22
  type: "text";
package/dist/index.d.ts CHANGED
@@ -2,6 +2,12 @@ import * as _assistant_ui_react from '@assistant-ui/react';
2
2
  import { AttachmentAdapter, SpeechSynthesisAdapter, FeedbackAdapter, useExternalMessageConverter } from '@assistant-ui/react';
3
3
  import * as react from 'react';
4
4
 
5
+ type ReadonlyJSONValue = null | string | number | boolean | ReadonlyJSONObject | ReadonlyJSONArray;
6
+ type ReadonlyJSONObject = {
7
+ readonly [key: string]: ReadonlyJSONValue;
8
+ };
9
+ type ReadonlyJSONArray = readonly ReadonlyJSONValue[];
10
+
5
11
  type LangChainToolCallChunk = {
6
12
  id: string;
7
13
  name: string;
@@ -10,7 +16,7 @@ type LangChainToolCallChunk = {
10
16
  type LangChainToolCall = {
11
17
  id: string;
12
18
  name: string;
13
- args: Record<string, unknown>;
19
+ args: ReadonlyJSONObject;
14
20
  };
15
21
  type MessageContentText = {
16
22
  type: "text";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assistant-ui/react-langgraph",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -28,7 +28,7 @@
28
28
  "zod": "^3.24.1"
29
29
  },
30
30
  "peerDependencies": {
31
- "@assistant-ui/react": "^0.7.46",
31
+ "@assistant-ui/react": "^0.7.59",
32
32
  "@types/react": "*",
33
33
  "react": "^18 || ^19 || ^19.0.0-rc"
34
34
  },
@@ -40,7 +40,7 @@
40
40
  "devDependencies": {
41
41
  "eslint-config-next": "15.1.5",
42
42
  "tsup": "8.3.5",
43
- "@assistant-ui/react": "0.7.46",
43
+ "@assistant-ui/react": "0.7.59",
44
44
  "@assistant-ui/tsconfig": "0.0.0"
45
45
  },
46
46
  "publishConfig": {