@taquito/ledger-signer 14.0.0 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/coverage/clover.xml +181 -0
- package/coverage/coverage-final.json +5 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +79 -0
- package/coverage/lcov-report/error.ts.html +176 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +156 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +170 -0
- package/coverage/lcov-report/taquito-ledger-signer.ts.html +839 -0
- package/coverage/lcov-report/utils.ts.html +470 -0
- package/coverage/lcov-report/version.ts.html +98 -0
- package/coverage/lcov.info +290 -0
- package/dist/lib/taquito-ledger-signer.js +14 -4
- package/dist/lib/taquito-ledger-signer.js.map +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/version.js +2 -2
- package/dist/taquito-ledger-signer.es6.js +17 -7
- package/dist/taquito-ledger-signer.es6.js.map +1 -1
- package/dist/taquito-ledger-signer.umd.js +17 -7
- package/dist/taquito-ledger-signer.umd.js.map +1 -1
- package/dist/types/taquito-ledger-signer.d.ts +10 -2
- package/package.json +7 -6
- package/src/taquito-ledger-signer.ts +18 -4
- package/src/utils.ts +1 -1
- package/src/version.ts +2 -2
- package/test/taquito-ledger-signer.spec.ts +30 -0
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ The constructor of the `LedgerSigner` class takes three other optional parameter
|
|
|
33
33
|
- `prompt`: **default is true**
|
|
34
34
|
If true, you will be asked on your Ledger device to send your public key for validation. **_Note that confirmation is required when using `@ledgerhq/hw-transport-webhid`, so you should not set this parameter to false if you are using this transport._**
|
|
35
35
|
- `derivationType`: **default is DerivationType.ED25519**
|
|
36
|
-
It can be DerivationType.ED25519 (tz1), DerivationType.SECP256K1 (tz2) or DerivationType.P256 (tz3).
|
|
36
|
+
It can be DerivationType.ED25519 | DerivationType.BIP32_ED25519 (tz1), DerivationType.SECP256K1 (tz2) or DerivationType.P256 (tz3).
|
|
37
37
|
|
|
38
38
|
```ts
|
|
39
39
|
import { LedgerSigner, DerivationType, HDPathTemplate } from '@taquito/ledger-signer';
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<coverage generated="1667866567709" clover="3.2.0">
|
|
3
|
+
<project timestamp="1667866567709" name="All files">
|
|
4
|
+
<metrics statements="163" coveredstatements="142" conditionals="43" coveredconditionals="36" methods="24" coveredmethods="18" elements="230" coveredelements="196" complexity="0" loc="163" ncloc="163" packages="1" files="4" classes="4"/>
|
|
5
|
+
<file name="error.ts" path="/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/error.ts">
|
|
6
|
+
<metrics statements="10" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
7
|
+
<line num="5" count="1" type="stmt"/>
|
|
8
|
+
<line num="6" count="0" type="stmt"/>
|
|
9
|
+
<line num="7" count="0" type="stmt"/>
|
|
10
|
+
<line num="8" count="0" type="stmt"/>
|
|
11
|
+
<line num="16" count="1" type="stmt"/>
|
|
12
|
+
<line num="17" count="0" type="stmt"/>
|
|
13
|
+
<line num="19" count="0" type="stmt"/>
|
|
14
|
+
<line num="27" count="1" type="stmt"/>
|
|
15
|
+
<line num="28" count="0" type="stmt"/>
|
|
16
|
+
<line num="30" count="0" type="stmt"/>
|
|
17
|
+
</file>
|
|
18
|
+
<file name="taquito-ledger-signer.ts" path="/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/taquito-ledger-signer.ts">
|
|
19
|
+
<metrics statements="89" coveredstatements="79" conditionals="24" coveredconditionals="20" methods="13" coveredmethods="10"/>
|
|
20
|
+
<line num="8" count="1" type="stmt"/>
|
|
21
|
+
<line num="9" count="1" type="stmt"/>
|
|
22
|
+
<line num="17" count="1" type="stmt"/>
|
|
23
|
+
<line num="18" count="1" type="stmt"/>
|
|
24
|
+
<line num="26" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
25
|
+
<line num="27" count="1" type="stmt"/>
|
|
26
|
+
<line num="28" count="1" type="stmt"/>
|
|
27
|
+
<line num="29" count="1" type="stmt"/>
|
|
28
|
+
<line num="30" count="1" type="stmt"/>
|
|
29
|
+
<line num="37" count="1" type="stmt"/>
|
|
30
|
+
<line num="38" count="0" type="stmt"/>
|
|
31
|
+
<line num="39" count="0" type="stmt"/>
|
|
32
|
+
<line num="40" count="0" type="stmt"/>
|
|
33
|
+
<line num="50" count="1" type="stmt"/>
|
|
34
|
+
<line num="51" count="1" type="stmt"/>
|
|
35
|
+
<line num="52" count="1" type="stmt"/>
|
|
36
|
+
<line num="53" count="1" type="stmt"/>
|
|
37
|
+
<line num="59" count="1" type="stmt"/>
|
|
38
|
+
<line num="60" count="1" type="stmt"/>
|
|
39
|
+
<line num="63" count="1" type="stmt"/>
|
|
40
|
+
<line num="95" count="1" type="stmt"/>
|
|
41
|
+
<line num="97" count="10" type="stmt"/>
|
|
42
|
+
<line num="98" count="10" type="stmt"/>
|
|
43
|
+
<line num="99" count="10" type="stmt"/>
|
|
44
|
+
<line num="100" count="10" type="stmt"/>
|
|
45
|
+
<line num="101" count="10" type="stmt"/>
|
|
46
|
+
<line num="102" count="10" type="stmt"/>
|
|
47
|
+
<line num="103" count="10" type="stmt"/>
|
|
48
|
+
<line num="108" count="10" type="stmt"/>
|
|
49
|
+
<line num="109" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
50
|
+
<line num="110" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
51
|
+
<line num="111" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
52
|
+
<line num="113" count="10" type="stmt"/>
|
|
53
|
+
<line num="114" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
54
|
+
<line num="115" count="1" type="stmt"/>
|
|
55
|
+
<line num="117" count="9" type="cond" truecount="0" falsecount="1"/>
|
|
56
|
+
<line num="118" count="0" type="stmt"/>
|
|
57
|
+
<line num="123" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
58
|
+
<line num="124" count="0" type="stmt"/>
|
|
59
|
+
<line num="126" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
60
|
+
<line num="127" count="4" type="stmt"/>
|
|
61
|
+
<line num="129" count="0" type="stmt"/>
|
|
62
|
+
<line num="133" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
63
|
+
<line num="134" count="0" type="stmt"/>
|
|
64
|
+
<line num="136" count="4" type="stmt"/>
|
|
65
|
+
<line num="137" count="4" type="stmt"/>
|
|
66
|
+
<line num="138" count="4" type="stmt"/>
|
|
67
|
+
<line num="139" count="4" type="stmt"/>
|
|
68
|
+
<line num="141" count="4" type="stmt"/>
|
|
69
|
+
<line num="142" count="4" type="stmt"/>
|
|
70
|
+
<line num="143" count="4" type="stmt"/>
|
|
71
|
+
<line num="145" count="4" type="stmt"/>
|
|
72
|
+
<line num="146" count="4" type="stmt"/>
|
|
73
|
+
<line num="147" count="4" type="stmt"/>
|
|
74
|
+
<line num="151" count="4" type="stmt"/>
|
|
75
|
+
<line num="152" count="4" type="stmt"/>
|
|
76
|
+
<line num="153" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
77
|
+
<line num="154" count="3" type="stmt"/>
|
|
78
|
+
<line num="156" count="4" type="stmt"/>
|
|
79
|
+
<line num="163" count="4" type="stmt"/>
|
|
80
|
+
<line num="165" count="0" type="stmt"/>
|
|
81
|
+
<line num="170" count="0" type="stmt"/>
|
|
82
|
+
<line num="174" count="4" type="stmt"/>
|
|
83
|
+
<line num="175" count="4" type="stmt"/>
|
|
84
|
+
<line num="176" count="4" type="stmt"/>
|
|
85
|
+
<line num="177" count="4" type="stmt"/>
|
|
86
|
+
<line num="178" count="4" type="stmt"/>
|
|
87
|
+
<line num="179" count="4" type="stmt"/>
|
|
88
|
+
<line num="181" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
89
|
+
<line num="185" count="2" type="stmt"/>
|
|
90
|
+
<line num="187" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
91
|
+
<line num="188" count="0" type="stmt"/>
|
|
92
|
+
<line num="190" count="2" type="stmt"/>
|
|
93
|
+
<line num="191" count="2" type="stmt"/>
|
|
94
|
+
<line num="192" count="2" type="stmt"/>
|
|
95
|
+
<line num="193" count="2" type="stmt"/>
|
|
96
|
+
<line num="194" count="2" type="stmt"/>
|
|
97
|
+
<line num="195" count="2" type="stmt"/>
|
|
98
|
+
<line num="198" count="4" type="stmt"/>
|
|
99
|
+
<line num="208" count="4" type="stmt"/>
|
|
100
|
+
<line num="215" count="4" type="stmt"/>
|
|
101
|
+
<line num="217" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
102
|
+
<line num="218" count="5" type="stmt"/>
|
|
103
|
+
<line num="226" count="4" type="stmt"/>
|
|
104
|
+
<line num="230" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
105
|
+
<line num="234" count="4" type="stmt"/>
|
|
106
|
+
<line num="239" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
107
|
+
<line num="240" count="2" type="stmt"/>
|
|
108
|
+
<line num="246" count="2" type="stmt"/>
|
|
109
|
+
</file>
|
|
110
|
+
<file name="utils.ts" path="/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/utils.ts">
|
|
111
|
+
<metrics statements="63" coveredstatements="59" conditionals="19" coveredconditionals="16" methods="8" coveredmethods="8"/>
|
|
112
|
+
<line num="8" count="2" type="stmt"/>
|
|
113
|
+
<line num="17" count="2" type="stmt"/>
|
|
114
|
+
<line num="18" count="18" type="stmt"/>
|
|
115
|
+
<line num="19" count="18" type="stmt"/>
|
|
116
|
+
<line num="20" count="18" type="stmt"/>
|
|
117
|
+
<line num="21" count="73" type="stmt"/>
|
|
118
|
+
<line num="22" count="73" type="cond" truecount="0" falsecount="1"/>
|
|
119
|
+
<line num="23" count="0" type="stmt"/>
|
|
120
|
+
<line num="25" count="73" type="cond" truecount="3" falsecount="0"/>
|
|
121
|
+
<line num="26" count="73" type="stmt"/>
|
|
122
|
+
<line num="28" count="73" type="stmt"/>
|
|
123
|
+
<line num="30" count="18" type="stmt"/>
|
|
124
|
+
<line num="31" count="18" type="stmt"/>
|
|
125
|
+
<line num="32" count="18" type="stmt"/>
|
|
126
|
+
<line num="33" count="73" type="stmt"/>
|
|
127
|
+
<line num="35" count="18" type="stmt"/>
|
|
128
|
+
<line num="42" count="2" type="stmt"/>
|
|
129
|
+
<line num="43" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
130
|
+
<line num="44" count="3" type="stmt"/>
|
|
131
|
+
<line num="46" count="4" type="stmt"/>
|
|
132
|
+
<line num="47" count="4" type="stmt"/>
|
|
133
|
+
<line num="49" count="7" type="stmt"/>
|
|
134
|
+
<line num="52" count="2" type="stmt"/>
|
|
135
|
+
<line num="53" count="6" type="stmt"/>
|
|
136
|
+
<line num="54" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
137
|
+
<line num="55" count="1" type="stmt"/>
|
|
138
|
+
<line num="56" count="1" type="stmt"/>
|
|
139
|
+
<line num="58" count="6" type="stmt"/>
|
|
140
|
+
<line num="68" count="2" type="stmt"/>
|
|
141
|
+
<line num="69" count="7" type="stmt"/>
|
|
142
|
+
<line num="70" count="7" type="stmt"/>
|
|
143
|
+
<line num="72" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
144
|
+
<line num="73" count="11" type="stmt"/>
|
|
145
|
+
<line num="74" count="11" type="stmt"/>
|
|
146
|
+
<line num="75" count="11" type="stmt"/>
|
|
147
|
+
<line num="76" count="11" type="stmt"/>
|
|
148
|
+
<line num="78" count="7" type="stmt"/>
|
|
149
|
+
<line num="87" count="2" type="stmt"/>
|
|
150
|
+
<line num="88" count="7" type="stmt"/>
|
|
151
|
+
<line num="89" count="7" type="cond" truecount="3" falsecount="0"/>
|
|
152
|
+
<line num="90" count="1" type="stmt"/>
|
|
153
|
+
<line num="92" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
154
|
+
<line num="93" count="1" type="stmt"/>
|
|
155
|
+
<line num="95" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
156
|
+
<line num="96" count="1" type="stmt"/>
|
|
157
|
+
<line num="98" count="7" type="stmt"/>
|
|
158
|
+
<line num="99" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
159
|
+
<line num="100" count="1" type="stmt"/>
|
|
160
|
+
<line num="103" count="7" type="stmt"/>
|
|
161
|
+
<line num="104" count="7" type="stmt"/>
|
|
162
|
+
<line num="105" count="7" type="cond" truecount="0" falsecount="1"/>
|
|
163
|
+
<line num="106" count="0" type="stmt"/>
|
|
164
|
+
<line num="108" count="7" type="stmt"/>
|
|
165
|
+
<line num="118" count="2" type="stmt"/>
|
|
166
|
+
<line num="119" count="5" type="stmt"/>
|
|
167
|
+
<line num="120" count="5" type="stmt"/>
|
|
168
|
+
<line num="122" count="5" type="stmt"/>
|
|
169
|
+
<line num="123" count="5" type="stmt"/>
|
|
170
|
+
<line num="124" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
171
|
+
<line num="125" count="0" type="stmt"/>
|
|
172
|
+
<line num="126" count="0" type="stmt"/>
|
|
173
|
+
<line num="128" count="5" type="stmt"/>
|
|
174
|
+
<line num="129" count="5" type="stmt"/>
|
|
175
|
+
</file>
|
|
176
|
+
<file name="version.ts" path="/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/version.ts">
|
|
177
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
178
|
+
<line num="3" count="1" type="stmt"/>
|
|
179
|
+
</file>
|
|
180
|
+
</project>
|
|
181
|
+
</coverage>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/error.ts": {"path":"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/error.ts","statementMap":{"0":{"start":{"line":8,"column":4},"end":{"line":8,"column":19}},"1":{"start":{"line":7,"column":21},"end":{"line":7,"column":36}},"2":{"start":{"line":6,"column":9},"end":{"line":6,"column":45}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":13}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":55}},"5":{"start":{"line":17,"column":9},"end":{"line":17,"column":42}},"6":{"start":{"line":16,"column":0},"end":{"line":16,"column":13}},"7":{"start":{"line":30,"column":4},"end":{"line":30,"column":60}},"8":{"start":{"line":28,"column":9},"end":{"line":28,"column":46}},"9":{"start":{"line":27,"column":0},"end":{"line":27,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":2},"end":{"line":7,"column":21}},"loc":{"start":{"line":7,"column":36},"end":{"line":9,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":18,"column":2},"end":{"line":18,"column":null}},"loc":{"start":{"line":18,"column":2},"end":{"line":20,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":29,"column":2},"end":{"line":29,"column":null}},"loc":{"start":{"line":29,"column":2},"end":{"line":31,"column":3}}}},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":1,"4":0,"5":0,"6":1,"7":0,"8":0,"9":1},"f":{"0":0,"1":0,"2":0},"b":{}}
|
|
2
|
+
,"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/taquito-ledger-signer.ts": {"path":"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/taquito-ledger-signer.ts","statementMap":{"0":{"start":{"line":8,"column":0},"end":{"line":8,"column":83}},"1":{"start":{"line":9,"column":0},"end":{"line":9,"column":null}},"2":{"start":{"line":17,"column":0},"end":{"line":17,"column":42}},"3":{"start":{"line":18,"column":0},"end":{"line":18,"column":null}},"4":{"start":{"line":26,"column":0},"end":{"line":26,"column":null}},"5":{"start":{"line":27,"column":2},"end":{"line":27,"column":null}},"6":{"start":{"line":28,"column":2},"end":{"line":28,"column":null}},"7":{"start":{"line":29,"column":2},"end":{"line":29,"column":null}},"8":{"start":{"line":30,"column":2},"end":{"line":30,"column":null}},"9":{"start":{"line":40,"column":4},"end":{"line":42,"column":6}},"10":{"start":{"line":39,"column":21},"end":{"line":39,"column":43}},"11":{"start":{"line":38,"column":9},"end":{"line":38,"column":45}},"12":{"start":{"line":37,"column":0},"end":{"line":37,"column":13}},"13":{"start":{"line":53,"column":4},"end":{"line":55,"column":6}},"14":{"start":{"line":52,"column":21},"end":{"line":52,"column":43}},"15":{"start":{"line":51,"column":9},"end":{"line":51,"column":45}},"16":{"start":{"line":50,"column":0},"end":{"line":50,"column":13}},"17":{"start":{"line":59,"column":30},"end":{"line":61,"column":1}},"18":{"start":{"line":60,"column":2},"end":{"line":60,"column":36}},"19":{"start":{"line":59,"column":13},"end":{"line":59,"column":30}},"20":{"start":{"line":63,"column":0},"end":{"line":63,"column":9}},"21":{"start":{"line":63,"column":9},"end":{"line":63,"column":36}},"22":{"start":{"line":108,"column":12},"end":{"line":108,"column":38}},"23":{"start":{"line":109,"column":12},"end":{"line":109,"column":27}},"24":{"start":{"line":110,"column":12},"end":{"line":110,"column":30}},"25":{"start":{"line":111,"column":12},"end":{"line":111,"column":45}},"26":{"start":{"line":97,"column":19},"end":{"line":97,"column":30}},"27":{"start":{"line":98,"column":19},"end":{"line":98,"column":45}},"28":{"start":{"line":99,"column":19},"end":{"line":99,"column":48}},"29":{"start":{"line":100,"column":19},"end":{"line":100,"column":35}},"30":{"start":{"line":101,"column":19},"end":{"line":101,"column":49}},"31":{"start":{"line":102,"column":19},"end":{"line":102,"column":48}},"32":{"start":{"line":103,"column":19},"end":{"line":103,"column":49}},"33":{"start":{"line":113,"column":4},"end":{"line":113,"column":41}},"34":{"start":{"line":114,"column":4},"end":{"line":116,"column":null}},"35":{"start":{"line":115,"column":6},"end":{"line":115,"column":49}},"36":{"start":{"line":117,"column":4},"end":{"line":119,"column":null}},"37":{"start":{"line":118,"column":6},"end":{"line":118,"column":70}},"38":{"start":{"line":123,"column":4},"end":{"line":125,"column":null}},"39":{"start":{"line":124,"column":6},"end":{"line":124,"column":29}},"40":{"start":{"line":126,"column":4},"end":{"line":128,"column":null}},"41":{"start":{"line":127,"column":6},"end":{"line":127,"column":33}},"42":{"start":{"line":129,"column":4},"end":{"line":129,"column":44}},"43":{"start":{"line":133,"column":4},"end":{"line":135,"column":null}},"44":{"start":{"line":134,"column":6},"end":{"line":134,"column":29}},"45":{"start":{"line":136,"column":27},"end":{"line":136,"column":58}},"46":{"start":{"line":137,"column":28},"end":{"line":137,"column":45}},"47":{"start":{"line":138,"column":25},"end":{"line":138,"column":69}},"48":{"start":{"line":139,"column":32},"end":{"line":139,"column":84}},"49":{"start":{"line":141,"column":21},"end":{"line":141,"column":39}},"50":{"start":{"line":142,"column":22},"end":{"line":142,"column":70}},"51":{"start":{"line":143,"column":26},"end":{"line":143,"column":85}},"52":{"start":{"line":145,"column":4},"end":{"line":145,"column":32}},"53":{"start":{"line":146,"column":4},"end":{"line":146,"column":40}},"54":{"start":{"line":147,"column":4},"end":{"line":147,"column":21}},"55":{"start":{"line":151,"column":4},"end":{"line":166,"column":null}},"56":{"start":{"line":152,"column":16},"end":{"line":152,"column":42}},"57":{"start":{"line":153,"column":6},"end":{"line":155,"column":null}},"58":{"start":{"line":154,"column":8},"end":{"line":154,"column":38}},"59":{"start":{"line":156,"column":29},"end":{"line":161,"column":null}},"60":{"start":{"line":163,"column":6},"end":{"line":163,"column":28}},"61":{"start":{"line":165,"column":6},"end":{"line":165,"column":42}},"62":{"start":{"line":170,"column":4},"end":{"line":170,"column":68}},"63":{"start":{"line":174,"column":29},"end":{"line":174,"column":62}},"64":{"start":{"line":175,"column":34},"end":{"line":175,"column":70}},"65":{"start":{"line":176,"column":24},"end":{"line":176,"column":26}},"66":{"start":{"line":177,"column":4},"end":{"line":177,"column":57}},"67":{"start":{"line":178,"column":4},"end":{"line":178,"column":73}},"68":{"start":{"line":179,"column":27},"end":{"line":179,"column":67}},"69":{"start":{"line":181,"column":4},"end":{"line":196,"column":null}},"70":{"start":{"line":185,"column":6},"end":{"line":185,"column":85}},"71":{"start":{"line":187,"column":6},"end":{"line":189,"column":null}},"72":{"start":{"line":188,"column":8},"end":{"line":188,"column":77}},"73":{"start":{"line":190,"column":28},"end":{"line":190,"column":29}},"74":{"start":{"line":191,"column":21},"end":{"line":191,"column":64}},"75":{"start":{"line":192,"column":28},"end":{"line":192,"column":68}},"76":{"start":{"line":193,"column":21},"end":{"line":193,"column":64}},"77":{"start":{"line":194,"column":30},"end":{"line":194,"column":75}},"78":{"start":{"line":195,"column":6},"end":{"line":195,"column":50}},"79":{"start":{"line":198,"column":4},"end":{"line":203,"column":6}},"80":{"start":{"line":208,"column":25},"end":{"line":213,"column":null}},"81":{"start":{"line":215,"column":4},"end":{"line":225,"column":null}},"82":{"start":{"line":215,"column":17},"end":{"line":215,"column":18}},"83":{"start":{"line":217,"column":8},"end":{"line":217,"column":91}},"84":{"start":{"line":218,"column":6},"end":{"line":224,"column":8}},"85":{"start":{"line":226,"column":4},"end":{"line":226,"column":26}},"86":{"start":{"line":230,"column":4},"end":{"line":251,"column":null}},"87":{"start":{"line":234,"column":6},"end":{"line":238,"column":8}},"88":{"start":{"line":239,"column":11},"end":{"line":251,"column":null}},"89":{"start":{"line":240,"column":6},"end":{"line":244,"column":8}},"90":{"start":{"line":246,"column":6},"end":{"line":250,"column":8}},"91":{"start":{"line":95,"column":0},"end":{"line":95,"column":13}}},"fnMap":{"0":{"name":"(anonymous_7)","decl":{"start":{"line":26,"column":0},"end":{"line":26,"column":12}},"loc":{"start":{"line":26,"column":26},"end":{"line":31,"column":1}}},"1":{"name":"(anonymous_8)","decl":{"start":{"line":39,"column":2},"end":{"line":39,"column":21}},"loc":{"start":{"line":39,"column":43},"end":{"line":43,"column":3}}},"2":{"name":"(anonymous_9)","decl":{"start":{"line":52,"column":2},"end":{"line":52,"column":21}},"loc":{"start":{"line":52,"column":43},"end":{"line":56,"column":3}}},"3":{"name":"(anonymous_10)","decl":{"start":{"line":59,"column":30},"end":{"line":59,"column":31}},"loc":{"start":{"line":59,"column":50},"end":{"line":61,"column":1}}},"4":{"name":"(anonymous_11)","decl":{"start":{"line":63,"column":9},"end":{"line":63,"column":16}},"loc":{"start":{"line":63,"column":9},"end":{"line":63,"column":36}}},"5":{"name":"(anonymous_12)","decl":{"start":{"line":107,"column":2},"end":{"line":107,"column":null}},"loc":{"start":{"line":111,"column":67},"end":{"line":120,"column":3}}},"6":{"name":"(anonymous_13)","decl":{"start":{"line":122,"column":8},"end":{"line":122,"column":21}},"loc":{"start":{"line":122,"column":21},"end":{"line":130,"column":null}}},"7":{"name":"(anonymous_15)","decl":{"start":{"line":132,"column":8},"end":{"line":132,"column":17}},"loc":{"start":{"line":132,"column":17},"end":{"line":148,"column":null}}},"8":{"name":"(anonymous_17)","decl":{"start":{"line":150,"column":16},"end":{"line":150,"column":34}},"loc":{"start":{"line":150,"column":34},"end":{"line":167,"column":null}}},"9":{"name":"(anonymous_19)","decl":{"start":{"line":169,"column":8},"end":{"line":169,"column":17}},"loc":{"start":{"line":169,"column":17},"end":{"line":171,"column":null}}},"10":{"name":"(anonymous_21)","decl":{"start":{"line":173,"column":8},"end":{"line":173,"column":12}},"loc":{"start":{"line":173,"column":50},"end":{"line":204,"column":null}}},"11":{"name":"(anonymous_23)","decl":{"start":{"line":206,"column":16},"end":{"line":206,"column":30}},"loc":{"start":{"line":206,"column":48},"end":{"line":227,"column":null}}},"12":{"name":"(anonymous_25)","decl":{"start":{"line":229,"column":10},"end":{"line":229,"column":21}},"loc":{"start":{"line":229,"column":21},"end":{"line":252,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":26,"column":12},"end":{"line":26,"column":null}},"type":"binary-expr","locations":[{"start":{"line":26,"column":12},"end":{"line":26,"column":26}},{"start":{"line":26,"column":12},"end":{"line":26,"column":null}}]},"1":{"loc":{"start":{"line":109,"column":12},"end":{"line":109,"column":44}},"type":"default-arg","locations":[{"start":{"line":109,"column":27},"end":{"line":109,"column":44}}]},"2":{"loc":{"start":{"line":110,"column":12},"end":{"line":110,"column":34}},"type":"default-arg","locations":[{"start":{"line":110,"column":30},"end":{"line":110,"column":34}}]},"3":{"loc":{"start":{"line":111,"column":12},"end":{"line":111,"column":67}},"type":"default-arg","locations":[{"start":{"line":111,"column":45},"end":{"line":111,"column":67}}]},"4":{"loc":{"start":{"line":114,"column":4},"end":{"line":116,"column":null}},"type":"if","locations":[{"start":{"line":114,"column":4},"end":{"line":116,"column":null}}]},"5":{"loc":{"start":{"line":117,"column":4},"end":{"line":119,"column":null}},"type":"if","locations":[{"start":{"line":117,"column":4},"end":{"line":119,"column":null}}]},"6":{"loc":{"start":{"line":123,"column":4},"end":{"line":125,"column":null}},"type":"if","locations":[{"start":{"line":123,"column":4},"end":{"line":125,"column":null}}]},"7":{"loc":{"start":{"line":126,"column":4},"end":{"line":128,"column":null}},"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":128,"column":null}}]},"8":{"loc":{"start":{"line":133,"column":4},"end":{"line":135,"column":null}},"type":"if","locations":[{"start":{"line":133,"column":4},"end":{"line":135,"column":null}}]},"9":{"loc":{"start":{"line":153,"column":6},"end":{"line":155,"column":null}},"type":"if","locations":[{"start":{"line":153,"column":6},"end":{"line":155,"column":null}}]},"10":{"loc":{"start":{"line":181,"column":4},"end":{"line":196,"column":null}},"type":"if","locations":[{"start":{"line":181,"column":4},"end":{"line":196,"column":null}},{"start":{"line":186,"column":11},"end":{"line":196,"column":null}}]},"11":{"loc":{"start":{"line":182,"column":6},"end":{"line":183,"column":58}},"type":"binary-expr","locations":[{"start":{"line":182,"column":6},"end":{"line":182,"column":52}},{"start":{"line":183,"column":6},"end":{"line":183,"column":58}}]},"12":{"loc":{"start":{"line":187,"column":6},"end":{"line":189,"column":null}},"type":"if","locations":[{"start":{"line":187,"column":6},"end":{"line":189,"column":null}}]},"13":{"loc":{"start":{"line":217,"column":8},"end":{"line":217,"column":91}},"type":"cond-expr","locations":[{"start":{"line":217,"column":35},"end":{"line":217,"column":61}},{"start":{"line":217,"column":64},"end":{"line":217,"column":91}}]},"14":{"loc":{"start":{"line":230,"column":4},"end":{"line":251,"column":null}},"type":"if","locations":[{"start":{"line":230,"column":4},"end":{"line":251,"column":null}},{"start":{"line":239,"column":11},"end":{"line":251,"column":null}}]},"15":{"loc":{"start":{"line":231,"column":6},"end":{"line":232,"column":58}},"type":"binary-expr","locations":[{"start":{"line":231,"column":6},"end":{"line":231,"column":52}},{"start":{"line":232,"column":6},"end":{"line":232,"column":58}}]},"16":{"loc":{"start":{"line":239,"column":11},"end":{"line":251,"column":null}},"type":"if","locations":[{"start":{"line":239,"column":11},"end":{"line":251,"column":null}},{"start":{"line":245,"column":11},"end":{"line":251,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":0,"10":0,"11":0,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":10,"23":10,"24":10,"25":10,"26":10,"27":10,"28":10,"29":10,"30":10,"31":10,"32":10,"33":10,"34":10,"35":1,"36":9,"37":0,"38":4,"39":0,"40":4,"41":4,"42":0,"43":4,"44":0,"45":4,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"52":4,"53":4,"54":4,"55":4,"56":4,"57":4,"58":3,"59":4,"60":4,"61":0,"62":0,"63":4,"64":4,"65":4,"66":4,"67":4,"68":4,"69":4,"70":2,"71":2,"72":0,"73":2,"74":2,"75":2,"76":2,"77":2,"78":2,"79":4,"80":4,"81":4,"82":4,"83":5,"84":5,"85":4,"86":8,"87":4,"88":4,"89":2,"90":2,"91":1},"f":{"0":1,"1":0,"2":1,"3":1,"4":0,"5":10,"6":4,"7":4,"8":4,"9":0,"10":4,"11":4,"12":8},"b":{"0":[1,1],"1":[2],"2":[2],"3":[2],"4":[1],"5":[0],"6":[0],"7":[4],"8":[0],"9":[3],"10":[2,2],"11":[4,3],"12":[0],"13":[4,1],"14":[4,4],"15":[8,5],"16":[2,2]}}
|
|
3
|
+
,"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/utils.ts": {"path":"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/utils.ts","statementMap":{"0":{"start":{"line":8,"column":23},"end":{"line":8,"column":26}},"1":{"start":{"line":18,"column":27},"end":{"line":18,"column":29}},"2":{"start":{"line":19,"column":21},"end":{"line":19,"column":36}},"3":{"start":{"line":20,"column":2},"end":{"line":29,"column":5}},"4":{"start":{"line":21,"column":19},"end":{"line":21,"column":40}},"5":{"start":{"line":22,"column":4},"end":{"line":24,"column":null}},"6":{"start":{"line":23,"column":6},"end":{"line":23,"column":13}},"7":{"start":{"line":25,"column":4},"end":{"line":27,"column":null}},"8":{"start":{"line":26,"column":6},"end":{"line":26,"column":29}},"9":{"start":{"line":28,"column":4},"end":{"line":28,"column":26}},"10":{"start":{"line":30,"column":17},"end":{"line":30,"column":52}},"11":{"start":{"line":31,"column":2},"end":{"line":31,"column":28}},"12":{"start":{"line":32,"column":2},"end":{"line":34,"column":5}},"13":{"start":{"line":33,"column":4},"end":{"line":33,"column":49}},"14":{"start":{"line":35,"column":2},"end":{"line":35,"column":16}},"15":{"start":{"line":17,"column":0},"end":{"line":17,"column":16}},"16":{"start":{"line":43,"column":2},"end":{"line":48,"column":null}},"17":{"start":{"line":44,"column":4},"end":{"line":44,"column":35}},"18":{"start":{"line":46,"column":4},"end":{"line":46,"column":49}},"19":{"start":{"line":47,"column":4},"end":{"line":47,"column":39}},"20":{"start":{"line":49,"column":2},"end":{"line":49,"column":19}},"21":{"start":{"line":42,"column":0},"end":{"line":42,"column":16}},"22":{"start":{"line":53,"column":23},"end":{"line":53,"column":28}},"23":{"start":{"line":54,"column":2},"end":{"line":57,"column":null}},"24":{"start":{"line":55,"column":25},"end":{"line":55,"column":63}},"25":{"start":{"line":56,"column":4},"end":{"line":56,"column":48}},"26":{"start":{"line":58,"column":2},"end":{"line":58,"column":24}},"27":{"start":{"line":52,"column":0},"end":{"line":52,"column":16}},"28":{"start":{"line":69,"column":15},"end":{"line":69,"column":16}},"29":{"start":{"line":70,"column":2},"end":{"line":77,"column":null}},"30":{"start":{"line":72,"column":6},"end":{"line":72,"column":94}},"31":{"start":{"line":73,"column":17},"end":{"line":73,"column":40}},"32":{"start":{"line":74,"column":4},"end":{"line":74,"column":56}},"33":{"start":{"line":75,"column":4},"end":{"line":75,"column":29}},"34":{"start":{"line":76,"column":4},"end":{"line":76,"column":24}},"35":{"start":{"line":78,"column":2},"end":{"line":78,"column":23}},"36":{"start":{"line":68,"column":0},"end":{"line":68,"column":16}},"37":{"start":{"line":88,"column":14},"end":{"line":88,"column":18}},"38":{"start":{"line":89,"column":2},"end":{"line":91,"column":null}},"39":{"start":{"line":90,"column":4},"end":{"line":90,"column":18}},"40":{"start":{"line":92,"column":2},"end":{"line":94,"column":null}},"41":{"start":{"line":93,"column":4},"end":{"line":93,"column":18}},"42":{"start":{"line":95,"column":2},"end":{"line":97,"column":null}},"43":{"start":{"line":96,"column":4},"end":{"line":96,"column":18}},"44":{"start":{"line":98,"column":18},"end":{"line":98,"column":29}},"45":{"start":{"line":99,"column":2},"end":{"line":101,"column":null}},"46":{"start":{"line":100,"column":4},"end":{"line":100,"column":18}},"47":{"start":{"line":103,"column":24},"end":{"line":103,"column":35}},"48":{"start":{"line":104,"column":18},"end":{"line":104,"column":41}},"49":{"start":{"line":105,"column":2},"end":{"line":107,"column":null}},"50":{"start":{"line":106,"column":4},"end":{"line":106,"column":18}},"51":{"start":{"line":108,"column":2},"end":{"line":108,"column":15}},"52":{"start":{"line":87,"column":0},"end":{"line":87,"column":16}},"53":{"start":{"line":119,"column":17},"end":{"line":119,"column":33}},"54":{"start":{"line":120,"column":2},"end":{"line":120,"column":17}},"55":{"start":{"line":122,"column":15},"end":{"line":122,"column":34}},"56":{"start":{"line":123,"column":22},"end":{"line":123,"column":35}},"57":{"start":{"line":124,"column":2},"end":{"line":127,"column":null}},"58":{"start":{"line":125,"column":4},"end":{"line":125,"column":33}},"59":{"start":{"line":126,"column":4},"end":{"line":126,"column":16}},"60":{"start":{"line":128,"column":2},"end":{"line":128,"column":76}},"61":{"start":{"line":129,"column":2},"end":{"line":129,"column":43}},"62":{"start":{"line":118,"column":0},"end":{"line":118,"column":16}}},"fnMap":{"0":{"name":"transformPathToBuffer","decl":{"start":{"line":17,"column":16},"end":{"line":17,"column":37}},"loc":{"start":{"line":17,"column":50},"end":{"line":36,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":20,"column":21},"end":{"line":20,"column":22}},"loc":{"start":{"line":20,"column":33},"end":{"line":29,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":32,"column":17},"end":{"line":32,"column":18}},"loc":{"start":{"line":32,"column":36},"end":{"line":34,"column":3}}},"3":{"name":"compressPublicKey","decl":{"start":{"line":42,"column":16},"end":{"line":42,"column":33}},"loc":{"start":{"line":42,"column":74},"end":{"line":50,"column":1}}},"4":{"name":"appendWatermark","decl":{"start":{"line":52,"column":16},"end":{"line":52,"column":31}},"loc":{"start":{"line":52,"column":69},"end":{"line":59,"column":1}}},"5":{"name":"chunkOperation","decl":{"start":{"line":68,"column":16},"end":{"line":68,"column":30}},"loc":{"start":{"line":68,"column":68},"end":{"line":79,"column":1}}},"6":{"name":"validateResponse","decl":{"start":{"line":87,"column":16},"end":{"line":87,"column":32}},"loc":{"start":{"line":87,"column":49},"end":{"line":109,"column":1}}},"7":{"name":"extractValue","decl":{"start":{"line":118,"column":16},"end":{"line":118,"column":28}},"loc":{"start":{"line":118,"column":64},"end":{"line":130,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":4},"end":{"line":24,"column":null}},"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":24,"column":null}}]},"1":{"loc":{"start":{"line":25,"column":4},"end":{"line":27,"column":null}},"type":"if","locations":[{"start":{"line":25,"column":4},"end":{"line":27,"column":null}}]},"2":{"loc":{"start":{"line":25,"column":8},"end":{"line":25,"column":65}},"type":"binary-expr","locations":[{"start":{"line":25,"column":8},"end":{"line":25,"column":26}},{"start":{"line":25,"column":30},"end":{"line":25,"column":65}}]},"3":{"loc":{"start":{"line":43,"column":2},"end":{"line":48,"column":null}},"type":"if","locations":[{"start":{"line":43,"column":2},"end":{"line":48,"column":null}},{"start":{"line":45,"column":9},"end":{"line":48,"column":null}}]},"4":{"loc":{"start":{"line":43,"column":6},"end":{"line":43,"column":38}},"type":"binary-expr","locations":[{"start":{"line":43,"column":6},"end":{"line":43,"column":20}},{"start":{"line":43,"column":24},"end":{"line":43,"column":38}}]},"5":{"loc":{"start":{"line":54,"column":2},"end":{"line":57,"column":null}},"type":"if","locations":[{"start":{"line":54,"column":2},"end":{"line":57,"column":null}}]},"6":{"loc":{"start":{"line":72,"column":6},"end":{"line":72,"column":94}},"type":"cond-expr","locations":[{"start":{"line":72,"column":52},"end":{"line":72,"column":77}},{"start":{"line":72,"column":80},"end":{"line":72,"column":94}}]},"7":{"loc":{"start":{"line":89,"column":2},"end":{"line":91,"column":null}},"type":"if","locations":[{"start":{"line":89,"column":2},"end":{"line":91,"column":null}}]},"8":{"loc":{"start":{"line":89,"column":6},"end":{"line":89,"column":50}},"type":"binary-expr","locations":[{"start":{"line":89,"column":6},"end":{"line":89,"column":26}},{"start":{"line":89,"column":30},"end":{"line":89,"column":50}}]},"9":{"loc":{"start":{"line":92,"column":2},"end":{"line":94,"column":null}},"type":"if","locations":[{"start":{"line":92,"column":2},"end":{"line":94,"column":null}}]},"10":{"loc":{"start":{"line":95,"column":2},"end":{"line":97,"column":null}},"type":"if","locations":[{"start":{"line":95,"column":2},"end":{"line":97,"column":null}}]},"11":{"loc":{"start":{"line":99,"column":2},"end":{"line":101,"column":null}},"type":"if","locations":[{"start":{"line":99,"column":2},"end":{"line":101,"column":null}}]},"12":{"loc":{"start":{"line":105,"column":2},"end":{"line":107,"column":null}},"type":"if","locations":[{"start":{"line":105,"column":2},"end":{"line":107,"column":null}}]},"13":{"loc":{"start":{"line":124,"column":2},"end":{"line":127,"column":null}},"type":"if","locations":[{"start":{"line":124,"column":2},"end":{"line":127,"column":null}}]}},"s":{"0":2,"1":18,"2":18,"3":18,"4":73,"5":73,"6":0,"7":73,"8":73,"9":73,"10":18,"11":18,"12":18,"13":73,"14":18,"15":2,"16":7,"17":3,"18":4,"19":4,"20":7,"21":2,"22":6,"23":6,"24":1,"25":1,"26":6,"27":2,"28":7,"29":7,"30":11,"31":11,"32":11,"33":11,"34":11,"35":7,"36":2,"37":7,"38":7,"39":1,"40":7,"41":1,"42":7,"43":1,"44":7,"45":7,"46":1,"47":7,"48":7,"49":7,"50":0,"51":7,"52":2,"53":5,"54":5,"55":5,"56":5,"57":5,"58":0,"59":0,"60":5,"61":5,"62":2},"f":{"0":18,"1":73,"2":73,"3":7,"4":6,"5":7,"6":7,"7":5},"b":{"0":[0],"1":[73],"2":[73,73],"3":[3,4],"4":[7,4],"5":[1],"6":[7,4],"7":[1],"8":[7,1],"9":[1],"10":[1],"11":[1],"12":[0],"13":[0]}}
|
|
4
|
+
,"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/version.ts": {"path":"/home/roxane/src/ecadLabs/taquito/packages/taquito-ledger-signer/src/version.ts","statementMap":{"0":{"start":{"line":3,"column":13},"end":{"line":6,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":1},"f":{},"b":{}}
|
|
5
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
body, html {
|
|
2
|
+
margin:0; padding: 0;
|
|
3
|
+
height: 100%;
|
|
4
|
+
}
|
|
5
|
+
body {
|
|
6
|
+
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
color:#333;
|
|
9
|
+
}
|
|
10
|
+
.small { font-size: 12px; }
|
|
11
|
+
*, *:after, *:before {
|
|
12
|
+
-webkit-box-sizing:border-box;
|
|
13
|
+
-moz-box-sizing:border-box;
|
|
14
|
+
box-sizing:border-box;
|
|
15
|
+
}
|
|
16
|
+
h1 { font-size: 20px; margin: 0;}
|
|
17
|
+
h2 { font-size: 14px; }
|
|
18
|
+
pre {
|
|
19
|
+
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
-moz-tab-size: 2;
|
|
23
|
+
-o-tab-size: 2;
|
|
24
|
+
tab-size: 2;
|
|
25
|
+
}
|
|
26
|
+
a { color:#0074D9; text-decoration:none; }
|
|
27
|
+
a:hover { text-decoration:underline; }
|
|
28
|
+
.strong { font-weight: bold; }
|
|
29
|
+
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
+
.pad2y { padding: 20px 0; }
|
|
31
|
+
.pad1y { padding: 10px 0; }
|
|
32
|
+
.pad2x { padding: 0 20px; }
|
|
33
|
+
.pad2 { padding: 20px; }
|
|
34
|
+
.pad1 { padding: 10px; }
|
|
35
|
+
.space-left2 { padding-left:55px; }
|
|
36
|
+
.space-right2 { padding-right:20px; }
|
|
37
|
+
.center { text-align:center; }
|
|
38
|
+
.clearfix { display:block; }
|
|
39
|
+
.clearfix:after {
|
|
40
|
+
content:'';
|
|
41
|
+
display:block;
|
|
42
|
+
height:0;
|
|
43
|
+
clear:both;
|
|
44
|
+
visibility:hidden;
|
|
45
|
+
}
|
|
46
|
+
.fl { float: left; }
|
|
47
|
+
@media only screen and (max-width:640px) {
|
|
48
|
+
.col3 { width:100%; max-width:100%; }
|
|
49
|
+
.hide-mobile { display:none!important; }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.quiet {
|
|
53
|
+
color: #7f7f7f;
|
|
54
|
+
color: rgba(0,0,0,0.5);
|
|
55
|
+
}
|
|
56
|
+
.quiet a { opacity: 0.7; }
|
|
57
|
+
|
|
58
|
+
.fraction {
|
|
59
|
+
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
+
font-size: 10px;
|
|
61
|
+
color: #555;
|
|
62
|
+
background: #E8E8E8;
|
|
63
|
+
padding: 4px 5px;
|
|
64
|
+
border-radius: 3px;
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
+
table.coverage {
|
|
70
|
+
border-collapse: collapse;
|
|
71
|
+
margin: 10px 0 0 0;
|
|
72
|
+
padding: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
table.coverage td {
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
vertical-align: top;
|
|
79
|
+
}
|
|
80
|
+
table.coverage td.line-count {
|
|
81
|
+
text-align: right;
|
|
82
|
+
padding: 0 5px 0 20px;
|
|
83
|
+
}
|
|
84
|
+
table.coverage td.line-coverage {
|
|
85
|
+
text-align: right;
|
|
86
|
+
padding-right: 10px;
|
|
87
|
+
min-width:20px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
table.coverage td span.cline-any {
|
|
91
|
+
display: inline-block;
|
|
92
|
+
padding: 0 5px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
.missing-if-branch {
|
|
96
|
+
display: inline-block;
|
|
97
|
+
margin-right: 5px;
|
|
98
|
+
border-radius: 3px;
|
|
99
|
+
position: relative;
|
|
100
|
+
padding: 0 4px;
|
|
101
|
+
background: #333;
|
|
102
|
+
color: yellow;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.skip-if-branch {
|
|
106
|
+
display: none;
|
|
107
|
+
margin-right: 10px;
|
|
108
|
+
position: relative;
|
|
109
|
+
padding: 0 4px;
|
|
110
|
+
background: #ccc;
|
|
111
|
+
color: white;
|
|
112
|
+
}
|
|
113
|
+
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
+
color: inherit !important;
|
|
115
|
+
}
|
|
116
|
+
.coverage-summary {
|
|
117
|
+
border-collapse: collapse;
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
+
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
+
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
+
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
+
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
+
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
+
.coverage-summary th {
|
|
127
|
+
text-align: left;
|
|
128
|
+
font-weight: normal;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
}
|
|
131
|
+
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
+
.coverage-summary th.pct { }
|
|
133
|
+
.coverage-summary th.pic,
|
|
134
|
+
.coverage-summary th.abs,
|
|
135
|
+
.coverage-summary td.pct,
|
|
136
|
+
.coverage-summary td.abs { text-align: right; }
|
|
137
|
+
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
+
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
+
.coverage-summary tfoot td { }
|
|
140
|
+
|
|
141
|
+
.coverage-summary .sorter {
|
|
142
|
+
height: 10px;
|
|
143
|
+
width: 7px;
|
|
144
|
+
display: inline-block;
|
|
145
|
+
margin-left: 0.5em;
|
|
146
|
+
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
+
}
|
|
148
|
+
.coverage-summary .sorted .sorter {
|
|
149
|
+
background-position: 0 -20px;
|
|
150
|
+
}
|
|
151
|
+
.coverage-summary .sorted-desc .sorter {
|
|
152
|
+
background-position: 0 -10px;
|
|
153
|
+
}
|
|
154
|
+
.status-line { height: 10px; }
|
|
155
|
+
/* yellow */
|
|
156
|
+
.cbranch-no { background: yellow !important; color: #111; }
|
|
157
|
+
/* dark red */
|
|
158
|
+
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
159
|
+
.low .chart { border:1px solid #C21F39 }
|
|
160
|
+
.highlighted,
|
|
161
|
+
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
+
background: #C21F39 !important;
|
|
163
|
+
}
|
|
164
|
+
/* medium red */
|
|
165
|
+
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
166
|
+
/* light red */
|
|
167
|
+
.low, .cline-no { background:#FCE1E5 }
|
|
168
|
+
/* light green */
|
|
169
|
+
.high, .cline-yes { background:rgb(230,245,208) }
|
|
170
|
+
/* medium green */
|
|
171
|
+
.cstat-yes { background:rgb(161,215,106) }
|
|
172
|
+
/* dark green */
|
|
173
|
+
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
174
|
+
.high .chart { border:1px solid rgb(77,146,33) }
|
|
175
|
+
/* dark yellow (gold) */
|
|
176
|
+
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
177
|
+
.medium .chart { border:1px solid #f9cd0b; }
|
|
178
|
+
/* light yellow */
|
|
179
|
+
.medium { background: #fff4c2; }
|
|
180
|
+
|
|
181
|
+
.cstat-skip { background: #ddd; color: #111; }
|
|
182
|
+
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
183
|
+
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
184
|
+
|
|
185
|
+
span.cline-neutral { background: #eaeaea; }
|
|
186
|
+
|
|
187
|
+
.coverage-summary td.empty {
|
|
188
|
+
opacity: .5;
|
|
189
|
+
padding-top: 4px;
|
|
190
|
+
padding-bottom: 4px;
|
|
191
|
+
line-height: 1;
|
|
192
|
+
color: #888;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cover-fill, .cover-empty {
|
|
196
|
+
display:inline-block;
|
|
197
|
+
height: 12px;
|
|
198
|
+
}
|
|
199
|
+
.chart {
|
|
200
|
+
line-height: 0;
|
|
201
|
+
}
|
|
202
|
+
.cover-empty {
|
|
203
|
+
background: white;
|
|
204
|
+
}
|
|
205
|
+
.cover-full {
|
|
206
|
+
border-right: none !important;
|
|
207
|
+
}
|
|
208
|
+
pre.prettyprint {
|
|
209
|
+
border: none !important;
|
|
210
|
+
padding: 0 !important;
|
|
211
|
+
margin: 0 !important;
|
|
212
|
+
}
|
|
213
|
+
.com { color: #999 !important; }
|
|
214
|
+
.ignore-none { color: #999; font-weight: normal; }
|
|
215
|
+
|
|
216
|
+
.wrapper {
|
|
217
|
+
min-height: 100%;
|
|
218
|
+
height: auto !important;
|
|
219
|
+
height: 100%;
|
|
220
|
+
margin: 0 auto -48px;
|
|
221
|
+
}
|
|
222
|
+
.footer, .push {
|
|
223
|
+
height: 48px;
|
|
224
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
var jumpToCode = (function init() {
|
|
3
|
+
// Classes of code we would like to highlight in the file view
|
|
4
|
+
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
|
|
5
|
+
|
|
6
|
+
// Elements to highlight in the file listing view
|
|
7
|
+
var fileListingElements = ['td.pct.low'];
|
|
8
|
+
|
|
9
|
+
// We don't want to select elements that are direct descendants of another match
|
|
10
|
+
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
|
|
11
|
+
|
|
12
|
+
// Selecter that finds elements on the page to which we can jump
|
|
13
|
+
var selector =
|
|
14
|
+
fileListingElements.join(', ') +
|
|
15
|
+
', ' +
|
|
16
|
+
notSelector +
|
|
17
|
+
missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
|
|
18
|
+
|
|
19
|
+
// The NodeList of matching elements
|
|
20
|
+
var missingCoverageElements = document.querySelectorAll(selector);
|
|
21
|
+
|
|
22
|
+
var currentIndex;
|
|
23
|
+
|
|
24
|
+
function toggleClass(index) {
|
|
25
|
+
missingCoverageElements
|
|
26
|
+
.item(currentIndex)
|
|
27
|
+
.classList.remove('highlighted');
|
|
28
|
+
missingCoverageElements.item(index).classList.add('highlighted');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function makeCurrent(index) {
|
|
32
|
+
toggleClass(index);
|
|
33
|
+
currentIndex = index;
|
|
34
|
+
missingCoverageElements.item(index).scrollIntoView({
|
|
35
|
+
behavior: 'smooth',
|
|
36
|
+
block: 'center',
|
|
37
|
+
inline: 'center'
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function goToPrevious() {
|
|
42
|
+
var nextIndex = 0;
|
|
43
|
+
if (typeof currentIndex !== 'number' || currentIndex === 0) {
|
|
44
|
+
nextIndex = missingCoverageElements.length - 1;
|
|
45
|
+
} else if (missingCoverageElements.length > 1) {
|
|
46
|
+
nextIndex = currentIndex - 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
makeCurrent(nextIndex);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function goToNext() {
|
|
53
|
+
var nextIndex = 0;
|
|
54
|
+
|
|
55
|
+
if (
|
|
56
|
+
typeof currentIndex === 'number' &&
|
|
57
|
+
currentIndex < missingCoverageElements.length - 1
|
|
58
|
+
) {
|
|
59
|
+
nextIndex = currentIndex + 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
makeCurrent(nextIndex);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return function jump(event) {
|
|
66
|
+
switch (event.which) {
|
|
67
|
+
case 78: // n
|
|
68
|
+
case 74: // j
|
|
69
|
+
goToNext();
|
|
70
|
+
break;
|
|
71
|
+
case 66: // b
|
|
72
|
+
case 75: // k
|
|
73
|
+
case 80: // p
|
|
74
|
+
goToPrevious();
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
})();
|
|
79
|
+
window.addEventListener('keydown', jumpToCode);
|