Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix/clientresponse fix, use IncomingMessage for external api as well. #19

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

Merged
merged 3 commits into from
Aug 20, 2020
Merged
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
4 changes: 4 additions & 0 deletions 4 CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.3.2] - 2020-08-20
### Fixed
- Moved from ClientResponse to IncomingMessage in the external api as well.

## [1.3.1] - 2020-08-19
### Fixed
- Moved from ClientResponse to IncomingMessage to support higher node/ts versions.
Expand Down
2 changes: 1 addition & 1 deletion 2 lib/MessageApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class Message extends CMTypes.MessageEnvelope {
/**
* Sends the message to the CM.com Platform
*/
public send(): Promise<{ body: MessagesResponse; response: http.ClientResponse }> {
public send(): Promise<{ body: MessagesResponse; response: http.IncomingMessage }> {
return this.api.messagesSendMessage(this);
}

Expand Down
2 changes: 1 addition & 1 deletion 2 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmdotcom/text-sdk",
"version": "1.3.1",
"version": "1.3.2",
"description": "Package to make it very easy to send text messages with CM.com",
"keywords": [
"cm",
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.