'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.readBinary = undefined;

var _cspace = require('./cspace');

var _cspace2 = _interopRequireDefault(_cspace);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const readBinary = exports.readBinary = path => () => {
  const config = {
    responseType: 'blob'
  };

  return (0, _cspace2.default)().read(path, config);
};

exports.default = {};