v5.0.0
BREAKING CHANGES
@octokit/endpointnow exports{ endpoint }
Before
const endpoint = require('@octokit/endpoint')After
const { endpoint } = require('@octokit/endpoint')or
import { endpoint } from '@octokit/endpoint'Features
- typescript: add more type definitions and descriptions
- Import directly from https://unpkg.com/@octokit/endpoint@5.0.0/dist-web/index.bundled.js in modern browsers