mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-06-06 03:49:29 +00:00
Change content topic
This commit is contained in:
parent
9692b4af72
commit
0673edacb5
@ -6,7 +6,7 @@ import { Message } from './messaging/Messages';
|
|||||||
import { bufToHex, equalByteArrays } from 'js-waku/lib/utils';
|
import { bufToHex, equalByteArrays } from 'js-waku/lib/utils';
|
||||||
|
|
||||||
export const PublicKeyContentTopic = '/eth-pm/1/public-key/proto';
|
export const PublicKeyContentTopic = '/eth-pm/1/public-key/proto';
|
||||||
export const DirectMessageContentTopic = '/eth-pm/1/direct-message/proto';
|
export const DirectMessageContentTopic = '/eth-pm/1/private-message/proto';
|
||||||
|
|
||||||
export async function initWaku(): Promise<Waku> {
|
export async function initWaku(): Promise<Waku> {
|
||||||
const waku = await Waku.create({ bootstrap: true });
|
const waku = await Waku.create({ bootstrap: true });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user