UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

10 lines 393 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.listDomains = void 0; const listDomains = ({ httpClient, }) => ({ page = 1, per_page = 25, }) => { const url = '/domains'; const query_params = { page, per_page }; return httpClient.get(url, { params: query_params }); }; exports.listDomains = listDomains; //# sourceMappingURL=list-domains.js.map