Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Matt Mazzola a9ce8f940d Setup tslint on build and test to enforce good practices and consistent style. 2016-08-22 11:11:45 -07:00
Matt Mazzola 6f28ccde65 Refactor to allow specifying target window for specific request instead of always using window provided at construction time. 2016-07-05 12:43:53 -07:00
Matt Mazzola cf07c1407f Add guard for falsey message.statusCode in isErrorMessage with tests 2016-06-30 17:32:02 -07:00
Matt Mazzola 638d8fa599 Add more tests for getTrackingProperties 2016-06-30 17:31:24 -07:00
Matt Mazzola 13d6b159aa Fix how headers are constructed to let request.headers take priority over default headers 2016-06-30 17:12:46 -07:00
Matt Mazzola f8f23ff8a3 Change addTrackingProperties to only set header.id if trackingProperties is defined and has id property. 2016-06-22 11:42:44 -07:00
Matt Mazzola ff7bcdccb6 Breaking Change: Update hpm to take in targetWindow which will be passed to the postMessage call. Adds support for hpm to control which window is targeted instead of wpmp 2016-06-17 12:55:00 -07:00
Matt Mazzola 946acd35c1 Add ability to send body with delete request and add delete test case 2016-06-08 13:15:54 -07:00
Matt Mazzola 741e8ebeab Rename IWindowPostMessageProxy interface to IPostMessage so it does not imply a dependency on WindowPostMesssageProxy object but any object which has postMessage method. 2016-05-26 10:49:40 -07:00
Matt Mazzola 5ca4f8d76c Change the default isError to use statusCode instead of status since we might have statusText. Add test for isErrorMessage. 2016-05-23 17:33:26 -07:00
Matt Mazzola edfa734962 Initial Commit. Add HttpPostMessage class with build and test setup. 2016-05-13 13:14:46 -07:00