Skip to content

Commit 3687e3e

Browse files
committed
Update README.md
1 parent d45bdca commit 3687e3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ const resp = await loops.sendEvent({
329329
signupDate: "2024-03-21T10:09:23Z",
330330
},
331331
mailingLists: {
332-
"list_123": true,
333-
"list_456": false
334-
}
332+
list_123: true,
333+
list_456: false,
334+
},
335335
});
336336

337337
// In this case with both email and userId present, the system will look for a contact with either a
@@ -489,6 +489,7 @@ If your account has no custom fields, an empty list will be returned.
489489

490490
## Version history
491491

492+
- `v2.1.1` (Jun 20, 2024) - Added support for mailing lists in [`createContact()`](#createcontact), [`updateContact()`](#updatecontact) and [`sendEvent()`](#sendevent).
492493
- `v2.1.0` (Jun 19, 2024) - Added support for new [List mailing lists](#getmailinglists) endpoint.
493494
- `v2.0.0` (Apr 19, 2024)
494495
- Added `userId` as a parameter to [`findContact()`](#findcontact). This includes a breaking change for the `findContact()` parameters.

0 commit comments

Comments
 (0)