Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 12 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | 1 | var protobuf = require("protobufjs"); |
|
2 | |||
3 | 1 | var root = protobuf.Root.fromJSON(require("./protofile.json")); |
|
4 | |||
5 | 1 | module.exports = { |
|
6 | Output: root.lookupType("Output"), |
||
7 | PaymentDetails: root.lookupType("PaymentDetails"), |
||
8 | PaymentRequest: root.lookupType("PaymentRequest"), |
||
9 | Payment: root.lookupType("Payment"), |
||
10 | PaymentACK: root.lookupType("PaymentACK"), |
||
11 | X509Certificates: root.lookupType("X509Certificates") |
||
12 | }; |
||
13 |