react-native-in-app-debugger 1.0.57 → 1.0.58

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 (2) hide show
  1. package/Api/index.jsx +2 -2
  2. package/package.json +1 -1
package/Api/index.jsx CHANGED
@@ -15,7 +15,7 @@ import getRandomBrightColor from "../utils/getRandomBrightColor";
15
15
  import { MAX_URL_LENGTH } from "./Row";
16
16
  let Clipboard;
17
17
  try {
18
- Clipboard = require("@react-native-clipboard/clipboard")?.default;
18
+ Clipboard = require("@react-native-clipboard/clipboard").default;
19
19
  } catch (error) {
20
20
  // console.error("Error importing Clipboard:", error);
21
21
  }
@@ -223,7 +223,7 @@ export default (props) => {
223
223
  {isExpand ? "Hide" : "Show"}
224
224
  </Text>
225
225
  </TouchableOpacity>
226
- {!!Clipboard && (
226
+ {!!Clipboard?.setString && (
227
227
  <TouchableOpacity
228
228
  onPress={() => {
229
229
  const content = { ...item };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "description": "This library's main usage is to be used by Non-Technical testers during UAT, SIT or any testing phase.",
5
5
  "main": "index.jsx",
6
6
  "scripts": {