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

Commit f2fcd2a

Browse filesBrowse files
authored
Fix/clientresponse fix, use IncomingMessage for external api as well. (#19)
* Also changed ClientResponse to IncomingMessage * Update to 1.3.2 * Update CHANGELOG.md
1 parent 2d0ca70 commit f2fcd2a
Copy full SHA for f2fcd2a

File tree

3 files changed

+6
-2
lines changed
Filter options

3 files changed

+6
-2
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.3.2] - 2020-08-20
2+
### Fixed
3+
- Moved from ClientResponse to IncomingMessage in the external api as well.
4+
15
## [1.3.1] - 2020-08-19
26
### Fixed
37
- Moved from ClientResponse to IncomingMessage to support higher node/ts versions.

‎lib/MessageApiClient.ts

Copy file name to clipboardExpand all lines: lib/MessageApiClient.ts
+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class Message extends CMTypes.MessageEnvelope {
144144
/**
145145
* Sends the message to the CM.com Platform
146146
*/
147-
public send(): Promise<{ body: MessagesResponse; response: http.ClientResponse }> {
147+
public send(): Promise<{ body: MessagesResponse; response: http.IncomingMessage }> {
148148
return this.api.messagesSendMessage(this);
149149
}
150150

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cmdotcom/text-sdk",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Package to make it very easy to send text messages with CM.com",
55
"keywords": [
66
"cm",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.