onejs-core 2.0.6 → 2.0.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.
@@ -19,6 +19,8 @@ declare const onejs: {
19
19
  remove_onReload(handler: () => void): void
20
20
  add_onDispose(handler: () => void): void
21
21
  remove_onDispose(handler: () => void): void
22
+ add_onError(handler: (ex: CS.System.Exception) => void): void
23
+ remove_onError(handler: (ex: CS.System.Exception) => void): void
22
24
 
23
25
  // interop: { // TODO
24
26
  // classes: Record<string, any>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onejs-core",
3
3
  "description": "The JS part of OneJS, a UI framework and Scripting Engine for Unity.",
4
- "version": "2.0.6",
4
+ "version": "2.0.7",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./typings.d.ts",
7
7
  "bin": {