Comparing version 4.37.0 to 4.38.0
# Change Log | ||
## [v4.38.0](https://github.com/plivo/plivo-node/tree/v4.38.0) (2023-01-18) | ||
**Feature - Added New Param(Message Expiry) in Send Message API** | ||
- Added new param(Message Expiry) in Send Message API | ||
@@ -11,2 +14,10 @@ ## [v4.37.0](https://github.com/plivo/plivo-node/tree/v4.37.0) (2022-12-16) | ||
## [v4.37.0](https://github.com/plivo/plivo-node/tree/v4.37.0) (2022-12-16) | ||
**Update Campaign Request** | ||
- Update Campaign Request endpoint added | ||
## [v4.36.0](https://github.com/plivo/plivo-node/tree/v4.36.0) (2022-12-06) | ||
**Delete Brand and Campaign Request** | ||
- Delete Brand and Campaign Request endpoint added | ||
## [v4.35.0](https://github.com/plivo/plivo-node/tree/v4.35.0) (2022-11-04) | ||
@@ -13,0 +24,0 @@ **Brand Usecase Request** |
@@ -195,2 +195,3 @@ 'use strict'; | ||
* @param {list} [optionalParams.media_urls] For sending mms, specify the media urls in list of string | ||
* @param {int} [optionalParams.message_expiry] The method used to expiry the message specified time. | ||
* @param {boolean} [optionalParams.log] If set to false, the content of this message will not be logged on the Plivo infrastructure and the dst value will be masked (e.g., 141XXXXX528). Default is set to true. | ||
@@ -239,2 +240,3 @@ * @promise {object} return {@link PlivoGenericMessage} object if success | ||
var src = src.src; | ||
var messageExpiry = src.messageExpiry; | ||
} | ||
@@ -294,2 +296,5 @@ | ||
} | ||
if (messageExpiry) { | ||
params.message_expiry = messageExpiry; | ||
} | ||
} | ||
@@ -296,0 +301,0 @@ |
{ | ||
"name": "plivo", | ||
"version": "4.37.0", | ||
"version": "4.38.0", | ||
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/plivo/plivo-node", |
748403
16473