react-native-in-app-debugger 1.0.41 → 1.0.42

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.jsx +6 -1
  2. package/package.json +1 -1
package/Api.jsx CHANGED
@@ -240,7 +240,12 @@ export default (props) => {
240
240
  </TouchableOpacity>
241
241
  )}
242
242
  <TouchableOpacity
243
- onPress={() => props.setBlacklists(v => [...v, item.request])}
243
+ onPress={() => {
244
+ Alert.alert("Are you sure", `You want to blacklist: \n\n(${item.request.method}) ${item.request.url} \n\nwhere all history logs for this API will be removed and all future request for this API will not be recorded?`, [
245
+ { text: "Blacklist", onPress: () => props.setBlacklists(v => [...v, item.request]), style: "cancel" },
246
+ { text: "Cancel" },
247
+ ])
248
+ }}
244
249
  style={styles.actionButton}
245
250
  >
246
251
  <Text style={{ color: "black", fontSize: 10 }}>Blacklist</Text>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
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": {