Skip to content

Commit

Permalink
Merge pull request #14 from HDegroote/npm-deps
Browse files Browse the repository at this point in the history
Use npm deps for libNet, libUtils and libKeys
  • Loading branch information
prdn authored Apr 8, 2024
2 parents ab9d258 + 080c6e7 commit 6be8d93
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const HyperDHT = require('hyperdht')
const net = require('net')
const argv = require('minimist')(process.argv.slice(2))
const b4a = require('b4a')
const libNet = require('@hyper-cmd/lib-net')
const libUtils = require('@hyper-cmd/lib-utils')
const libKeys = require('@hyper-cmd/lib-keys')
const libNet = require('hyper-cmd-lib-net')
const libUtils = require('hyper-cmd-lib-utils')
const libKeys = require('hyper-cmd-lib-keys')
const goodbye = require('graceful-goodbye')
const connPiper = libNet.connPiper

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "TCP proxy over Hyperswarm!",
"main": "index.js",
"dependencies": {
"@hyper-cmd/lib-keys": "https://github.com/holepunchto/hyper-cmd-lib-keys#v0.0.2",
"@hyper-cmd/lib-net": "https://github.com/holepunchto/hyper-cmd-lib-net#v0.0.8",
"@hyper-cmd/lib-utils": "https://github.com/holepunchto/hyper-cmd-lib-utils#v0.0.2",
"b4a": "^1.6.4",
"graceful-goodbye": "^1.3.0",
"hyper-cmd-lib-keys": "^0.1.0",
"hyper-cmd-lib-net": "^0.1.0",
"hyper-cmd-lib-utils": "^0.1.0",
"hyperdht": "^6.14.0",
"minimist": "^1.2.5"
},
Expand Down
6 changes: 3 additions & 3 deletions pub.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
const HyperDHT = require('hyperdht')
const net = require('net')
const argv = require('minimist')(process.argv.slice(2))
const libNet = require('@hyper-cmd/lib-net')
const libUtils = require('@hyper-cmd/lib-utils')
const libKeys = require('@hyper-cmd/lib-keys')
const libNet = require('hyper-cmd-lib-net')
const libUtils = require('hyper-cmd-lib-utils')
const libKeys = require('hyper-cmd-lib-keys')
const goodbye = require('graceful-goodbye')
const connRemoteCtrl = libNet.connRemoteCtrl

Expand Down
6 changes: 3 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const HyperDHT = require('hyperdht')
const net = require('net')
const b4a = require('b4a')
const argv = require('minimist')(process.argv.slice(2))
const libNet = require('@hyper-cmd/lib-net')
const libUtils = require('@hyper-cmd/lib-utils')
const libKeys = require('@hyper-cmd/lib-keys')
const libNet = require('hyper-cmd-lib-net')
const libUtils = require('hyper-cmd-lib-utils')
const libKeys = require('hyper-cmd-lib-keys')
const goodbye = require('graceful-goodbye')
const connPiper = libNet.connPiper

Expand Down

0 comments on commit 6be8d93

Please sign in to comment.