@clipboard-health/notifications 2.6.37 → 2.6.38

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -140,7 +140,7 @@ Send notifications through third-party providers.
140
140
  } as const;
141
141
  ```
142
142
 
143
- 3. Build your `SerializableTriggerChunkedRequest` and enqueue your job:
143
+ 3. Build your `SerializableTriggerChunkedRequest` and enqueue your job. Think of queuing `TriggerNotificationJob` as a function call to send notifications in a best practices way. You should NOT call `triggerChunked` directly. If, for example, your notification is delayed, create a background job that runs in the future, does any necessary checks to ensure you should notify, and then queue `TriggerNotificationJob`.
144
144
 
145
145
  ```ts
146
146
  import { type BackgroundJobsAdapter } from "@clipboard-health/background-jobs-adapter";
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@clipboard-health/notifications",
3
3
  "description": "Send notifications through third-party providers.",
4
- "version": "2.6.37",
4
+ "version": "2.6.38",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "dependencies": {
7
- "@clipboard-health/background-jobs-adapter": "1.6.37",
8
- "@clipboard-health/phone-number": "1.6.37",
9
- "@clipboard-health/util-ts": "4.6.37",
7
+ "@clipboard-health/background-jobs-adapter": "1.6.38",
8
+ "@clipboard-health/phone-number": "1.6.38",
9
+ "@clipboard-health/util-ts": "4.6.38",
10
10
  "@knocklabs/node": "1.27.0",
11
11
  "tslib": "2.8.1"
12
12
  },
13
13
  "devDependencies": {
14
- "@clipboard-health/testing-core": "1.6.37",
14
+ "@clipboard-health/testing-core": "1.6.38",
15
15
  "type-fest": "5.3.1"
16
16
  },
17
17
  "keywords": [],