@multiplayer-app/session-recorder-react-native 1.0.1-beta.4 → 1.0.1-beta.6

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.
Files changed (180) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/AndroidManifest.xml +2 -2
  3. package/android/src/main/java/com/{multiplayer/sessionrecordernative → sessionrecordernative}/SessionRecorderNativeConfig.kt +1 -1
  4. package/android/src/main/java/com/{multiplayer/sessionrecordernative → sessionrecordernative}/SessionRecorderNativeModule.kt +9 -9
  5. package/android/src/main/java/com/{multiplayer/sessionrecordernative → sessionrecordernative}/SessionRecorderNativePackage.kt +2 -2
  6. package/android/src/main/java/com/{multiplayer/sessionrecordernative → sessionrecordernative}/model/TargetInfo.kt +1 -1
  7. package/android/src/main/java/com/{multiplayer/sessionrecordernative → sessionrecordernative}/util/ViewUtils.kt +2 -2
  8. package/lib/module/SessionRecorderNativeSpec.js +5 -0
  9. package/lib/module/SessionRecorderNativeSpec.js.map +1 -0
  10. package/lib/module/components/SessionRecorderWidget/ErrorBanner.js.map +1 -1
  11. package/lib/module/components/SessionRecorderWidget/ModalHeader.js.map +1 -1
  12. package/lib/module/components/SessionRecorderWidget/SessionRecorderWidget.js.map +1 -1
  13. package/lib/module/components/SessionRecorderWidget/icons.js.map +1 -1
  14. package/lib/module/components/SessionRecorderWidget/styles.js.map +1 -1
  15. package/lib/module/config/constants.js.map +1 -1
  16. package/lib/module/config/defaults.js.map +1 -1
  17. package/lib/module/config/masking.js.map +1 -1
  18. package/lib/module/config/session-recorder.js.map +1 -1
  19. package/lib/module/config/validators.js.map +1 -1
  20. package/lib/module/config/widget.js.map +1 -1
  21. package/lib/module/context/SessionRecorderStore.js.map +1 -1
  22. package/lib/module/context/useSessionRecorderStore.js.map +1 -1
  23. package/lib/module/context/useStoreSelector.js.map +1 -1
  24. package/lib/module/native/SessionRecorderNative.js +16 -11
  25. package/lib/module/native/SessionRecorderNative.js.map +1 -1
  26. package/lib/module/native/index.js.map +1 -1
  27. package/lib/module/otel/helpers.js +1 -1
  28. package/lib/module/otel/helpers.js.map +1 -1
  29. package/lib/module/otel/index.js.map +1 -1
  30. package/lib/module/otel/instrumentations/index.js.map +1 -1
  31. package/lib/module/patch/xhr.js.map +1 -1
  32. package/lib/module/recorder/eventExporter.js.map +1 -1
  33. package/lib/module/recorder/gestureRecorder.js.map +1 -1
  34. package/lib/module/recorder/index.js.map +1 -1
  35. package/lib/module/recorder/navigationTracker.js.map +1 -1
  36. package/lib/module/recorder/screenRecorder.js.map +1 -1
  37. package/lib/module/services/api.service.js.map +1 -1
  38. package/lib/module/services/network.service.js.map +1 -1
  39. package/lib/module/services/screenMaskingService.js +1 -1
  40. package/lib/module/services/screenMaskingService.js.map +1 -1
  41. package/lib/module/services/storage.service.js.map +1 -1
  42. package/lib/module/session-recorder.js.map +1 -1
  43. package/lib/module/types/index.js.map +1 -1
  44. package/lib/module/types/session-recorder.js.map +1 -1
  45. package/lib/module/utils/app-metadata.js +2 -2
  46. package/lib/module/utils/constants.optional.js.map +1 -1
  47. package/lib/module/utils/createStore.js.map +1 -1
  48. package/lib/module/utils/logger.js +0 -8
  49. package/lib/module/utils/logger.js.map +1 -1
  50. package/lib/module/utils/platform.js +1 -1
  51. package/lib/module/utils/platform.js.map +1 -1
  52. package/lib/module/utils/rrweb-events.js.map +1 -1
  53. package/lib/module/utils/session.js.map +1 -1
  54. package/lib/module/utils/shallowEqual.js.map +1 -1
  55. package/lib/module/utils/time.js.map +1 -1
  56. package/lib/module/version.js +1 -1
  57. package/lib/typescript/src/SessionRecorderNativeSpec.d.ts +42 -0
  58. package/lib/typescript/src/SessionRecorderNativeSpec.d.ts.map +1 -0
  59. package/lib/typescript/src/components/ScreenRecorderView/index.d.ts +1 -1
  60. package/lib/typescript/src/components/SessionRecorderWidget/ErrorBanner.d.ts.map +1 -1
  61. package/lib/typescript/src/components/SessionRecorderWidget/ModalHeader.d.ts.map +1 -1
  62. package/lib/typescript/src/components/SessionRecorderWidget/SessionRecorderWidget.d.ts.map +1 -1
  63. package/lib/typescript/src/components/SessionRecorderWidget/icons.d.ts.map +1 -1
  64. package/lib/typescript/src/components/SessionRecorderWidget/index.d.ts +1 -1
  65. package/lib/typescript/src/components/SessionRecorderWidget/styles.d.ts.map +1 -1
  66. package/lib/typescript/src/components/index.d.ts.map +1 -1
  67. package/lib/typescript/src/config/constants.d.ts.map +1 -1
  68. package/lib/typescript/src/config/defaults.d.ts.map +1 -1
  69. package/lib/typescript/src/config/index.d.ts.map +1 -1
  70. package/lib/typescript/src/config/masking.d.ts.map +1 -1
  71. package/lib/typescript/src/config/session-recorder.d.ts.map +1 -1
  72. package/lib/typescript/src/config/validators.d.ts.map +1 -1
  73. package/lib/typescript/src/config/widget.d.ts +1 -1
  74. package/lib/typescript/src/config/widget.d.ts.map +1 -1
  75. package/lib/typescript/src/context/SessionRecorderStore.d.ts.map +1 -1
  76. package/lib/typescript/src/context/useSessionRecorderStore.d.ts +3 -3
  77. package/lib/typescript/src/context/useSessionRecorderStore.d.ts.map +1 -1
  78. package/lib/typescript/src/context/useStoreSelector.d.ts.map +1 -1
  79. package/lib/typescript/src/index.d.ts.map +1 -1
  80. package/lib/typescript/src/native/SessionRecorderNative.d.ts +3 -54
  81. package/lib/typescript/src/native/SessionRecorderNative.d.ts.map +1 -1
  82. package/lib/typescript/src/native/index.d.ts +1 -1
  83. package/lib/typescript/src/native/index.d.ts.map +1 -1
  84. package/lib/typescript/src/otel/helpers.d.ts.map +1 -1
  85. package/lib/typescript/src/otel/index.d.ts.map +1 -1
  86. package/lib/typescript/src/otel/instrumentations/index.d.ts.map +1 -1
  87. package/lib/typescript/src/patch/index.d.ts.map +1 -1
  88. package/lib/typescript/src/patch/xhr.d.ts.map +1 -1
  89. package/lib/typescript/src/recorder/eventExporter.d.ts.map +1 -1
  90. package/lib/typescript/src/recorder/gestureRecorder.d.ts.map +1 -1
  91. package/lib/typescript/src/recorder/index.d.ts.map +1 -1
  92. package/lib/typescript/src/recorder/navigationTracker.d.ts.map +1 -1
  93. package/lib/typescript/src/recorder/screenRecorder.d.ts.map +1 -1
  94. package/lib/typescript/src/services/api.service.d.ts.map +1 -1
  95. package/lib/typescript/src/services/network.service.d.ts.map +1 -1
  96. package/lib/typescript/src/services/screenMaskingService.d.ts +1 -1
  97. package/lib/typescript/src/services/screenMaskingService.d.ts.map +1 -1
  98. package/lib/typescript/src/services/storage.service.d.ts.map +1 -1
  99. package/lib/typescript/src/session-recorder.d.ts.map +1 -1
  100. package/lib/typescript/src/types/configs.d.ts.map +1 -1
  101. package/lib/typescript/src/types/index.d.ts.map +1 -1
  102. package/lib/typescript/src/types/session-recorder.d.ts +4 -4
  103. package/lib/typescript/src/types/session-recorder.d.ts.map +1 -1
  104. package/lib/typescript/src/types/session.d.ts.map +1 -1
  105. package/lib/typescript/src/utils/app-metadata.d.ts.map +1 -1
  106. package/lib/typescript/src/utils/constants.optional.d.ts.map +1 -1
  107. package/lib/typescript/src/utils/constants.optional.expo.d.ts.map +1 -1
  108. package/lib/typescript/src/utils/createStore.d.ts.map +1 -1
  109. package/lib/typescript/src/utils/index.d.ts.map +1 -1
  110. package/lib/typescript/src/utils/logger.d.ts +1 -1
  111. package/lib/typescript/src/utils/logger.d.ts.map +1 -1
  112. package/lib/typescript/src/utils/platform.d.ts.map +1 -1
  113. package/lib/typescript/src/utils/request-utils.d.ts.map +1 -1
  114. package/lib/typescript/src/utils/rrweb-events.d.ts.map +1 -1
  115. package/lib/typescript/src/utils/session.d.ts.map +1 -1
  116. package/lib/typescript/src/utils/shallowEqual.d.ts.map +1 -1
  117. package/lib/typescript/src/utils/time.d.ts.map +1 -1
  118. package/lib/typescript/src/utils/type-utils.d.ts.map +1 -1
  119. package/lib/typescript/src/version.d.ts.map +1 -1
  120. package/package.json +2 -2
  121. package/src/SessionRecorderNativeSpec.ts +53 -0
  122. package/src/components/ScreenRecorderView/index.ts +1 -1
  123. package/src/components/SessionRecorderWidget/ErrorBanner.tsx +14 -14
  124. package/src/components/SessionRecorderWidget/ModalHeader.tsx +11 -9
  125. package/src/components/SessionRecorderWidget/SessionRecorderWidget.tsx +70 -56
  126. package/src/components/SessionRecorderWidget/icons.tsx +58 -30
  127. package/src/components/SessionRecorderWidget/index.ts +1 -1
  128. package/src/components/SessionRecorderWidget/styles.ts +17 -18
  129. package/src/components/index.ts +2 -2
  130. package/src/config/constants.ts +19 -20
  131. package/src/config/defaults.ts +35 -31
  132. package/src/config/index.ts +5 -5
  133. package/src/config/masking.ts +44 -18
  134. package/src/config/session-recorder.ts +54 -26
  135. package/src/config/validators.ts +43 -20
  136. package/src/config/widget.ts +24 -15
  137. package/src/context/SessionRecorderStore.ts +19 -18
  138. package/src/context/useSessionRecorderStore.ts +17 -10
  139. package/src/context/useStoreSelector.ts +20 -18
  140. package/src/index.ts +7 -7
  141. package/src/native/SessionRecorderNative.ts +68 -112
  142. package/src/native/index.ts +5 -1
  143. package/src/otel/helpers.ts +109 -93
  144. package/src/otel/index.ts +46 -49
  145. package/src/otel/instrumentations/index.ts +44 -41
  146. package/src/patch/index.ts +1 -1
  147. package/src/patch/xhr.ts +77 -78
  148. package/src/recorder/eventExporter.ts +63 -68
  149. package/src/recorder/gestureRecorder.ts +359 -212
  150. package/src/recorder/index.ts +75 -62
  151. package/src/recorder/navigationTracker.ts +120 -97
  152. package/src/recorder/screenRecorder.ts +214 -163
  153. package/src/services/api.service.ts +49 -48
  154. package/src/services/network.service.ts +67 -58
  155. package/src/services/screenMaskingService.ts +81 -50
  156. package/src/services/storage.service.ts +99 -70
  157. package/src/session-recorder.ts +270 -214
  158. package/src/types/configs.ts +53 -31
  159. package/src/types/expo-constants.d.ts +2 -2
  160. package/src/types/index.ts +16 -18
  161. package/src/types/session-recorder.ts +106 -111
  162. package/src/types/session.ts +45 -45
  163. package/src/utils/app-metadata.ts +9 -9
  164. package/src/utils/constants.optional.expo.ts +3 -3
  165. package/src/utils/constants.optional.ts +14 -12
  166. package/src/utils/createStore.ts +23 -20
  167. package/src/utils/index.ts +7 -7
  168. package/src/utils/logger.ts +87 -58
  169. package/src/utils/platform.ts +149 -118
  170. package/src/utils/request-utils.ts +15 -15
  171. package/src/utils/rrweb-events.ts +47 -34
  172. package/src/utils/session.ts +15 -12
  173. package/src/utils/shallowEqual.ts +16 -10
  174. package/src/utils/time.ts +7 -4
  175. package/src/utils/type-utils.ts +36 -36
  176. package/src/version.ts +1 -1
  177. package/android/src/main/java/com/multiplayer/sessionrecordernative/SessionRecorderNativeModuleSpec.kt +0 -51
  178. package/android/src/main/java/com/xxx/XxxModule.kt +0 -23
  179. package/ios/Xxx.h +0 -5
  180. package/ios/Xxx.mm +0 -21
@@ -1,52 +1,80 @@
1
- import React from 'react'
2
- import Svg, { Path, Circle } from 'react-native-svg'
1
+ import React from 'react';
2
+ import Svg, { Path, Circle } from 'react-native-svg';
3
3
 
4
4
  interface IconProps {
5
- size?: number
6
- color?: string
5
+ size?: number;
6
+ color?: string;
7
7
  }
8
8
 
9
- export const RecordIcon: React.FC<IconProps> = ({ size = 19, color = 'white' }) => (
10
- <Svg width={size} height={size} viewBox='0 0 19 19' fill='none'>
9
+ export const RecordIcon: React.FC<IconProps> = ({
10
+ size = 19,
11
+ color = 'white',
12
+ }) => (
13
+ <Svg width={size} height={size} viewBox="0 0 19 19" fill="none">
11
14
  <Path
12
- fillRule='evenodd'
13
- clipRule='evenodd'
14
- d='M6.68926 5.30356C6.56568 5.38721 6.39976 5.37561 6.29459 5.26937L3.58782 2.53477C3.46424 2.40992 3.47196 2.20492 3.60862 2.09483C5.2319 0.786982 7.28494 0 9.51866 0C11.7535 0 13.8066 0.787042 15.4308 2.09586C15.5674 2.20596 15.5752 2.41091 15.4516 2.53577L12.7468 5.26931C12.6416 5.37558 12.4757 5.38719 12.3521 5.30353C11.5393 4.75345 10.571 4.42281 9.52066 4.42281C8.47036 4.42281 7.50203 4.75346 6.68926 5.30356ZM16.4926 3.4303C16.6163 3.30527 16.8197 3.31303 16.9288 3.45121C18.2224 5.08933 19.0001 7.15932 19.0001 9.4116C19.0001 11.6671 18.2204 13.7392 16.9238 15.3785C16.8147 15.5165 16.6114 15.5242 16.4877 15.3992L13.7872 12.6701C13.682 12.5638 13.6708 12.3962 13.7538 12.2716C14.3006 11.451 14.6291 10.4727 14.6291 9.4116C14.6291 8.35454 14.3016 7.37925 13.756 6.56083C13.6728 6.43616 13.6841 6.26857 13.7893 6.16224L16.4926 3.4303ZM5.21676 12.6712C5.322 12.5649 5.3333 12.3974 5.2502 12.2727C4.70331 11.4522 4.374 10.4737 4.374 9.41184C4.374 8.35469 4.70232 7.37949 5.24808 6.56106C5.33123 6.43637 5.31996 6.26872 5.2147 6.16241L2.50855 3.4293C2.38482 3.30434 2.18146 3.31213 2.07236 3.45028C0.77864 5.08841 0 7.15845 0 9.41184C0 11.6684 0.78066 13.7406 2.07831 15.3799C2.18749 15.5178 2.39066 15.5255 2.51429 15.4006L5.21676 12.6712ZM12.3323 13.707C12.4559 13.6231 12.6221 13.6346 12.7273 13.741L15.4277 16.4691C15.5513 16.594 15.5435 16.7991 15.4068 16.9091C13.7837 18.215 11.7327 19 9.49998 19C7.2693 19 5.21837 18.2159 3.59619 16.9102C3.45943 16.8001 3.45169 16.595 3.57533 16.4702L6.27769 13.7409C6.38296 13.6346 6.54906 13.6231 6.67267 13.707C7.48459 14.2577 8.45278 14.5883 9.50198 14.5883C10.5522 14.5883 11.5204 14.2578 12.3323 13.707Z'
15
+ fillRule="evenodd"
16
+ clipRule="evenodd"
17
+ d="M6.68926 5.30356C6.56568 5.38721 6.39976 5.37561 6.29459 5.26937L3.58782 2.53477C3.46424 2.40992 3.47196 2.20492 3.60862 2.09483C5.2319 0.786982 7.28494 0 9.51866 0C11.7535 0 13.8066 0.787042 15.4308 2.09586C15.5674 2.20596 15.5752 2.41091 15.4516 2.53577L12.7468 5.26931C12.6416 5.37558 12.4757 5.38719 12.3521 5.30353C11.5393 4.75345 10.571 4.42281 9.52066 4.42281C8.47036 4.42281 7.50203 4.75346 6.68926 5.30356ZM16.4926 3.4303C16.6163 3.30527 16.8197 3.31303 16.9288 3.45121C18.2224 5.08933 19.0001 7.15932 19.0001 9.4116C19.0001 11.6671 18.2204 13.7392 16.9238 15.3785C16.8147 15.5165 16.6114 15.5242 16.4877 15.3992L13.7872 12.6701C13.682 12.5638 13.6708 12.3962 13.7538 12.2716C14.3006 11.451 14.6291 10.4727 14.6291 9.4116C14.6291 8.35454 14.3016 7.37925 13.756 6.56083C13.6728 6.43616 13.6841 6.26857 13.7893 6.16224L16.4926 3.4303ZM5.21676 12.6712C5.322 12.5649 5.3333 12.3974 5.2502 12.2727C4.70331 11.4522 4.374 10.4737 4.374 9.41184C4.374 8.35469 4.70232 7.37949 5.24808 6.56106C5.33123 6.43637 5.31996 6.26872 5.2147 6.16241L2.50855 3.4293C2.38482 3.30434 2.18146 3.31213 2.07236 3.45028C0.77864 5.08841 0 7.15845 0 9.41184C0 11.6684 0.78066 13.7406 2.07831 15.3799C2.18749 15.5178 2.39066 15.5255 2.51429 15.4006L5.21676 12.6712ZM12.3323 13.707C12.4559 13.6231 12.6221 13.6346 12.7273 13.741L15.4277 16.4691C15.5513 16.594 15.5435 16.7991 15.4068 16.9091C13.7837 18.215 11.7327 19 9.49998 19C7.2693 19 5.21837 18.2159 3.59619 16.9102C3.45943 16.8001 3.45169 16.595 3.57533 16.4702L6.27769 13.7409C6.38296 13.6346 6.54906 13.6231 6.67267 13.707C7.48459 14.2577 8.45278 14.5883 9.50198 14.5883C10.5522 14.5883 11.5204 14.2578 12.3323 13.707Z"
15
18
  fill={color}
16
19
  />
17
20
  </Svg>
18
- )
21
+ );
19
22
 
20
- export const CapturingIcon: React.FC<IconProps> = ({ size = 24, color = 'white' }) => (
21
- <Svg width={size} height={size} viewBox='0 0 24 24' fill='none'>
22
- <Circle cx='12' cy='12' r='4' fill={color} />
23
- <Circle cx='12' cy='12' r='7.5' stroke={color} strokeWidth='1' />
24
- <Circle cx='12' cy='12' r='11.5' stroke={color} strokeWidth='1' opacity='0.2' />
23
+ export const CapturingIcon: React.FC<IconProps> = ({
24
+ size = 24,
25
+ color = 'white',
26
+ }) => (
27
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
28
+ <Circle cx="12" cy="12" r="4" fill={color} />
29
+ <Circle cx="12" cy="12" r="7.5" stroke={color} strokeWidth="1" />
30
+ <Circle
31
+ cx="12"
32
+ cy="12"
33
+ r="11.5"
34
+ stroke={color}
35
+ strokeWidth="1"
36
+ opacity="0.2"
37
+ />
25
38
  </Svg>
26
- )
39
+ );
27
40
 
28
- export const PausedIcon: React.FC<IconProps> = ({ size = 24, color = 'white' }) => (
29
- <Svg width={size} height={size} viewBox='0 0 24 24' fill='none'>
30
- <Path d='M8 5V19M16 5V19' stroke={color} strokeWidth='2' strokeLinecap='round' strokeLinejoin='round' />
41
+ export const PausedIcon: React.FC<IconProps> = ({
42
+ size = 24,
43
+ color = 'white',
44
+ }) => (
45
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
46
+ <Path
47
+ d="M8 5V19M16 5V19"
48
+ stroke={color}
49
+ strokeWidth="2"
50
+ strokeLinecap="round"
51
+ strokeLinejoin="round"
52
+ />
31
53
  </Svg>
32
- )
54
+ );
33
55
 
34
- export const CheckmarkIcon: React.FC<IconProps> = ({ size = 24, color = 'white' }) => (
35
- <Svg width={size} height={size} viewBox='0 0 24 24' fill='none'>
56
+ export const CheckmarkIcon: React.FC<IconProps> = ({
57
+ size = 24,
58
+ color = 'white',
59
+ }) => (
60
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
36
61
  <Path
37
- fillRule='evenodd'
38
- clipRule='evenodd'
39
- d='M20.0481 6.35147C20.5168 6.8201 20.5168 7.5799 20.0481 8.04853L10.4481 17.6485C9.97951 18.1172 9.21971 18.1172 8.75108 17.6485L3.95108 12.8485C3.48245 12.3799 3.48245 11.6201 3.95108 11.1515C4.41971 10.6828 5.17951 10.6828 5.64814 11.1515L9.59961 15.1029L18.3511 6.35147C18.8197 5.88284 19.5795 5.88284 20.0481 6.35147Z'
62
+ fillRule="evenodd"
63
+ clipRule="evenodd"
64
+ d="M20.0481 6.35147C20.5168 6.8201 20.5168 7.5799 20.0481 8.04853L10.4481 17.6485C9.97951 18.1172 9.21971 18.1172 8.75108 17.6485L3.95108 12.8485C3.48245 12.3799 3.48245 11.6201 3.95108 11.1515C4.41971 10.6828 5.17951 10.6828 5.64814 11.1515L9.59961 15.1029L18.3511 6.35147C18.8197 5.88284 19.5795 5.88284 20.0481 6.35147Z"
40
65
  fill={color}
41
66
  />
42
67
  </Svg>
43
- )
68
+ );
44
69
 
45
- export const LogoIcon: React.FC<IconProps> = ({ size = 30, color = '#473CFB' }) => (
46
- <Svg width={size} height={size * 0.8} viewBox='0 0 30 24' fill='none'>
70
+ export const LogoIcon: React.FC<IconProps> = ({
71
+ size = 30,
72
+ color = '#473CFB',
73
+ }) => (
74
+ <Svg width={size} height={size * 0.8} viewBox="0 0 30 24" fill="none">
47
75
  <Path
48
- d='M28.8324 8.83643L23.5495 6.85854L21.4856 6.08553L23.6001 0.4375L15 3.65769L6.39963 0.4375L8.51441 6.08585L6.45046 6.85885L1.16757 8.83674L0.625 9.03974L9.10095 12.0981C10.0891 12.4548 10.9201 13.1265 11.4758 13.9952C11.6632 14.2883 11.8194 14.6036 11.9398 14.9369L15 23.4076L18.0602 14.9369C18.1806 14.6036 18.3368 14.288 18.5242 13.9952C19.0802 13.1265 19.9112 12.4545 20.8991 12.0981L29.375 9.03974L28.8324 8.83674V8.83643ZM19.779 10.6434C18.2872 11.1816 17.1126 12.3563 16.5744 13.848L15.014 18.173L11.5182 8.83643L10.7776 6.85854L10.2456 5.43757L9.57367 3.64272L12.3068 4.66612L18.1631 6.85885L20.8233 7.85481L23.4457 8.83674L24.104 9.08308L19.779 10.6438V10.6434Z'
76
+ d="M28.8324 8.83643L23.5495 6.85854L21.4856 6.08553L23.6001 0.4375L15 3.65769L6.39963 0.4375L8.51441 6.08585L6.45046 6.85885L1.16757 8.83674L0.625 9.03974L9.10095 12.0981C10.0891 12.4548 10.9201 13.1265 11.4758 13.9952C11.6632 14.2883 11.8194 14.6036 11.9398 14.9369L15 23.4076L18.0602 14.9369C18.1806 14.6036 18.3368 14.288 18.5242 13.9952C19.0802 13.1265 19.9112 12.4545 20.8991 12.0981L29.375 9.03974L28.8324 8.83674V8.83643ZM19.779 10.6434C18.2872 11.1816 17.1126 12.3563 16.5744 13.848L15.014 18.173L11.5182 8.83643L10.7776 6.85854L10.2456 5.43757L9.57367 3.64272L12.3068 4.66612L18.1631 6.85885L20.8233 7.85481L23.4457 8.83674L24.104 9.08308L19.779 10.6438V10.6434Z"
49
77
  fill={color}
50
78
  />
51
79
  </Svg>
52
- )
80
+ );
@@ -1,3 +1,3 @@
1
- import SessionRecorderWidget from "./SessionRecorderWidget";
1
+ import SessionRecorderWidget from './SessionRecorderWidget';
2
2
 
3
3
  export default SessionRecorderWidget;
@@ -1,10 +1,10 @@
1
- import { StyleSheet } from 'react-native'
1
+ import { StyleSheet } from 'react-native';
2
2
 
3
3
  export const sharedStyles = StyleSheet.create({
4
4
  // Popover styles
5
5
  popoverContent: {
6
6
  flex: 1,
7
- paddingHorizontal: 0
7
+ paddingHorizontal: 0,
8
8
  },
9
9
  popoverHeader: {
10
10
  flexDirection: 'column',
@@ -14,7 +14,7 @@ export const sharedStyles = StyleSheet.create({
14
14
  borderTopRightRadius: 20,
15
15
  backgroundColor: '#f4f9ff',
16
16
  shadowColor: '#f4f9ff',
17
- shadowOffset: { width: 0, height: 5, },
17
+ shadowOffset: { width: 0, height: 5 },
18
18
  shadowOpacity: 1,
19
19
  shadowRadius: 5,
20
20
  elevation: 10,
@@ -34,7 +34,6 @@ export const sharedStyles = StyleSheet.create({
34
34
  alignItems: 'flex-start',
35
35
  },
36
36
 
37
-
38
37
  cancelButton: {
39
38
  paddingHorizontal: 12,
40
39
  paddingVertical: 6,
@@ -51,7 +50,7 @@ export const sharedStyles = StyleSheet.create({
51
50
  cancelButtonText: {
52
51
  color: '#374151',
53
52
  fontSize: 14,
54
- fontWeight: '500'
53
+ fontWeight: '500',
55
54
  },
56
55
  popoverBody: {
57
56
  flex: 1,
@@ -62,27 +61,27 @@ export const sharedStyles = StyleSheet.create({
62
61
  fontSize: 18,
63
62
  fontWeight: '600',
64
63
  color: '#2d3748',
65
- marginBottom: 12
64
+ marginBottom: 12,
66
65
  },
67
66
  description: {
68
67
  fontSize: 14,
69
68
  color: '#718096',
70
- marginBottom: 16
69
+ marginBottom: 16,
71
70
  },
72
71
  popoverFooter: {
73
72
  marginTop: 'auto',
74
- paddingTop: 16
73
+ paddingTop: 16,
75
74
  },
76
75
  actionButton: {
77
76
  paddingVertical: 16,
78
77
  paddingHorizontal: 24,
79
78
  borderRadius: 12,
80
- alignItems: 'center'
79
+ alignItems: 'center',
81
80
  },
82
81
  actionButtonText: {
83
82
  color: 'white',
84
83
  fontSize: 16,
85
- fontWeight: '500'
84
+ fontWeight: '500',
86
85
  },
87
86
 
88
87
  // Continuous recording styles
@@ -107,7 +106,7 @@ export const sharedStyles = StyleSheet.create({
107
106
  continuousRecordingLabel: {
108
107
  fontSize: 16,
109
108
  fontWeight: '500',
110
- color: '#374151'
109
+ color: '#374151',
111
110
  },
112
111
 
113
112
  continuousOverlay: {
@@ -140,7 +139,7 @@ export const sharedStyles = StyleSheet.create({
140
139
  continuousOverlayDescription: {
141
140
  fontSize: 14,
142
141
  color: '#718096',
143
- lineHeight: 20
142
+ lineHeight: 20,
144
143
  },
145
144
 
146
145
  // Comment input styles
@@ -153,17 +152,17 @@ export const sharedStyles = StyleSheet.create({
153
152
  color: '#374151',
154
153
  backgroundColor: '#F9FAFB',
155
154
  marginBottom: 24,
156
- minHeight: 80
155
+ minHeight: 80,
157
156
  },
158
157
 
159
158
  // Button color variants
160
159
  startButton: {
161
- backgroundColor: '#473cfb'
160
+ backgroundColor: '#473cfb',
162
161
  },
163
162
  stopButton: {
164
- backgroundColor: '#473cfb'
163
+ backgroundColor: '#473cfb',
165
164
  },
166
165
  saveButton: {
167
- backgroundColor: '#473cfb'
168
- }
169
- })
166
+ backgroundColor: '#473cfb',
167
+ },
168
+ });
@@ -1,2 +1,2 @@
1
- export * from './ScreenRecorderView'
2
- export * from './SessionRecorderWidget'
1
+ export * from './ScreenRecorderView';
2
+ export * from './SessionRecorderWidget';
@@ -1,43 +1,42 @@
1
+ export const OTEL_MP_SAMPLE_TRACE_RATIO = 0.15;
1
2
 
2
- export const OTEL_MP_SAMPLE_TRACE_RATIO = 0.15
3
+ export const SESSION_ID_PROP_NAME = 'multiplayer-session-id';
3
4
 
4
- export const SESSION_ID_PROP_NAME = 'multiplayer-session-id'
5
+ export const SESSION_SHORT_ID_PROP_NAME = 'multiplayer-session-short-id';
5
6
 
6
- export const SESSION_SHORT_ID_PROP_NAME = 'multiplayer-session-short-id'
7
+ export const SESSION_CONTINUOUS_DEBUGGING_PROP_NAME =
8
+ 'multiplayer-session-continuous-debugging';
7
9
 
8
- export const SESSION_CONTINUOUS_DEBUGGING_PROP_NAME = 'multiplayer-session-continuous-debugging'
10
+ export const SESSION_STATE_PROP_NAME = 'multiplayer-session-state';
9
11
 
10
- export const SESSION_STATE_PROP_NAME = 'multiplayer-session-state'
12
+ export const SESSION_TYPE_PROP_NAME = 'multiplayer-session-type';
11
13
 
12
- export const SESSION_TYPE_PROP_NAME = 'multiplayer-session-type'
14
+ export const SESSION_PROP_NAME = 'multiplayer-session-data';
13
15
 
14
- export const SESSION_PROP_NAME = 'multiplayer-session-data'
16
+ export const SESSION_STARTED_EVENT = 'debug-session:started';
15
17
 
16
- export const SESSION_STARTED_EVENT = 'debug-session:started'
18
+ export const SESSION_STOPPED_EVENT = 'debug-session:stopped';
17
19
 
18
- export const SESSION_STOPPED_EVENT = 'debug-session:stopped'
20
+ export const SESSION_SUBSCRIBE_EVENT = 'debug-session:subscribe';
19
21
 
20
- export const SESSION_SUBSCRIBE_EVENT = 'debug-session:subscribe'
22
+ export const SESSION_UNSUBSCRIBE_EVENT = 'debug-session:unsubscribe';
21
23
 
22
- export const SESSION_UNSUBSCRIBE_EVENT = 'debug-session:unsubscribe'
24
+ export const SESSION_AUTO_CREATED = 'debug-session:auto-created';
23
25
 
24
- export const SESSION_AUTO_CREATED = 'debug-session:auto-created'
26
+ export const SESSION_ADD_EVENT = 'debug-session:rrweb:add-event';
25
27
 
26
- export const SESSION_ADD_EVENT = 'debug-session:rrweb:add-event'
28
+ export const DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE = 100000;
27
29
 
28
- export const DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE = 100000
30
+ export const SESSION_RESPONSE = 'multiplayer-debug-session-response';
29
31
 
30
- export const SESSION_RESPONSE = 'multiplayer-debug-session-response'
32
+ export const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
31
33
 
32
- export const CONTINUOUS_DEBUGGING_TIMEOUT = 60000 // 1 minutes
33
-
34
- export const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30 // TODO: move to shared config otel core
34
+ export const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
35
35
 
36
36
  // // Package version - injected by webpack during build
37
37
  // declare const PACKAGE_VERSION: string
38
38
  // export const PACKAGE_VERSION_EXPORT = PACKAGE_VERSION || '1.0.0'
39
39
 
40
-
41
40
  // Regex patterns for OpenTelemetry ignore URLs
42
41
  export const OTEL_IGNORE_URLS = [
43
42
  // Traces endpoint
@@ -65,4 +64,4 @@ export const OTEL_IGNORE_URLS = [
65
64
 
66
65
  // Or use a more general pattern to catch all radar API endpoints
67
66
  // /.*\/v0\/radar\/.*/
68
- ]
67
+ ];
@@ -2,18 +2,18 @@ import {
2
2
  SessionRecorderSdk,
3
3
  MULTIPLAYER_BASE_API_URL,
4
4
  MULTIPLAYER_OTEL_DEFAULT_TRACES_EXPORTER_HTTP_URL,
5
- } from '@multiplayer-app/session-recorder-common'
5
+ } from '@multiplayer-app/session-recorder-common';
6
6
  import {
7
7
  LogLevel,
8
8
  WidgetButtonPlacement,
9
9
  type SessionRecorderConfigs,
10
- } from '../types'
10
+ } from '../types';
11
11
  import {
12
12
  OTEL_MP_SAMPLE_TRACE_RATIO,
13
13
  DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE,
14
- } from './constants'
14
+ } from './constants';
15
15
 
16
- const { mask, sensitiveFields, sensitiveHeaders } = SessionRecorderSdk
16
+ const { mask, sensitiveFields, sensitiveHeaders } = SessionRecorderSdk;
17
17
 
18
18
  export const DEFAULT_MASKING_CONFIG: SessionRecorderConfigs['masking'] = {
19
19
  isContentMaskingEnabled: true,
@@ -30,30 +30,36 @@ export const DEFAULT_MASKING_CONFIG: SessionRecorderConfigs['masking'] = {
30
30
  maskWebViews: false,
31
31
  maskTextInputs: true,
32
32
  maskSandboxedViews: false,
33
- }
34
-
35
- export const DEFAULT_WIDGET_TEXT_CONFIG: SessionRecorderConfigs['widget']['textOverrides'] = {
36
- initialTitleWithContinuous: 'Encountered an issue?',
37
- initialTitleWithoutContinuous: 'Encountered an issue?',
38
- initialDescriptionWithContinuous: 'Record your session so we can see the problem and fix it faster.',
39
- initialDescriptionWithoutContinuous: 'Record your session so we can see the problem and fix it faster.',
40
- continuousRecordingLabel: 'Continuous recording',
41
- startRecordingButtonText: 'Start recording',
42
- finalTitle: 'Done recording?',
43
- finalDescription: 'You can also add a quick note with extra context, expectations, or questions. Thank you!',
44
- commentPlaceholder: 'Add a message...',
45
- saveButtonText: 'Submit recording',
46
- cancelButtonText: 'Cancel recording',
47
- continuousOverlayTitle: 'Save time, skip the reproductions',
48
- continuousOverlayDescription: 'We keep a rolling record of your recent activity. If something doesn’t work as expected, just save the recording and continue working. No need to worry about exceptions and errors - we automatically save recordings for those!',
49
- saveLastSnapshotButtonText: 'Save recording',
50
- submitDialogTitle: 'Save recording',
51
- submitDialogSubtitle: 'This full-stack session recording will be saved directly to your selected Multiplayer project. All data is automatically correlated end-to-end.',
52
- submitDialogCommentLabel: 'You can also add context, comments, or notes.',
53
- submitDialogCommentPlaceholder: 'Add a message...',
54
- submitDialogSubmitText: 'Save',
55
- submitDialogCancelText: 'Cancel',
56
- }
33
+ };
34
+
35
+ export const DEFAULT_WIDGET_TEXT_CONFIG: SessionRecorderConfigs['widget']['textOverrides'] =
36
+ {
37
+ initialTitleWithContinuous: 'Encountered an issue?',
38
+ initialTitleWithoutContinuous: 'Encountered an issue?',
39
+ initialDescriptionWithContinuous:
40
+ 'Record your session so we can see the problem and fix it faster.',
41
+ initialDescriptionWithoutContinuous:
42
+ 'Record your session so we can see the problem and fix it faster.',
43
+ continuousRecordingLabel: 'Continuous recording',
44
+ startRecordingButtonText: 'Start recording',
45
+ finalTitle: 'Done recording?',
46
+ finalDescription:
47
+ 'You can also add a quick note with extra context, expectations, or questions. Thank you!',
48
+ commentPlaceholder: 'Add a message...',
49
+ saveButtonText: 'Submit recording',
50
+ cancelButtonText: 'Cancel recording',
51
+ continuousOverlayTitle: 'Save time, skip the reproductions',
52
+ continuousOverlayDescription:
53
+ 'We keep a rolling record of your recent activity. If something doesn’t work as expected, just save the recording and continue working. No need to worry about exceptions and errors - we automatically save recordings for those!',
54
+ saveLastSnapshotButtonText: 'Save recording',
55
+ submitDialogTitle: 'Save recording',
56
+ submitDialogSubtitle:
57
+ 'This full-stack session recording will be saved directly to your selected Multiplayer project. All data is automatically correlated end-to-end.',
58
+ submitDialogCommentLabel: 'You can also add context, comments, or notes.',
59
+ submitDialogCommentPlaceholder: 'Add a message...',
60
+ submitDialogSubmitText: 'Save',
61
+ submitDialogCancelText: 'Cancel',
62
+ };
57
63
 
58
64
  export const BASE_CONFIG: SessionRecorderConfigs = {
59
65
  apiKey: '',
@@ -73,7 +79,6 @@ export const BASE_CONFIG: SessionRecorderConfigs = {
73
79
  textOverrides: DEFAULT_WIDGET_TEXT_CONFIG,
74
80
  },
75
81
 
76
-
77
82
  apiBaseUrl: MULTIPLAYER_BASE_API_URL,
78
83
  exporterEndpoint: MULTIPLAYER_OTEL_DEFAULT_TRACES_EXPORTER_HTTP_URL,
79
84
 
@@ -89,7 +94,6 @@ export const BASE_CONFIG: SessionRecorderConfigs = {
89
94
  captureHeaders: true,
90
95
  masking: DEFAULT_MASKING_CONFIG,
91
96
 
92
-
93
97
  recordScreen: true,
94
98
  recordGestures: true,
95
99
  recordNavigation: true,
@@ -98,4 +102,4 @@ export const BASE_CONFIG: SessionRecorderConfigs = {
98
102
  enabled: false,
99
103
  level: LogLevel.INFO,
100
104
  },
101
- }
105
+ };
@@ -1,6 +1,6 @@
1
1
  // Export all config-related functions and constants
2
- export * from './constants'
3
- export * from './defaults'
4
- export * from './validators'
5
- export * from './masking'
6
- export * from './session-recorder'
2
+ export * from './constants';
3
+ export * from './defaults';
4
+ export * from './validators';
5
+ export * from './masking';
6
+ export * from './session-recorder';
@@ -1,34 +1,60 @@
1
- import { type MaskingOptions, type SessionRecorderConfigs } from '../types'
2
- import { DEFAULT_MASKING_CONFIG } from './defaults'
3
- import { isValidArray, isValidBoolean, isValidFunction } from './validators'
4
- import { SessionRecorderSdk } from '@multiplayer-app/session-recorder-common'
1
+ import { type MaskingOptions, type SessionRecorderConfigs } from '../types';
2
+ import { DEFAULT_MASKING_CONFIG } from './defaults';
3
+ import { isValidArray, isValidBoolean, isValidFunction } from './validators';
4
+ import { SessionRecorderSdk } from '@multiplayer-app/session-recorder-common';
5
5
 
6
- const { mask, sensitiveFields, sensitiveHeaders } = SessionRecorderSdk
6
+ const { mask, sensitiveFields, sensitiveHeaders } = SessionRecorderSdk;
7
7
 
8
- export const getMaskingConfig = (masking?: MaskingOptions): SessionRecorderConfigs['masking'] => {
9
- const baseMasking = DEFAULT_MASKING_CONFIG
8
+ export const getMaskingConfig = (
9
+ masking?: MaskingOptions
10
+ ): SessionRecorderConfigs['masking'] => {
11
+ const baseMasking = DEFAULT_MASKING_CONFIG;
10
12
 
11
13
  if (typeof masking !== 'object') {
12
- return baseMasking
14
+ return baseMasking;
13
15
  }
14
16
 
15
- const maskHeadersList = isValidArray(masking.maskHeadersList, sensitiveHeaders)
16
- const maskBodyFieldsList = isValidArray(masking.maskBodyFieldsList, sensitiveFields)
17
+ const maskHeadersList = isValidArray(
18
+ masking.maskHeadersList,
19
+ sensitiveHeaders
20
+ );
21
+ const maskBodyFieldsList = isValidArray(
22
+ masking.maskBodyFieldsList,
23
+ sensitiveFields
24
+ );
17
25
 
18
26
  return {
19
27
  maskHeadersList,
20
28
  maskBodyFieldsList,
21
- headersToInclude: isValidArray(masking.headersToInclude, baseMasking.headersToInclude),
22
- headersToExclude: isValidArray(masking.headersToExclude, baseMasking.headersToExclude),
23
- isContentMaskingEnabled: isValidBoolean(masking.isContentMaskingEnabled, baseMasking.isContentMaskingEnabled),
29
+ headersToInclude: isValidArray(
30
+ masking.headersToInclude,
31
+ baseMasking.headersToInclude
32
+ ),
33
+ headersToExclude: isValidArray(
34
+ masking.headersToExclude,
35
+ baseMasking.headersToExclude
36
+ ),
37
+ isContentMaskingEnabled: isValidBoolean(
38
+ masking.isContentMaskingEnabled,
39
+ baseMasking.isContentMaskingEnabled
40
+ ),
24
41
  maskBody: isValidFunction(masking.maskBody, mask(maskBodyFieldsList)),
25
42
  maskHeaders: isValidFunction(masking.maskHeaders, mask(maskHeadersList)),
26
43
  // Screen masking options
27
- maskTextInputs: isValidBoolean(masking.maskTextInputs, baseMasking.maskTextInputs),
44
+ maskTextInputs: isValidBoolean(
45
+ masking.maskTextInputs,
46
+ baseMasking.maskTextInputs
47
+ ),
28
48
  maskImages: isValidBoolean(masking.maskImages, baseMasking.maskImages),
29
49
  maskButtons: isValidBoolean(masking.maskButtons, baseMasking.maskButtons),
30
50
  maskLabels: isValidBoolean(masking.maskLabels, baseMasking.maskLabels),
31
- maskWebViews: isValidBoolean(masking.maskWebViews, baseMasking.maskWebViews),
32
- maskSandboxedViews: isValidBoolean(masking.maskSandboxedViews, baseMasking.maskSandboxedViews),
33
- }
34
- }
51
+ maskWebViews: isValidBoolean(
52
+ masking.maskWebViews,
53
+ baseMasking.maskWebViews
54
+ ),
55
+ maskSandboxedViews: isValidBoolean(
56
+ masking.maskSandboxedViews,
57
+ baseMasking.maskSandboxedViews
58
+ ),
59
+ };
60
+ };
@@ -1,30 +1,34 @@
1
- import { LogLevel, type SessionRecorderConfigs, type SessionRecorderOptions } from '../types'
1
+ import {
2
+ LogLevel,
3
+ type SessionRecorderConfigs,
4
+ type SessionRecorderOptions,
5
+ } from '../types';
2
6
 
3
- import { BASE_CONFIG } from './defaults'
4
- import { getMaskingConfig } from './masking'
7
+ import { BASE_CONFIG } from './defaults';
8
+ import { getMaskingConfig } from './masking';
5
9
  import {
6
10
  isValidString,
7
11
  isValidNumber,
8
12
  isValidBoolean,
9
- isValidArray
10
- } from './validators'
11
- import { getWidgetConfig } from './widget'
12
-
13
+ isValidArray,
14
+ } from './validators';
15
+ import { getWidgetConfig } from './widget';
13
16
 
14
17
  const getLoggerConfig = (config: any) => {
15
18
  if (!config || typeof config !== 'object') {
16
- return BASE_CONFIG.logger
19
+ return BASE_CONFIG.logger;
17
20
  }
18
21
  return {
19
22
  level: isValidNumber(config.level, LogLevel.INFO),
20
23
  enabled: isValidBoolean(config.enabled, false),
21
- }
22
- }
23
-
24
+ };
25
+ };
24
26
 
25
- export const getSessionRecorderConfig = (c: SessionRecorderOptions): SessionRecorderConfigs => {
27
+ export const getSessionRecorderConfig = (
28
+ c: SessionRecorderOptions
29
+ ): SessionRecorderConfigs => {
26
30
  if (!c) {
27
- return BASE_CONFIG
31
+ return BASE_CONFIG;
28
32
  }
29
33
 
30
34
  return {
@@ -33,27 +37,51 @@ export const getSessionRecorderConfig = (c: SessionRecorderOptions): SessionReco
33
37
  application: isValidString(c.application, BASE_CONFIG.application),
34
38
  environment: isValidString(c.environment, BASE_CONFIG.environment),
35
39
 
36
- exporterEndpoint: isValidString(c.exporterEndpoint, BASE_CONFIG.exporterEndpoint),
40
+ exporterEndpoint: isValidString(
41
+ c.exporterEndpoint,
42
+ BASE_CONFIG.exporterEndpoint
43
+ ),
37
44
  apiBaseUrl: isValidString(c.apiBaseUrl, BASE_CONFIG.apiBaseUrl),
38
45
 
39
- showContinuousRecording: isValidBoolean(c.showContinuousRecording, BASE_CONFIG.showContinuousRecording),
46
+ showContinuousRecording: isValidBoolean(
47
+ c.showContinuousRecording,
48
+ BASE_CONFIG.showContinuousRecording
49
+ ),
40
50
  ignoreUrls: isValidArray(c.ignoreUrls, BASE_CONFIG.ignoreUrls),
41
- sampleTraceRatio: isValidNumber(c.sampleTraceRatio, BASE_CONFIG.sampleTraceRatio),
42
- propagateTraceHeaderCorsUrls: c.propagateTraceHeaderCorsUrls || BASE_CONFIG.propagateTraceHeaderCorsUrls,
43
- schemifyDocSpanPayload: isValidBoolean(c.schemifyDocSpanPayload, BASE_CONFIG.schemifyDocSpanPayload),
44
- maxCapturingHttpPayloadSize: isValidNumber(c.maxCapturingHttpPayloadSize, BASE_CONFIG.maxCapturingHttpPayloadSize),
45
-
51
+ sampleTraceRatio: isValidNumber(
52
+ c.sampleTraceRatio,
53
+ BASE_CONFIG.sampleTraceRatio
54
+ ),
55
+ propagateTraceHeaderCorsUrls:
56
+ c.propagateTraceHeaderCorsUrls ||
57
+ BASE_CONFIG.propagateTraceHeaderCorsUrls,
58
+ schemifyDocSpanPayload: isValidBoolean(
59
+ c.schemifyDocSpanPayload,
60
+ BASE_CONFIG.schemifyDocSpanPayload
61
+ ),
62
+ maxCapturingHttpPayloadSize: isValidNumber(
63
+ c.maxCapturingHttpPayloadSize,
64
+ BASE_CONFIG.maxCapturingHttpPayloadSize
65
+ ),
46
66
 
47
67
  captureBody: isValidBoolean(c.captureBody, BASE_CONFIG.captureBody),
48
- captureHeaders: isValidBoolean(c.captureHeaders, BASE_CONFIG.captureHeaders),
49
-
68
+ captureHeaders: isValidBoolean(
69
+ c.captureHeaders,
70
+ BASE_CONFIG.captureHeaders
71
+ ),
50
72
 
51
73
  recordScreen: isValidBoolean(c.recordScreen, BASE_CONFIG.recordScreen),
52
- recordGestures: isValidBoolean(c.recordGestures, BASE_CONFIG.recordGestures),
53
- recordNavigation: isValidBoolean(c.recordNavigation, BASE_CONFIG.recordNavigation),
74
+ recordGestures: isValidBoolean(
75
+ c.recordGestures,
76
+ BASE_CONFIG.recordGestures
77
+ ),
78
+ recordNavigation: isValidBoolean(
79
+ c.recordNavigation,
80
+ BASE_CONFIG.recordNavigation
81
+ ),
54
82
 
55
83
  masking: getMaskingConfig(c.masking),
56
84
  widget: getWidgetConfig(c.widget),
57
85
  logger: getLoggerConfig(c.logger),
58
- }
59
- }
86
+ };
87
+ };