UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

13 lines 393 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSshKey = void 0; const createSshKey = ({ httpClient, }) => ({ name, public_key, }) => { const url = '/account/keys'; const body = { name, public_key, }; return httpClient.post(url, body); }; exports.createSshKey = createSshKey; //# sourceMappingURL=create-ssh-key.js.map