build(eth-pm): bump js-waku to next

This commit is contained in:
fryorcraken.eth 2022-09-05 15:26:16 +10:00
parent aabe28a348
commit bad1ad9e48
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 169 additions and 538 deletions

View File

@ -10,7 +10,7 @@
"@material-ui/icons": "^4.11.2",
"ethers": "5.7.0",
"fontsource-roboto": "^4.0.0",
"js-waku": "0.24.0-aa40959",
"js-waku": "0.24.0-158b789",
"protobufjs": "^7.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,5 @@
import { Dispatch, SetStateAction } from "react";
import {
Protocols,
utils,
waitForRemotePeer,
Waku,
WakuMessage,
} from "js-waku";
import { Protocols, utils, Waku, WakuMessage } from "js-waku";
import { PrivateMessage, PublicKeyMessage } from "./messaging/wire";
import { validatePublicKeyMessage } from "./crypto";
import { Message } from "./messaging/Messages";
@ -16,6 +10,7 @@ import {
getPredefinedBootstrapNodes,
Fleet,
} from "js-waku/lib/predefined_bootstrap_nodes";
import { waitForRemotePeer } from "js-waku/lib/wait_for_remote_peer";
export const PublicKeyContentTopic = "/eth-pm/1/public-key/proto";
export const PrivateMessageContentTopic = "/eth-pm/1/private-message/proto";