Skip to content

Conversation

kinyoklion
Copy link
Member

No description provided.

@kinyoklion
Copy link
Member Author

Went a little bit too far with the common exports.

Copy link
Contributor

github-actions bot commented Nov 8, 2024

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 18669 bytes
Size limit: 21000

import { BasicLogger, BasicLoggerOptions, LDLogger } from '@launchdarkly/js-client-sdk-common';

import { BrowserIdentifyOptions as LDIdentifyOptions } from './BrowserIdentifyOptions';
import { BrowserOptions as LDOptions } from './options';
Copy link
Member Author

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 };
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exporting the compat options.

Copy link
Contributor

github-actions bot commented Nov 8, 2024

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Size: 19414 bytes
Size limit: 21000


export * from './common';
export type { LDClient };
export type { LDClient, LDOptions };
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exporting standard browser options.

Copy link
Contributor

github-actions bot commented Nov 8, 2024

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 15292 bytes
Size limit: 20000

@kinyoklion kinyoklion marked this pull request as ready for review November 12, 2024 22:49
@kinyoklion kinyoklion requested a review from a team as a code owner November 12, 2024 22:49
@kinyoklion kinyoklion merged commit 8d8250c into main Nov 13, 2024
22 checks passed
@kinyoklion kinyoklion deleted the rlamb/export-compat-options branch November 13, 2024 16:58
@github-actions github-actions bot mentioned this pull request Nov 13, 2024
kinyoklion pushed a commit that referenced this pull request Nov 13, 2024
🤖 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants