@basetime/bldr-sfmc
Version:
CLI application for SFMC Development workflow and package deployment
15 lines (12 loc) • 424 B
JavaScript
const { init } = require('./bldr_index');
const Blueprint = require('./Blueprint/index');
const contextMap = require('../utils/contextMap');
module.exports.set = async (mid = null, store) => {
const bldrInst = await init(mid, store);
// if (!bldrInst) {
// throw new Error(`Unable to initiate the sfmc sdk`)
// };
if (bldrInst) {
return new Blueprint(bldrInst, contextMap, store);
}
};