@nexface/inspector 0.1.15-beta.0 → 0.1.16
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/panel.js +2 -2
- package/dist/use-execution-history.js +1 -1
- package/package.json +2 -2
package/dist/panel.js
CHANGED
|
@@ -77,7 +77,7 @@ function executionStatus(record) {
|
|
|
77
77
|
? "成功"
|
|
78
78
|
: record.cancelled
|
|
79
79
|
? "已取消"
|
|
80
|
-
: "
|
|
80
|
+
: "Failed";
|
|
81
81
|
}
|
|
82
82
|
function ExecutionValue({ title, snapshot, }) {
|
|
83
83
|
const [feedback, setFeedback] = useState("");
|
|
@@ -87,7 +87,7 @@ function ExecutionValue({ title, snapshot, }) {
|
|
|
87
87
|
setFeedback("已复制");
|
|
88
88
|
}
|
|
89
89
|
catch {
|
|
90
|
-
setFeedback("
|
|
90
|
+
setFeedback("Copy failed. Select and copy the text manually.");
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
return (React.createElement("section", { className: "section" },
|
|
@@ -129,7 +129,7 @@ export function executionSnapshot(value) {
|
|
|
129
129
|
return { text: parts.join("") + (truncated ? TRUNCATION : ""), truncated };
|
|
130
130
|
}
|
|
131
131
|
catch {
|
|
132
|
-
return { text: "[
|
|
132
|
+
return { text: "[Unable to display this value]", truncated: false };
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
export function useExecutionHistory(runtime) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexface/inspector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@nexface/tools": "0.1.
|
|
16
|
+
"@nexface/tools": "0.1.16",
|
|
17
17
|
"react": ">=17",
|
|
18
18
|
"react-dom": ">=17"
|
|
19
19
|
},
|