Skip to content

Commit

Permalink
Remove node_datachannel references
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Nov 13, 2024
1 parent ba8934a commit 8ff55c5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 28 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ c4/workspace.json
.vscode
packages/.DS_Store
.idea
*.log
packages/backend-bundle/deps/node_datachannel.node
*.log
20 changes: 0 additions & 20 deletions packages/backend/node_datachannel.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions packages/backend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ const webpackConfig = (env) => {
/node_modules[\/\\]classic-level[\/\\]binding.js/,
root('classic_level.cjs')
),
new webpack.NormalModuleReplacementPlugin(
/node_modules[\/\\]node-datachannel[\/\\]dist[\/\\]cjs[\/\\]lib[\/\\]node-datachannel.cjs/,
root('node_datachannel.cjs')
),
new webpack.NormalModuleReplacementPlugin(
/node_modules[\/\\]ipfs-utils[\/\\]src[\/\\]http[\/\\]fetch.js/,
'fetch.node.js'
Expand Down
2 changes: 0 additions & 2 deletions packages/e2e-tests/src/tests/multipleClients.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ describe('Multiple Clients', () => {
await settingsModal.switchTab('invite')
await sleep(2000)
const invitationLinkElement = await settingsModal.invitationLink()
await sleep(2000)
invitationLink = await invitationLinkElement.getText()
await sleep(2000)
expect(invitationLink).not.toBeUndefined()
logger.info('Received invitation link:', invitationLink)
logger.warn('closing invite tab')
Expand Down
Binary file not shown.

0 comments on commit 8ff55c5

Please sign in to comment.