chore: adding vue client sdk wrapper#1435
Conversation
|
@launchdarkly/js-sdk-common size report |
|
@launchdarkly/js-client-sdk size report |
|
@launchdarkly/js-client-sdk-common size report |
|
@launchdarkly/browser size report |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit bc71f02. Configure here.
Additional changes: - modified tsconfig.json to match the rest of the monorepo
bc71f02 to
93de4ba
Compare
Additional changes:
Note
Low Risk
New package surface and thin delegation to the existing JS client SDK; no auth or server paths, with behavior covered by unit tests.
Overview
Replaces the Vue package scaffold with a working
createClientfactory that wraps@launchdarkly/js-client-sdk, sets defaultwrapperName/wrapperVersion, and adds Vue-oriented lifecycle APIs (getInitializationState,isReady,onInitializationStatusChangewith replay for late subscribers,onContextChangeafter successfulstart/identify).Exports
LDVueClient,LDVueInstance, andLDVueProviderOptionstypes (provider/composables still TODO). Package now depends on the workspace JS client SDK, runs Jest withoutpassWithNoTests, and adds test tooling;tsconfig.jsonis updated to match other SDK packages (ES2020, bundler resolution).Reviewed by Cursor Bugbot for commit 2ac41fc. Bugbot is set up for automated code reviews on this repo. Configure here.