Skip to content

Commit 7384551

Browse files
feat: Update changelog, read me
feat: Update changelog
2 parents 0cdb868 + fd55bd9 commit 7384551

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 1.2.1
6+
7+
### Fixed
8+
9+
- Fixed styles for tab filters
10+
- Restricted redundant verify token calls to avoid unnecessary network requests and enhance overall efficiency.
11+
512
## 1.2.0
613

714
### Added

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ function MyComponent() {
265265

266266
Functions | Parameters | Type | Description |
267267
----------|------------|-------|------------|
268-
markAsReadByDate | startDate | ISO date string | Sets the read status of notifications to true until the given date |
268+
markAsReadByDate | options | { startDate: ISO date string, <br>isRead?: boolean } | Updates the read status of notifications. <br>startDate- To set the read status of notifications up to the specified date. <br> isRead- Filters notifications based on their read status. |
269269
markAsReadById | id | string | Set read status of a notification to true |
270270
deleteById | id | string | Delete a notification by id |
271-
deleteByDate | startDate | ISO date string | Delete all notifications until given date |
272-
markAllAsViewed | startDate | ISO date string |Sets the viewed status of notifications to true until the given date |
271+
deleteByDate | options | { startDate: ISO date string, <br>isRead?: boolean } | Delete all notifications until given start date. <br>startDate- To specify the date until which notifications are deleted. <br> isRead- Filters notifications based on their read status. |
272+
markAllAsViewed | untilDate | ISO date string |Sets the viewed status of notifications to true until the given date |
273273

274274

275275
## Example

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"react": "^18.2.0",
77
"react-dom": "^18.2.0",
88
"react-scripts": "^5.0.1",
9-
"@sirenapp/react-inbox": "^1.2.0"
9+
"@sirenapp/react-inbox": "^1.2.1"
1010
},
1111
"scripts": {
1212
"dev": "PORT=9902 react-scripts start",

0 commit comments

Comments
 (0)