Most of the exported functions from the Etherpad internals will no longer take callback parameters in Etherpad 1.8+ (see #3540) and return Promises instead. This may break plugins that rely on those functions.
If backwards compatibility is required one solution may be to use the nodeify module to conditionally wrap the invocations of those exported functions.
Most of the exported functions from the Etherpad internals will no longer take callback parameters in Etherpad 1.8+ (see #3540) and return Promises instead. This may break plugins that rely on those functions.
If backwards compatibility is required one solution may be to use the
nodeifymodule to conditionally wrap the invocations of those exported functions.