@statsig/react-bindings-on-device-eval 3.8.1 → 3.8.3

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@statsig/react-bindings-on-device-eval",
3
- "version": "3.8.1",
3
+ "version": "3.8.3",
4
4
  "dependencies": {
5
- "@statsig/client-core": "3.8.1",
6
- "@statsig/js-on-device-eval-client": "3.8.1"
5
+ "@statsig/client-core": "3.8.3",
6
+ "@statsig/js-on-device-eval-client": "3.8.3"
7
7
  },
8
8
  "peerDependencies": {
9
- "react": "^16.6.3 || ^17.0.0 || ^18.0.0"
9
+ "react": "^16.6.3 || ^17.0.0 || ^18.0.0 || ^19.0.0"
10
10
  },
11
11
  "type": "commonjs",
12
12
  "main": "./src/index.js",
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { ReactNode } from 'react';
2
3
  import { StatsigOnDeviceEvalClient, StatsigOptions } from '@statsig/js-on-device-eval-client';
3
4
  type WithClient<T extends StatsigOnDeviceEvalClient> = {
@@ -11,5 +12,5 @@ export type StatsigProviderOnDeviceEvalProps<T extends StatsigOnDeviceEvalClient
11
12
  children: ReactNode | ReactNode[];
12
13
  loadingComponent?: ReactNode | ReactNode[];
13
14
  } & (WithClient<T> | WithConfiguration);
14
- export declare function StatsigProviderOnDeviceEval(props: StatsigProviderOnDeviceEvalProps<StatsigOnDeviceEvalClient>): JSX.Element;
15
+ export declare function StatsigProviderOnDeviceEval(props: StatsigProviderOnDeviceEvalProps<StatsigOnDeviceEvalClient>): React.ReactElement;
15
16
  export {};