sdk-javascript/lib/bindings/http
Lance Ball d836b06ffe
lib: expose constants as a top-level export (#161)
This commit pulls the constants up from the lib/bindings/http/constants.js
and exports them in the top level index.js. There are some elements of the API
where we expect users to provide constant values, and this makes it easier for
them to be sure the values they provide are what is expected.

I've also added two new constants: `BINARY` and `STRUCTURED`.

Signed-off-by: Lance Ball <lball@redhat.com>
2020-05-18 08:30:28 -04:00
..
commons.js src: add eslint configuration and npm script 2020-04-22 10:15:05 -04:00
constants.js lib: expose constants as a top-level export (#161) 2020-05-18 08:30:28 -04:00
emitter_binary.js feat!: expose a version agnostic event emitter (#141) 2020-05-14 11:37:02 -04:00
emitter_binary_0_3.js feat!: expose a version agnostic event emitter (#141) 2020-05-14 11:37:02 -04:00
emitter_binary_1.js feat!: expose a version agnostic event emitter (#141) 2020-05-14 11:37:02 -04:00
emitter_structured.js feat!: expose a version agnostic event emitter (#141) 2020-05-14 11:37:02 -04:00
http_emitter.js feat!: expose a version agnostic event emitter (#141) 2020-05-14 11:37:02 -04:00
http_receiver.js lib: expose constants as a top-level export (#161) 2020-05-18 08:30:28 -04:00
receiver_binary.js feat: add ValidationError type extending TypeError (#151) 2020-05-13 13:27:18 -04:00
receiver_binary_0_3.js feat: add ValidationError type extending TypeError (#151) 2020-05-13 13:27:18 -04:00
receiver_binary_1.js lib: Changed Array instantiation and object creation (#159) 2020-05-14 16:18:34 -04:00
receiver_structured.js feat: add ValidationError type extending TypeError (#151) 2020-05-13 13:27:18 -04:00
receiver_structured_0_3.js lib: make setterByAttribute a Map (#154) 2020-05-13 11:20:45 -04:00
receiver_structured_1.js lib: make setterByAttribute a Map (#154) 2020-05-13 11:20:45 -04:00
unmarshaller.js lib: expose constants as a top-level export (#161) 2020-05-18 08:30:28 -04:00
unmarshaller_0_3.js src: add eslint configuration and npm script 2020-04-22 10:15:05 -04:00