Skip to content

Commit

Permalink
move out rpc,client into sep modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jun 20, 2020
1 parent a17dae8 commit 2eacbea
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 4,359 deletions.
606 changes: 1 addition & 605 deletions client.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const Server = require('./server')
const Client = require('./client')

module.exports = {
Server,
Client
}
2 changes: 1 addition & 1 deletion lib/db.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const hypertrie = require('hypertrie')
const { NanoresourcePromise: Nanoresource } = require('nanoresource-promise/emitter')

const { NetworkConfiguration } = require('./messages')
const { NetworkConfiguration } = require('@hyperspace/rpc/messages')

const INTERNAL_NAMESPACE = '@hyperspace:internal'
const NETWORK_PREFIX = 'network'
Expand Down
Loading

0 comments on commit 2eacbea

Please sign in to comment.