@getuserfeedback/react-native 5.6.0 → 5.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/dist/client.d.ts +9 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -107,8 +107,15 @@ export interface Client {
|
|
|
107
107
|
onOpenRequested: (callback: OpenRequestedCallback) => () => void;
|
|
108
108
|
/** Resets widget state, authentication, and the current user identity. */
|
|
109
109
|
reset: (options?: CommandOptions) => Promise<void>;
|
|
110
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* Updates current-route and host-supplied targeting context. URL and page
|
|
112
|
+
* fields can enrich events and consent-gated telemetry; `env` and `storage`
|
|
113
|
+
* are local-targeting inputs only.
|
|
114
|
+
*/
|
|
111
115
|
updateHostContext: (context: HostContext, options?: CommandOptions) => Promise<void>;
|
|
112
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Emits an ephemeral signal for local engagement targeting. This does not
|
|
118
|
+
* persist a customer occurrence; use `track()` or `screen()` for that.
|
|
119
|
+
*/
|
|
113
120
|
emitHostSignal: (name: string, data?: unknown, options?: CommandOptions) => Promise<void>;
|
|
114
121
|
}
|
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 : "5.6.
|
|
6
|
+
export const REACT_NATIVE_SDK_VERSION = reactNativeSdkVersion.length > 0 ? reactNativeSdkVersion : "5.6.1";
|