Skip to content

Commit

Permalink
Chore/bump notify 0 16 5 (#418)
Browse files Browse the repository at this point in the history
* chore: bump notify client 0.16.5

* chore: fix type annotation

* chore: change undefined to null
  • Loading branch information
devceline authored Jan 25, 2024
1 parent 9b7787a commit a8f74c5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@sentry/react": "^7.93.0",
"@walletconnect/core": "2.11.0",
"@walletconnect/identity-keys": "^1.0.1",
"@walletconnect/notify-client": "^0.16.4",
"@walletconnect/notify-client": "^0.16.5",
"@walletconnect/notify-message-decrypter": "^0.1.0",
"@web3modal/wagmi": "3.5.6",
"classnames": "^2.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface IAppNotification {
message: string
isRead: boolean
timestamp: number
url?: string
url: string | null
}
interface IAppNotificationProps {
notification: IAppNotification
Expand All @@ -30,7 +30,7 @@ interface IAppNotificationProps {

const AppNotificationItemLink: React.FC<{
children: React.ReactNode
url?: string
url: string | null
className?: string
}> = ({ children, url, ...props }) => {
if (!url) return <div {...props}>{children}</div>
Expand Down
6 changes: 3 additions & 3 deletions src/reducers/notifications.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NotifyClientTypes } from '@walletconnect/notify-client'

export interface TopicNotificationsState {
fullNotifications: NotifyClientTypes.NotifyMessage[]
fullNotifications: NotifyClientTypes.NotifyNotification[]
existingIds: Set<string>
hasMore: boolean
}
Expand All @@ -13,13 +13,13 @@ export interface NotificationsState {
export type NotificationsActions =
| {
type: 'FETCH_NOTIFICATIONS'
notifications: NotifyClientTypes.NotifyMessage[]
notifications: NotifyClientTypes.NotifyNotification[]
topic: string
hasMore: boolean
}
| {
type: 'UNSHIFT_NEW_NOTIFICATIONS'
notifications: NotifyClientTypes.NotifyMessage[]
notifications: NotifyClientTypes.NotifyNotification[]
topic: string
}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3416,10 +3416,10 @@
"@walletconnect/modal-core" "2.6.2"
"@walletconnect/modal-ui" "2.6.2"

"@walletconnect/notify-client@^0.16.4":
version "0.16.4"
resolved "https://registry.yarnpkg.com/@walletconnect/notify-client/-/notify-client-0.16.4.tgz#d2f1b55867cbd9793a6dee5c1e4554ad48055af3"
integrity sha512-+Y4CRG//oYTd3fB4qRnCyGx8TFv1+b5lW0LHCD8t/X+fS3rU7A03VPRoJgJwedrmyhjWh1Leh3VnXinCtTSNHw==
"@walletconnect/notify-client@^0.16.5":
version "0.16.5"
resolved "https://registry.yarnpkg.com/@walletconnect/notify-client/-/notify-client-0.16.5.tgz#17605e6ff44a5d59e7a2cc2b515309af51a736d0"
integrity sha512-u0oJYlRmBHW6KiFLyAvpzyKq3ZDwkeK5tuYSy9HQOG+bFYxAyIJ7O0HUpCbojhq+aRFzPAP5FeNUXkhKxvPGPA==
dependencies:
"@noble/ed25519" "^1.7.3"
"@walletconnect/cacao" "1.0.2"
Expand Down

1 comment on commit a8f74c5

@vercel
Copy link

@vercel vercel bot commented on a8f74c5 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.