@getuserfeedback/react-native 1.3.23 → 1.3.25
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.
|
@@ -5,7 +5,7 @@ export type ProviderCommandTransportOptions = {
|
|
|
5
5
|
createTimeoutError: (requestId: string) => Error;
|
|
6
6
|
getCurrentHostEpoch: () => number | null;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type ProviderPendingCommandRegistration<Result> = {
|
|
9
9
|
flowCommandSequence: number | null;
|
|
10
10
|
flowHandleCacheEpoch: number;
|
|
11
11
|
isStartup: boolean;
|
|
@@ -13,7 +13,7 @@ export type ProviderPendingCommandRegistration<Result> = {
|
|
|
13
13
|
requestId: string;
|
|
14
14
|
result: Result;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type ProviderPendingCommandReissue<Result> = {
|
|
17
17
|
flowHandleCacheEpoch: number;
|
|
18
18
|
nextMessage: WebViewTransportNativeMessage;
|
|
19
19
|
nextRequestId: string;
|
|
@@ -52,3 +52,4 @@ export type ProviderCommandTransport<Result> = {
|
|
|
52
52
|
cancelStartupCommands: (error: Error) => void;
|
|
53
53
|
};
|
|
54
54
|
export declare function useProviderCommandTransport<Result>({ commandTimeoutMs, createTimeoutError, getCurrentHostEpoch, }: ProviderCommandTransportOptions): ProviderCommandTransport<Result>;
|
|
55
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type ProviderWidgetHostReadyState = {
|
|
2
2
|
hostEpoch: number;
|
|
3
3
|
readySequence: number;
|
|
4
4
|
sourceKey: string;
|
|
@@ -11,7 +11,7 @@ export type ProviderWidgetHostVisibility = {
|
|
|
11
11
|
readySequence: number | null;
|
|
12
12
|
sourceKey: string | null;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type ProviderWidgetHostFlowState = {
|
|
15
15
|
height?: number;
|
|
16
16
|
flowHandleId?: string;
|
|
17
17
|
instanceId: string;
|
|
@@ -44,3 +44,4 @@ export type ProviderWidgetHostLifecycleController = {
|
|
|
44
44
|
}) => ProviderWidgetHostVisibility;
|
|
45
45
|
};
|
|
46
46
|
export declare function createProviderWidgetHostLifecycleController(initialHostSourceKey: string): ProviderWidgetHostLifecycleController;
|
|
47
|
+
export {};
|
package/dist/version.js
CHANGED
|
@@ -3,4 +3,4 @@ const reactNativeSdkVersion = typeof __GX_REACT_NATIVE_SDK_VERSION__ === "string
|
|
|
3
3
|
: "";
|
|
4
4
|
// Build scripts patch this fallback to the package version for published artifacts.
|
|
5
5
|
// Source-linked workspace usage keeps the local fallback.
|
|
6
|
-
export const REACT_NATIVE_SDK_VERSION = reactNativeSdkVersion.length > 0 ? reactNativeSdkVersion : "1.3.
|
|
6
|
+
export const REACT_NATIVE_SDK_VERSION = reactNativeSdkVersion.length > 0 ? reactNativeSdkVersion : "1.3.25";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type WebViewHandle = {
|
|
2
2
|
injectJavaScript?: (script: string) => void;
|
|
3
3
|
};
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type WidgetHostLifecycleState = "awaitingReady" | "ready";
|
|
5
|
+
type WidgetHostLifecycleEvent = {
|
|
6
6
|
type: "sourceChanged";
|
|
7
7
|
sourceKey: string;
|
|
8
8
|
} | {
|
|
@@ -17,7 +17,7 @@ export type WidgetHostLifecycleEvent = {
|
|
|
17
17
|
type: "commandInjected";
|
|
18
18
|
messageId: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type WidgetHostLifecycleSnapshot = {
|
|
21
21
|
deliveredMessageIds: ReadonlySet<string>;
|
|
22
22
|
handle: WebViewHandle | null;
|
|
23
23
|
readySequence: number;
|
|
@@ -32,3 +32,4 @@ export declare function createWidgetHostLifecycleController(input: {
|
|
|
32
32
|
onChange?: () => void;
|
|
33
33
|
sourceKey: string;
|
|
34
34
|
}): WidgetHostLifecycleController;
|
|
35
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getuserfeedback/react-native",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.25",
|
|
4
4
|
"description": "getuserfeedback React Native SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"getuserfeedback",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"lint": "ultracite check ."
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@getuserfeedback/protocol": "^3.0.
|
|
48
|
-
"@getuserfeedback/sdk": "^0.8.
|
|
47
|
+
"@getuserfeedback/protocol": "^3.0.5",
|
|
48
|
+
"@getuserfeedback/sdk": "^0.8.7",
|
|
49
49
|
"robot3": "^1.2.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|