Skip to content

Releases: prezly/javascript-sdk

v1.0.0-6

22 Nov 19:38

Choose a tag to compare

v1.0.0-6 Pre-release
Pre-release
  • Fix CoverageUpdateRequest type 4869464
  • Change from BaseSdk inheritance to composition with ApiClient e439047
  • Fix default value of Api.patch and Api.delete a4618f2
  • Remove cross-fetch dependency and add polyfill instructions 1663dc3
  • Add engines field in package.json 903f793

v1.0.0-5...v1.0.0-6

v1.0.0-5

21 Nov 18:18

Choose a tag to compare

v1.0.0-5 Pre-release
Pre-release
  • Switch to cross-fetch.
  • Add default User-Agent header to all requests.
  • Accept custom headers in Sdk constructor options.
  • Sanitize URLs.

  • Use coverage.length for mocked records_number 1ff9c91
  • Add tests for Sdk module 18ec803
  • Revert "Fix invalid CoverageCreateRequest author type" 7d8c702
  • Fix url sanitization d9a832d
  • Do not export BASE_URL ab237f3
  • Change repository.url to not include .git 7795165
  • Import version from package.json using require workaround 8724540
  • Accept optional headers in Sdk and override default headers 5fd7987
  • Move HeadersMap to types folder 3947a03
  • Run clean script before building 0cb8244
  • Add default User-Agent with all SDK calls 38fb417
  • Create BaseSdk class to contain url building and accessToken header 8b6412c
  • Remove accessToken from Api module 304a33f
  • Add dom lib d6ac88e
  • Merge branch 'master' into feature/cross-fetch 0ec2140
  • Add npm test actions for node 8, 10, 12 1182f85
  • Pass URL.href to fetch to avoid TS error f529259
  • Swtich from node-fetch to cross-fetch 9e83427
  • Rename Response type to ApiResponse to avoid name collision 551fe78
  • Fix invalid CoverageCreateRequest author type 0e66a7e
  • Merge pull request #5 from prezly/chore/publish 89b76f7

v1.0.0-4...v1.0.0-5

v1.0.0-4: Merge pull request #2 from prezly/feature/sdk

21 Nov 13:54
52f3bc3

Choose a tag to compare

  • Rename delete to remove 25ed170
  • Implement create and update methods 38556d9
  • Implement getByExternalReferenceId b0e89f9
  • Update Coverage list function to support querying a2ba102

v1.0.0-3...v1.0.0-4

Testing release.
Install with npm install @prezly/sdk@beta.

v1.0.0-3: Merge pull request #2 from prezly/feature/sdk

21 Nov 13:38
52f3bc3

Choose a tag to compare

Changed to ES module export syntax.

Install with npm install @prezly/sdk@beta.

For commonjs, use const prezlySdk = require(@prezly/sdk).default.

v1.0.0-2

20 Nov 20:43
2751796

Choose a tag to compare

v1.0.0-2 Pre-release
Pre-release

Testing release

Install with npm install @prezly/sdk@beta