@blipit/react-native 0.5.0 → 0.6.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/BlipitReactNative.podspec +2 -2
- package/CHANGELOG.md +16 -0
- package/README.md +42 -2
- package/android/build.gradle +1 -1
- package/android/src/main/java/io/blipit/reactnative/BlipitNuggetsModule.kt +36 -1
- package/dist/index.cjs +350 -34
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +355 -38
- package/ios/BlipitNuggets.m +4 -2
- package/ios/BlipitNuggets.swift +30 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { Component, ReactNode, ComponentType } from 'react';
|
|
3
3
|
|
|
4
|
-
declare const VERSION = "0.
|
|
4
|
+
declare const VERSION = "0.6.1";
|
|
5
5
|
declare const DEFAULT_ENDPOINT = "https://in.blipit.io";
|
|
6
6
|
type Level = "fatal" | "error" | "warning" | "info" | "debug";
|
|
7
7
|
type SeverityLevel = Level;
|
|
@@ -129,6 +129,11 @@ interface BlipitOptions {
|
|
|
129
129
|
autoSessionTracking?: boolean;
|
|
130
130
|
enableNative?: boolean;
|
|
131
131
|
waitForReady?: boolean;
|
|
132
|
+
shakeToReport?: boolean;
|
|
133
|
+
screenshotToReport?: boolean;
|
|
134
|
+
twoFingerReport?: boolean;
|
|
135
|
+
reportAfterCrash?: boolean;
|
|
136
|
+
screenPicker?: boolean;
|
|
132
137
|
}
|
|
133
138
|
interface SecurityDetails {
|
|
134
139
|
outcome?: string;
|
|
@@ -154,6 +159,6 @@ declare const isEnabled: () => boolean;
|
|
|
154
159
|
declare const lastEventId: () => string | undefined;
|
|
155
160
|
declare function setReplayConsent(granted: boolean): void;
|
|
156
161
|
declare function hasReplayConsent(): boolean;
|
|
157
|
-
declare
|
|
162
|
+
declare function trackNavigation(ref: NavigationRef): () => void;
|
|
158
163
|
|
|
159
164
|
export { type BlipitEvent, type BlipitOptions, BlipitReporter, type Breadcrumb, DEFAULT_ENDPOINT, ErrorBoundary, type ErrorBoundaryProps, type Level, type NavigationRef, type SecurityDetails, type SeverityLevel, type User, VERSION, addBreadcrumb, captureException, captureMessage, captureSecurity, endFlow, flowStep, flush, hasReplayConsent, init, isEnabled, lastEventId, reportReady, setEnabled, setReplayConsent, setTag, setUser, showReport, startFlow, trackNavigation, wrap };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { Component, ReactNode, ComponentType } from 'react';
|
|
3
3
|
|
|
4
|
-
declare const VERSION = "0.
|
|
4
|
+
declare const VERSION = "0.6.1";
|
|
5
5
|
declare const DEFAULT_ENDPOINT = "https://in.blipit.io";
|
|
6
6
|
type Level = "fatal" | "error" | "warning" | "info" | "debug";
|
|
7
7
|
type SeverityLevel = Level;
|
|
@@ -129,6 +129,11 @@ interface BlipitOptions {
|
|
|
129
129
|
autoSessionTracking?: boolean;
|
|
130
130
|
enableNative?: boolean;
|
|
131
131
|
waitForReady?: boolean;
|
|
132
|
+
shakeToReport?: boolean;
|
|
133
|
+
screenshotToReport?: boolean;
|
|
134
|
+
twoFingerReport?: boolean;
|
|
135
|
+
reportAfterCrash?: boolean;
|
|
136
|
+
screenPicker?: boolean;
|
|
132
137
|
}
|
|
133
138
|
interface SecurityDetails {
|
|
134
139
|
outcome?: string;
|
|
@@ -154,6 +159,6 @@ declare const isEnabled: () => boolean;
|
|
|
154
159
|
declare const lastEventId: () => string | undefined;
|
|
155
160
|
declare function setReplayConsent(granted: boolean): void;
|
|
156
161
|
declare function hasReplayConsent(): boolean;
|
|
157
|
-
declare
|
|
162
|
+
declare function trackNavigation(ref: NavigationRef): () => void;
|
|
158
163
|
|
|
159
164
|
export { type BlipitEvent, type BlipitOptions, BlipitReporter, type Breadcrumb, DEFAULT_ENDPOINT, ErrorBoundary, type ErrorBoundaryProps, type Level, type NavigationRef, type SecurityDetails, type SeverityLevel, type User, VERSION, addBreadcrumb, captureException, captureMessage, captureSecurity, endFlow, flowStep, flush, hasReplayConsent, init, isEnabled, lastEventId, reportReady, setEnabled, setReplayConsent, setTag, setUser, showReport, startFlow, trackNavigation, wrap };
|