react-native-in-app-debugger 1.0.15 → 1.0.17

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/index.jsx CHANGED
@@ -57,13 +57,13 @@ export default ({
57
57
 
58
58
  const errors = apis.filter((a) => a.response?.error).length;
59
59
  const numPendingApiCalls = apis.filter((a) => !a.response).length;
60
- let badgeHeight = 10;
60
+ let badgeHeight = 20;
61
61
  if (variables?.GIT_BRANCH) badgeHeight += 7;
62
62
  if (variables?.BUILD_DATE_TIME) badgeHeight += 7;
63
63
  const hasEnvOrVersion = !!env || !!version;
64
64
  if (hasEnvOrVersion) badgeHeight += 7;
65
65
  if (DeviceInfo) badgeHeight += 7;
66
- if (badgeHeight === 10) badgeHeight += 7;
66
+ if (badgeHeight === 20) badgeHeight += 7;
67
67
  labels.forEach(() => (badgeHeight += 7));
68
68
 
69
69
  const {
@@ -90,7 +90,7 @@ export default ({
90
90
  {...(isOpen ? {} : panResponder.panHandlers)}
91
91
  >
92
92
  {!isOpen ? (
93
- <TouchableOpacity onPress={() => setIsOpen(true)} style={styles.box}>
93
+ <TouchableOpacity onPress={() => setIsOpen(true)} style={styles.box} activeOpacity={.8}>
94
94
  <View style={styles.badgeContainer}>
95
95
  {!!numPendingApiCalls && (
96
96
  <View style={[styles.badge, { backgroundColor: "orange" }]}>
@@ -175,7 +175,7 @@ const styles = StyleSheet.create({
175
175
  width: "100%",
176
176
  height: "100%",
177
177
  },
178
- label: { color: "white", textAlign: "center", fontSize: 5 },
178
+ label: { color: "white", textAlign: "center", fontSize: 6 },
179
179
  badgeContainer: {
180
180
  gap: 3,
181
181
  flexDirection: "row",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "main": "index.jsx",
6
6
  "scripts": {
package/useAnimation.ts CHANGED
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from 'react';
2
2
  import { Animated, PanResponder, useWindowDimensions } from 'react-native';
3
3
 
4
4
  const defaultBadgeWidth = 80;
5
- const defaultBorderRadius = 20;
5
+ const defaultBorderRadius = 10;
6
6
  const und = { useNativeDriver: false };
7
7
  const touchThreshold = 10;
8
8