From 406bf3a5dfee4615c4097c33f3b6ebb98eef1053 Mon Sep 17 00:00:00 2001 From: cloudant-sdks-automation <71659186+cloudant-sdks-automation@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:25:30 +0000 Subject: [PATCH] build(generated): update generator to 3.81.0 Generated SDK source code using: - Generator version 3.81.0 - Specification version 1.0.0-dev0.1.5 - Automation (cloudant-sdks) version 9b560e4 Signed-off-by: cloudant-sdks-automation <71659186+cloudant-sdks-automation@users.noreply.github.com> --- README.md | 36 +++---- cloudant/v1.ts | 273 ++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 275 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index b15f85d74..0e1cbc286 100644 --- a/README.md +++ b/README.md @@ -1245,7 +1245,7 @@ const client = CloudantV1.newInstance({}); // Start from a previously persisted seq // Normally this would be read by the app from persistent storage // e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc() -const previouslyPersistedSeq = '3-g1AG3...' +const previouslyPersistedSeq = '3-g1AG3...'; const changesParams: PostChangesParams = { db: 'example', since: previouslyPersistedSeq @@ -1259,10 +1259,10 @@ const destinationStream = new Writable({ // do something with change item console.log(changesItem.id); for (const change of changesItem.changes) { - console.log(change.rev) + console.log(change.rev); } // when change item processing is complete app can store seq - const seq = changesItem.seq + const seq = changesItem.seq; // write seq to persistent storage for use as since if required to resume later // e.g. yourAppPersistenceWriteFunc() callback(); @@ -1294,7 +1294,7 @@ const client = CloudantV1.newInstance(); // Start from a previously persisted seq // Normally this would be read by the app from persistent storage // e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc() -const previouslyPersistedSeq = '3-g1AG3...' +const previouslyPersistedSeq = '3-g1AG3...'; const changesParams = { db: 'example', since: previouslyPersistedSeq @@ -1308,10 +1308,10 @@ const destinationStream = new Writable({ // do something with change item console.log(changesItem.id); for (const change of changesItem.changes) { - console.log(change.rev) + console.log(change.rev); } // when change item processing is complete app can store seq - const seq = changesItem.seq + const seq = changesItem.seq; // write seq to persistent storage for use as since if required to resume later // e.g. yourAppPersistenceWriteFunc() callback(); @@ -1346,7 +1346,7 @@ const client = CloudantV1.newInstance({}); // Start from a previously persisted seq // Normally this would be read by the app from persistent storage // e.g. previouslyPersistedSeq = yourAppPersistenceReadFunc() -const previouslyPersistedSeq = '3-g1AG3...' +const previouslyPersistedSeq = '3-g1AG3...'; const changesParams: PostChangesParams = { db: 'example', since: previouslyPersistedSeq @@ -1360,10 +1360,10 @@ const destinationStream = new Writable({ // do something with change item console.log(changesItem.id); for (const change of changesItem.changes) { - console.log(change.rev) + console.log(change.rev); } // when change item processing is complete app can store seq - const seq = changesItem.seq + const seq = changesItem.seq; // write seq to persistent storage for use as since if required to resume later // e.g. yourAppPersistenceWriteFunc() callback(); @@ -1387,12 +1387,12 @@ async function getChangesFromFollower(changesItemsStream: Stream