launchdarkly-react-client-sdk
Advanced tools
Comparing version 2.23.1 to 2.23.2
@@ -5,2 +5,6 @@ # Change log | ||
## [2.23.1] - 2021-09-03 | ||
### Fixed: | ||
- When using `asyncWithLDProvider`, components added to the DOM after client initialization now use the latest known flag values instead of the bootstrapped values. | ||
## [2.23.0] - 2021-07-16 | ||
@@ -7,0 +11,0 @@ ### Added: |
@@ -16,3 +16,3 @@ /// <reference types="react" /> | ||
* | ||
* @see http://docs.launchdarkly.com/docs/js-sdk-reference | ||
* @see https://docs.launchdarkly.com/sdk/client-side/javascript | ||
*/ | ||
@@ -19,0 +19,0 @@ ldClient?: LDClient; |
@@ -18,5 +18,5 @@ import { LDClient, LDFlagSet, LDOptions, LDUser } from 'launchdarkly-js-client-sdk'; | ||
* For more information, see the React SDK Reference Guide on | ||
* [flag keys](https://docs.launchdarkly.com/docs/react-sdk-reference#section-flag-keys). | ||
* [flag keys](https://docs.launchdarkly.com/sdk/client-side/react/react-web#flag-keys). | ||
* | ||
* @see https://docs.launchdarkly.com/docs/react-sdk-reference#section-flag-keys | ||
* @see https://docs.launchdarkly.com/sdk/client-side/react/react-web#flag-keys | ||
*/ | ||
@@ -45,3 +45,3 @@ useCamelCaseFlagKeys?: boolean; | ||
* | ||
* @see http://docs.launchdarkly.com/docs/js-sdk-reference#section-users | ||
* @see https://docs.launchdarkly.com/sdk/features/user-config#javascript | ||
*/ | ||
@@ -56,3 +56,3 @@ user?: LDUser; | ||
* | ||
* @see https://docs.launchdarkly.com/docs/js-sdk-reference#section-customizing-your-client | ||
* @see https://docs.launchdarkly.com/sdk/features/config#javascript | ||
*/ | ||
@@ -93,5 +93,5 @@ options?: LDOptions; | ||
* | ||
* @see http://docs.launchdarkly.com/docs/js-sdk-reference | ||
* @see https://docs.launchdarkly.com/sdk/client-side/javascript | ||
*/ | ||
ldClient: LDClient; | ||
} |
@@ -25,3 +25,3 @@ import * as React from 'react'; | ||
* | ||
* @see http://docs.launchdarkly.com/docs/js-sdk-reference | ||
* @see https://docs.launchdarkly.com/sdk/client-side/javascript | ||
*/ | ||
@@ -28,0 +28,0 @@ ldClient?: LDClient; |
@@ -23,3 +23,3 @@ import * as React from 'react'; | ||
*/ | ||
export declare function withLDProvider(config: ProviderConfig): (WrappedComponent: React.ComponentType) => React.ComponentType; | ||
export declare function withLDProvider<T = {}>(config: ProviderConfig): (WrappedComponent: React.ComponentType<T>) => React.ComponentType<T>; | ||
export default withLDProvider; |
{ | ||
"name": "launchdarkly-react-client-sdk", | ||
"version": "2.23.1", | ||
"version": "2.23.2", | ||
"description": "LaunchDarkly SDK for React", | ||
@@ -5,0 +5,0 @@ "author": "LaunchDarkly <team@launchdarkly.com>", |
@@ -7,3 +7,3 @@ # LaunchDarkly Client-side SDK for React | ||
[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves over 100 billion feature flags daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/docs/getting-started) using LaunchDarkly today! | ||
[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves over 100 billion feature flags daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/home/getting-started) using LaunchDarkly today! | ||
@@ -20,3 +20,3 @@ [![Twitter Follow](https://img.shields.io/twitter/follow/launchdarkly.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/intent/follow?screen_name=launchdarkly) | ||
Refer to the [SDK documentation](https://docs.launchdarkly.com/docs/react-sdk-reference#section-getting-started) for instructions on getting started with using the SDK. | ||
Refer to the [SDK documentation](https://docs.launchdarkly.com/sdk/client-side/react/react-web#getting-started) for instructions on getting started with using the SDK. | ||
@@ -46,3 +46,3 @@ Please note that the React SDK has two special requirements in terms of your LaunchDarkly environment. First, in terms of the credentials for your environment that appear on your [Account Settings](https://app.launchdarkly.com/settings/projects) dashboard, the React SDK uses the "Client-side ID"-- not the "SDK key" or the "Mobile key". Second, for any feature flag that you will be using in React code, you must check the "Make this flag available to client-side SDKs" box on that flag's Settings page. | ||
* Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline. | ||
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/docs) for a complete list. | ||
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read [our documentation](https://docs.launchdarkly.com/sdk) for a complete list. | ||
* Explore LaunchDarkly | ||
@@ -49,0 +49,0 @@ * [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81786