v3.0.10
- add
getOriginalWx
andsetOriginWx
in client.js to get or set the original wx object to instance - the instance will be passed to success and error callback as the last arg, since when people use the arrow function,
this
will be lost:
{
success: w => {console.log(w.getOriginalWx())},
error: (err, w) => {console.log(w.getOriginalWx())},
}
- demo updates to use getter above and other minor fixes