Releases: jamesgopsill/crossref-client
Releases · jamesgopsill/crossref-client
v1.1.0 - Updates the work typings and the ability to select returned fields
This release updates the types for the Works as per #2
It also adds the ability to select the fields to be returned. E.g.,
import {
CrossrefClient,
QueryWorksParams,
WorkSelectOptions,
} from "@jamesgopsill/crossref-client"
const client = new CrossrefClient()
const search: QueryWorksParams = {
queryAuthor: "Richard Feynman",
select: [WorkSelectOptions.CONTENT_DOMAIN],
sample: 10,
}
const r = await client.works(search)
if (r.ok && r.status == 200) console.log(r.content)
V1.0.2 #1 Fix
This release fixes the url encoding issue for the works endpoint.
v1.0.1 Toolchain updates
Some updates to the build toolchain.
v1.0.0 Release of the Crossref Client
Updating package.json information.