"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _keytar = _interopRequireDefault(require("keytar"));

var _keychain = _interopRequireDefault(require("./keychain"));

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

/**
 * External dependencies
 */

/**
 * Internal dependencies
 */
class Secure {
  getPassword(service) {
    return _keytar.default.getPassword(service, service);
  }

  setPassword(service, password) {
    return _keytar.default.setPassword(service, service, password);
  }

  deletePassword(service) {
    return _keytar.default.deletePassword(service, service);
  }

}

exports.default = Secure;