1.2.0 • Published 8 years ago

ds-api v1.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

Javascript SDK for Dansk Supermarked API Codeship Status for DanskSupermarked/ds-api-js-sdk

https://developer.dansksupermarked.dk/v1/api/libraries/javascript/ds-api/

Documentation

Changelog

1.2.0

  • getAll now correctly used the query object for all requests

1.1.0

  • Removed node hacks
  • No body in request for GET and HEAD requests

1.0.6

  • Added browserify transforms to be able to use babel

1.0.5

  • Bugfixes
    • Post should use body instead of deprecated data in fetch

1.0.4

  • Bugfixes:
    • Firefox can not use forEach on Headers in fetch

1.0.3

  • Bugfixes:
    • Use count 0 if no items are found

1.0.2

  • Use HEAD request for counting

1.0.1

  • Map headers to javascript object.

1.0.0

  • not dependent of jQuery, but using latest EcmaScript methods, which should be polyfilled with polyfill.io
  • jQuery polyfill added
  • refactored source code using ES6
  • count has been added

0.1.1

  • getAll have implemented progress for the promise

0.1.0

  • get, getAll and setKey added
  • pagination functions
  • meta data (headers)

Contribute

Feel free to contribute to the SDK. Just make sure to comply with the rulesets for JSHint and jscs.

To contribute make a fork of this project and when you are happy with the code make a pull request.

Before submitting a Pull Request make sure that all tests are run successfully:

$ npm test

Support

If you need any help with the SDK write a request to apisupport@dansksupermarked.dk.

1.2.0

8 years ago

1.1.0

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago