Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type check conversations and events #87

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Next

- **[Breaking change]** Update interfaces of the objects handled by the conversation API:
conversations and messages. The objects are now type-checked at runtime. The interfaces are
defined in `lib/types`.
- **[Fix]** Do not throw on unexpected extra keys when reading responses.
- **[Fix]** Fix message host resolution (API change).
- **[Fix]** Mark `isFavorite` in `ContactGroup` as optional.
- **[Fix]** Mark `name` in `ContactProfile` as optional.
- **[Fix]** Throw errors on unexpected HTTP status code
- **[Fix]** Distribute compiled `.js` files and `.ts` sources in distinct directories (#85)
- **[Internal]** Run tests and coverage on `.mjs` files.

# 0.0.14 (2018-01-12)
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const test: buildTools.MochaTarget = {
scripts: ["test/**/*.ts", "lib/**/*.ts"],
customTypingsDir: "src/custom-typings",
tsconfigJson: "src/test/tsconfig.json",
outModules: buildTools.OutModules.Mjs,
outModules: buildTools.OutModules.Both,
tscOptions: {
skipLibCheck: true,
},
Expand Down
Loading