File tree 3 files changed +19
-15
lines changed
3 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -33,4 +33,7 @@ node_modules
33
33
34
34
dist
35
35
36
- docs
36
+ docs
37
+
38
+ package-lock.json
39
+ yarn.lock
Original file line number Diff line number Diff line change 44
44
"devDependencies" : {
45
45
"aegir" : " ^11.0.2" ,
46
46
"benchmark" : " ^2.1.4" ,
47
- "chai" : " ^4.1.0 " ,
47
+ "chai" : " ^4.1.2 " ,
48
48
"dirty-chai" : " ^2.0.1" ,
49
- "pre-commit" : " ^1.2.2" ,
49
+ "libp2p" : " ~0.12.3" ,
50
+ "libp2p-secio" : " ~0.8.1" ,
51
+ "libp2p-spdy" : " ~0.11.0" ,
52
+ "libp2p-tcp" : " ~0.11.0" ,
50
53
"lodash.times" : " ^4.3.2" ,
51
- "libp2p" : " ~0.11.0" ,
52
- "libp2p-secio" : " ~0.7.1" ,
53
- "libp2p-spdy" : " ~0.10.6" ,
54
- "libp2p-tcp" : " ~0.10.2" ,
55
- "peer-id" : " ~0.9.0" ,
56
- "peer-info" : " ~0.10.0"
54
+ "peer-id" : " ~0.10.0" ,
55
+ "peer-info" : " ~0.11.0" ,
56
+ "pre-commit" : " ^1.2.2"
57
57
},
58
58
"dependencies" : {
59
59
"async" : " ^2.5.0" ,
60
- "debug" : " ^2.6.8 " ,
60
+ "debug" : " ^3.0.1 " ,
61
61
"length-prefixed-stream" : " ^1.5.1" ,
62
- "libp2p-crypto" : " ~0.9.4 " ,
62
+ "libp2p-crypto" : " ~0.10.3 " ,
63
63
"lodash.values" : " ^4.3.0" ,
64
+ "protons" : " ^1.0.0" ,
64
65
"pull-pushable" : " ^2.1.1" ,
65
66
"time-cache" : " ~0.3.0"
66
67
},
74
75
" greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>" ,
75
76
76
77
]
77
- }
78
+ }
Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
- const protobuf = require ( 'protocol-buffers ' )
3
+ const protons = require ( 'protons ' )
4
4
5
- const rpcProto = protobuf ( require ( './rpc.proto.js' ) )
6
- const topicDescriptorProto = protobuf ( require ( './topic-descriptor.proto.js' ) )
5
+ const rpcProto = protons ( require ( './rpc.proto.js' ) )
6
+ const topicDescriptorProto = protons ( require ( './topic-descriptor.proto.js' ) )
7
7
8
8
exports = module . exports
9
9
exports . rpc = rpcProto
You can’t perform that action at this time.
0 commit comments