Minor Changes
-
#2640
c73dfd655
Thanks @davidkpiano! - A serializer can now be specified as an option forinspect(...)
in the.serialize
property. It should be a replacer function:// ... inspect({ // ... serialize: (key, value) => { if (value instanceof Map) { return 'map'; } return value; } }); // ... // Will be inspected as: // { // type: 'EVENT_WITH_MAP', // map: 'map' // } someService.send({ type: 'EVENT_WITH_MAP', map: new Map() });
-
#2894
8435c5b84
Thanks @Andarist! - The package has been upgraded to be compatible withws@8.x
. The WS server created server-side has to be of a compatible version now.