mirror of
https://github.com/kayleegeorge/zk-chat.git
synced 2026-01-09 14:18:03 -05:00
update
This commit is contained in:
3
dist/index.d.ts
vendored
3
dist/index.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
import ChatApp from './types/ChatApp';
|
||||
import ChatRoom from './types/ChatRoom';
|
||||
import RLN from './types/RLN';
|
||||
export { ChatApp, ChatRoom, RLN };
|
||||
import { RoomType } from './types/types/ChatRoomOptions';
|
||||
export { ChatApp, ChatRoom, RLN, RoomType };
|
||||
|
||||
3504
dist/index.js
vendored
3504
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
4
dist/index.mjs
vendored
4
dist/index.mjs
vendored
@@ -227879,7 +227879,7 @@ function createWakuNode() {
|
||||
return [4 /*yield*/, waitForRemotePeer(waku, [Protocols.Store, Protocols.Filter, Protocols.LightPush])];
|
||||
case 3:
|
||||
_a.sent();
|
||||
console.log('success!');
|
||||
console.log('success creating waku node!');
|
||||
return [2 /*return*/, waku];
|
||||
case 4:
|
||||
e_1 = _a.sent();
|
||||
@@ -228472,4 +228472,4 @@ var ChatApp = /** @class */ (function () {
|
||||
return ChatApp;
|
||||
}());
|
||||
|
||||
export { ChatApp, ChatRoom, RLN };
|
||||
export { ChatApp, ChatRoom, RLN, RoomType };
|
||||
|
||||
5
dist/types/index.d.ts
vendored
Normal file
5
dist/types/index.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import ChatApp from './ChatApp';
|
||||
import ChatRoom from './ChatRoom';
|
||||
import RLN from './RLN';
|
||||
import { RoomType } from './types/ChatRoomOptions';
|
||||
export { ChatApp, ChatRoom, RLN, RoomType };
|
||||
@@ -80,7 +80,6 @@
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"hardhat": "^2.12.4",
|
||||
"jest": "^29.3.1",
|
||||
"js-waku": "^0.30.0",
|
||||
"prettier": "^2.8.1",
|
||||
"protons": "^7.0.2",
|
||||
"rollup": "^3.15.0",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import ChatApp from './ChatApp'
|
||||
import ChatRoom from './ChatRoom'
|
||||
import RLN from './RLN'
|
||||
import { RoomType } from './types/ChatRoomOptions'
|
||||
|
||||
export { ChatApp, ChatRoom, RLN }
|
||||
export { ChatApp, ChatRoom, RLN, RoomType }
|
||||
|
||||
@@ -10,7 +10,7 @@ export async function createWakuNode(): Promise<WakuLight | undefined> {
|
||||
await waku.start()
|
||||
await waitForRemotePeer(waku,
|
||||
[Protocols.Store, Protocols.Filter, Protocols.LightPush])
|
||||
console.log('success!')
|
||||
console.log('success creating waku node!')
|
||||
return waku
|
||||
} catch (e) {
|
||||
console.error('Issue creating waku', e)
|
||||
|
||||
Reference in New Issue
Block a user