-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Export correct options for compat. #678
Conversation
Went a little bit too far with the common exports. |
@launchdarkly/js-sdk-common size report |
@@ -1,11 +1,10 @@ | |||
import { BasicLogger, BasicLoggerOptions, LDLogger } from '@launchdarkly/js-client-sdk-common'; | |||
|
|||
import { BrowserIdentifyOptions as LDIdentifyOptions } from './BrowserIdentifyOptions'; | |||
import { BrowserOptions as LDOptions } from './options'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file shouldn't export options as the compat options are a little different.
|
||
export * from '../common'; | ||
export type { LDClient }; | ||
export type { LDClient, LDOptions }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exporting the compat options.
@launchdarkly/js-client-sdk size report |
|
||
export * from './common'; | ||
export type { LDClient }; | ||
export type { LDClient, LDOptions }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exporting standard browser options.
@launchdarkly/js-client-sdk-common size report |
🤖 I have created a release *beep* *boop* --- <details><summary>js-client-sdk: 0.3.2</summary> ## [0.3.2](js-client-sdk-v0.3.1...js-client-sdk-v0.3.2) (2024-11-13) ### Bug Fixes * Export correct options for compat. ([#678](#678)) ([8d8250c](8d8250c)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
No description provided.