Skip to content

Releases: jamesgopsill/crossref-client

v1.1.0 - Updates the work typings and the ability to select returned fields

10 Feb 14:21
Compare
Choose a tag to compare

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

22 Dec 10:33
Compare
Choose a tag to compare

This release fixes the url encoding issue for the works endpoint.

v1.0.1 Toolchain updates

24 Jul 07:17
Compare
Choose a tag to compare

Some updates to the build toolchain.

v1.0.0 Release of the Crossref Client

15 Feb 10:07
Compare
Choose a tag to compare
Updating package.json information.