Releases: prezly/javascript-sdk
Releases · prezly/javascript-sdk
v1.0.0-6
v1.0.0-5
- Switch to
cross-fetch. - Add default
User-Agentheader to all requests. - Accept custom
headersinSdkconstructoroptions. - 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: Merge pull request #2 from prezly/feature/sdk
v1.0.0-3: Merge pull request #2 from prezly/feature/sdk
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
Testing release
Install with npm install @prezly/sdk@beta