Skip to content

Commit 5be1c98

Browse files
Update model for WhatsApp Interactive. (#47)
Co-authored-by: Soufyan Bargach <[email protected]>
1 parent 9108d10 commit 5be1c98

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.4.1] - 2022-12-12
2+
### Changed
3+
- Update model for WhatsApp Interactive.
4+
5+
16
## [1.4.0] - 2022-12-09
27
### Added
38
- Add missing models to send WhatsApp interactive messages

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.4.0",
3+
"version": "1.4.1",
44
"description": "Package to make it very easy to send text messages with CM.com",
55
"keywords": [
66
"cm",

typescript-node-client/api.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@ export class WhatsAppInteractive {
258258
"type": "InteractiveHeader"
259259
},
260260
{
261-
"name": "footer",
262-
"baseName": "footer",
261+
"name": "body",
262+
"baseName": "body",
263263
"type": "InteractiveBody"
264264
},
265265
{
266-
"name": "header",
267-
"baseName": "header",
266+
"name": "footer",
267+
"baseName": "footer",
268268
"type": "InteractiveFooter"
269269
},
270270
{

0 commit comments

Comments
 (0)