Skip to content
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

feat: Add URLs for custom events and URL filtering. #587

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

kinyoklion
Copy link
Member

No description provided.

@@ -1,4 +1,4 @@
export const LOCATION_WATCHER_INTERVAL = 300;
Copy link
Member Author

Choose a reason for hiding this comment

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

Meant to address this in the other PR, but catching it here.

return new BrowserClient(clientSideId, autoEnvAttributes, options);
export function init(clientSideId: string, options?: LDOptions): LDClient {
// AutoEnvAttributes are not supported yet in the browser SDK.
return new BrowserClient(clientSideId, AutoEnvAttributes.Disabled, 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.

When we add browser auto attributes we add this.

@@ -10,8 +8,8 @@ export default class BrowserInfo implements Info {
}
sdkData(): SdkData {
return {
name,
version,
name: '@launchdarkly/js-client-sdk',
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 is to make builds simpler.

@@ -22,9 +22,9 @@ export default class BrowserPlatform implements Platform {
requests: Requests = new BrowserRequests();
storage?: Storage;

constructor(options: LDOptions) {
constructor(logger: LDLogger) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Decrease scope of dependency.

@kinyoklion kinyoklion marked this pull request as ready for review September 19, 2024 18:56
@kinyoklion kinyoklion requested a review from a team as a code owner September 19, 2024 18:56
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.

1 participant