@getuserfeedback/react-native 5.1.6 → 5.1.8

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 CHANGED
@@ -47,7 +47,11 @@ export interface FlowRun {
47
47
  */
48
48
  export interface Client {
49
49
  readonly instanceId: string;
50
- /** Updates consent and other client configuration. */
50
+ /**
51
+ * Updates authentication, consent, and other client configuration.
52
+ *
53
+ * @see https://getuserfeedback.com/docs/security-and-privacy/jwt-auth
54
+ */
51
55
  configure: (opts: ConfigureOptions, options?: CommandOptions) => Promise<void>;
52
56
  identify: {
53
57
  (userId: string, traits?: IdentifyTraits, options?: IdentifyOptions): Promise<void>;
@@ -62,7 +66,7 @@ export interface Client {
62
66
  flow: (flowId: string) => FlowRun;
63
67
  /** Closes every open flow owned by this provider. */
64
68
  close: () => Promise<void>;
65
- /** Resets widget state and the current user identity. */
69
+ /** Resets widget state, authentication, and the current user identity. */
66
70
  reset: (options?: CommandOptions) => Promise<void>;
67
71
  /** Updates app navigation and environment context used by targeting. */
68
72
  updateHostContext: (context: HostContext, options?: CommandOptions) => Promise<void>;
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.1.6";
6
+ export const REACT_NATIVE_SDK_VERSION = reactNativeSdkVersion.length > 0 ? reactNativeSdkVersion : "5.1.8";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getuserfeedback/react-native",
3
- "version": "5.1.6",
3
+ "version": "5.1.8",
4
4
  "description": "getuserfeedback React Native SDK",
5
5
  "keywords": [
6
6
  "getuserfeedback",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@getuserfeedback/protocol": "^5.0.0",
48
- "@getuserfeedback/sdk": "^0.13.5",
48
+ "@getuserfeedback/sdk": "^0.13.6",
49
49
  "robot3": "^1.2.0"
50
50
  },
51
51
  "peerDependencies": {