From 4f79489372ec3ccdb4a5ed707a6a3b8d65227ed7 Mon Sep 17 00:00:00 2001 From: Prashant Pandey Date: Thu, 31 Aug 2023 18:44:19 +0530 Subject: [PATCH 1/3] VT-6446: Fix for "Unable to build TypeScript on Version" --- CHANGELOG.md | 4 ++++ package-lock.json | 2 +- package.json | 2 +- types/resources/maskingSession.d.ts | 8 ++++++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03ebaaf1..f2df6bfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [v4.56.1](https://github.com/plivo/plivo-node/tree/v4.56.1) (2023-09-04) +**Bug fix - Unable to build TypeScript on Version 4.56.0** +- Fix TypeScript build error + ## [v4.56.0](https://github.com/plivo/plivo-node/tree/v4.56.0) (2023-08-25) **Feature - Added New Param 'carrier_fees', 'carrier_fees_rate', 'destination_network' in Get Message and List Message APIs** - Added new params on message get and list response diff --git a/package-lock.json b/package-lock.json index 9a025466..c978d08f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.56.0", + "version": "4.56.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 86abd8f2..aaf37b3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.56.0", + "version": "4.56.1", "description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML", "homepage": "https://github.com/plivo/plivo-node", "files": [ diff --git a/types/resources/maskingSession.d.ts b/types/resources/maskingSession.d.ts index c5b277a5..e5c235a2 100644 --- a/types/resources/maskingSession.d.ts +++ b/types/resources/maskingSession.d.ts @@ -141,7 +141,7 @@ export class MaskingSessionInterface extends PlivoResourceInterface { * @returns {Promise} - Resolves to a PlivoGenericResponse object * @throws {Error} - Throws an error if the list masking sessions request fails */ - listMaskingSession(params ? : {}): Promise < ListMaskingSessionResponse > ; + listMaskingSession(params ? : {}): Promise < ListMaskingSessionResponse > ; /** * Get a masking session @@ -159,4 +159,8 @@ export class MaskingSessionInterface extends PlivoResourceInterface { * @fail {Error} returns Error */ deleteMaskingSession(sessionUuid: string): Promise < DeleteMaskingSessionResponse > ; -} \ No newline at end of file +} +import { + PlivoResource, + PlivoResourceInterface +} from "../base"; From 85882d8a6058f747fd2cb033ccab89db8343171f Mon Sep 17 00:00:00 2001 From: Prashant Pandey Date: Thu, 31 Aug 2023 18:44:19 +0530 Subject: [PATCH 2/3] VT-6446: Fix for "Unable to build TypeScript on Version" --- CHANGELOG.md | 5 ++++- package-lock.json | 2 +- types/resources/maskingSession.d.ts | 8 ++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1e419e4..53007640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ # Change Log +## [v4.56.2](https://github.com/plivo/plivo-node/tree/v4.56.2) (2023-09-01) +**Bug fix - Unable to build TypeScript on Version 4.56.0** +- Fix TypeScript build error + ## [v4.56.1](https://github.com/plivo/plivo-node/tree/v4.56.1) (2023-09-01) **Bug Fix - unrent powerpack number** - Fix for Error: invalid powerpack number delete request (400) - Unrent Powerpack Number - ## [v4.56.0](https://github.com/plivo/plivo-node/tree/v4.56.0) (2023-08-25) **Feature - Added New Param 'carrier_fees', 'carrier_fees_rate', 'destination_network' in Get Message and List Message APIs** - Added new params on message get and list response diff --git a/package-lock.json b/package-lock.json index 9a025466..c978d08f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.56.0", + "version": "4.56.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/types/resources/maskingSession.d.ts b/types/resources/maskingSession.d.ts index c5b277a5..e5c235a2 100644 --- a/types/resources/maskingSession.d.ts +++ b/types/resources/maskingSession.d.ts @@ -141,7 +141,7 @@ export class MaskingSessionInterface extends PlivoResourceInterface { * @returns {Promise} - Resolves to a PlivoGenericResponse object * @throws {Error} - Throws an error if the list masking sessions request fails */ - listMaskingSession(params ? : {}): Promise < ListMaskingSessionResponse > ; + listMaskingSession(params ? : {}): Promise < ListMaskingSessionResponse > ; /** * Get a masking session @@ -159,4 +159,8 @@ export class MaskingSessionInterface extends PlivoResourceInterface { * @fail {Error} returns Error */ deleteMaskingSession(sessionUuid: string): Promise < DeleteMaskingSessionResponse > ; -} \ No newline at end of file +} +import { + PlivoResource, + PlivoResourceInterface +} from "../base"; From 2f82fa4dbd9e3b46ab154668f1e901129094525c Mon Sep 17 00:00:00 2001 From: Prashant Pandey Date: Fri, 1 Sep 2023 12:38:48 +0530 Subject: [PATCH 3/3] VT-6446: Update version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index c978d08f..f34cbc33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.56.1", + "version": "4.56.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index aaf37b3d..f79c43f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.56.1", + "version": "4.56.2", "description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML", "homepage": "https://github.com/plivo/plivo-node", "files": [