@wokuapp/sdk 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -411,9 +411,13 @@ for (const tool of metrics.tools) {
411
411
  }
412
412
 
413
413
  // WhatsApp numbers alerted when a comment on any tool of the folder is an
414
- // improvement (wokus, NPS, CSAT and CES). The list replaces the previous one.
414
+ // improvement (wokus, NPS, CSAT and CES). `allReviews: true` alerts every
415
+ // review, recognitions too. The list replaces the previous one.
415
416
  await woku.folders.update(folder.id, {
416
- whatsappAlertRecipients: [{ whatsappId: '56912345678', name: 'Ana' }],
417
+ whatsappAlertRecipients: [
418
+ { whatsappId: '56912345678', name: 'Ana' },
419
+ { whatsappId: '56987654321', name: 'Luis', allReviews: true },
420
+ ],
417
421
  });
418
422
 
419
423
  // Deleting a folder never deletes its content: it moves up to the parent.
package/dist/index.cjs CHANGED
@@ -38,7 +38,7 @@ var FollowUps = class {
38
38
  };
39
39
 
40
40
  // package.json
41
- var version = "0.6.0";
41
+ var version = "0.7.0";
42
42
 
43
43
  // src/core/errors.ts
44
44
  var WokuError = class extends Error {