This commit is contained in:
Kaylee George
2023-04-10 01:19:33 -07:00
parent 4f37a98033
commit 06bc80bb1b
7 changed files with 1764 additions and 1758 deletions

3
dist/index.d.ts vendored
View File

@@ -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

File diff suppressed because it is too large Load Diff

4
dist/index.mjs vendored
View File

@@ -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
View 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 };

View File

@@ -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",

View File

@@ -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 }

View File

@@ -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)