- architecture tweaks for scalability
- added option for global debug logs
- added option for cef debug mode to run in browser only
This commit is contained in:
2024-10-27 14:53:55 +00:00
parent 640adae8a5
commit e2e58e100a
6 changed files with 156 additions and 50 deletions
+15 -7
View File
@@ -1,9 +1,20 @@
import { Wrapper } from './wrapper'
import { Environment, Events, RPCEventType, RPCState, Utils } from './utils'
import {
Environment,
Events,
RPCEventType,
RPCState,
RpcWrapperConfig,
Utils,
} from './utils'
class Browser extends Wrapper {
constructor() {
super()
export class Browser extends Wrapper {
constructor(
options: RpcWrapperConfig = {
forceBrowserDevMode: false,
},
) {
super(options)
}
public _resolveEmitDestination(dataRaw: string) {
@@ -65,6 +76,3 @@ class Browser extends Wrapper {
}
}
}
const browser = new Browser()
export { browser }