mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-07 15:23:06 +00:00
migrate store-react-chat
This commit is contained in:
parent
954416f245
commit
d779f7365d
4583
examples/store-reactjs-chat/package-lock.json
generated
4583
examples/store-reactjs-chat/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,9 +7,7 @@
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@testing-library/user-event": "^14.4.3",
|
||||
"@waku/byte-utils": "^0.0.2",
|
||||
"@waku/core": "^0.0.10",
|
||||
"@waku/create": "^0.0.4",
|
||||
"@waku/sdk": "^0.0.16",
|
||||
"protobufjs": "^7.1.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
|
||||
@ -1,8 +1,11 @@
|
||||
import * as React from "react";
|
||||
import protobuf from "protobufjs";
|
||||
import { createLightNode } from "@waku/create";
|
||||
import { waitForRemotePeer, createDecoder } from "@waku/core";
|
||||
import { bytesToUtf8 } from "@waku/byte-utils";
|
||||
import {
|
||||
createLightNode,
|
||||
waitForRemotePeer,
|
||||
createDecoder,
|
||||
bytesToUtf8,
|
||||
} from "@waku/sdk";
|
||||
|
||||
const ContentTopic = "/toy-chat/2/huilong/proto";
|
||||
const decoder = createDecoder(ContentTopic);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user