Compare commits
No commits in common. "v0.1.0-develop.33" and "v0.1.0-develop.32" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,10 +1,3 @@
|
|||
# [0.1.0-develop.33](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.32...v0.1.0-develop.33) (2023-07-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* make callModule a wrapper function that calls handleError ([73ea9ca](https://git.lumeweb.com/LumeWeb/libkernel/commit/73ea9ca5b08d9ef4a8b2f54ba4174a66e6e3ec2f))
|
||||
|
||||
# [0.1.0-develop.32](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.31...v0.1.0-develop.32) (2023-07-29)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.33",
|
||||
"version": "0.1.0-develop.32",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.33",
|
||||
"version": "0.1.0-develop.32",
|
||||
"dependencies": {
|
||||
"@lumeweb/libweb": "0.2.0-develop.27",
|
||||
"emittery": "^1.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.33",
|
||||
"version": "0.1.0-develop.32",
|
||||
"main": "lib/index.js",
|
||||
"type": "module",
|
||||
"types": "lib/index.d.ts",
|
||||
|
|
|
@ -39,12 +39,7 @@ export abstract class Client extends Emittery {
|
|||
|
||||
public getBound(module: string): ModuleBagBound {
|
||||
return {
|
||||
callModule: async (...args: any) => {
|
||||
const ret = await this.callModule(module, ...args);
|
||||
this.handleError(ret);
|
||||
|
||||
return ret;
|
||||
},
|
||||
callModule: callModule.bind(undefined, module),
|
||||
connectModule: connectModule.bind(undefined, module),
|
||||
} as ModuleBagBound;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue