Skip to content

Commit a08149b

Browse files
committed
Update readme
1 parent 35abbb7 commit a08149b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.MD

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ if you intend to sync with a crm, you might want to start [with this higher leve
88
## TypeScript types
99

1010
- `ActionMessageV2` - a type describing message with an action data
11-
- `EventMessageV2` - a type describing message with an event data
11+
- `EventMessageV2` - a type describing message with an event supporter email_status changed data
12+
- `CampaignUpdated` - a type describing message with an event campaign updated data
1213

1314
## Functions
1415

@@ -20,7 +21,7 @@ if you intend to sync with a crm, you might want to start [with this higher leve
2021
- `keyStore` - decryption key store (see `@proca/crypto` module) if PII of supporters is to be decrypted
2122

2223
- Callback signature is: `async callback(action : ActionMessageV2 | EventMessageV2)`
23-
24+
2425
- it returns boolean (or {processed:boolean{) if false, the message is nacked. if it's the first time the message has been processed, it is directly requeued, otherwise, it's dropped (pushed in the dead-letter queue and replayed later)
2526

2627
- if this function throw an error, we are going to close the connection

0 commit comments

Comments
 (0)