@buoy-gg/network 7.0.28 → 7.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/lib/commonjs/network/components/NetworkEventDetailView.js +4 -0
- package/lib/commonjs/network/components/NetworkHeaderLive.js +7 -0
- package/lib/commonjs/network/components/NetworkHeaderLive.web.js +1 -1
- package/lib/commonjs/network/components/NetworkHeaderMenu.js +2 -0
- package/lib/commonjs/network/components/NetworkListScreen.js +9 -2
- package/lib/commonjs/network/components/NetworkModal.js +8 -2
- package/lib/commonjs/network/components/NetworkOverrideEditor.js +17 -0
- package/lib/commonjs/network/components/NetworkOverrideHeaderButton.js +2 -0
- package/lib/commonjs/network/components/NetworkOverridesButton.js +2 -0
- package/lib/commonjs/network/components/NetworkOverridesScreen.js +4 -0
- package/lib/module/network/components/NetworkEventDetailView.js +4 -0
- package/lib/module/network/components/NetworkHeaderLive.js +7 -0
- package/lib/module/network/components/NetworkHeaderLive.web.js +1 -1
- package/lib/module/network/components/NetworkHeaderMenu.js +2 -0
- package/lib/module/network/components/NetworkListScreen.js +9 -2
- package/lib/module/network/components/NetworkModal.js +8 -2
- package/lib/module/network/components/NetworkOverrideEditor.js +17 -0
- package/lib/module/network/components/NetworkOverrideHeaderButton.js +2 -0
- package/lib/module/network/components/NetworkOverridesButton.js +2 -0
- package/lib/module/network/components/NetworkOverridesScreen.js +4 -0
- package/lib/typescript/network/components/NetworkEventDetailView.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkHeaderLive.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkHeaderMenu.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkListScreen.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkModal.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkOverrideEditor.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkOverrideHeaderButton.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkOverridesButton.d.ts.map +1 -1
- package/lib/typescript/network/components/NetworkOverridesScreen.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -114,6 +114,9 @@ const CollapsibleSection = ({
|
|
|
114
114
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
115
115
|
style: styles.collapsibleHeader,
|
|
116
116
|
onPress: () => setIsOpen(!isOpen),
|
|
117
|
+
testID: `buoy-network-section-${title.toLowerCase().replace(/\s+/g, "-")}`,
|
|
118
|
+
accessibilityRole: "button",
|
|
119
|
+
accessibilityLabel: title,
|
|
117
120
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
118
121
|
style: styles.collapsibleTitle,
|
|
119
122
|
children: [icon, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -413,6 +416,7 @@ ${JSON.stringify(requestDetails.responseData, null, 2)}
|
|
|
413
416
|
};
|
|
414
417
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
415
418
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
419
|
+
testID: "buoy-network-detail-scroll",
|
|
416
420
|
style: styles.container,
|
|
417
421
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
418
422
|
style: styles.requestDetailsSection,
|
|
@@ -100,6 +100,9 @@ function NetworkClearButton({
|
|
|
100
100
|
});
|
|
101
101
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
102
102
|
"sentry-label": "ignore clear events",
|
|
103
|
+
testID: "buoy-network-clear",
|
|
104
|
+
accessibilityLabel: "Clear network requests",
|
|
105
|
+
accessibilityRole: "button",
|
|
103
106
|
onPress: () => _networkEventStore.networkEventStore.clearEvents(),
|
|
104
107
|
style: [styles.headerActionButton, !hasEvents && styles.headerActionButtonDisabled],
|
|
105
108
|
disabled: !hasEvents,
|
|
@@ -190,6 +193,8 @@ function NetworkDetailPinActions({
|
|
|
190
193
|
"sentry-label": "ignore pin request",
|
|
191
194
|
onPress: handlePin,
|
|
192
195
|
disabled: atPinCap,
|
|
196
|
+
testID: "buoy-network-pin",
|
|
197
|
+
accessibilityRole: "button",
|
|
193
198
|
accessibilityLabel: pinned ? "Unpin request" : "Pin request",
|
|
194
199
|
accessibilityHint: atPinCap ? `Pin limit reached (${_networkSavedStore.MAX_PINNED})` : undefined,
|
|
195
200
|
style: [styles.headerActionButton, pinned && styles.headerActionButtonActive, atPinCap && styles.headerActionButtonDisabled],
|
|
@@ -202,6 +207,8 @@ function NetworkDetailPinActions({
|
|
|
202
207
|
"sentry-label": "ignore save request",
|
|
203
208
|
onPress: handleSave,
|
|
204
209
|
disabled: atSavedCap && isPro,
|
|
210
|
+
testID: "buoy-network-save",
|
|
211
|
+
accessibilityRole: "button",
|
|
205
212
|
accessibilityLabel: saved ? "Remove from saved" : "Save request",
|
|
206
213
|
accessibilityHint: atSavedCap && isPro ? `Saved limit reached (${_networkSavedStore.MAX_SAVED})` : undefined,
|
|
207
214
|
style: [styles.headerActionButton, saved && styles.headerActionButtonSaved, atSavedCap && isPro && styles.headerActionButtonDisabled],
|
|
@@ -306,7 +306,7 @@ function NetworkClearButton({
|
|
|
306
306
|
});
|
|
307
307
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
308
308
|
type: "button",
|
|
309
|
-
"aria-label": "Clear
|
|
309
|
+
"aria-label": "Clear network requests",
|
|
310
310
|
onClick: () => _networkEventStore.networkEventStore.clearEvents(),
|
|
311
311
|
style: {
|
|
312
312
|
...styles.headerActionButton,
|
|
@@ -37,6 +37,8 @@ function NetworkHeaderMenuButton({
|
|
|
37
37
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
38
38
|
onPress: onPress,
|
|
39
39
|
"sentry-label": "ignore toggle header menu",
|
|
40
|
+
testID: "buoy-network-menu",
|
|
41
|
+
accessibilityRole: "button",
|
|
40
42
|
accessibilityLabel: isOpen ? "Close menu" : "More actions",
|
|
41
43
|
style: [styles.button, isOpen && styles.buttonOpen],
|
|
42
44
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
@@ -130,6 +130,7 @@ function OverriddenSection({
|
|
|
130
130
|
size: 11,
|
|
131
131
|
color: paused ? _sharedUi.macOSColors.text.muted : _sharedUi.macOSColors.semantic.warning
|
|
132
132
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
133
|
+
testID: "buoy-network-overridden-strip",
|
|
133
134
|
style: [styles.overriddenTitle, paused && styles.overriddenTitleOff],
|
|
134
135
|
children: paused ? `PAUSED · ${events.length}` : `OVERRIDDEN · ${events.length}`
|
|
135
136
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
@@ -261,12 +262,18 @@ function NetworkListScreen({
|
|
|
261
262
|
savedLiveIds: savedLiveIds,
|
|
262
263
|
onClearPinned: clearPinned
|
|
263
264
|
}), restRows.length > 0 || hasLockedEvents ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
|
|
265
|
+
testID: "buoy-network-list",
|
|
264
266
|
data: restRows,
|
|
265
267
|
renderItem: renderItem,
|
|
266
268
|
keyExtractor: keyExtractor,
|
|
267
269
|
contentContainerStyle: styles.listContent,
|
|
268
|
-
showsVerticalScrollIndicator: true
|
|
269
|
-
|
|
270
|
+
showsVerticalScrollIndicator: true
|
|
271
|
+
// Clipped cells falsely fail Detox's hittability check (known
|
|
272
|
+
// RN+Detox issue), so e2e bundles (Metro started with
|
|
273
|
+
// EXPO_PUBLIC_E2E=1) turn clipping off. Inlined at bundle time;
|
|
274
|
+
// guarded so a non-inlining bundler keeps the prod behavior.
|
|
275
|
+
,
|
|
276
|
+
removeClippedSubviews: !(typeof process !== "undefined" && process.env?.EXPO_PUBLIC_E2E),
|
|
270
277
|
onEndReachedThreshold: 0.8
|
|
271
278
|
// The list OWNS scrolling (NetworkModal passes
|
|
272
279
|
// disableScrollWrapper while this screen is visible) so FlatList
|
|
@@ -462,6 +462,7 @@ function NetworkModalInner({
|
|
|
462
462
|
onBlur: () => setIsSearchActive(false),
|
|
463
463
|
"sentry-label": "ignore network search header",
|
|
464
464
|
accessibilityLabel: "Search network requests",
|
|
465
|
+
testID: "buoy-network-search-input",
|
|
465
466
|
autoCapitalize: "none",
|
|
466
467
|
autoCorrect: false,
|
|
467
468
|
returnKeyType: "search"
|
|
@@ -486,6 +487,9 @@ function NetworkModalInner({
|
|
|
486
487
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.ModalHeader.Actions, {
|
|
487
488
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
488
489
|
"sentry-label": "ignore open search",
|
|
490
|
+
testID: "buoy-network-search-open",
|
|
491
|
+
accessibilityLabel: "Open search",
|
|
492
|
+
accessibilityRole: "button",
|
|
489
493
|
onPress: () => setIsSearchActive(true),
|
|
490
494
|
style: styles.headerActionButton,
|
|
491
495
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
@@ -497,7 +501,8 @@ function NetworkModalInner({
|
|
|
497
501
|
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.PowerToggleButton, {
|
|
498
502
|
isEnabled: !paused,
|
|
499
503
|
onToggle: () => setPaused(prev => !prev),
|
|
500
|
-
accessibilityLabel: "Toggle network interception"
|
|
504
|
+
accessibilityLabel: "Toggle network interception",
|
|
505
|
+
testID: "buoy-network-power"
|
|
501
506
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_NetworkHeaderLive.NetworkClearButton, {
|
|
502
507
|
paused: paused
|
|
503
508
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_NetworkHeaderMenu.NetworkHeaderMenuButton, {
|
|
@@ -711,7 +716,8 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
711
716
|
paddingVertical: 8,
|
|
712
717
|
borderBottomWidth: 1,
|
|
713
718
|
borderBottomColor: _sharedUi.macOSColors.border.default,
|
|
714
|
-
|
|
719
|
+
// Clear, like Bench — the host's hoisted sky shows through the header.
|
|
720
|
+
backgroundColor: "transparent"
|
|
715
721
|
},
|
|
716
722
|
// Night chrome — the header is glass over the star field, so the search
|
|
717
723
|
// field and action chips sit on the Everlights dark-glass fill.
|
|
@@ -164,6 +164,8 @@ function OutcomeChip({
|
|
|
164
164
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
165
165
|
onPress: onPress,
|
|
166
166
|
"sentry-label": "ignore override outcome",
|
|
167
|
+
testID: `buoy-network-outcome-${outcome.label.toLowerCase().replace(/\s+/g, "-")}${outcome.code ? `-${outcome.code}` : ""}`,
|
|
168
|
+
accessibilityRole: "button",
|
|
167
169
|
accessibilityLabel: `${outcome.label}${outcome.code ? ` ${outcome.code}` : ""}`,
|
|
168
170
|
style: [styles.outcome, active && {
|
|
169
171
|
borderColor: accent,
|
|
@@ -196,6 +198,9 @@ function Disclosure({
|
|
|
196
198
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
197
199
|
onPress: onToggle,
|
|
198
200
|
"sentry-label": "ignore override disclosure",
|
|
201
|
+
testID: `buoy-network-disclosure-${title.toLowerCase().replace(/\s+/g, "-")}`,
|
|
202
|
+
accessibilityRole: "button",
|
|
203
|
+
accessibilityLabel: title,
|
|
199
204
|
style: styles.disclosureHeader,
|
|
200
205
|
children: [open ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ChevronDown, {
|
|
201
206
|
size: 12,
|
|
@@ -225,6 +230,9 @@ function Chip({
|
|
|
225
230
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
226
231
|
onPress: onPress,
|
|
227
232
|
"sentry-label": "ignore override chip",
|
|
233
|
+
testID: `buoy-network-chip-${label.toLowerCase().replace(/\s+/g, "-")}`,
|
|
234
|
+
accessibilityRole: "button",
|
|
235
|
+
accessibilityLabel: label,
|
|
228
236
|
style: [styles.chip, active && styles.chipActive],
|
|
229
237
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
230
238
|
style: [styles.chipText, active && styles.chipTextActive],
|
|
@@ -304,6 +312,7 @@ function NetworkOverrideEditor({
|
|
|
304
312
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
305
313
|
style: styles.root,
|
|
306
314
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
315
|
+
testID: "buoy-network-editor-scroll",
|
|
307
316
|
style: styles.scroll,
|
|
308
317
|
contentContainerStyle: styles.scrollContent,
|
|
309
318
|
keyboardShouldPersistTaps: "handled",
|
|
@@ -318,6 +327,8 @@ function NetworkOverrideEditor({
|
|
|
318
327
|
onChangeText: urlPattern => patch({
|
|
319
328
|
urlPattern
|
|
320
329
|
}),
|
|
330
|
+
testID: "buoy-network-override-pattern",
|
|
331
|
+
accessibilityLabel: "Override URL pattern",
|
|
321
332
|
placeholder: "https://api.example.com/v1/users*",
|
|
322
333
|
placeholderTextColor: _sharedUi.macOSColors.text.muted,
|
|
323
334
|
autoCapitalize: "none",
|
|
@@ -564,6 +575,9 @@ function NetworkOverrideEditor({
|
|
|
564
575
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
565
576
|
onPress: onCancel,
|
|
566
577
|
"sentry-label": "ignore cancel override",
|
|
578
|
+
testID: "buoy-network-editor-cancel",
|
|
579
|
+
accessibilityRole: "button",
|
|
580
|
+
accessibilityLabel: "Cancel",
|
|
567
581
|
style: [styles.footerButton, styles.cancelButton],
|
|
568
582
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
569
583
|
style: styles.cancelText,
|
|
@@ -573,6 +587,9 @@ function NetworkOverrideEditor({
|
|
|
573
587
|
onPress: onSave,
|
|
574
588
|
disabled: !draft.urlPattern.trim(),
|
|
575
589
|
"sentry-label": "ignore save override",
|
|
590
|
+
testID: "buoy-network-editor-save",
|
|
591
|
+
accessibilityRole: "button",
|
|
592
|
+
accessibilityLabel: saveLabel,
|
|
576
593
|
style: [styles.footerButton, styles.saveButton, !draft.urlPattern.trim() && styles.saveButtonDisabled],
|
|
577
594
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
578
595
|
style: styles.saveText,
|
|
@@ -70,6 +70,8 @@ function NetworkOverrideHeaderButton({
|
|
|
70
70
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
71
71
|
onPress: handlePress,
|
|
72
72
|
"sentry-label": "ignore open overrides",
|
|
73
|
+
testID: "buoy-network-override-request",
|
|
74
|
+
accessibilityRole: "button",
|
|
73
75
|
accessibilityLabel: active ? "Edit the override on this request" : "Override this request",
|
|
74
76
|
style: [styles.button, active && styles.buttonActive],
|
|
75
77
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -31,6 +31,8 @@ function NetworkOverridesButton({
|
|
|
31
31
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
32
32
|
onPress: onPress,
|
|
33
33
|
"sentry-label": "ignore open overrides",
|
|
34
|
+
testID: "buoy-network-overrides",
|
|
35
|
+
accessibilityRole: "button",
|
|
34
36
|
style: [styles.button, active && styles.buttonActive],
|
|
35
37
|
accessibilityLabel: active ? `Response overrides — ${activeCount} active` : "Response overrides",
|
|
36
38
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.FlaskConical, {
|
|
@@ -134,6 +134,8 @@ function RuleRow({
|
|
|
134
134
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
135
135
|
onPress: onDelete,
|
|
136
136
|
"sentry-label": "ignore delete override rule",
|
|
137
|
+
testID: "buoy-network-rule-delete",
|
|
138
|
+
accessibilityRole: "button",
|
|
137
139
|
accessibilityLabel: "Delete rule",
|
|
138
140
|
hitSlop: {
|
|
139
141
|
top: 8,
|
|
@@ -336,6 +338,8 @@ function OverridesBody({
|
|
|
336
338
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
337
339
|
onPress: () => setEnabled(!(enabled && activeCount > 0)),
|
|
338
340
|
"sentry-label": "ignore toggle overrides master",
|
|
341
|
+
testID: "buoy-network-overrides-master",
|
|
342
|
+
accessibilityRole: "button",
|
|
339
343
|
style: styles.barButton,
|
|
340
344
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
341
345
|
style: styles.barButtonText,
|
|
@@ -113,6 +113,9 @@ const CollapsibleSection = ({
|
|
|
113
113
|
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
114
114
|
style: styles.collapsibleHeader,
|
|
115
115
|
onPress: () => setIsOpen(!isOpen),
|
|
116
|
+
testID: `buoy-network-section-${title.toLowerCase().replace(/\s+/g, "-")}`,
|
|
117
|
+
accessibilityRole: "button",
|
|
118
|
+
accessibilityLabel: title,
|
|
116
119
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
117
120
|
style: styles.collapsibleTitle,
|
|
118
121
|
children: [icon, /*#__PURE__*/_jsx(Text, {
|
|
@@ -412,6 +415,7 @@ ${JSON.stringify(requestDetails.responseData, null, 2)}
|
|
|
412
415
|
};
|
|
413
416
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
414
417
|
children: [/*#__PURE__*/_jsxs(ScrollView, {
|
|
418
|
+
testID: "buoy-network-detail-scroll",
|
|
415
419
|
style: styles.container,
|
|
416
420
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
417
421
|
style: styles.requestDetailsSection,
|
|
@@ -92,6 +92,9 @@ export function NetworkClearButton({
|
|
|
92
92
|
});
|
|
93
93
|
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
94
94
|
"sentry-label": "ignore clear events",
|
|
95
|
+
testID: "buoy-network-clear",
|
|
96
|
+
accessibilityLabel: "Clear network requests",
|
|
97
|
+
accessibilityRole: "button",
|
|
95
98
|
onPress: () => networkEventStore.clearEvents(),
|
|
96
99
|
style: [styles.headerActionButton, !hasEvents && styles.headerActionButtonDisabled],
|
|
97
100
|
disabled: !hasEvents,
|
|
@@ -182,6 +185,8 @@ export function NetworkDetailPinActions({
|
|
|
182
185
|
"sentry-label": "ignore pin request",
|
|
183
186
|
onPress: handlePin,
|
|
184
187
|
disabled: atPinCap,
|
|
188
|
+
testID: "buoy-network-pin",
|
|
189
|
+
accessibilityRole: "button",
|
|
185
190
|
accessibilityLabel: pinned ? "Unpin request" : "Pin request",
|
|
186
191
|
accessibilityHint: atPinCap ? `Pin limit reached (${MAX_PINNED})` : undefined,
|
|
187
192
|
style: [styles.headerActionButton, pinned && styles.headerActionButtonActive, atPinCap && styles.headerActionButtonDisabled],
|
|
@@ -194,6 +199,8 @@ export function NetworkDetailPinActions({
|
|
|
194
199
|
"sentry-label": "ignore save request",
|
|
195
200
|
onPress: handleSave,
|
|
196
201
|
disabled: atSavedCap && isPro,
|
|
202
|
+
testID: "buoy-network-save",
|
|
203
|
+
accessibilityRole: "button",
|
|
197
204
|
accessibilityLabel: saved ? "Remove from saved" : "Save request",
|
|
198
205
|
accessibilityHint: atSavedCap && isPro ? `Saved limit reached (${MAX_SAVED})` : undefined,
|
|
199
206
|
style: [styles.headerActionButton, saved && styles.headerActionButtonSaved, atSavedCap && isPro && styles.headerActionButtonDisabled],
|
|
@@ -300,7 +300,7 @@ export function NetworkClearButton({
|
|
|
300
300
|
});
|
|
301
301
|
return /*#__PURE__*/_jsx("button", {
|
|
302
302
|
type: "button",
|
|
303
|
-
"aria-label": "Clear
|
|
303
|
+
"aria-label": "Clear network requests",
|
|
304
304
|
onClick: () => networkEventStore.clearEvents(),
|
|
305
305
|
style: {
|
|
306
306
|
...styles.headerActionButton,
|
|
@@ -31,6 +31,8 @@ export function NetworkHeaderMenuButton({
|
|
|
31
31
|
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
32
32
|
onPress: onPress,
|
|
33
33
|
"sentry-label": "ignore toggle header menu",
|
|
34
|
+
testID: "buoy-network-menu",
|
|
35
|
+
accessibilityRole: "button",
|
|
34
36
|
accessibilityLabel: isOpen ? "Close menu" : "More actions",
|
|
35
37
|
style: [styles.button, isOpen && styles.buttonOpen],
|
|
36
38
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
@@ -126,6 +126,7 @@ function OverriddenSection({
|
|
|
126
126
|
size: 11,
|
|
127
127
|
color: paused ? macOSColors.text.muted : macOSColors.semantic.warning
|
|
128
128
|
}), /*#__PURE__*/_jsx(Text, {
|
|
129
|
+
testID: "buoy-network-overridden-strip",
|
|
129
130
|
style: [styles.overriddenTitle, paused && styles.overriddenTitleOff],
|
|
130
131
|
children: paused ? `PAUSED · ${events.length}` : `OVERRIDDEN · ${events.length}`
|
|
131
132
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
@@ -257,12 +258,18 @@ export function NetworkListScreen({
|
|
|
257
258
|
savedLiveIds: savedLiveIds,
|
|
258
259
|
onClearPinned: clearPinned
|
|
259
260
|
}), restRows.length > 0 || hasLockedEvents ? /*#__PURE__*/_jsx(FlatList, {
|
|
261
|
+
testID: "buoy-network-list",
|
|
260
262
|
data: restRows,
|
|
261
263
|
renderItem: renderItem,
|
|
262
264
|
keyExtractor: keyExtractor,
|
|
263
265
|
contentContainerStyle: styles.listContent,
|
|
264
|
-
showsVerticalScrollIndicator: true
|
|
265
|
-
|
|
266
|
+
showsVerticalScrollIndicator: true
|
|
267
|
+
// Clipped cells falsely fail Detox's hittability check (known
|
|
268
|
+
// RN+Detox issue), so e2e bundles (Metro started with
|
|
269
|
+
// EXPO_PUBLIC_E2E=1) turn clipping off. Inlined at bundle time;
|
|
270
|
+
// guarded so a non-inlining bundler keeps the prod behavior.
|
|
271
|
+
,
|
|
272
|
+
removeClippedSubviews: !(typeof process !== "undefined" && process.env?.EXPO_PUBLIC_E2E),
|
|
266
273
|
onEndReachedThreshold: 0.8
|
|
267
274
|
// The list OWNS scrolling (NetworkModal passes
|
|
268
275
|
// disableScrollWrapper while this screen is visible) so FlatList
|
|
@@ -457,6 +457,7 @@ function NetworkModalInner({
|
|
|
457
457
|
onBlur: () => setIsSearchActive(false),
|
|
458
458
|
"sentry-label": "ignore network search header",
|
|
459
459
|
accessibilityLabel: "Search network requests",
|
|
460
|
+
testID: "buoy-network-search-input",
|
|
460
461
|
autoCapitalize: "none",
|
|
461
462
|
autoCorrect: false,
|
|
462
463
|
returnKeyType: "search"
|
|
@@ -481,6 +482,9 @@ function NetworkModalInner({
|
|
|
481
482
|
}), /*#__PURE__*/_jsxs(ModalHeader.Actions, {
|
|
482
483
|
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
483
484
|
"sentry-label": "ignore open search",
|
|
485
|
+
testID: "buoy-network-search-open",
|
|
486
|
+
accessibilityLabel: "Open search",
|
|
487
|
+
accessibilityRole: "button",
|
|
484
488
|
onPress: () => setIsSearchActive(true),
|
|
485
489
|
style: styles.headerActionButton,
|
|
486
490
|
children: /*#__PURE__*/_jsx(Search, {
|
|
@@ -492,7 +496,8 @@ function NetworkModalInner({
|
|
|
492
496
|
}) : null, /*#__PURE__*/_jsx(PowerToggleButton, {
|
|
493
497
|
isEnabled: !paused,
|
|
494
498
|
onToggle: () => setPaused(prev => !prev),
|
|
495
|
-
accessibilityLabel: "Toggle network interception"
|
|
499
|
+
accessibilityLabel: "Toggle network interception",
|
|
500
|
+
testID: "buoy-network-power"
|
|
496
501
|
}), /*#__PURE__*/_jsx(NetworkClearButton, {
|
|
497
502
|
paused: paused
|
|
498
503
|
}), /*#__PURE__*/_jsx(NetworkHeaderMenuButton, {
|
|
@@ -706,7 +711,8 @@ const styles = StyleSheet.create({
|
|
|
706
711
|
paddingVertical: 8,
|
|
707
712
|
borderBottomWidth: 1,
|
|
708
713
|
borderBottomColor: macOSColors.border.default,
|
|
709
|
-
|
|
714
|
+
// Clear, like Bench — the host's hoisted sky shows through the header.
|
|
715
|
+
backgroundColor: "transparent"
|
|
710
716
|
},
|
|
711
717
|
// Night chrome — the header is glass over the star field, so the search
|
|
712
718
|
// field and action chips sit on the Everlights dark-glass fill.
|
|
@@ -161,6 +161,8 @@ function OutcomeChip({
|
|
|
161
161
|
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
162
162
|
onPress: onPress,
|
|
163
163
|
"sentry-label": "ignore override outcome",
|
|
164
|
+
testID: `buoy-network-outcome-${outcome.label.toLowerCase().replace(/\s+/g, "-")}${outcome.code ? `-${outcome.code}` : ""}`,
|
|
165
|
+
accessibilityRole: "button",
|
|
164
166
|
accessibilityLabel: `${outcome.label}${outcome.code ? ` ${outcome.code}` : ""}`,
|
|
165
167
|
style: [styles.outcome, active && {
|
|
166
168
|
borderColor: accent,
|
|
@@ -193,6 +195,9 @@ function Disclosure({
|
|
|
193
195
|
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
194
196
|
onPress: onToggle,
|
|
195
197
|
"sentry-label": "ignore override disclosure",
|
|
198
|
+
testID: `buoy-network-disclosure-${title.toLowerCase().replace(/\s+/g, "-")}`,
|
|
199
|
+
accessibilityRole: "button",
|
|
200
|
+
accessibilityLabel: title,
|
|
196
201
|
style: styles.disclosureHeader,
|
|
197
202
|
children: [open ? /*#__PURE__*/_jsx(ChevronDown, {
|
|
198
203
|
size: 12,
|
|
@@ -222,6 +227,9 @@ function Chip({
|
|
|
222
227
|
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
223
228
|
onPress: onPress,
|
|
224
229
|
"sentry-label": "ignore override chip",
|
|
230
|
+
testID: `buoy-network-chip-${label.toLowerCase().replace(/\s+/g, "-")}`,
|
|
231
|
+
accessibilityRole: "button",
|
|
232
|
+
accessibilityLabel: label,
|
|
225
233
|
style: [styles.chip, active && styles.chipActive],
|
|
226
234
|
children: /*#__PURE__*/_jsx(Text, {
|
|
227
235
|
style: [styles.chipText, active && styles.chipTextActive],
|
|
@@ -301,6 +309,7 @@ export function NetworkOverrideEditor({
|
|
|
301
309
|
return /*#__PURE__*/_jsxs(View, {
|
|
302
310
|
style: styles.root,
|
|
303
311
|
children: [/*#__PURE__*/_jsxs(ScrollView, {
|
|
312
|
+
testID: "buoy-network-editor-scroll",
|
|
304
313
|
style: styles.scroll,
|
|
305
314
|
contentContainerStyle: styles.scrollContent,
|
|
306
315
|
keyboardShouldPersistTaps: "handled",
|
|
@@ -315,6 +324,8 @@ export function NetworkOverrideEditor({
|
|
|
315
324
|
onChangeText: urlPattern => patch({
|
|
316
325
|
urlPattern
|
|
317
326
|
}),
|
|
327
|
+
testID: "buoy-network-override-pattern",
|
|
328
|
+
accessibilityLabel: "Override URL pattern",
|
|
318
329
|
placeholder: "https://api.example.com/v1/users*",
|
|
319
330
|
placeholderTextColor: macOSColors.text.muted,
|
|
320
331
|
autoCapitalize: "none",
|
|
@@ -561,6 +572,9 @@ export function NetworkOverrideEditor({
|
|
|
561
572
|
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
562
573
|
onPress: onCancel,
|
|
563
574
|
"sentry-label": "ignore cancel override",
|
|
575
|
+
testID: "buoy-network-editor-cancel",
|
|
576
|
+
accessibilityRole: "button",
|
|
577
|
+
accessibilityLabel: "Cancel",
|
|
564
578
|
style: [styles.footerButton, styles.cancelButton],
|
|
565
579
|
children: /*#__PURE__*/_jsx(Text, {
|
|
566
580
|
style: styles.cancelText,
|
|
@@ -570,6 +584,9 @@ export function NetworkOverrideEditor({
|
|
|
570
584
|
onPress: onSave,
|
|
571
585
|
disabled: !draft.urlPattern.trim(),
|
|
572
586
|
"sentry-label": "ignore save override",
|
|
587
|
+
testID: "buoy-network-editor-save",
|
|
588
|
+
accessibilityRole: "button",
|
|
589
|
+
accessibilityLabel: saveLabel,
|
|
573
590
|
style: [styles.footerButton, styles.saveButton, !draft.urlPattern.trim() && styles.saveButtonDisabled],
|
|
574
591
|
children: /*#__PURE__*/_jsx(Text, {
|
|
575
592
|
style: styles.saveText,
|
|
@@ -67,6 +67,8 @@ export function NetworkOverrideHeaderButton({
|
|
|
67
67
|
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
68
68
|
onPress: handlePress,
|
|
69
69
|
"sentry-label": "ignore open overrides",
|
|
70
|
+
testID: "buoy-network-override-request",
|
|
71
|
+
accessibilityRole: "button",
|
|
70
72
|
accessibilityLabel: active ? "Edit the override on this request" : "Override this request",
|
|
71
73
|
style: [styles.button, active && styles.buttonActive],
|
|
72
74
|
children: /*#__PURE__*/_jsx(Text, {
|
|
@@ -28,6 +28,8 @@ export function NetworkOverridesButton({
|
|
|
28
28
|
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
29
29
|
onPress: onPress,
|
|
30
30
|
"sentry-label": "ignore open overrides",
|
|
31
|
+
testID: "buoy-network-overrides",
|
|
32
|
+
accessibilityRole: "button",
|
|
31
33
|
style: [styles.button, active && styles.buttonActive],
|
|
32
34
|
accessibilityLabel: active ? `Response overrides — ${activeCount} active` : "Response overrides",
|
|
33
35
|
children: [/*#__PURE__*/_jsx(FlaskConical, {
|
|
@@ -130,6 +130,8 @@ function RuleRow({
|
|
|
130
130
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
131
131
|
onPress: onDelete,
|
|
132
132
|
"sentry-label": "ignore delete override rule",
|
|
133
|
+
testID: "buoy-network-rule-delete",
|
|
134
|
+
accessibilityRole: "button",
|
|
133
135
|
accessibilityLabel: "Delete rule",
|
|
134
136
|
hitSlop: {
|
|
135
137
|
top: 8,
|
|
@@ -332,6 +334,8 @@ function OverridesBody({
|
|
|
332
334
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
333
335
|
onPress: () => setEnabled(!(enabled && activeCount > 0)),
|
|
334
336
|
"sentry-label": "ignore toggle overrides master",
|
|
337
|
+
testID: "buoy-network-overrides-master",
|
|
338
|
+
accessibilityRole: "button",
|
|
335
339
|
style: styles.barButton,
|
|
336
340
|
children: /*#__PURE__*/_jsx(Text, {
|
|
337
341
|
style: styles.barButtonText,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkEventDetailView.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkEventDetailView.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,UAAU,CAAC;AA0B7D,UAAU,2BAA2B;IACnC,KAAK,EAAE,YAAY,CAAC;IACpB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;;;;;;;;;;;;;;OAeG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;
|
|
1
|
+
{"version":3,"file":"NetworkEventDetailView.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkEventDetailView.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,UAAU,CAAC;AA0B7D,UAAU,2BAA2B;IACnC,KAAK,EAAE,YAAY,CAAC;IACpB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;;;;;;;;;;;;;;OAeG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAkRD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,sBAAsB,mEAoiBjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkHeaderLive.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkHeaderLive.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAWL,KAAK,cAAc,EAEpB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAqB9D,KAAK,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpD,UAAU,wBAAwB;IAChC,YAAY,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACtC,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,yEAAyE;AACzE,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,cAAc,EACd,eAAe,EACf,MAAM,GACP,EAAE,wBAAwB,+BA4D1B;AAED,UAAU,uBAAuB;IAC/B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;iDAEiD;AACjD,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,uBAAuB,+
|
|
1
|
+
{"version":3,"file":"NetworkHeaderLive.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkHeaderLive.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAWL,KAAK,cAAc,EAEpB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAqB9D,KAAK,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpD,UAAU,wBAAwB;IAChC,YAAY,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACtC,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,yEAAyE;AACzE,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,cAAc,EACd,eAAe,EACf,MAAM,GACP,EAAE,wBAAwB,+BA4D1B;AAED,UAAU,uBAAuB;IAC/B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;iDAEiD;AACjD,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,uBAAuB,+BAwBrE;AAED,UAAU,uBAAuB;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,EAAE,uBAAuB,+BAwBtE;AAED,UAAU,4BAA4B;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,KAAK,EACL,cAAc,GACf,EAAE,4BAA4B,+BA4F9B;AAED,UAAU,4BAA4B;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,KAAK,EACL,MAAM,EACN,eAAe,EACf,YAAY,EACZ,MAAM,EACN,cAAc,EACd,KAAK,GACN,EAAE,4BAA4B,+BAsD9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkHeaderMenu.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkHeaderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;;;;;;;;;;;;;;;GAkBG;AAEH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,MAAM,EACN,YAAY,GACb,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,+
|
|
1
|
+
{"version":3,"file":"NetworkHeaderMenu.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkHeaderMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;;;;;;;;;;;;;;;GAkBG;AAEH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,MAAM,EACN,YAAY,GACb,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,+BAoBA;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,sBAAsB,+BAY9E;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACR,EAAE;IACD,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,+BAYA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkListScreen.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkListScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"NetworkListScreen.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkListScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA2J5D,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,MAAM,EACN,MAAM,EACN,eAAe,EACf,KAAK,EACL,UAAU,EACV,YAAY,EACZ,cAAc,GACf,EAAE,sBAAsB,sCA+JxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkModal.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkModal.tsx"],"names":[],"mappings":"AAsEA,UAAU,iBAAiB;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;
|
|
1
|
+
{"version":3,"file":"NetworkModal.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkModal.tsx"],"names":[],"mappings":"AAsEA,UAAU,iBAAiB;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AA23BD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD;AAED,MAAM,WAAW,oBAAoB;IACnC,+EAA+E;IAC/E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,KAAK,GAAE,oBAAyB,+BAa/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkOverrideEditor.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverrideEditor.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"NetworkOverrideEditor.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverrideEditor.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAyOzE,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7C,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAkB,EAClB,kBAA0B,GAC3B,EAAE,0BAA0B,+BA4Z5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkOverrideHeaderButton.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverrideHeaderButton.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIzE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,GACP,EAAE;IACD,MAAM,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D,+
|
|
1
|
+
{"version":3,"file":"NetworkOverrideHeaderButton.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverrideHeaderButton.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIzE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,GACP,EAAE;IACD,MAAM,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D,+BAgDA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkOverridesButton.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverridesButton.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,+
|
|
1
|
+
{"version":3,"file":"NetworkOverridesButton.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverridesButton.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,+BA8B1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkOverridesScreen.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverridesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAgBhF,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"NetworkOverridesScreen.d.ts","sourceRoot":"","sources":["../../../../src/network/components/NetworkOverridesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAgBhF,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAC;AAwJzC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,iBAAiB,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC5D,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC,CAAC,MAAM,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1D,wDAAwD;IACxD,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,sCAGxE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/network",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.30",
|
|
4
4
|
"description": "In-app network inspector for React Native — requests, responses, timing & errors live, with GraphQL operation parsing. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
29
|
+
"@buoy-gg/shared-ui": "^7.0.30"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "*",
|