Skip to content

Commit 85c218a

Browse files
fix(cc): add deprecation warning for Compare and Comply
1 parent 73eb8b2 commit 85c218a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compare-comply/v1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ class CompareComplyV1 extends BaseService {
5353
* @returns {CompareComplyV1}
5454
*/
5555
constructor(options: UserOptions) {
56+
console.warn(`On 30 November 2021, Compare and Comply will no longer be available.
57+
For more information, see https://github.com/watson-developer-cloud/node-sdk#compare-and-comply-deprecation`);
58+
5659
options = options || {};
5760

5861
const requiredParams = ['version'];

0 commit comments

Comments
 (0)