react-native-in-app-debugger 1.0.29 → 1.0.30

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/Api.jsx CHANGED
@@ -1,6 +1,5 @@
1
1
  import React, { useState } from "react";
2
2
  import {
3
- Text,
4
3
  SectionList,
5
4
  TextInput,
6
5
  View,
@@ -8,7 +7,7 @@ import {
8
7
  StyleSheet,
9
8
  TouchableOpacity,
10
9
  } from "react-native";
11
- // import Clipboard from '@react-native-clipboard/clipboard';
10
+ import Text from "./Text";
12
11
  let Clipboard;
13
12
  try {
14
13
  Clipboard = require("@react-native-clipboard/clipboard")?.default;
@@ -130,7 +129,8 @@ export default (props) => {
130
129
  textDecorationLine: errorOnly ? "line-through" : undefined,
131
130
  }}
132
131
  >
133
- {apis.filter(isError).length} error{apis.filter(isError).length > 1 ? 's' : ''}
132
+ {apis.filter(isError).length} error
133
+ {apis.filter(isError).length > 1 ? "s" : ""}
134
134
  </Text>
135
135
  </TouchableOpacity>
136
136
  )}
package/Text.jsx ADDED
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { Text, Platform } from 'react-native';
3
+
4
+ export default ({ style = {}, ...props }) => <Text {...props} style={[{ fontFamily: Platform.OS === 'android' ? 'Roboto' : 'San Francisco' }, style]} />;
package/Variables.jsx CHANGED
@@ -1,5 +1,6 @@
1
1
  import React, { useState } from 'react';
2
- import { Text, FlatList, TextInput } from 'react-native';
2
+ import { FlatList, TextInput } from 'react-native';
3
+ import Text from "./Text";
3
4
 
4
5
  export default ({ variables }) => {
5
6
  const [filter, setFilter] = useState('');
package/index.jsx CHANGED
@@ -1,14 +1,13 @@
1
1
  import React, { useState } from "react";
2
2
  import {
3
3
  Animated,
4
- Text,
5
4
  StyleSheet,
6
5
  TouchableOpacity,
7
6
  View,
8
7
  SafeAreaView,
9
8
  Dimensions,
10
9
  } from "react-native";
11
-
10
+ import Text from "./Text";
12
11
  let DeviceInfo;
13
12
  try {
14
13
  DeviceInfo = require("react-native-device-info");
@@ -87,7 +86,11 @@ export default ({
87
86
  {...(isOpen ? {} : panResponder.panHandlers)}
88
87
  >
89
88
  {!isOpen ? (
90
- <TouchableOpacity onPress={() => setIsOpen(true)} style={styles.box} activeOpacity={.8}>
89
+ <TouchableOpacity
90
+ onPress={() => setIsOpen(true)}
91
+ style={styles.box}
92
+ activeOpacity={0.8}
93
+ >
91
94
  <View style={styles.badgeContainer}>
92
95
  {!!numPendingApiCalls && (
93
96
  <View style={[styles.badge, { backgroundColor: "orange" }]}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "",
5
5
  "main": "index.jsx",
6
6
  "scripts": {