var confirmer = require('./confirm') exports.name = 'publishguard' exports.version = '1.0.0' exports.manifest = { } exports.init = function (sbot, config) { setTimeout(function () { var confirm = confirmer({ publish: sbot.publish, privatePublish: sbot.private && sbot.private.publish, config: config.publishguard }) sbot.publish = confirm.publish if (sbot.private) sbot.private.publish = confirm.privatePublish console.log('[' + exports.name + '] enabled') }, 1000) }