Calling the app.publish() function returns undefined.
app.publish()
undefined
According to the doc, it should return a boolean.
Seems like the corresponding wrapper does not set the return value.