@ringozz/godot 4.7.1-6 → 4.7.1-7
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/package.json +2 -2
- package/src/debug.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringozz/godot",
|
|
3
3
|
"author": "Vladimir Davidovich",
|
|
4
|
-
"version": "4.7.1-
|
|
4
|
+
"version": "4.7.1-7",
|
|
5
5
|
"description": "Node-API bindings for Godot Engine — call Godot classes from JavaScript",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./src/index.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"optionalDependencies": {
|
|
30
30
|
"@ringozz/godot-macos-arm64": "^4.7.1-2",
|
|
31
31
|
"@ringozz/godot-windows-x86_64": "^4.7.1-2",
|
|
32
|
-
"@ringozz/godot-web-wasm32": "^4.7.1-
|
|
32
|
+
"@ringozz/godot-web-wasm32": "^4.7.1-7"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@types/node": "*"
|
package/src/debug.ts
CHANGED
|
@@ -113,7 +113,7 @@ export function gc(): string {
|
|
|
113
113
|
* alive for interactive debugging.
|
|
114
114
|
*/
|
|
115
115
|
export function initDebug(): void {
|
|
116
|
-
globalThis.process?.on('uncaughtException', (err, origin) => {
|
|
116
|
+
globalThis.process?.on?.('uncaughtException', (err, origin) => {
|
|
117
117
|
console.error(`\n✗ ${origin}:`, err.stack);
|
|
118
118
|
});
|
|
119
119
|
|