• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

proximax-storage / tsjs-xpx-chain-sdk / 8778928347

22 Apr 2024 05:20AM UTC coverage: 67.306% (-3.7%) from 71.021%
8778928347

push

github

web-flow
Merge pull request #172 from proximax-storage/next

Add new transactions and new node API fetch

1207 of 2739 branches covered (44.07%)

Branch coverage included in aggregate %.

359 of 1167 new or added lines in 63 files covered. (30.76%)

2 existing lines in 1 file now uncovered.

8977 of 12392 relevant lines covered (72.44%)

140180.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/infrastructure/model/nodePeerInfoDTO.ts
1
/*
2
 * Copyright 2024 ProximaX
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
export class NodePeerInfoDTO {
1✔
18
    publicKey: string;
19
    port: number;
20
    networkIdentifier: number;
21
    version: number;
22
    roles: number;
23
    host: string;
24
    friendlyName: string;
25

26
    static discriminator: string | undefined = undefined;
1✔
27

28
    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1✔
29
        {
30
            "name": "publicKey",
31
            "baseName": "publicKey",
32
            "type": "string"
33
        },
34
        {
35
            "name": "port",
36
            "baseName": "port",
37
            "type": "number"
38
        },
39
        {
40
            "name": "networkIdentifier",
41
            "baseName": "networkIdentifier",
42
            "type": "number"
43
        },
44
        {
45
            "name": "version",
46
            "baseName": "version",
47
            "type": "number"
48
        },
49
        {
50
            "name": "roles",
51
            "baseName": "roles",
52
            "type": "number"
53
        },
54
        {
55
            "name": "host",
56
            "baseName": "host",
57
            "type": "string"
58
        },
59
        {
60
            "name": "friendlyName",
61
            "baseName": "friendlyName",
62
            "type": "string"
63
        }
64
    ];
65

66
    static getAttributeTypeMap() {
NEW
67
        return NodePeerInfoDTO.attributeTypeMap;
×
68
    }
69
}
70

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc