Commit Graph
9 Commits
Author SHA1 Message Date
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Nathan b42c1fc7bf Update index.d.ts
According to the docs, clientCert, privateKey and caCert can be Buffers: https://github.com/aws/aws-iot-device-sdk-js/blob/master/README.md#L226-L228
2017-10-31 15:12:51 -07:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Thomas Chia 53665b21cc [aws-iot-device-sdk] - Fix references to the mqtt types (#20344)
* Update index.d.ts

Fix mqtt type references.

* Make the tests compatible with noImplicitAny: true.

* Update version.

* Add package.json for mqtt type dependency.

* Remove mqtt in favour of original package definitions.

* Update notNeededPackages.

* Add private flag to package.json.

* Trigger travis

* Update subscribe options.

* Fix subscribe callback.
2017-10-11 16:12:54 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Margus Lamp a2c18a27e0 @types/ws @types/aws-iot-device-sdk @types/json-rpc-ws WebSocket.ping/pong input fix, synced options, lint fixes (#20108)
* * Renamed WebSocket.ping and WebSocket.pong argument dontFail (very confusing) to failSilently as it's in ws package
* WebSocket.close accepts data as string only

* * Lint fixes, updated types

* Fixed aws-iot-device-sdk + json-rpc-ws
2017-10-03 11:20:05 -07:00
rapmue 2ff4dff832 [aws-iot-device-sdk] combine multiple signatures (#20229)
* [aws-iot-device-sdk] combine multiple signatures

In order to use different signatures, I suggest  to combine multiple functions to one, with the different parameter types as a list.

* added a test

Added a test for thingshadow subscribe. The test only covers the error which happened before when using a subscription with a string.
2017-10-03 10:28:44 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00