nexrall-code 0.5.88 → 0.5.89
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.js +14 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -152093,6 +152093,20 @@ var App2 = ({ onReady }) => {
|
|
|
152093
152093
|
repadBottomChrome();
|
|
152094
152094
|
setStaticKey((k) => k + 1);
|
|
152095
152095
|
}, [repadBottomChrome]);
|
|
152096
|
+
import_react35.default.useEffect(() => {
|
|
152097
|
+
const inkPatchedLog = console.log;
|
|
152098
|
+
const inkPatchedError = console.error;
|
|
152099
|
+
console.log = (...args) => {
|
|
152100
|
+
print(args.length === 0 ? " " : args.map(String).join(" "));
|
|
152101
|
+
};
|
|
152102
|
+
console.error = (...args) => {
|
|
152103
|
+
print(args.length === 0 ? " " : args.map(String).join(" "));
|
|
152104
|
+
};
|
|
152105
|
+
return () => {
|
|
152106
|
+
console.log = inkPatchedLog;
|
|
152107
|
+
console.error = inkPatchedError;
|
|
152108
|
+
};
|
|
152109
|
+
}, [print]);
|
|
152096
152110
|
import_react35.default.useEffect(() => {
|
|
152097
152111
|
onReady({
|
|
152098
152112
|
print,
|