Skip to content

Commit cc825d4

Browse files
tanderson-ldTodd Anderson
andauthored
fix: corrected location of payloadFilterKey in LDOptions (#863)
Co-authored-by: Todd Anderson <[email protected]>
1 parent 6c239cb commit cc825d4

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

packages/shared/sdk-server/src/api/options/LDOptions.ts

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -268,24 +268,27 @@ export interface LDOptions {
268268
* ASCII digits, period, hyphen, underscore. A string containing any other characters will be ignored.
269269
*/
270270
versionName?: string;
271-
272-
/**
273-
* LaunchDarkly Server SDKs historically downloaded all flag configuration and segments for a particular environment
274-
* during initialization.
275-
*
276-
* For some customers, this is an unacceptably large amount of data, and has contributed to performance issues
277-
* within their products.
278-
*
279-
* Filtered environments aim to solve this problem. By allowing customers to specify subsets of an environment's
280-
* flags using a filter key, SDKs will initialize faster and use less memory.
281-
*
282-
* This payload filter key only applies to the default streaming and polling data sources. It will not affect
283-
* TestData or FileData data sources, nor will it be applied to any data source provided through the featureStore
284-
* config property.
285-
*/
286-
payloadFilterKey?: string;
287271
};
288272

273+
/**
274+
* LaunchDarkly Server SDKs historically downloaded all flag configuration and segments for a particular environment
275+
* during initialization.
276+
*
277+
* For some customers, this is an unacceptably large amount of data, and has contributed to performance issues
278+
* within their products.
279+
*
280+
* Filtered environments aim to solve this problem. By allowing customers to specify subsets of an environment's
281+
* flags using a filter key, SDKs will initialize faster and use less memory.
282+
*
283+
* This feature is releasing through a closed alpha and beta pipeline and may not be available for your account
284+
* until public release.
285+
*
286+
* This payload filter key only applies to the default streaming and polling data sources. It will not affect
287+
* TestData or FileData data sources, nor will it be applied to any data source provided through the featureStore
288+
* config property.
289+
*/
290+
payloadFilterKey?: string;
291+
289292
/**
290293
* Initial set of hooks for the client.
291294
*

0 commit comments

Comments
 (0)