File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
packages/sdk/combined-browser Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * This is the API reference for the LaunchDarkly Client-Side SDK for JavaScript with included Observability.
3+ *
4+ * This SDK is intended for use in browser environments. It includes the observability and session replay plugins.
5+ *
6+ * In typical usage, you will call {@link initialize} once at startup time to obtain an instance of
7+ * {@link LDClient}, which provides access to all of the SDK's functionality.
8+ *
9+ * For more information, see the [SDK Reference Guide](https://docs.launchdarkly.com/sdk/client-side/javascript).
10+ *
11+ * @packageDocumentation
12+ */
113import { initialize as initializeJsClient , LDClient , LDOptions } from '@launchdarkly/js-client-sdk' ;
214import Observability from '@launchdarkly/observability' ;
315import SessionReplay from '@launchdarkly/session-replay' ;
@@ -8,6 +20,9 @@ export * from '@launchdarkly/js-client-sdk';
820type ObserveOptions = ConstructorParameters < typeof Observability > [ 1 ] ;
921type RecordOptions = ConstructorParameters < typeof SessionReplay > [ 1 ] ;
1022
23+ export { LDObserve } from '@launchdarkly/observability' ;
24+ export { LDRecord } from '@launchdarkly/session-replay' ;
25+
1126/**
1227 * Initialization options for the browser SDK and observability plugins.
1328 */
Original file line number Diff line number Diff line change @@ -11,7 +11,13 @@ export default defineConfig({
1111 splitting : false ,
1212 sourcemap : true ,
1313 clean : true ,
14- noExternal : [ '@launchdarkly/js-sdk-common' , '@launchdarkly/js-client-sdk-common' ] ,
14+ noExternal : [
15+ '@launchdarkly/js-sdk-common' ,
16+ '@launchdarkly/js-client-sdk-common' ,
17+ '@launchdarkly/observability' ,
18+ '@launchdarkly/session-replay' ,
19+ '@launchdarkly/js-client-sdk' ,
20+ ] ,
1521 dts : true ,
1622 metafile : true ,
1723 esbuildOptions ( opts ) {
You can’t perform that action at this time.
0 commit comments