@langchain/langgraph-ui 1.1.17 → 1.2.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.
- package/dist/bundler.mjs +1 -1
- package/package.json +2 -5
package/dist/bundler.mjs
CHANGED
|
@@ -41,7 +41,7 @@ function registerPlugin(onEnd) {
|
|
|
41
41
|
build.onEnd(async (result) => {
|
|
42
42
|
const newResult = [];
|
|
43
43
|
for (const item of result.outputFiles ?? []) {
|
|
44
|
-
|
|
44
|
+
const basename = path.basename(item.path);
|
|
45
45
|
let contents = item.contents;
|
|
46
46
|
if (basename === "entrypoint.js") {
|
|
47
47
|
contents = textEncoder.encode(item.text.replaceAll(`typeof require !== "undefined" ? require`, `typeof globalThis[Symbol.for("LGUI_REQUIRE")] !== "undefined" ? globalThis[Symbol.for("LGUI_REQUIRE")]`));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"@types/node": "^18.15.11",
|
|
30
30
|
"@types/react": "^19.0.8",
|
|
31
31
|
"@types/react-dom": "^19.0.3",
|
|
32
|
-
"prettier": "^2.8.3",
|
|
33
32
|
"typescript": "^4.9.5 || ^5.4.5",
|
|
34
33
|
"vitest": "^3.2.4"
|
|
35
34
|
},
|
|
@@ -38,8 +37,6 @@
|
|
|
38
37
|
"build": "pnpm turbo build:internal --filter=@langchain/langgraph-ui",
|
|
39
38
|
"build:internal": "pnpm clean && node scripts/build.mjs",
|
|
40
39
|
"prepublish": "pnpm build",
|
|
41
|
-
"typecheck": "tsc --noEmit"
|
|
42
|
-
"format": "prettier --write .",
|
|
43
|
-
"format:check": "prettier --check ."
|
|
40
|
+
"typecheck": "tsc --noEmit"
|
|
44
41
|
}
|
|
45
42
|
}
|