'use strict';

var _constants;

function _load_constants() {
  return _constants = require('../constants');
}

module.exports = function buildCommandMessage(payload, context) {
  return {
    payload,
    headers: {
      version: (_constants || _load_constants()).BIT_VERSION,
      context
    }
  };
};