@clipboard-health/notifications 0.8.3 → 0.8.4
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipboard-health/notifications",
|
|
3
3
|
"description": "Send notifications through third-party providers.",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.4",
|
|
5
5
|
"bugs": "https://github.com/ClipboardHealth/core-utils/issues",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@clipboard-health/background-jobs-adapter": "0.3.2",
|
|
@@ -14,7 +14,7 @@ export interface IdempotencyKey {
|
|
|
14
14
|
/**
|
|
15
15
|
* If a resource triggered your workflow, include its unique ID.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* Note: `workflowKey`, `recipients`, and `workplaceId` (if it exists in the trigger body) are
|
|
18
18
|
* included in the idempotency key automatically.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
@@ -31,7 +31,7 @@ export interface NotificationEnqueueData {
|
|
|
31
31
|
* If you retry a request with the same idempotency key within 24 hours, the client returns the same
|
|
32
32
|
* response as the original request.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
34
|
+
* Note: `workflowKey`, `recipients`, and `workplaceId` (if it exists in the trigger body) are
|
|
35
35
|
* included in the idempotency key automatically.
|
|
36
36
|
*
|
|
37
37
|
* We provide this class because idempotency keys can be difficult to use correctly. If the key
|