mirror of
https://github.com/status-im/status-web.git
synced 2025-01-21 01:49:37 +00:00
Use MessageV1 type
This commit is contained in:
parent
fc0e2305e8
commit
89e3e85bf4
@ -18,7 +18,8 @@ import { handleWakuMessage } from './community/handle-waku-message'
|
||||
import { LocalStorage } from './storage'
|
||||
|
||||
import type { Storage } from './storage'
|
||||
import type { Message as WakuMessage, WakuFull } from 'js-waku/lib/interfaces'
|
||||
import type { WakuFull } from 'js-waku/lib/interfaces'
|
||||
import type { MessageV1 as WakuMessage } from 'js-waku/lib/waku_message/version_1'
|
||||
|
||||
const THROWAWAY_ACCOUNT_STORAGE_KEY = 'throwaway_account'
|
||||
|
||||
|
@ -20,7 +20,7 @@ import { mapChatMessage } from './map-chat-message'
|
||||
import type { Account } from '../account'
|
||||
import type { Client } from '../client'
|
||||
import type { Community } from './community'
|
||||
import type { WakuMessage } from 'js-waku'
|
||||
import type { MessageV1 as WakuMessage } from 'js-waku/lib/waku_message/version_1'
|
||||
|
||||
export function handleWakuMessage(
|
||||
wakuMessage: WakuMessage,
|
||||
|
Loading…
x
Reference in New Issue
Block a user