Open rjrodger opened 1 month ago
this allows the default options to be build dynamically
also allows passing in seneca, and thus gubu, maintaining version matching
function myplugin(options) { ... } myplugin.defaults = (seneca)=>{ const { Open } = seneca.valid return Open({ settingA: 1 }) }
this allows the default options to be build dynamically
also allows passing in seneca, and thus gubu, maintaining version matching