-
Notifications
You must be signed in to change notification settings - Fork 16
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
base: main
Are you sure you want to change the base?
Conversation
@@ -1,4 +1,4 @@ | |||
export const LOCATION_WATCHER_INTERVAL = 300; |
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.
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); |
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.
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', |
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 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) { |
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.
Decrease scope of dependency.
No description provided.