@tivio/sdk-react 2.1.4 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/README.md +8 -0
  2. package/coverage/clover.xml +356 -95
  3. package/coverage/lcov-report/index.html +55 -25
  4. package/coverage/lcov-report/src/components/ContextProvider.tsx.html +194 -0
  5. package/coverage/lcov-report/src/components/TivioProvider.tsx.html +109 -37
  6. package/coverage/lcov-report/src/components/TivioWidgetError.tsx.html +3 -3
  7. package/coverage/lcov-report/src/components/TivioWidgetLoader.tsx.html +3 -3
  8. package/coverage/lcov-report/src/components/context/ChannelsContext.tsx.html +197 -0
  9. package/coverage/lcov-report/src/components/context/OrganizationSubscriptionsContext.tsx.html +179 -0
  10. package/coverage/lcov-report/src/components/context/PurchasesWithVideosContext.tsx.html +179 -0
  11. package/coverage/lcov-report/src/components/context/RowItemsContext.tsx.html +191 -0
  12. package/coverage/lcov-report/src/components/context/ScreensContext.tsx.html +185 -0
  13. package/coverage/lcov-report/src/components/context/SectionsContext.tsx.html +200 -0
  14. package/coverage/lcov-report/src/components/context/UserContext.tsx.html +176 -0
  15. package/coverage/lcov-report/src/components/context/VideosContext.tsx.html +200 -0
  16. package/coverage/lcov-report/src/components/context/index.html +231 -0
  17. package/coverage/lcov-report/src/components/context/index.ts.html +104 -0
  18. package/coverage/lcov-report/src/components/index.html +32 -32
  19. package/coverage/lcov-report/src/conf.ts.html +27 -21
  20. package/coverage/lcov-report/src/index.html +21 -6
  21. package/coverage/lcov-report/src/services/bundleLoader.ts.html +127 -157
  22. package/coverage/lcov-report/src/services/dependencyResolver.ts.html +36 -30
  23. package/coverage/lcov-report/src/services/index.html +102 -42
  24. package/coverage/lcov-report/src/services/logger.ts.html +53 -98
  25. package/coverage/lcov-report/src/services/packageLoader.ts.html +31 -31
  26. package/coverage/lcov-report/src/services/pubSub.ts.html +9 -9
  27. package/coverage/lcov-report/src/services/sentry.ts.html +170 -0
  28. package/coverage/lcov-report/src/services/settings.ts.html +34 -34
  29. package/coverage/lcov-report/src/setupTests.ts.html +9 -9
  30. package/coverage/lcov.info +641 -141
  31. package/dist/components/TivioProvider.d.ts +3 -0
  32. package/dist/components/hooks/usePurchaseSubscription.d.ts +2 -7
  33. package/dist/components/hooks/useTransactionPayment.d.ts +2 -7
  34. package/dist/conf.d.ts +1 -0
  35. package/dist/index.js +1 -2
  36. package/dist/services/dependencyResolver.d.ts +2 -1
  37. package/dist/services/sentry.d.ts +2 -5
  38. package/dist/types.d.ts +5 -13
  39. package/env +0 -0
  40. package/package.json +12 -12
  41. package/scripts/build_dev.sh +3 -0
  42. package/scripts/build_prod.sh +3 -0
  43. package/scripts/postpublish.ts +10 -0
  44. package/scripts/start.sh +3 -0
  45. package/dist/index.js.LICENSE.txt +0 -114
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ * Unreleased
6
+ * v2.2.1
7
+ * patch: disable Sentry when no config is supplied to `TivioProvider`
8
+ * v2.2.0
9
+ * patch: reduced bundle size
10
+ * minor: disable Sentry when no config is supplied to `TivioProvider` or when Tivio is disabled `{ enable: false }`, or when Sentry is disabled via config `{ enableSentry: false }`
11
+ * v2.1.5
12
+ * patch fix of `useVideosInSection` hook (fetching video's monetizations)
5
13
  * v2.1.4
6
14
  * patch: fix re-rendering of `useAd` during non-skippable ads (requires core-react@2.1.9)
7
15
  * v2.1.3
@@ -1,112 +1,373 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1620299977616" clover="3.2.0">
3
- <project timestamp="1620299977616" name="All files">
4
- <metrics statements="89" coveredstatements="57" conditionals="22" coveredconditionals="5" methods="14" coveredmethods="8" elements="125" coveredelements="70" complexity="0" loc="89" ncloc="89" packages="2" files="4" classes="4"/>
2
+ <coverage generated="1634976111869" clover="3.2.0">
3
+ <project timestamp="1634976111869" name="All files">
4
+ <metrics statements="290" coveredstatements="236" conditionals="63" coveredconditionals="41" methods="62" coveredmethods="40" elements="415" coveredelements="317" complexity="0" loc="290" ncloc="290" packages="4" files="22" classes="22"/>
5
5
  <package name="src">
6
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
6
+ <metrics statements="17" coveredstatements="17" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
7
+ <file name="conf.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/conf.ts">
8
+ <metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
9
+ <line num="8" count="4" type="stmt"/>
10
+ <line num="9" count="4" type="stmt"/>
11
+ <line num="11" count="4" type="stmt"/>
12
+ <line num="12" count="4" type="stmt"/>
13
+ <line num="13" count="4" type="stmt"/>
14
+ <line num="32" count="4" type="stmt"/>
15
+ <line num="42" count="4" type="stmt"/>
16
+ <line num="43" count="8" type="stmt"/>
17
+ <line num="54" count="8" type="stmt"/>
18
+ </file>
7
19
  <file name="setupTests.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/setupTests.ts">
8
20
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9
- <line num="1" count="1" type="stmt"/>
10
- <line num="4" count="1" type="stmt"/>
11
- <line num="5" count="1" type="stmt"/>
12
- <line num="6" count="1" type="stmt"/>
13
- <line num="7" count="1" type="stmt"/>
14
- <line num="9" count="1" type="stmt"/>
15
- <line num="11" count="1" type="stmt"/>
16
- <line num="23" count="1" type="stmt"/>
21
+ <line num="1" count="7" type="stmt"/>
22
+ <line num="4" count="7" type="stmt"/>
23
+ <line num="5" count="7" type="stmt"/>
24
+ <line num="6" count="7" type="stmt"/>
25
+ <line num="7" count="7" type="stmt"/>
26
+ <line num="9" count="7" type="stmt"/>
27
+ <line num="11" count="7" type="stmt"/>
28
+ <line num="23" count="7" type="stmt"/>
29
+ </file>
30
+ </package>
31
+ <package name="src.components">
32
+ <metrics statements="35" coveredstatements="29" conditionals="10" coveredconditionals="5" methods="7" coveredmethods="4"/>
33
+ <file name="ContextProvider.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/ContextProvider.tsx">
34
+ <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
35
+ <line num="1" count="3" type="stmt"/>
36
+ <line num="2" count="3" type="stmt"/>
37
+ <line num="13" count="3" type="stmt"/>
38
+ <line num="15" count="2" type="stmt"/>
39
+ <line num="37" count="3" type="stmt"/>
40
+ </file>
41
+ <file name="TivioProvider.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/TivioProvider.tsx">
42
+ <metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="5" methods="4" coveredmethods="3"/>
43
+ <line num="6" count="3" type="stmt"/>
44
+ <line num="8" count="3" type="stmt"/>
45
+ <line num="9" count="3" type="stmt"/>
46
+ <line num="10" count="3" type="stmt"/>
47
+ <line num="11" count="3" type="stmt"/>
48
+ <line num="20" count="3" type="stmt"/>
49
+ <line num="21" count="3" type="stmt"/>
50
+ <line num="23" count="3" type="stmt"/>
51
+ <line num="27" count="6" type="cond" truecount="1" falsecount="1"/>
52
+ <line num="28" count="6" type="stmt"/>
53
+ <line num="30" count="6" type="stmt"/>
54
+ <line num="33" count="2" type="stmt"/>
55
+ <line num="36" count="2" type="cond" truecount="1" falsecount="1"/>
56
+ <line num="46" count="2" type="stmt"/>
57
+ <line num="55" count="3" type="stmt"/>
58
+ <line num="56" count="4" type="stmt"/>
59
+ <line num="58" count="3" type="cond" truecount="2" falsecount="0"/>
60
+ <line num="59" count="2" type="stmt"/>
61
+ <line num="62" count="1" type="stmt"/>
62
+ <line num="65" count="3" type="stmt"/>
63
+ <line num="66" count="0" type="stmt"/>
64
+ <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
65
+ <line num="69" count="0" type="stmt"/>
66
+ <line num="72" count="0" type="stmt"/>
67
+ </file>
68
+ <file name="TivioWidgetError.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/TivioWidgetError.tsx">
69
+ <metrics statements="3" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
70
+ <line num="6" count="4" type="stmt"/>
71
+ <line num="10" count="4" type="stmt"/>
72
+ <line num="11" count="0" type="stmt"/>
73
+ </file>
74
+ <file name="TivioWidgetLoader.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/TivioWidgetLoader.tsx">
75
+ <metrics statements="3" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
76
+ <line num="6" count="4" type="stmt"/>
77
+ <line num="8" count="4" type="stmt"/>
78
+ <line num="9" count="0" type="stmt"/>
79
+ </file>
80
+ </package>
81
+ <package name="src.components.context">
82
+ <metrics statements="91" coveredstatements="72" conditionals="0" coveredconditionals="0" methods="20" coveredmethods="8"/>
83
+ <file name="ChannelsContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/ChannelsContext.tsx">
84
+ <metrics statements="13" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="1"/>
85
+ <line num="1" count="3" type="stmt"/>
86
+ <line num="5" count="3" type="stmt"/>
87
+ <line num="7" count="0" type="stmt"/>
88
+ <line num="10" count="3" type="stmt"/>
89
+ <line num="11" count="2" type="stmt"/>
90
+ <line num="12" count="2" type="stmt"/>
91
+ <line num="14" count="2" type="stmt"/>
92
+ <line num="15" count="0" type="stmt"/>
93
+ <line num="20" count="0" type="stmt"/>
94
+ <line num="21" count="0" type="stmt"/>
95
+ <line num="24" count="2" type="stmt"/>
96
+ <line num="37" count="3" type="stmt"/>
97
+ <line num="38" count="3" type="stmt"/>
98
+ </file>
99
+ <file name="OrganizationSubscriptionsContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/OrganizationSubscriptionsContext.tsx">
100
+ <metrics statements="8" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
101
+ <line num="1" count="3" type="stmt"/>
102
+ <line num="10" count="3" type="stmt"/>
103
+ <line num="12" count="0" type="stmt"/>
104
+ <line num="15" count="3" type="stmt"/>
105
+ <line num="16" count="2" type="stmt"/>
106
+ <line num="18" count="2" type="stmt"/>
107
+ <line num="31" count="3" type="stmt"/>
108
+ <line num="32" count="3" type="stmt"/>
109
+ </file>
110
+ <file name="PurchasesWithVideosContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/PurchasesWithVideosContext.tsx">
111
+ <metrics statements="8" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
112
+ <line num="1" count="3" type="stmt"/>
113
+ <line num="10" count="3" type="stmt"/>
114
+ <line num="12" count="0" type="stmt"/>
115
+ <line num="15" count="3" type="stmt"/>
116
+ <line num="16" count="2" type="stmt"/>
117
+ <line num="18" count="2" type="stmt"/>
118
+ <line num="31" count="3" type="stmt"/>
119
+ <line num="32" count="3" type="stmt"/>
120
+ </file>
121
+ <file name="RowItemsContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/RowItemsContext.tsx">
122
+ <metrics statements="10" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="1"/>
123
+ <line num="2" count="3" type="stmt"/>
124
+ <line num="8" count="3" type="stmt"/>
125
+ <line num="10" count="3" type="stmt"/>
126
+ <line num="11" count="2" type="stmt"/>
127
+ <line num="13" count="2" type="stmt"/>
128
+ <line num="14" count="0" type="stmt"/>
129
+ <line num="15" count="0" type="stmt"/>
130
+ <line num="22" count="2" type="stmt"/>
131
+ <line num="35" count="3" type="stmt"/>
132
+ <line num="36" count="3" type="stmt"/>
133
+ </file>
134
+ <file name="ScreensContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/ScreensContext.tsx">
135
+ <metrics statements="10" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
136
+ <line num="1" count="3" type="stmt"/>
137
+ <line num="6" count="3" type="stmt"/>
138
+ <line num="8" count="3" type="stmt"/>
139
+ <line num="9" count="2" type="stmt"/>
140
+ <line num="11" count="2" type="stmt"/>
141
+ <line num="12" count="0" type="stmt"/>
142
+ <line num="17" count="0" type="stmt"/>
143
+ <line num="20" count="2" type="stmt"/>
144
+ <line num="33" count="3" type="stmt"/>
145
+ <line num="34" count="3" type="stmt"/>
146
+ </file>
147
+ <file name="SectionsContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/SectionsContext.tsx">
148
+ <metrics statements="13" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="1"/>
149
+ <line num="1" count="3" type="stmt"/>
150
+ <line num="6" count="3" type="stmt"/>
151
+ <line num="8" count="0" type="stmt"/>
152
+ <line num="11" count="3" type="stmt"/>
153
+ <line num="12" count="2" type="stmt"/>
154
+ <line num="13" count="2" type="stmt"/>
155
+ <line num="15" count="2" type="stmt"/>
156
+ <line num="16" count="0" type="stmt"/>
157
+ <line num="21" count="0" type="stmt"/>
158
+ <line num="22" count="0" type="stmt"/>
159
+ <line num="25" count="2" type="stmt"/>
160
+ <line num="38" count="3" type="stmt"/>
161
+ <line num="39" count="3" type="stmt"/>
162
+ </file>
163
+ <file name="UserContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/UserContext.tsx">
164
+ <metrics statements="8" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
165
+ <line num="1" count="3" type="stmt"/>
166
+ <line num="9" count="3" type="stmt"/>
167
+ <line num="11" count="0" type="stmt"/>
168
+ <line num="14" count="3" type="stmt"/>
169
+ <line num="15" count="2" type="stmt"/>
170
+ <line num="17" count="2" type="stmt"/>
171
+ <line num="30" count="3" type="stmt"/>
172
+ <line num="31" count="3" type="stmt"/>
173
+ </file>
174
+ <file name="VideosContext.tsx" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/VideosContext.tsx">
175
+ <metrics statements="13" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="1"/>
176
+ <line num="1" count="3" type="stmt"/>
177
+ <line num="6" count="3" type="stmt"/>
178
+ <line num="8" count="0" type="stmt"/>
179
+ <line num="11" count="3" type="stmt"/>
180
+ <line num="12" count="2" type="stmt"/>
181
+ <line num="13" count="2" type="stmt"/>
182
+ <line num="15" count="2" type="stmt"/>
183
+ <line num="16" count="0" type="stmt"/>
184
+ <line num="21" count="0" type="stmt"/>
185
+ <line num="22" count="0" type="stmt"/>
186
+ <line num="25" count="2" type="stmt"/>
187
+ <line num="38" count="3" type="stmt"/>
188
+ <line num="39" count="3" type="stmt"/>
189
+ </file>
190
+ <file name="index.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/components/context/index.ts">
191
+ <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
192
+ <line num="1" count="3" type="stmt"/>
193
+ <line num="2" count="3" type="stmt"/>
194
+ <line num="3" count="3" type="stmt"/>
195
+ <line num="4" count="3" type="stmt"/>
196
+ <line num="5" count="3" type="stmt"/>
197
+ <line num="6" count="3" type="stmt"/>
198
+ <line num="7" count="3" type="stmt"/>
199
+ <line num="8" count="3" type="stmt"/>
17
200
  </file>
18
201
  </package>
19
202
  <package name="src.services">
20
- <metrics statements="81" coveredstatements="49" conditionals="22" coveredconditionals="5" methods="14" coveredmethods="8"/>
203
+ <metrics statements="147" coveredstatements="118" conditionals="49" coveredconditionals="33" methods="34" coveredmethods="27"/>
21
204
  <file name="bundleLoader.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/bundleLoader.ts">
22
- <metrics statements="55" coveredstatements="35" conditionals="14" coveredconditionals="5" methods="10" coveredmethods="7"/>
23
- <line num="12" count="1" type="stmt"/>
24
- <line num="15" count="1" type="stmt"/>
25
- <line num="16" count="1" type="stmt"/>
26
- <line num="49" count="1" type="stmt"/>
27
- <line num="50" count="12" type="stmt"/>
28
- <line num="51" count="12" type="stmt"/>
29
- <line num="53" count="12" type="stmt"/>
30
- <line num="59" count="12" type="stmt"/>
31
- <line num="60" count="12" type="stmt"/>
32
- <line num="62" count="12" type="stmt"/>
33
- <line num="63" count="12" type="stmt"/>
34
- <line num="64" count="10" type="stmt"/>
35
- <line num="66" count="2" type="stmt"/>
36
- <line num="69" count="10" type="cond" truecount="2" falsecount="0"/>
37
- <line num="70" count="2" type="stmt"/>
38
- <line num="73" count="8" type="stmt"/>
39
- <line num="80" count="1" type="stmt"/>
40
- <line num="81" count="14" type="stmt"/>
41
- <line num="82" count="8" type="stmt"/>
42
- <line num="84" count="7" type="stmt"/>
43
- <line num="85" count="7" type="stmt"/>
44
- <line num="87" count="7" type="stmt"/>
45
- <line num="88" count="7" type="stmt"/>
46
- <line num="89" count="6" type="stmt"/>
47
- <line num="91" count="1" type="stmt"/>
48
- <line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
49
- <line num="95" count="1" type="stmt"/>
50
- <line num="98" count="5" type="cond" truecount="1" falsecount="1"/>
51
- <line num="99" count="5" type="stmt"/>
52
- <line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
53
- <line num="103" count="0" type="stmt"/>
54
- <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
55
- <line num="107" count="0" type="stmt"/>
56
- <line num="112" count="0" type="stmt"/>
57
- <line num="117" count="1" type="stmt"/>
58
- <line num="118" count="7" type="stmt"/>
59
- <line num="119" count="7" type="stmt"/>
60
- <line num="121" count="7" type="stmt"/>
61
- <line num="122" count="14" type="stmt"/>
62
- <line num="135" count="14" type="stmt"/>
63
- <line num="147" count="0" type="stmt"/>
64
- <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
65
- <line num="149" count="0" type="stmt"/>
66
- <line num="152" count="0" type="stmt"/>
67
- <line num="154" count="0" type="cond" truecount="0" falsecount="2"/>
68
- <line num="155" count="0" type="stmt"/>
69
- <line num="156" count="0" type="stmt"/>
70
- <line num="159" count="0" type="stmt"/>
71
- <line num="161" count="0" type="stmt"/>
72
- <line num="173" count="0" type="stmt"/>
73
- <line num="174" count="0" type="stmt"/>
74
- <line num="177" count="0" type="stmt"/>
75
- <line num="179" count="0" type="stmt"/>
76
- <line num="190" count="0" type="stmt"/>
77
- <line num="194" count="0" type="stmt"/>
78
- </file>
79
- <file name="dependencyResolver.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/dependencyResolver.ts">
80
- <metrics statements="13" coveredstatements="10" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
205
+ <metrics statements="64" coveredstatements="48" conditionals="18" coveredconditionals="9" methods="11" coveredmethods="10"/>
81
206
  <line num="12" count="1" type="stmt"/>
82
- <line num="13" count="1" type="stmt"/>
83
- <line num="14" count="1" type="stmt"/>
84
- <line num="15" count="1" type="stmt"/>
85
- <line num="16" count="1" type="stmt"/>
86
207
  <line num="17" count="1" type="stmt"/>
87
208
  <line num="18" count="1" type="stmt"/>
88
- <line num="19" count="1" type="stmt"/>
89
- <line num="28" count="1" type="stmt"/>
90
- <line num="38" count="1" type="stmt"/>
91
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
92
- <line num="40" count="0" type="stmt"/>
93
- <line num="43" count="0" type="stmt"/>
209
+ <line num="27" count="1" type="stmt"/>
210
+ <line num="28" count="19" type="stmt"/>
211
+ <line num="29" count="19" type="stmt"/>
212
+ <line num="31" count="19" type="stmt"/>
213
+ <line num="34" count="1" type="stmt"/>
214
+ <line num="35" count="19" type="cond" truecount="1" falsecount="1"/>
215
+ <line num="36" count="0" type="stmt"/>
216
+ <line num="38" count="0" type="stmt"/>
217
+ <line num="39" count="0" type="stmt"/>
218
+ <line num="42" count="19" type="stmt"/>
219
+ <line num="48" count="19" type="stmt"/>
220
+ <line num="49" count="19" type="stmt"/>
221
+ <line num="51" count="19" type="stmt"/>
222
+ <line num="52" count="19" type="stmt"/>
223
+ <line num="53" count="17" type="stmt"/>
224
+ <line num="56" count="2" type="stmt"/>
225
+ <line num="59" count="17" type="cond" truecount="2" falsecount="0"/>
226
+ <line num="60" count="2" type="stmt"/>
227
+ <line num="63" count="15" type="stmt"/>
228
+ <line num="70" count="1" type="stmt"/>
229
+ <line num="71" count="16" type="stmt"/>
230
+ <line num="72" count="15" type="stmt"/>
231
+ <line num="74" count="14" type="stmt"/>
232
+ <line num="75" count="14" type="stmt"/>
233
+ <line num="77" count="14" type="stmt"/>
234
+ <line num="78" count="14" type="stmt"/>
235
+ <line num="79" count="13" type="stmt"/>
236
+ <line num="82" count="1" type="stmt"/>
237
+ <line num="85" count="13" type="cond" truecount="2" falsecount="0"/>
238
+ <line num="86" count="1" type="stmt"/>
239
+ <line num="89" count="12" type="cond" truecount="1" falsecount="1"/>
240
+ <line num="90" count="12" type="stmt"/>
241
+ <line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
242
+ <line num="94" count="0" type="stmt"/>
243
+ <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
244
+ <line num="98" count="0" type="stmt"/>
245
+ <line num="101" count="0" type="stmt"/>
246
+ <line num="106" count="1" type="stmt"/>
247
+ <line num="107" count="7" type="stmt"/>
248
+ <line num="108" count="7" type="stmt"/>
249
+ <line num="110" count="7" type="stmt"/>
250
+ <line num="111" count="9" type="stmt"/>
251
+ <line num="116" count="9" type="stmt"/>
252
+ <line num="134" count="9" type="stmt"/>
253
+ <line num="135" count="7" type="cond" truecount="3" falsecount="1"/>
254
+ <line num="136" count="0" type="stmt"/>
255
+ <line num="139" count="7" type="stmt"/>
256
+ <line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
257
+ <line num="142" count="0" type="stmt"/>
258
+ <line num="143" count="0" type="stmt"/>
259
+ <line num="146" count="0" type="stmt"/>
260
+ <line num="148" count="0" type="stmt"/>
261
+ <line num="166" count="0" type="stmt"/>
262
+ <line num="167" count="0" type="stmt"/>
263
+ <line num="170" count="7" type="stmt"/>
264
+ <line num="172" count="2" type="stmt"/>
265
+ <line num="179" count="2" type="stmt"/>
266
+ <line num="183" count="9" type="stmt"/>
267
+ <line num="188" count="1" type="stmt"/>
268
+ <line num="189" count="1" type="stmt"/>
269
+ <line num="190" count="1" type="stmt"/>
94
270
  </file>
95
- <file name="settings.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/settings.ts">
96
- <metrics statements="13" coveredstatements="4" conditionals="6" coveredconditionals="0" methods="3" coveredmethods="1"/>
97
- <line num="18" count="1" type="stmt"/>
98
- <line num="19" count="12" type="stmt"/>
99
- <line num="23" count="12" type="stmt"/>
100
- <line num="25" count="12" type="stmt"/>
101
- <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
102
- <line num="28" count="0" type="stmt"/>
103
- <line num="30" count="0" type="stmt"/>
271
+ <file name="dependencyResolver.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/dependencyResolver.ts">
272
+ <metrics statements="12" coveredstatements="12" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
273
+ <line num="12" count="2" type="stmt"/>
274
+ <line num="13" count="2" type="stmt"/>
275
+ <line num="14" count="2" type="stmt"/>
276
+ <line num="15" count="2" type="stmt"/>
277
+ <line num="16" count="2" type="stmt"/>
278
+ <line num="17" count="2" type="stmt"/>
279
+ <line num="18" count="2" type="stmt"/>
280
+ <line num="30" count="2" type="stmt"/>
281
+ <line num="40" count="2" type="stmt"/>
282
+ <line num="41" count="2" type="cond" truecount="2" falsecount="0"/>
283
+ <line num="42" count="1" type="stmt"/>
284
+ <line num="45" count="1" type="stmt"/>
285
+ </file>
286
+ <file name="logger.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/logger.ts">
287
+ <metrics statements="18" coveredstatements="18" conditionals="8" coveredconditionals="8" methods="7" coveredmethods="7"/>
288
+ <line num="14" count="4" type="stmt"/>
289
+ <line num="42" count="4" type="stmt"/>
290
+ <line num="43" count="9" type="stmt"/>
291
+ <line num="45" count="9" type="stmt"/>
292
+ <line num="46" count="5" type="cond" truecount="2" falsecount="0"/>
293
+ <line num="47" count="4" type="stmt"/>
294
+ <line num="50" count="5" type="cond" truecount="2" falsecount="0"/>
295
+ <line num="51" count="1" type="stmt"/>
296
+ <line num="55" count="9" type="stmt"/>
297
+ <line num="56" count="2" type="cond" truecount="2" falsecount="0"/>
298
+ <line num="57" count="1" type="stmt"/>
299
+ <line num="60" count="2" type="cond" truecount="2" falsecount="0"/>
300
+ <line num="61" count="1" type="stmt"/>
301
+ <line num="65" count="9" type="stmt"/>
302
+ <line num="67" count="2" type="stmt"/>
303
+ <line num="70" count="1" type="stmt"/>
304
+ <line num="73" count="1" type="stmt"/>
305
+ <line num="76" count="1" type="stmt"/>
306
+ </file>
307
+ <file name="packageLoader.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/packageLoader.ts">
308
+ <metrics statements="11" coveredstatements="11" conditionals="7" coveredconditionals="7" methods="3" coveredmethods="3"/>
309
+ <line num="12" count="5" type="stmt"/>
310
+ <line num="16" count="5" type="stmt"/>
311
+ <line num="17" count="4" type="stmt"/>
312
+ <line num="19" count="4" type="cond" truecount="2" falsecount="0"/>
313
+ <line num="20" count="1" type="stmt"/>
314
+ <line num="23" count="3" type="cond" truecount="5" falsecount="0"/>
315
+ <line num="26" count="1" type="stmt"/>
316
+ <line num="29" count="2" type="stmt"/>
317
+ <line num="32" count="5" type="stmt"/>
318
+ <line num="33" count="2" type="stmt"/>
319
+ <line num="36" count="5" type="stmt"/>
320
+ </file>
321
+ <file name="pubSub.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/pubSub.ts">
322
+ <metrics statements="19" coveredstatements="8" conditionals="8" coveredconditionals="1" methods="7" coveredmethods="2"/>
323
+ <line num="13" count="4" type="stmt"/>
324
+ <line num="14" count="4" type="stmt"/>
325
+ <line num="16" count="4" type="stmt"/>
326
+ <line num="18" count="0" type="stmt"/>
327
+ <line num="19" count="0" type="stmt"/>
328
+ <line num="23" count="0" type="stmt"/>
329
+ <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
330
+ <line num="25" count="0" type="stmt"/>
331
+ <line num="27" count="0" type="stmt"/>
332
+ <line num="29" count="0" type="stmt"/>
333
+ <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
334
+ <line num="31" count="0" type="stmt"/>
104
335
  <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
105
336
  <line num="33" count="0" type="stmt"/>
106
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
107
- <line num="39" count="0" type="stmt"/>
108
- <line num="40" count="0" type="stmt"/>
109
- <line num="42" count="0" type="stmt"/>
337
+ <line num="43" count="4" type="stmt"/>
338
+ <line num="48" count="4" type="stmt"/>
339
+ <line num="49" count="4" type="cond" truecount="1" falsecount="1"/>
340
+ <line num="50" count="4" type="stmt"/>
341
+ <line num="53" count="4" type="stmt"/>
342
+ </file>
343
+ <file name="sentry.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/sentry.ts">
344
+ <metrics statements="10" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
345
+ <line num="1" count="4" type="stmt"/>
346
+ <line num="3" count="4" type="stmt"/>
347
+ <line num="4" count="4" type="stmt"/>
348
+ <line num="6" count="4" type="stmt"/>
349
+ <line num="8" count="4" type="stmt"/>
350
+ <line num="9" count="0" type="stmt"/>
351
+ <line num="19" count="0" type="stmt"/>
352
+ <line num="25" count="4" type="stmt"/>
353
+ <line num="27" count="2" type="stmt"/>
354
+ <line num="29" count="2" type="stmt"/>
355
+ </file>
356
+ <file name="settings.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/settings.ts">
357
+ <metrics statements="13" coveredstatements="13" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
358
+ <line num="18" count="2" type="stmt"/>
359
+ <line num="19" count="19" type="stmt"/>
360
+ <line num="23" count="19" type="stmt"/>
361
+ <line num="25" count="19" type="stmt"/>
362
+ <line num="27" count="6" type="cond" truecount="2" falsecount="0"/>
363
+ <line num="28" count="4" type="stmt"/>
364
+ <line num="30" count="2" type="stmt"/>
365
+ <line num="32" count="2" type="cond" truecount="2" falsecount="0"/>
366
+ <line num="33" count="1" type="stmt"/>
367
+ <line num="38" count="2" type="cond" truecount="2" falsecount="0"/>
368
+ <line num="39" count="1" type="stmt"/>
369
+ <line num="40" count="1" type="stmt"/>
370
+ <line num="42" count="1" type="stmt"/>
110
371
  </file>
111
372
  </package>
112
373
  </project>