@diegotsi/flint-react 0.4.1 → 0.5.1
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/dist/index.cjs +256 -7908
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +257 -7909
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -73,6 +73,7 @@ interface ReportPayload {
|
|
|
73
73
|
severity: Severity;
|
|
74
74
|
url?: string;
|
|
75
75
|
meta?: Record<string, unknown>;
|
|
76
|
+
label?: string;
|
|
76
77
|
}
|
|
77
78
|
interface ReportResult {
|
|
78
79
|
id: string;
|
|
@@ -515,8 +516,9 @@ interface Props {
|
|
|
515
516
|
getNetworkErrors: () => NetworkEntry[];
|
|
516
517
|
getReplayEvents: () => eventWithTime[];
|
|
517
518
|
getExternalReplayUrl: () => string | undefined;
|
|
519
|
+
initialSelection?: string;
|
|
518
520
|
}
|
|
519
|
-
declare function FlintModal({ projectKey, serverUrl, user, meta, theme, zIndex, onClose, getEnvironment, getConsoleLogs, getNetworkErrors, getReplayEvents, getExternalReplayUrl, }: Props): react_jsx_runtime.JSX.Element;
|
|
521
|
+
declare function FlintModal({ projectKey, serverUrl, user, meta, theme, zIndex, onClose, getEnvironment, getConsoleLogs, getNetworkErrors, getReplayEvents, getExternalReplayUrl, initialSelection, }: Props): react_jsx_runtime.JSX.Element;
|
|
520
522
|
|
|
521
523
|
declare const flint: {
|
|
522
524
|
setUser(user: FlintUser | null): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ interface ReportPayload {
|
|
|
73
73
|
severity: Severity;
|
|
74
74
|
url?: string;
|
|
75
75
|
meta?: Record<string, unknown>;
|
|
76
|
+
label?: string;
|
|
76
77
|
}
|
|
77
78
|
interface ReportResult {
|
|
78
79
|
id: string;
|
|
@@ -515,8 +516,9 @@ interface Props {
|
|
|
515
516
|
getNetworkErrors: () => NetworkEntry[];
|
|
516
517
|
getReplayEvents: () => eventWithTime[];
|
|
517
518
|
getExternalReplayUrl: () => string | undefined;
|
|
519
|
+
initialSelection?: string;
|
|
518
520
|
}
|
|
519
|
-
declare function FlintModal({ projectKey, serverUrl, user, meta, theme, zIndex, onClose, getEnvironment, getConsoleLogs, getNetworkErrors, getReplayEvents, getExternalReplayUrl, }: Props): react_jsx_runtime.JSX.Element;
|
|
521
|
+
declare function FlintModal({ projectKey, serverUrl, user, meta, theme, zIndex, onClose, getEnvironment, getConsoleLogs, getNetworkErrors, getReplayEvents, getExternalReplayUrl, initialSelection, }: Props): react_jsx_runtime.JSX.Element;
|
|
520
522
|
|
|
521
523
|
declare const flint: {
|
|
522
524
|
setUser(user: FlintUser | null): void;
|