UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

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