From 879bbf4a2afd4502a52d60a4032a990495839c69 Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Tue, 17 Dec 2024 15:50:21 -0800
Subject: [PATCH 01/10] ref(flags): add platform-specific content to JS
integration docs
---
.../integrations/featureflags.mdx | 42 ++++-------------
.../integrations/launchdarkly.mdx | 42 ++---------------
.../integrations/openfeature.mdx | 46 ++-----------------
.../configuration/featureflags/javascript.mdx | 17 +++++++
.../configuration/launchdarkly/javascript.mdx | 24 ++++++++++
.../configuration/openfeature/javascript.mdx | 37 +++++++++++++++
6 files changed, 94 insertions(+), 114 deletions(-)
create mode 100644 platform-includes/configuration/featureflags/javascript.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.mdx
diff --git a/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx b/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
index 22caf626438e8a..3b17f4234eeea8 100644
--- a/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
@@ -25,46 +25,24 @@ notSupported:
-This integration only works inside a browser environment. If you are using a specific
-feature flag provider, refer to the supported list [here](/platforms/javascript/feature-flags/#enable-evaluation-tracking) before setting up this integration.
+This integration only works inside a browser environment, and you must install
+from npm.
-The Feature Flags integration allows you to manually track feature flag evaluations through an API. These evaluations are held in memory and sent to Sentry when an error occurs.
-**At the moment, we only support boolean flag evaluations.**
-
-_Import names: `Sentry.featureFlagsIntegration` and `type Sentry.FeatureFlagsIntegration`_
-
-## Install
-
-Install your platform's Sentry SDK from npm.
+
-## Configure
+If you are using an external feature flag provider, refer to the supported list [here](/platforms/javascript/feature-flags/#enable-evaluation-tracking) before setting up this integration.
-```JavaScript
-import * as Sentry from '@sentry/browser';
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- integrations: [Sentry.featureFlagsIntegration()]
-});
-```
-
-## Verify
+
-The integration is tested by calling the `addFeatureFlag` method before capturing an exception.
+The Feature Flags integration allows you to manually track feature flag evaluations through an API.
+These evaluations are held in memory and sent to Sentry when an error occurs.
+**At the moment, we only support boolean flag evaluations.**
-```JavaScript
-import * as Sentry from '@sentry/browser';
+_Import names: `Sentry.featureFlagsIntegration` and `type Sentry.FeatureFlagsIntegration`_
-const flagsIntegration = Sentry.getClient()?.getIntegrationByName('FeatureFlags');
-if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
-} else {
- // check your configure step
-}
-Sentry.captureException(new Error('broke'));
-```
+
Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
diff --git a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
index 12dddb26e6e16f..50300f11e5ea77 100644
--- a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
@@ -25,7 +25,8 @@ notSupported:
-This integration only works inside a browser environment.
+This integration only works inside a browser environment, and you must install
+from npm.
@@ -33,44 +34,7 @@ The [LaunchDarkly](https://launchdarkly.com/) integration tracks feature flag ev
_Import names: `Sentry.launchDarklyIntegration` and `Sentry.buildLaunchDarklyFlagUsedHandler`_
-## Install
-
-Install your platform's Sentry SDK and [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk) from npm.
-
-## Configure
-
-```JavaScript
-import * as Sentry from '@sentry/browser';
-import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- integrations: [Sentry.launchDarklyIntegration()]
-});
-
-const ldClient = LaunchDarkly.initialize(
- 'my-client-ID',
- {kind: 'user', key: 'my-user-context-key'},
- {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
-);
-```
-
-Learn more about the [LaunchDarkly SDK](https://docs.launchdarkly.com/sdk/client-side/javascript). At the moment, **we aren't officially supporting framework-specific LaunchDarkly SDKs.** However, you may reuse the setup code for [React](https://www.npmjs.com/package/launchdarkly-react-client-sdk) and [client-side Node.js](https://www.npmjs.com/package/launchdarkly-node-client-sdk).
-
-## Verify
-
-The integration is tested by evaluating a feature flag with your LaunchDarkly SDK before capturing an exception.
-
-```JavaScript
-import * as Sentry from '@sentry/browser';
-import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
-
-// Evaluate a flag with a default value, with the ldClient from the Configure step.
-// You may have to wait for your client to initialize before doing this.
-ldClient?.variation("hello", false);
-
-Sentry.captureException(new Error("Something went wrong!"))
-```
+
Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
diff --git a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
index 2396c818cfa9e9..b6db8b937a7e53 100644
--- a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
@@ -25,7 +25,8 @@ notSupported:
-This integration only works inside a browser environment.
+This integration only works inside a browser environment, and you must install
+from npm.
@@ -33,48 +34,7 @@ The [OpenFeature](https://openfeature.dev/) integration tracks feature flag eval
_Import name: `Sentry.openFeatureIntegration` and `Sentry.OpenFeatureIntegrationHook`_
-## Install
-
-Install your platform's Sentry SDK and [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk) from npm.
-
-## Configure
-
-```JavaScript
-import * as Sentry from '@sentry/browser';
-import { OpenFeature } from '@openfeature/web-sdk';
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- integrations: [Sentry.openFeatureIntegration()]
-});
-
-OpenFeature.setProvider(new MyProviderOfChoice());
-
-// Option 1: track all OpenFeature evaluations.
-OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
-
-// Option 2: only track evaluations by a specific client.
-const client = OpenFeature.getClient();
-client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-```
-
-Learn more about OpenFeature [providers](https://openfeature.dev/docs/reference/concepts/provider) and the [web SDK](https://openfeature.dev/docs/reference/technologies/client/web/).
-
-## Verify
-
-The integration is tested by evaluating a feature flag with your OpenFeature SDK before capturing an exception.
-
-```JavaScript
-import * as Sentry from '@sentry/browser';
-import { OpenFeature } from '@openfeature/web-sdk';
-
-// Evaluate a flag with a default value. If you added the hook to a client in
-// the Configure step, make sure to use the same client here.
-const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false);
-
-Sentry.captureException(new Error("Something went wrong!"))
-```
+
Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
diff --git a/platform-includes/configuration/featureflags/javascript.mdx b/platform-includes/configuration/featureflags/javascript.mdx
new file mode 100644
index 00000000000000..7e3f14837d9f96
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/browser';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.mdx b/platform-includes/configuration/launchdarkly/javascript.mdx
new file mode 100644
index 00000000000000..38a662b25d8ab9
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/browser';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/openfeature/javascript.mdx b/platform-includes/configuration/openfeature/javascript.mdx
new file mode 100644
index 00000000000000..c90aae4b9811cc
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/browser';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/browser';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
From 4771be6f70e19e425d7c5278b6d087a15e34578b Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Tue, 17 Dec 2024 16:08:29 -0800
Subject: [PATCH 02/10] featureflags platforms
---
.../featureflags/javascript.angular.mdx | 17 +++++++++++++++++
.../featureflags/javascript.astro.mdx | 17 +++++++++++++++++
.../featureflags/javascript.ember.mdx | 17 +++++++++++++++++
.../featureflags/javascript.gatsby.mdx | 17 +++++++++++++++++
.../featureflags/javascript.nextjs.mdx | 17 +++++++++++++++++
.../featureflags/javascript.nuxt.mdx | 17 +++++++++++++++++
.../featureflags/javascript.react.mdx | 17 +++++++++++++++++
.../featureflags/javascript.remix.mdx | 17 +++++++++++++++++
.../featureflags/javascript.solid.mdx | 17 +++++++++++++++++
.../featureflags/javascript.solidstart.mdx | 17 +++++++++++++++++
.../featureflags/javascript.svelte.mdx | 17 +++++++++++++++++
.../featureflags/javascript.sveltekit.mdx | 17 +++++++++++++++++
.../featureflags/javascript.vue.mdx | 17 +++++++++++++++++
13 files changed, 221 insertions(+)
create mode 100644 platform-includes/configuration/featureflags/javascript.angular.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.astro.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.ember.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.gatsby.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.nextjs.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.nuxt.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.react.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.remix.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.solid.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.solidstart.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.svelte.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.sveltekit.mdx
create mode 100644 platform-includes/configuration/featureflags/javascript.vue.mdx
diff --git a/platform-includes/configuration/featureflags/javascript.angular.mdx b/platform-includes/configuration/featureflags/javascript.angular.mdx
new file mode 100644
index 00000000000000..bce49bc8cd8bb0
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.angular.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/angular';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.astro.mdx b/platform-includes/configuration/featureflags/javascript.astro.mdx
new file mode 100644
index 00000000000000..3aef3975b4311e
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.astro.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/astro';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.ember.mdx b/platform-includes/configuration/featureflags/javascript.ember.mdx
new file mode 100644
index 00000000000000..2201135849d39c
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.ember.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/ember';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.gatsby.mdx b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
new file mode 100644
index 00000000000000..2ed000c278194d
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/gatsby';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.nextjs.mdx b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
new file mode 100644
index 00000000000000..bac47dfc30dfcd
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/nextjs';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.nuxt.mdx b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
new file mode 100644
index 00000000000000..e82f0f3e7a5577
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/nuxt';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.react.mdx b/platform-includes/configuration/featureflags/javascript.react.mdx
new file mode 100644
index 00000000000000..cd507808e4db99
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.react.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/react';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.remix.mdx b/platform-includes/configuration/featureflags/javascript.remix.mdx
new file mode 100644
index 00000000000000..147030915167b6
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.remix.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/remix';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.solid.mdx b/platform-includes/configuration/featureflags/javascript.solid.mdx
new file mode 100644
index 00000000000000..31b1e7ccdb2a8c
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.solid.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/solid';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.solidstart.mdx b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
new file mode 100644
index 00000000000000..d477a813f87257
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/solidstart';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.svelte.mdx b/platform-includes/configuration/featureflags/javascript.svelte.mdx
new file mode 100644
index 00000000000000..1d2f849614ae4a
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.svelte.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/svelte';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
new file mode 100644
index 00000000000000..7ecb7af070da0f
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/sveltekit';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
diff --git a/platform-includes/configuration/featureflags/javascript.vue.mdx b/platform-includes/configuration/featureflags/javascript.vue.mdx
new file mode 100644
index 00000000000000..ddefb130e365a5
--- /dev/null
+++ b/platform-includes/configuration/featureflags/javascript.vue.mdx
@@ -0,0 +1,17 @@
+```JavaScript
+import * as Sentry from '@sentry/vue';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.featureFlagsIntegration()]
+});
+
+const flagsIntegration = Sentry.getClient()?
+ .getIntegrationByName('FeatureFlags');
+if (flagsIntegration) {
+ flagsIntegration.addFeatureFlag('hello', false);
+} else {
+ // set up failed
+}
+Sentry.captureException(new Error('broke'));
+```
From 2717ee3bad56a1d7552c6ba94ab5494d47bc9adc Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Tue, 17 Dec 2024 22:31:28 -0800
Subject: [PATCH 03/10] ld and of platforms
---
.../launchdarkly/javascript.angular.mdx | 24 ++++++++++++
.../launchdarkly/javascript.astro.mdx | 24 ++++++++++++
.../launchdarkly/javascript.ember.mdx | 24 ++++++++++++
.../launchdarkly/javascript.gatsby.mdx | 24 ++++++++++++
.../launchdarkly/javascript.nextjs.mdx | 24 ++++++++++++
.../launchdarkly/javascript.nuxt.mdx | 24 ++++++++++++
.../launchdarkly/javascript.react.mdx | 24 ++++++++++++
.../launchdarkly/javascript.remix.mdx | 24 ++++++++++++
.../launchdarkly/javascript.solid.mdx | 24 ++++++++++++
.../launchdarkly/javascript.solidstart.mdx | 24 ++++++++++++
.../launchdarkly/javascript.svelte.mdx | 24 ++++++++++++
.../launchdarkly/javascript.sveltekit.mdx | 24 ++++++++++++
.../launchdarkly/javascript.vue.mdx | 24 ++++++++++++
.../openfeature/javascript.angular.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.astro.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.ember.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.gatsby.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.nextjs.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.nuxt.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.react.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.remix.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.solid.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.solidstart.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.svelte.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.sveltekit.mdx | 37 +++++++++++++++++++
.../openfeature/javascript.vue.mdx | 37 +++++++++++++++++++
26 files changed, 793 insertions(+)
create mode 100644 platform-includes/configuration/launchdarkly/javascript.angular.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.astro.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.ember.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.react.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.remix.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.solid.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.svelte.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
create mode 100644 platform-includes/configuration/launchdarkly/javascript.vue.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.angular.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.astro.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.ember.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.gatsby.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.nextjs.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.nuxt.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.react.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.remix.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.solid.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.solidstart.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.svelte.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.sveltekit.mdx
create mode 100644 platform-includes/configuration/openfeature/javascript.vue.mdx
diff --git a/platform-includes/configuration/launchdarkly/javascript.angular.mdx b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
new file mode 100644
index 00000000000000..d1ddab46b353e6
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/angular';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.astro.mdx b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
new file mode 100644
index 00000000000000..c1adb63a7c6842
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/astro';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.ember.mdx b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
new file mode 100644
index 00000000000000..767b342a53ce50
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/ember';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
new file mode 100644
index 00000000000000..165572ed5d90f6
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/gatsby';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
new file mode 100644
index 00000000000000..1c88aa4db51572
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/nextjs';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
new file mode 100644
index 00000000000000..18b325593d8be1
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/nuxt';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.react.mdx b/platform-includes/configuration/launchdarkly/javascript.react.mdx
new file mode 100644
index 00000000000000..6bf4030241d1c2
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.react.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/react';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.remix.mdx b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
new file mode 100644
index 00000000000000..6d129baca12214
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/remix';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.solid.mdx b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
new file mode 100644
index 00000000000000..8235215d6bb1a7
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/solid';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
new file mode 100644
index 00000000000000..cfab38115eec2c
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/solidstart';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
new file mode 100644
index 00000000000000..d92630cddf6511
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/svelte';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
new file mode 100644
index 00000000000000..a224091011cf9a
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/sveltekit';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/launchdarkly/javascript.vue.mdx b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
new file mode 100644
index 00000000000000..736fbe807e3a4a
--- /dev/null
+++ b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
@@ -0,0 +1,24 @@
+Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
+
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+
+```JavaScript
+import * as Sentry from '@sentry/vue';
+import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.launchDarklyIntegration()]
+});
+
+const ldClient = LaunchDarkly.initialize(
+ 'my-client-ID',
+ {kind: 'user', key: 'my-user-context-key'},
+ {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]}
+);
+
+// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
+ldClient?.variation("hello", false);
+
+Sentry.captureException(new Error("Something went wrong!"))
+```
diff --git a/platform-includes/configuration/openfeature/javascript.angular.mdx b/platform-includes/configuration/openfeature/javascript.angular.mdx
new file mode 100644
index 00000000000000..27c29678627c10
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.angular.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/angular';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/angular';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.astro.mdx b/platform-includes/configuration/openfeature/javascript.astro.mdx
new file mode 100644
index 00000000000000..ddee557ac1cba2
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.astro.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/astro';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/astro';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.ember.mdx b/platform-includes/configuration/openfeature/javascript.ember.mdx
new file mode 100644
index 00000000000000..55d4638a012f2d
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.ember.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/ember';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/ember';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.gatsby.mdx b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
new file mode 100644
index 00000000000000..51abd7ad193349
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/gatsby';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/gatsby';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.nextjs.mdx b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
new file mode 100644
index 00000000000000..9df71925a32f70
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/nextjs';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/nextjs';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.nuxt.mdx b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
new file mode 100644
index 00000000000000..3b8467ade46012
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/nuxt';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/nuxt';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.react.mdx b/platform-includes/configuration/openfeature/javascript.react.mdx
new file mode 100644
index 00000000000000..90ae7576fc060d
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.react.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/react';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/react';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.remix.mdx b/platform-includes/configuration/openfeature/javascript.remix.mdx
new file mode 100644
index 00000000000000..b808507f10b037
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.remix.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/remix';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/remix';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.solid.mdx b/platform-includes/configuration/openfeature/javascript.solid.mdx
new file mode 100644
index 00000000000000..df8e52c21c2532
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.solid.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/solid';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/solid';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.solidstart.mdx b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
new file mode 100644
index 00000000000000..78b5d8e1fff1ee
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/solidstart';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/solidstart';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.svelte.mdx b/platform-includes/configuration/openfeature/javascript.svelte.mdx
new file mode 100644
index 00000000000000..e18b203fb9fef9
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.svelte.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/svelte';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/svelte';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
new file mode 100644
index 00000000000000..2f133f9838df4c
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/sveltekit';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/sveltekit';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
diff --git a/platform-includes/configuration/openfeature/javascript.vue.mdx b/platform-includes/configuration/openfeature/javascript.vue.mdx
new file mode 100644
index 00000000000000..f81a168e0fe1f7
--- /dev/null
+++ b/platform-includes/configuration/openfeature/javascript.vue.mdx
@@ -0,0 +1,37 @@
+Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
+
+npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+
+```JavaScript {tabTitle: JavaScript (Track All Evals)}
+import * as Sentry from '@sentry/vue';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const client = OpenFeature.getClient();
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
+
+```JavaScript {tabTitle: JavaScript (Track One Client)}
+import * as Sentry from '@sentry/vue';
+import { OpenFeature } from '@openfeature/web-sdk';
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [Sentry.openFeatureIntegration()]
+});
+
+OpenFeature.setProvider(new MyProviderOfChoice());
+const client = OpenFeature.getClient();
+client.addHooks(new Sentry.OpenFeatureIntegrationHook());
+
+const result = client.getBooleanValue('hello', false); // evaluate with a default value
+Sentry.captureException(new Error("Something went wrong!"));
+```
From f50ad1ed6402168a7ad29fefb392da21d15e924c Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Tue, 17 Dec 2024 22:47:41 -0800
Subject: [PATCH 04/10] Rm 'Install with npm or yarn'
---
.../configuration/launchdarkly/javascript.gatsby.mdx | 2 +-
.../configuration/launchdarkly/javascript.nextjs.mdx | 2 +-
.../configuration/launchdarkly/javascript.react.mdx | 2 +-
.../configuration/launchdarkly/javascript.remix.mdx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
index 165572ed5d90f6..a05b7fce7d6b36 100644
--- a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
@@ -1,6 +1,6 @@
Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
```JavaScript
import * as Sentry from '@sentry/gatsby';
diff --git a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
index 1c88aa4db51572..790a8fb36b0655 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
@@ -1,6 +1,6 @@
Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
```JavaScript
import * as Sentry from '@sentry/nextjs';
diff --git a/platform-includes/configuration/launchdarkly/javascript.react.mdx b/platform-includes/configuration/launchdarkly/javascript.react.mdx
index 6bf4030241d1c2..793f9a1a768041 100644
--- a/platform-includes/configuration/launchdarkly/javascript.react.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.react.mdx
@@ -1,6 +1,6 @@
Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
```JavaScript
import * as Sentry from '@sentry/react';
diff --git a/platform-includes/configuration/launchdarkly/javascript.remix.mdx b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
index 6d129baca12214..9b26dc95b57b45 100644
--- a/platform-includes/configuration/launchdarkly/javascript.remix.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
@@ -1,6 +1,6 @@
Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-Install with npm or yarn: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
```JavaScript
import * as Sentry from '@sentry/remix';
From 8e6ea2d0f16378f5fc15912c7ec1caeb5163bbae Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Tue, 17 Dec 2024 22:51:24 -0800
Subject: [PATCH 05/10] Label featureflags code as TypeScript
---
.../configuration/featureflags/javascript.angular.mdx | 2 +-
.../configuration/featureflags/javascript.astro.mdx | 2 +-
.../configuration/featureflags/javascript.ember.mdx | 2 +-
.../configuration/featureflags/javascript.gatsby.mdx | 2 +-
platform-includes/configuration/featureflags/javascript.mdx | 2 +-
.../configuration/featureflags/javascript.nextjs.mdx | 2 +-
.../configuration/featureflags/javascript.nuxt.mdx | 2 +-
.../configuration/featureflags/javascript.react.mdx | 2 +-
.../configuration/featureflags/javascript.remix.mdx | 2 +-
.../configuration/featureflags/javascript.solid.mdx | 2 +-
.../configuration/featureflags/javascript.solidstart.mdx | 2 +-
.../configuration/featureflags/javascript.svelte.mdx | 2 +-
.../configuration/featureflags/javascript.sveltekit.mdx | 2 +-
platform-includes/configuration/featureflags/javascript.vue.mdx | 2 +-
14 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/platform-includes/configuration/featureflags/javascript.angular.mdx b/platform-includes/configuration/featureflags/javascript.angular.mdx
index bce49bc8cd8bb0..39e48a6537f273 100644
--- a/platform-includes/configuration/featureflags/javascript.angular.mdx
+++ b/platform-includes/configuration/featureflags/javascript.angular.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/angular';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.astro.mdx b/platform-includes/configuration/featureflags/javascript.astro.mdx
index 3aef3975b4311e..7c9fe2767d3c11 100644
--- a/platform-includes/configuration/featureflags/javascript.astro.mdx
+++ b/platform-includes/configuration/featureflags/javascript.astro.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/astro';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.ember.mdx b/platform-includes/configuration/featureflags/javascript.ember.mdx
index 2201135849d39c..2dd6c38444c933 100644
--- a/platform-includes/configuration/featureflags/javascript.ember.mdx
+++ b/platform-includes/configuration/featureflags/javascript.ember.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/ember';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.gatsby.mdx b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
index 2ed000c278194d..4b01f0382594c5 100644
--- a/platform-includes/configuration/featureflags/javascript.gatsby.mdx
+++ b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/gatsby';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.mdx b/platform-includes/configuration/featureflags/javascript.mdx
index 7e3f14837d9f96..d57f3f8016ccdf 100644
--- a/platform-includes/configuration/featureflags/javascript.mdx
+++ b/platform-includes/configuration/featureflags/javascript.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/browser';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.nextjs.mdx b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
index bac47dfc30dfcd..a7b4ea4b214451 100644
--- a/platform-includes/configuration/featureflags/javascript.nextjs.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/nextjs';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.nuxt.mdx b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
index e82f0f3e7a5577..27664ca3936996 100644
--- a/platform-includes/configuration/featureflags/javascript.nuxt.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/nuxt';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.react.mdx b/platform-includes/configuration/featureflags/javascript.react.mdx
index cd507808e4db99..b5e1244cf48e78 100644
--- a/platform-includes/configuration/featureflags/javascript.react.mdx
+++ b/platform-includes/configuration/featureflags/javascript.react.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/react';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.remix.mdx b/platform-includes/configuration/featureflags/javascript.remix.mdx
index 147030915167b6..f600d92d6b40dc 100644
--- a/platform-includes/configuration/featureflags/javascript.remix.mdx
+++ b/platform-includes/configuration/featureflags/javascript.remix.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/remix';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.solid.mdx b/platform-includes/configuration/featureflags/javascript.solid.mdx
index 31b1e7ccdb2a8c..9a579074adb208 100644
--- a/platform-includes/configuration/featureflags/javascript.solid.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solid.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/solid';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.solidstart.mdx b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
index d477a813f87257..42431fb1966bcb 100644
--- a/platform-includes/configuration/featureflags/javascript.solidstart.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/solidstart';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.svelte.mdx b/platform-includes/configuration/featureflags/javascript.svelte.mdx
index 1d2f849614ae4a..0ec1558b333cf9 100644
--- a/platform-includes/configuration/featureflags/javascript.svelte.mdx
+++ b/platform-includes/configuration/featureflags/javascript.svelte.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/svelte';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
index 7ecb7af070da0f..92fca2ea517c2b 100644
--- a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/sveltekit';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.vue.mdx b/platform-includes/configuration/featureflags/javascript.vue.mdx
index ddefb130e365a5..fa9937813a6dc4 100644
--- a/platform-includes/configuration/featureflags/javascript.vue.mdx
+++ b/platform-includes/configuration/featureflags/javascript.vue.mdx
@@ -1,4 +1,4 @@
-```JavaScript
+```TypeScript
import * as Sentry from '@sentry/vue';
Sentry.init({
From f1c27ef542722dc0161122402e04d8c589538d0e Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Wed, 18 Dec 2024 11:29:35 -0800
Subject: [PATCH 06/10] Update info alert and ffs link
---
.../common/configuration/integrations/featureflags.mdx | 5 ++---
.../common/configuration/integrations/launchdarkly.mdx | 3 +--
.../common/configuration/integrations/openfeature.mdx | 3 +--
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx b/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
index 3b17f4234eeea8..7c621c38487923 100644
--- a/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
@@ -25,14 +25,13 @@ notSupported:
-This integration only works inside a browser environment, and you must install
-from npm.
+This integration only works inside a browser environment. It is only available from a package-based install (e.g. `npm` or `yarn`).
-If you are using an external feature flag provider, refer to the supported list [here](/platforms/javascript/feature-flags/#enable-evaluation-tracking) before setting up this integration.
+If you are using an external feature flag provider, refer to the [supported list](/platforms/javascript/feature-flags/#enable-evaluation-tracking) before setting up this integration.
diff --git a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
index 50300f11e5ea77..afd019772f787e 100644
--- a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
@@ -25,8 +25,7 @@ notSupported:
-This integration only works inside a browser environment, and you must install
-from npm.
+This integration only works inside a browser environment. It is only available from a package-based install (e.g. `npm` or `yarn`).
diff --git a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
index b6db8b937a7e53..56c6b1f9243771 100644
--- a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
@@ -25,8 +25,7 @@ notSupported:
-This integration only works inside a browser environment, and you must install
-from npm.
+This integration only works inside a browser environment. It is only available from a package-based install (e.g. `npm` or `yarn`).
From 611d3897764d8f612950d164d34b4a359dbf37ab Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Wed, 18 Dec 2024 11:31:32 -0800
Subject: [PATCH 07/10] Lowercase all code snippet language headers
---
.../configuration/featureflags/javascript.angular.mdx | 2 +-
.../configuration/featureflags/javascript.astro.mdx | 2 +-
.../configuration/featureflags/javascript.ember.mdx | 2 +-
.../configuration/featureflags/javascript.gatsby.mdx | 2 +-
platform-includes/configuration/featureflags/javascript.mdx | 2 +-
.../configuration/featureflags/javascript.nextjs.mdx | 2 +-
.../configuration/featureflags/javascript.nuxt.mdx | 2 +-
.../configuration/featureflags/javascript.react.mdx | 2 +-
.../configuration/featureflags/javascript.remix.mdx | 2 +-
.../configuration/featureflags/javascript.solid.mdx | 2 +-
.../configuration/featureflags/javascript.solidstart.mdx | 2 +-
.../configuration/featureflags/javascript.svelte.mdx | 2 +-
.../configuration/featureflags/javascript.sveltekit.mdx | 2 +-
.../configuration/featureflags/javascript.vue.mdx | 2 +-
.../configuration/launchdarkly/javascript.angular.mdx | 2 +-
.../configuration/launchdarkly/javascript.astro.mdx | 2 +-
.../configuration/launchdarkly/javascript.ember.mdx | 2 +-
.../configuration/launchdarkly/javascript.gatsby.mdx | 2 +-
platform-includes/configuration/launchdarkly/javascript.mdx | 2 +-
.../configuration/launchdarkly/javascript.nextjs.mdx | 2 +-
.../configuration/launchdarkly/javascript.nuxt.mdx | 2 +-
.../configuration/launchdarkly/javascript.react.mdx | 2 +-
.../configuration/launchdarkly/javascript.remix.mdx | 2 +-
.../configuration/launchdarkly/javascript.solid.mdx | 2 +-
.../configuration/launchdarkly/javascript.solidstart.mdx | 2 +-
.../configuration/launchdarkly/javascript.svelte.mdx | 2 +-
.../configuration/launchdarkly/javascript.sveltekit.mdx | 2 +-
.../configuration/launchdarkly/javascript.vue.mdx | 2 +-
.../configuration/openfeature/javascript.angular.mdx | 4 ++--
.../configuration/openfeature/javascript.astro.mdx | 4 ++--
.../configuration/openfeature/javascript.ember.mdx | 4 ++--
.../configuration/openfeature/javascript.gatsby.mdx | 4 ++--
platform-includes/configuration/openfeature/javascript.mdx | 4 ++--
.../configuration/openfeature/javascript.nextjs.mdx | 4 ++--
.../configuration/openfeature/javascript.nuxt.mdx | 4 ++--
.../configuration/openfeature/javascript.react.mdx | 4 ++--
.../configuration/openfeature/javascript.remix.mdx | 4 ++--
.../configuration/openfeature/javascript.solid.mdx | 4 ++--
.../configuration/openfeature/javascript.solidstart.mdx | 4 ++--
.../configuration/openfeature/javascript.svelte.mdx | 4 ++--
.../configuration/openfeature/javascript.sveltekit.mdx | 4 ++--
.../configuration/openfeature/javascript.vue.mdx | 4 ++--
42 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/platform-includes/configuration/featureflags/javascript.angular.mdx b/platform-includes/configuration/featureflags/javascript.angular.mdx
index 39e48a6537f273..12075cad640d37 100644
--- a/platform-includes/configuration/featureflags/javascript.angular.mdx
+++ b/platform-includes/configuration/featureflags/javascript.angular.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/angular';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.astro.mdx b/platform-includes/configuration/featureflags/javascript.astro.mdx
index 7c9fe2767d3c11..260e9b34797c9e 100644
--- a/platform-includes/configuration/featureflags/javascript.astro.mdx
+++ b/platform-includes/configuration/featureflags/javascript.astro.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/astro';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.ember.mdx b/platform-includes/configuration/featureflags/javascript.ember.mdx
index 2dd6c38444c933..36e0309199127b 100644
--- a/platform-includes/configuration/featureflags/javascript.ember.mdx
+++ b/platform-includes/configuration/featureflags/javascript.ember.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/ember';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.gatsby.mdx b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
index 4b01f0382594c5..3b56879c11c442 100644
--- a/platform-includes/configuration/featureflags/javascript.gatsby.mdx
+++ b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/gatsby';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.mdx b/platform-includes/configuration/featureflags/javascript.mdx
index d57f3f8016ccdf..dcb8ab216cb8e0 100644
--- a/platform-includes/configuration/featureflags/javascript.mdx
+++ b/platform-includes/configuration/featureflags/javascript.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/browser';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.nextjs.mdx b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
index a7b4ea4b214451..8bf762135afbef 100644
--- a/platform-includes/configuration/featureflags/javascript.nextjs.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/nextjs';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.nuxt.mdx b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
index 27664ca3936996..52a02e4cfbcbbb 100644
--- a/platform-includes/configuration/featureflags/javascript.nuxt.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/nuxt';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.react.mdx b/platform-includes/configuration/featureflags/javascript.react.mdx
index b5e1244cf48e78..1a08f4060249e3 100644
--- a/platform-includes/configuration/featureflags/javascript.react.mdx
+++ b/platform-includes/configuration/featureflags/javascript.react.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/react';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.remix.mdx b/platform-includes/configuration/featureflags/javascript.remix.mdx
index f600d92d6b40dc..9ef5a89d8950ea 100644
--- a/platform-includes/configuration/featureflags/javascript.remix.mdx
+++ b/platform-includes/configuration/featureflags/javascript.remix.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/remix';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.solid.mdx b/platform-includes/configuration/featureflags/javascript.solid.mdx
index 9a579074adb208..1bd4810e65f06d 100644
--- a/platform-includes/configuration/featureflags/javascript.solid.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solid.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/solid';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.solidstart.mdx b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
index 42431fb1966bcb..627b9eb10b3751 100644
--- a/platform-includes/configuration/featureflags/javascript.solidstart.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/solidstart';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.svelte.mdx b/platform-includes/configuration/featureflags/javascript.svelte.mdx
index 0ec1558b333cf9..abf18eda226b40 100644
--- a/platform-includes/configuration/featureflags/javascript.svelte.mdx
+++ b/platform-includes/configuration/featureflags/javascript.svelte.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/svelte';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
index 92fca2ea517c2b..a522a2ac4313f6 100644
--- a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/sveltekit';
Sentry.init({
diff --git a/platform-includes/configuration/featureflags/javascript.vue.mdx b/platform-includes/configuration/featureflags/javascript.vue.mdx
index fa9937813a6dc4..3c8595514c4af8 100644
--- a/platform-includes/configuration/featureflags/javascript.vue.mdx
+++ b/platform-includes/configuration/featureflags/javascript.vue.mdx
@@ -1,4 +1,4 @@
-```TypeScript
+```typescript
import * as Sentry from '@sentry/vue';
Sentry.init({
diff --git a/platform-includes/configuration/launchdarkly/javascript.angular.mdx b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
index d1ddab46b353e6..c497b1905cf8fa 100644
--- a/platform-includes/configuration/launchdarkly/javascript.angular.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/angular';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.astro.mdx b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
index c1adb63a7c6842..37e57e1078577b 100644
--- a/platform-includes/configuration/launchdarkly/javascript.astro.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/astro';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.ember.mdx b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
index 767b342a53ce50..5b71d6fa60a678 100644
--- a/platform-includes/configuration/launchdarkly/javascript.ember.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/ember';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
index a05b7fce7d6b36..30b4f7a7f780ee 100644
--- a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/gatsby';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.mdx b/platform-includes/configuration/launchdarkly/javascript.mdx
index 38a662b25d8ab9..267d1698dbc458 100644
--- a/platform-includes/configuration/launchdarkly/javascript.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/browser';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
index 790a8fb36b0655..d75a862b4f5b86 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/nextjs';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
index 18b325593d8be1..d00d20bb921cb8 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/nuxt';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.react.mdx b/platform-includes/configuration/launchdarkly/javascript.react.mdx
index 793f9a1a768041..a187b4c0ad7275 100644
--- a/platform-includes/configuration/launchdarkly/javascript.react.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.react.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/react';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.remix.mdx b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
index 9b26dc95b57b45..8e40e6d91abfd9 100644
--- a/platform-includes/configuration/launchdarkly/javascript.remix.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/remix';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.solid.mdx b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
index 8235215d6bb1a7..bbc7097cd296f1 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solid.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/solid';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
index cfab38115eec2c..6ba3b0a80ecb3c 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/solidstart';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
index d92630cddf6511..e0fbab9219db75 100644
--- a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/svelte';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
index a224091011cf9a..c6c43379259c05 100644
--- a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/sveltekit';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/launchdarkly/javascript.vue.mdx b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
index 736fbe807e3a4a..ce16f1e1a6d32a 100644
--- a/platform-includes/configuration/launchdarkly/javascript.vue.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the LaunchDark
npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
-```JavaScript
+```javascript
import * as Sentry from '@sentry/vue';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.angular.mdx b/platform-includes/configuration/openfeature/javascript.angular.mdx
index 27c29678627c10..aa471593853cd6 100644
--- a/platform-includes/configuration/openfeature/javascript.angular.mdx
+++ b/platform-includes/configuration/openfeature/javascript.angular.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/angular';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/angular';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.astro.mdx b/platform-includes/configuration/openfeature/javascript.astro.mdx
index ddee557ac1cba2..daf8da498fb0f3 100644
--- a/platform-includes/configuration/openfeature/javascript.astro.mdx
+++ b/platform-includes/configuration/openfeature/javascript.astro.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/astro';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/astro';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.ember.mdx b/platform-includes/configuration/openfeature/javascript.ember.mdx
index 55d4638a012f2d..32835ad51fd87f 100644
--- a/platform-includes/configuration/openfeature/javascript.ember.mdx
+++ b/platform-includes/configuration/openfeature/javascript.ember.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/ember';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/ember';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.gatsby.mdx b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
index 51abd7ad193349..1843c4396e8964 100644
--- a/platform-includes/configuration/openfeature/javascript.gatsby.mdx
+++ b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/gatsby';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/gatsby';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.mdx b/platform-includes/configuration/openfeature/javascript.mdx
index c90aae4b9811cc..e9c1c55ff18c0d 100644
--- a/platform-includes/configuration/openfeature/javascript.mdx
+++ b/platform-includes/configuration/openfeature/javascript.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/browser';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/browser';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.nextjs.mdx b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
index 9df71925a32f70..918152af4728b1 100644
--- a/platform-includes/configuration/openfeature/javascript.nextjs.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/nextjs';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/nextjs';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.nuxt.mdx b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
index 3b8467ade46012..b4c3cab53d0a64 100644
--- a/platform-includes/configuration/openfeature/javascript.nuxt.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/nuxt';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/nuxt';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.react.mdx b/platform-includes/configuration/openfeature/javascript.react.mdx
index 90ae7576fc060d..2aefdc3cd23737 100644
--- a/platform-includes/configuration/openfeature/javascript.react.mdx
+++ b/platform-includes/configuration/openfeature/javascript.react.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/react';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/react';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.remix.mdx b/platform-includes/configuration/openfeature/javascript.remix.mdx
index b808507f10b037..e2981547547b9a 100644
--- a/platform-includes/configuration/openfeature/javascript.remix.mdx
+++ b/platform-includes/configuration/openfeature/javascript.remix.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/remix';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/remix';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.solid.mdx b/platform-includes/configuration/openfeature/javascript.solid.mdx
index df8e52c21c2532..ab3ffabfbfedd6 100644
--- a/platform-includes/configuration/openfeature/javascript.solid.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solid.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/solid';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/solid';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.solidstart.mdx b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
index 78b5d8e1fff1ee..700c0ac3e76352 100644
--- a/platform-includes/configuration/openfeature/javascript.solidstart.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/solidstart';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/solidstart';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.svelte.mdx b/platform-includes/configuration/openfeature/javascript.svelte.mdx
index e18b203fb9fef9..caf35e58913f1d 100644
--- a/platform-includes/configuration/openfeature/javascript.svelte.mdx
+++ b/platform-includes/configuration/openfeature/javascript.svelte.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/svelte';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/svelte';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
index 2f133f9838df4c..c7e73563df030a 100644
--- a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/sveltekit';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/sveltekit';
import { OpenFeature } from '@openfeature/web-sdk';
diff --git a/platform-includes/configuration/openfeature/javascript.vue.mdx b/platform-includes/configuration/openfeature/javascript.vue.mdx
index f81a168e0fe1f7..522a060c84d9d1 100644
--- a/platform-includes/configuration/openfeature/javascript.vue.mdx
+++ b/platform-includes/configuration/openfeature/javascript.vue.mdx
@@ -2,7 +2,7 @@ Before using this integration, you need to install and instrument the OpenFeatur
npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
-```JavaScript {tabTitle: JavaScript (Track All Evals)}
+```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/vue';
import { OpenFeature } from '@openfeature/web-sdk';
@@ -19,7 +19,7 @@ const result = client.getBooleanValue('hello', false); // evaluate with a defaul
Sentry.captureException(new Error("Something went wrong!"));
```
-```JavaScript {tabTitle: JavaScript (Track One Client)}
+```javascript {tabTitle: JavaScript (Track One Client)}
import * as Sentry from '@sentry/vue';
import { OpenFeature } from '@openfeature/web-sdk';
From 4952bdf02b9a38a96d63e2d9ad3502ffde16873e Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Wed, 18 Dec 2024 11:37:52 -0800
Subject: [PATCH 08/10] Rewording from review
---
.../common/configuration/integrations/featureflags.mdx | 2 +-
.../common/configuration/integrations/launchdarkly.mdx | 2 +-
.../common/configuration/integrations/openfeature.mdx | 2 +-
.../configuration/featureflags/javascript.angular.mdx | 6 +++---
.../configuration/featureflags/javascript.astro.mdx | 6 +++---
.../configuration/featureflags/javascript.ember.mdx | 6 +++---
.../configuration/featureflags/javascript.gatsby.mdx | 6 +++---
platform-includes/configuration/featureflags/javascript.mdx | 6 +++---
.../configuration/featureflags/javascript.nextjs.mdx | 6 +++---
.../configuration/featureflags/javascript.nuxt.mdx | 6 +++---
.../configuration/featureflags/javascript.react.mdx | 6 +++---
.../configuration/featureflags/javascript.remix.mdx | 6 +++---
.../configuration/featureflags/javascript.solid.mdx | 6 +++---
.../configuration/featureflags/javascript.solidstart.mdx | 6 +++---
.../configuration/featureflags/javascript.svelte.mdx | 6 +++---
.../configuration/featureflags/javascript.sveltekit.mdx | 6 +++---
.../configuration/featureflags/javascript.vue.mdx | 6 +++---
.../configuration/launchdarkly/javascript.angular.mdx | 2 +-
.../configuration/launchdarkly/javascript.astro.mdx | 2 +-
.../configuration/launchdarkly/javascript.ember.mdx | 2 +-
.../configuration/launchdarkly/javascript.gatsby.mdx | 2 +-
platform-includes/configuration/launchdarkly/javascript.mdx | 2 +-
.../configuration/launchdarkly/javascript.nextjs.mdx | 2 +-
.../configuration/launchdarkly/javascript.nuxt.mdx | 2 +-
.../configuration/launchdarkly/javascript.react.mdx | 2 +-
.../configuration/launchdarkly/javascript.remix.mdx | 2 +-
.../configuration/launchdarkly/javascript.solid.mdx | 2 +-
.../configuration/launchdarkly/javascript.solidstart.mdx | 2 +-
.../configuration/launchdarkly/javascript.svelte.mdx | 2 +-
.../configuration/launchdarkly/javascript.sveltekit.mdx | 2 +-
.../configuration/launchdarkly/javascript.vue.mdx | 2 +-
.../configuration/openfeature/javascript.angular.mdx | 4 ++--
.../configuration/openfeature/javascript.astro.mdx | 4 ++--
.../configuration/openfeature/javascript.ember.mdx | 4 ++--
.../configuration/openfeature/javascript.gatsby.mdx | 4 ++--
platform-includes/configuration/openfeature/javascript.mdx | 4 ++--
.../configuration/openfeature/javascript.nextjs.mdx | 4 ++--
.../configuration/openfeature/javascript.nuxt.mdx | 4 ++--
.../configuration/openfeature/javascript.react.mdx | 4 ++--
.../configuration/openfeature/javascript.remix.mdx | 4 ++--
.../configuration/openfeature/javascript.solid.mdx | 4 ++--
.../configuration/openfeature/javascript.solidstart.mdx | 4 ++--
.../configuration/openfeature/javascript.svelte.mdx | 4 ++--
.../configuration/openfeature/javascript.sveltekit.mdx | 4 ++--
.../configuration/openfeature/javascript.vue.mdx | 4 ++--
45 files changed, 87 insertions(+), 87 deletions(-)
diff --git a/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx b/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
index 7c621c38487923..718234edd9b85d 100644
--- a/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/featureflags.mdx
@@ -43,6 +43,6 @@ _Import names: `Sentry.featureFlagsIntegration` and `type Sentry.FeatureFlagsInt
-Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
+Visit the Sentry website and confirm that your error event has recorded the feature flag "test-flag" and its value "false".
diff --git a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
index afd019772f787e..26e4791c9beac6 100644
--- a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx
@@ -35,6 +35,6 @@ _Import names: `Sentry.launchDarklyIntegration` and `Sentry.buildLaunchDarklyFla
-Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
+Visit the Sentry website and confirm that your error event has recorded the feature flag "test-flag" and its value "false".
diff --git a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
index 56c6b1f9243771..2d64f586f66f80 100644
--- a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx
@@ -35,6 +35,6 @@ _Import name: `Sentry.openFeatureIntegration` and `Sentry.OpenFeatureIntegration
-Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
+Visit the Sentry website and confirm that your error event has recorded the feature flag "test-flag" and its value "false".
diff --git a/platform-includes/configuration/featureflags/javascript.angular.mdx b/platform-includes/configuration/featureflags/javascript.angular.mdx
index 12075cad640d37..c8d850a898d892 100644
--- a/platform-includes/configuration/featureflags/javascript.angular.mdx
+++ b/platform-includes/configuration/featureflags/javascript.angular.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.astro.mdx b/platform-includes/configuration/featureflags/javascript.astro.mdx
index 260e9b34797c9e..27d96d5919acaf 100644
--- a/platform-includes/configuration/featureflags/javascript.astro.mdx
+++ b/platform-includes/configuration/featureflags/javascript.astro.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.ember.mdx b/platform-includes/configuration/featureflags/javascript.ember.mdx
index 36e0309199127b..e487d0e4485034 100644
--- a/platform-includes/configuration/featureflags/javascript.ember.mdx
+++ b/platform-includes/configuration/featureflags/javascript.ember.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.gatsby.mdx b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
index 3b56879c11c442..3bfb3a46859c29 100644
--- a/platform-includes/configuration/featureflags/javascript.gatsby.mdx
+++ b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.mdx b/platform-includes/configuration/featureflags/javascript.mdx
index dcb8ab216cb8e0..df88a32029ab4a 100644
--- a/platform-includes/configuration/featureflags/javascript.mdx
+++ b/platform-includes/configuration/featureflags/javascript.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.nextjs.mdx b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
index 8bf762135afbef..d160ea239108fb 100644
--- a/platform-includes/configuration/featureflags/javascript.nextjs.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.nuxt.mdx b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
index 52a02e4cfbcbbb..6e5b605e92fae9 100644
--- a/platform-includes/configuration/featureflags/javascript.nuxt.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.react.mdx b/platform-includes/configuration/featureflags/javascript.react.mdx
index 1a08f4060249e3..f8f8d11983b366 100644
--- a/platform-includes/configuration/featureflags/javascript.react.mdx
+++ b/platform-includes/configuration/featureflags/javascript.react.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.remix.mdx b/platform-includes/configuration/featureflags/javascript.remix.mdx
index 9ef5a89d8950ea..c1059605e82a95 100644
--- a/platform-includes/configuration/featureflags/javascript.remix.mdx
+++ b/platform-includes/configuration/featureflags/javascript.remix.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.solid.mdx b/platform-includes/configuration/featureflags/javascript.solid.mdx
index 1bd4810e65f06d..2296ba4563e0b9 100644
--- a/platform-includes/configuration/featureflags/javascript.solid.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solid.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.solidstart.mdx b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
index 627b9eb10b3751..51bfaf37ead7c4 100644
--- a/platform-includes/configuration/featureflags/javascript.solidstart.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.svelte.mdx b/platform-includes/configuration/featureflags/javascript.svelte.mdx
index abf18eda226b40..8cbf7d45cc625b 100644
--- a/platform-includes/configuration/featureflags/javascript.svelte.mdx
+++ b/platform-includes/configuration/featureflags/javascript.svelte.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
index a522a2ac4313f6..4288cba4ee0a0b 100644
--- a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/featureflags/javascript.vue.mdx b/platform-includes/configuration/featureflags/javascript.vue.mdx
index 3c8595514c4af8..78f71593a7515a 100644
--- a/platform-includes/configuration/featureflags/javascript.vue.mdx
+++ b/platform-includes/configuration/featureflags/javascript.vue.mdx
@@ -9,9 +9,9 @@ Sentry.init({
const flagsIntegration = Sentry.getClient()?
.getIntegrationByName('FeatureFlags');
if (flagsIntegration) {
- flagsIntegration.addFeatureFlag('hello', false);
+ flagsIntegration.addFeatureFlag('test-flag', false);
} else {
- // set up failed
+ // Something went wrong, check your DSN and/or integrations
}
-Sentry.captureException(new Error('broke'));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.angular.mdx b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
index c497b1905cf8fa..1b77a50b864317 100644
--- a/platform-includes/configuration/launchdarkly/javascript.angular.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.astro.mdx b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
index 37e57e1078577b..459d007930a603 100644
--- a/platform-includes/configuration/launchdarkly/javascript.astro.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.ember.mdx b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
index 5b71d6fa60a678..26511c0fcae7ef 100644
--- a/platform-includes/configuration/launchdarkly/javascript.ember.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
index 30b4f7a7f780ee..71fef7a2746b60 100644
--- a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.mdx b/platform-includes/configuration/launchdarkly/javascript.mdx
index 267d1698dbc458..ce9f65ca2e9e3c 100644
--- a/platform-includes/configuration/launchdarkly/javascript.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
index d75a862b4f5b86..f45d3deea4dc48 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
index d00d20bb921cb8..fac67be9d31111 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.react.mdx b/platform-includes/configuration/launchdarkly/javascript.react.mdx
index a187b4c0ad7275..2d08c87f5d22fc 100644
--- a/platform-includes/configuration/launchdarkly/javascript.react.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.react.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.remix.mdx b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
index 8e40e6d91abfd9..cdd30f907e0f02 100644
--- a/platform-includes/configuration/launchdarkly/javascript.remix.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.solid.mdx b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
index bbc7097cd296f1..42de571f2c865f 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solid.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
index 6ba3b0a80ecb3c..0a5f4de5bb9cda 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
index e0fbab9219db75..ebab562ff3ef06 100644
--- a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
index c6c43379259c05..cbdb17a9f3bd07 100644
--- a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.vue.mdx b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
index ce16f1e1a6d32a..83470ed1dcaed5 100644
--- a/platform-includes/configuration/launchdarkly/javascript.vue.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
@@ -18,7 +18,7 @@ const ldClient = LaunchDarkly.initialize(
);
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
-ldClient?.variation("hello", false);
+ldClient?.variation('test-flag', false);
Sentry.captureException(new Error("Something went wrong!"))
```
diff --git a/platform-includes/configuration/openfeature/javascript.angular.mdx b/platform-includes/configuration/openfeature/javascript.angular.mdx
index aa471593853cd6..406b7cb2055627 100644
--- a/platform-includes/configuration/openfeature/javascript.angular.mdx
+++ b/platform-includes/configuration/openfeature/javascript.angular.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.astro.mdx b/platform-includes/configuration/openfeature/javascript.astro.mdx
index daf8da498fb0f3..fdff6d99b83a79 100644
--- a/platform-includes/configuration/openfeature/javascript.astro.mdx
+++ b/platform-includes/configuration/openfeature/javascript.astro.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.ember.mdx b/platform-includes/configuration/openfeature/javascript.ember.mdx
index 32835ad51fd87f..d8367d3477f05d 100644
--- a/platform-includes/configuration/openfeature/javascript.ember.mdx
+++ b/platform-includes/configuration/openfeature/javascript.ember.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.gatsby.mdx b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
index 1843c4396e8964..8ef18c7706d974 100644
--- a/platform-includes/configuration/openfeature/javascript.gatsby.mdx
+++ b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.mdx b/platform-includes/configuration/openfeature/javascript.mdx
index e9c1c55ff18c0d..0384f57430f9c4 100644
--- a/platform-includes/configuration/openfeature/javascript.mdx
+++ b/platform-includes/configuration/openfeature/javascript.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.nextjs.mdx b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
index 918152af4728b1..33bbe5cf197854 100644
--- a/platform-includes/configuration/openfeature/javascript.nextjs.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.nuxt.mdx b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
index b4c3cab53d0a64..fe599d72f70439 100644
--- a/platform-includes/configuration/openfeature/javascript.nuxt.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.react.mdx b/platform-includes/configuration/openfeature/javascript.react.mdx
index 2aefdc3cd23737..2dc369b70edc21 100644
--- a/platform-includes/configuration/openfeature/javascript.react.mdx
+++ b/platform-includes/configuration/openfeature/javascript.react.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.remix.mdx b/platform-includes/configuration/openfeature/javascript.remix.mdx
index e2981547547b9a..5e6add5148add9 100644
--- a/platform-includes/configuration/openfeature/javascript.remix.mdx
+++ b/platform-includes/configuration/openfeature/javascript.remix.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.solid.mdx b/platform-includes/configuration/openfeature/javascript.solid.mdx
index ab3ffabfbfedd6..36d3c7fc6bfc54 100644
--- a/platform-includes/configuration/openfeature/javascript.solid.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solid.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.solidstart.mdx b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
index 700c0ac3e76352..caf5efbc14c546 100644
--- a/platform-includes/configuration/openfeature/javascript.solidstart.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.svelte.mdx b/platform-includes/configuration/openfeature/javascript.svelte.mdx
index caf35e58913f1d..108dd4984cf695 100644
--- a/platform-includes/configuration/openfeature/javascript.svelte.mdx
+++ b/platform-includes/configuration/openfeature/javascript.svelte.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
index c7e73563df030a..ae66bb58b9a72f 100644
--- a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
diff --git a/platform-includes/configuration/openfeature/javascript.vue.mdx b/platform-includes/configuration/openfeature/javascript.vue.mdx
index 522a060c84d9d1..93e0ed0198a9ff 100644
--- a/platform-includes/configuration/openfeature/javascript.vue.mdx
+++ b/platform-includes/configuration/openfeature/javascript.vue.mdx
@@ -15,7 +15,7 @@ OpenFeature.setProvider(new MyProviderOfChoice());
OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
@@ -32,6 +32,6 @@ OpenFeature.setProvider(new MyProviderOfChoice());
const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
-const result = client.getBooleanValue('hello', false); // evaluate with a default value
+const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
Sentry.captureException(new Error("Something went wrong!"));
```
From 99741ae5f5a6fcd8ddfc03d24a071ea577d0be2d Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Wed, 18 Dec 2024 11:39:14 -0800
Subject: [PATCH 09/10] Use single quotes in all code snippets
---
.../configuration/featureflags/javascript.angular.mdx | 2 +-
.../configuration/featureflags/javascript.astro.mdx | 2 +-
.../configuration/featureflags/javascript.ember.mdx | 2 +-
.../configuration/featureflags/javascript.gatsby.mdx | 2 +-
.../configuration/featureflags/javascript.mdx | 2 +-
.../configuration/featureflags/javascript.nextjs.mdx | 2 +-
.../configuration/featureflags/javascript.nuxt.mdx | 2 +-
.../configuration/featureflags/javascript.react.mdx | 2 +-
.../configuration/featureflags/javascript.remix.mdx | 2 +-
.../configuration/featureflags/javascript.solid.mdx | 2 +-
.../configuration/featureflags/javascript.solidstart.mdx | 2 +-
.../configuration/featureflags/javascript.svelte.mdx | 2 +-
.../configuration/featureflags/javascript.sveltekit.mdx | 2 +-
.../configuration/featureflags/javascript.vue.mdx | 2 +-
.../configuration/launchdarkly/javascript.angular.mdx | 4 ++--
.../configuration/launchdarkly/javascript.astro.mdx | 4 ++--
.../configuration/launchdarkly/javascript.ember.mdx | 4 ++--
.../configuration/launchdarkly/javascript.gatsby.mdx | 4 ++--
.../configuration/launchdarkly/javascript.mdx | 4 ++--
.../configuration/launchdarkly/javascript.nextjs.mdx | 4 ++--
.../configuration/launchdarkly/javascript.nuxt.mdx | 4 ++--
.../configuration/launchdarkly/javascript.react.mdx | 4 ++--
.../configuration/launchdarkly/javascript.remix.mdx | 4 ++--
.../configuration/launchdarkly/javascript.solid.mdx | 4 ++--
.../configuration/launchdarkly/javascript.solidstart.mdx | 4 ++--
.../configuration/launchdarkly/javascript.svelte.mdx | 4 ++--
.../configuration/launchdarkly/javascript.sveltekit.mdx | 4 ++--
.../configuration/launchdarkly/javascript.vue.mdx | 4 ++--
.../configuration/openfeature/javascript.angular.mdx | 8 ++++----
.../configuration/openfeature/javascript.astro.mdx | 8 ++++----
.../configuration/openfeature/javascript.ember.mdx | 8 ++++----
.../configuration/openfeature/javascript.gatsby.mdx | 8 ++++----
.../configuration/openfeature/javascript.mdx | 8 ++++----
.../configuration/openfeature/javascript.nextjs.mdx | 8 ++++----
.../configuration/openfeature/javascript.nuxt.mdx | 8 ++++----
.../configuration/openfeature/javascript.react.mdx | 8 ++++----
.../configuration/openfeature/javascript.remix.mdx | 8 ++++----
.../configuration/openfeature/javascript.solid.mdx | 8 ++++----
.../configuration/openfeature/javascript.solidstart.mdx | 8 ++++----
.../configuration/openfeature/javascript.svelte.mdx | 8 ++++----
.../configuration/openfeature/javascript.sveltekit.mdx | 8 ++++----
.../configuration/openfeature/javascript.vue.mdx | 8 ++++----
42 files changed, 98 insertions(+), 98 deletions(-)
diff --git a/platform-includes/configuration/featureflags/javascript.angular.mdx b/platform-includes/configuration/featureflags/javascript.angular.mdx
index c8d850a898d892..16d87819306c25 100644
--- a/platform-includes/configuration/featureflags/javascript.angular.mdx
+++ b/platform-includes/configuration/featureflags/javascript.angular.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/angular';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.astro.mdx b/platform-includes/configuration/featureflags/javascript.astro.mdx
index 27d96d5919acaf..f35f07bd7d69e2 100644
--- a/platform-includes/configuration/featureflags/javascript.astro.mdx
+++ b/platform-includes/configuration/featureflags/javascript.astro.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/astro';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.ember.mdx b/platform-includes/configuration/featureflags/javascript.ember.mdx
index e487d0e4485034..f354e73558633c 100644
--- a/platform-includes/configuration/featureflags/javascript.ember.mdx
+++ b/platform-includes/configuration/featureflags/javascript.ember.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/ember';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.gatsby.mdx b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
index 3bfb3a46859c29..b7b37fe0901fc8 100644
--- a/platform-includes/configuration/featureflags/javascript.gatsby.mdx
+++ b/platform-includes/configuration/featureflags/javascript.gatsby.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/gatsby';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.mdx b/platform-includes/configuration/featureflags/javascript.mdx
index df88a32029ab4a..e42935801bed60 100644
--- a/platform-includes/configuration/featureflags/javascript.mdx
+++ b/platform-includes/configuration/featureflags/javascript.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/browser';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.nextjs.mdx b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
index d160ea239108fb..53c79e361583bb 100644
--- a/platform-includes/configuration/featureflags/javascript.nextjs.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nextjs.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/nextjs';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.nuxt.mdx b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
index 6e5b605e92fae9..5ce78aaf385daf 100644
--- a/platform-includes/configuration/featureflags/javascript.nuxt.mdx
+++ b/platform-includes/configuration/featureflags/javascript.nuxt.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/nuxt';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.react.mdx b/platform-includes/configuration/featureflags/javascript.react.mdx
index f8f8d11983b366..c2429e713f2276 100644
--- a/platform-includes/configuration/featureflags/javascript.react.mdx
+++ b/platform-includes/configuration/featureflags/javascript.react.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/react';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.remix.mdx b/platform-includes/configuration/featureflags/javascript.remix.mdx
index c1059605e82a95..27d3e901dcbfa9 100644
--- a/platform-includes/configuration/featureflags/javascript.remix.mdx
+++ b/platform-includes/configuration/featureflags/javascript.remix.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/remix';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.solid.mdx b/platform-includes/configuration/featureflags/javascript.solid.mdx
index 2296ba4563e0b9..d7cb038bea623a 100644
--- a/platform-includes/configuration/featureflags/javascript.solid.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solid.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/solid';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.solidstart.mdx b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
index 51bfaf37ead7c4..893696a256bb4c 100644
--- a/platform-includes/configuration/featureflags/javascript.solidstart.mdx
+++ b/platform-includes/configuration/featureflags/javascript.solidstart.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/solidstart';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.svelte.mdx b/platform-includes/configuration/featureflags/javascript.svelte.mdx
index 8cbf7d45cc625b..7ac6a5a03c3cd5 100644
--- a/platform-includes/configuration/featureflags/javascript.svelte.mdx
+++ b/platform-includes/configuration/featureflags/javascript.svelte.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/svelte';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
index 4288cba4ee0a0b..98026634ce36a2 100644
--- a/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/featureflags/javascript.sveltekit.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/sveltekit';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/featureflags/javascript.vue.mdx b/platform-includes/configuration/featureflags/javascript.vue.mdx
index 78f71593a7515a..b7ce140ce2d427 100644
--- a/platform-includes/configuration/featureflags/javascript.vue.mdx
+++ b/platform-includes/configuration/featureflags/javascript.vue.mdx
@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/vue';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.featureFlagsIntegration()]
});
diff --git a/platform-includes/configuration/launchdarkly/javascript.angular.mdx b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
index 1b77a50b864317..fd1963dce28ff6 100644
--- a/platform-includes/configuration/launchdarkly/javascript.angular.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/angular';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.astro.mdx b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
index 459d007930a603..3d8928b1f0126a 100644
--- a/platform-includes/configuration/launchdarkly/javascript.astro.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/astro';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.ember.mdx b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
index 26511c0fcae7ef..ea6a6d4b4d0770 100644
--- a/platform-includes/configuration/launchdarkly/javascript.ember.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/ember';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
index 71fef7a2746b60..1b7caa91b5159d 100644
--- a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/gatsby';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.mdx b/platform-includes/configuration/launchdarkly/javascript.mdx
index ce9f65ca2e9e3c..30480901ee45d4 100644
--- a/platform-includes/configuration/launchdarkly/javascript.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/browser';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
index f45d3deea4dc48..55d98cfddaf799 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
index fac67be9d31111..fc95521c230ebd 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nuxt';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.react.mdx b/platform-includes/configuration/launchdarkly/javascript.react.mdx
index 2d08c87f5d22fc..ab72d6cee92d35 100644
--- a/platform-includes/configuration/launchdarkly/javascript.react.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.react.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/react';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.remix.mdx b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
index cdd30f907e0f02..2e606284e4a395 100644
--- a/platform-includes/configuration/launchdarkly/javascript.remix.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/remix';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.solid.mdx b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
index 42de571f2c865f..832fa6d45e95ad 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solid.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/solid';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
index 0a5f4de5bb9cda..466becf8809c39 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/solidstart';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
index ebab562ff3ef06..6ef5c2d9920767 100644
--- a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/svelte';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
index cbdb17a9f3bd07..6090ea790cbf21 100644
--- a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/sveltekit';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/launchdarkly/javascript.vue.mdx b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
index 83470ed1dcaed5..6c939662380bc6 100644
--- a/platform-includes/configuration/launchdarkly/javascript.vue.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/vue';
import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.launchDarklyIntegration()]
});
@@ -20,5 +20,5 @@ const ldClient = LaunchDarkly.initialize(
// Evaluate a flag with a default value. You may have to wait for your client to initialize first.
ldClient?.variation('test-flag', false);
-Sentry.captureException(new Error("Something went wrong!"))
+Sentry.captureException(new Error('Something went wrong!'))
```
diff --git a/platform-includes/configuration/openfeature/javascript.angular.mdx b/platform-includes/configuration/openfeature/javascript.angular.mdx
index 406b7cb2055627..1c3c2784b5d2fb 100644
--- a/platform-includes/configuration/openfeature/javascript.angular.mdx
+++ b/platform-includes/configuration/openfeature/javascript.angular.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/angular';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/angular';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.astro.mdx b/platform-includes/configuration/openfeature/javascript.astro.mdx
index fdff6d99b83a79..10304faf1d8451 100644
--- a/platform-includes/configuration/openfeature/javascript.astro.mdx
+++ b/platform-includes/configuration/openfeature/javascript.astro.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/astro';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/astro';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.ember.mdx b/platform-includes/configuration/openfeature/javascript.ember.mdx
index d8367d3477f05d..6e024db440a653 100644
--- a/platform-includes/configuration/openfeature/javascript.ember.mdx
+++ b/platform-includes/configuration/openfeature/javascript.ember.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/ember';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/ember';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.gatsby.mdx b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
index 8ef18c7706d974..2e12ad85a16a45 100644
--- a/platform-includes/configuration/openfeature/javascript.gatsby.mdx
+++ b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/gatsby';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/gatsby';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.mdx b/platform-includes/configuration/openfeature/javascript.mdx
index 0384f57430f9c4..0110ee97bfbea0 100644
--- a/platform-includes/configuration/openfeature/javascript.mdx
+++ b/platform-includes/configuration/openfeature/javascript.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/browser';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/browser';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.nextjs.mdx b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
index 33bbe5cf197854..706007cc42cb31 100644
--- a/platform-includes/configuration/openfeature/javascript.nextjs.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nextjs';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/nextjs';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.nuxt.mdx b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
index fe599d72f70439..9efbb2b7f41386 100644
--- a/platform-includes/configuration/openfeature/javascript.nuxt.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/nuxt';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/nuxt';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.react.mdx b/platform-includes/configuration/openfeature/javascript.react.mdx
index 2dc369b70edc21..42cdfea845433c 100644
--- a/platform-includes/configuration/openfeature/javascript.react.mdx
+++ b/platform-includes/configuration/openfeature/javascript.react.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/react';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/react';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.remix.mdx b/platform-includes/configuration/openfeature/javascript.remix.mdx
index 5e6add5148add9..80a534026e3326 100644
--- a/platform-includes/configuration/openfeature/javascript.remix.mdx
+++ b/platform-includes/configuration/openfeature/javascript.remix.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/remix';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/remix';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.solid.mdx b/platform-includes/configuration/openfeature/javascript.solid.mdx
index 36d3c7fc6bfc54..7b819925dc5fa3 100644
--- a/platform-includes/configuration/openfeature/javascript.solid.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solid.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/solid';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/solid';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.solidstart.mdx b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
index caf5efbc14c546..c3344dbaad7b4d 100644
--- a/platform-includes/configuration/openfeature/javascript.solidstart.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/solidstart';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/solidstart';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.svelte.mdx b/platform-includes/configuration/openfeature/javascript.svelte.mdx
index 108dd4984cf695..af6dbd0fb4bba4 100644
--- a/platform-includes/configuration/openfeature/javascript.svelte.mdx
+++ b/platform-includes/configuration/openfeature/javascript.svelte.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/svelte';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/svelte';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
index ae66bb58b9a72f..c366bcb8186ca0 100644
--- a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/sveltekit';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/sveltekit';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
diff --git a/platform-includes/configuration/openfeature/javascript.vue.mdx b/platform-includes/configuration/openfeature/javascript.vue.mdx
index 93e0ed0198a9ff..ce48165c39ea3c 100644
--- a/platform-includes/configuration/openfeature/javascript.vue.mdx
+++ b/platform-includes/configuration/openfeature/javascript.vue.mdx
@@ -7,7 +7,7 @@ import * as Sentry from '@sentry/vue';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -16,7 +16,7 @@ OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook());
const client = OpenFeature.getClient();
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
```javascript {tabTitle: JavaScript (Track One Client)}
@@ -24,7 +24,7 @@ import * as Sentry from '@sentry/vue';
import { OpenFeature } from '@openfeature/web-sdk';
Sentry.init({
- dsn: "___PUBLIC_DSN___",
+ dsn: '___PUBLIC_DSN___',
integrations: [Sentry.openFeatureIntegration()]
});
@@ -33,5 +33,5 @@ const client = OpenFeature.getClient();
client.addHooks(new Sentry.OpenFeatureIntegrationHook());
const result = client.getBooleanValue('test-flag', false); // evaluate with a default value
-Sentry.captureException(new Error("Something went wrong!"));
+Sentry.captureException(new Error('Something went wrong!'));
```
From c0707c159ef2dfe37ba1242e740e3040820146f1 Mon Sep 17 00:00:00 2001
From: Andrew Liu <159852527+aliu39@users.noreply.github.com>
Date: Wed, 18 Dec 2024 13:16:51 -0800
Subject: [PATCH 10/10] Update provider pkg and docs links
---
.../configuration/launchdarkly/javascript.angular.mdx | 4 +---
.../configuration/launchdarkly/javascript.astro.mdx | 4 +---
.../configuration/launchdarkly/javascript.ember.mdx | 4 +---
.../configuration/launchdarkly/javascript.gatsby.mdx | 4 +---
platform-includes/configuration/launchdarkly/javascript.mdx | 4 +---
.../configuration/launchdarkly/javascript.nextjs.mdx | 4 +---
.../configuration/launchdarkly/javascript.nuxt.mdx | 4 +---
.../configuration/launchdarkly/javascript.react.mdx | 4 +---
.../configuration/launchdarkly/javascript.remix.mdx | 4 +---
.../configuration/launchdarkly/javascript.solid.mdx | 4 +---
.../configuration/launchdarkly/javascript.solidstart.mdx | 4 +---
.../configuration/launchdarkly/javascript.svelte.mdx | 4 +---
.../configuration/launchdarkly/javascript.sveltekit.mdx | 4 +---
.../configuration/launchdarkly/javascript.vue.mdx | 4 +---
.../configuration/openfeature/javascript.angular.mdx | 4 +---
.../configuration/openfeature/javascript.astro.mdx | 4 +---
.../configuration/openfeature/javascript.ember.mdx | 4 +---
.../configuration/openfeature/javascript.gatsby.mdx | 4 +---
platform-includes/configuration/openfeature/javascript.mdx | 4 +---
.../configuration/openfeature/javascript.nextjs.mdx | 4 +---
.../configuration/openfeature/javascript.nuxt.mdx | 4 +---
.../configuration/openfeature/javascript.react.mdx | 4 +---
.../configuration/openfeature/javascript.remix.mdx | 4 +---
.../configuration/openfeature/javascript.solid.mdx | 4 +---
.../configuration/openfeature/javascript.solidstart.mdx | 4 +---
.../configuration/openfeature/javascript.svelte.mdx | 4 +---
.../configuration/openfeature/javascript.sveltekit.mdx | 4 +---
.../configuration/openfeature/javascript.vue.mdx | 4 +---
28 files changed, 28 insertions(+), 84 deletions(-)
diff --git a/platform-includes/configuration/launchdarkly/javascript.angular.mdx b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
index fd1963dce28ff6..41cb3f7a43a139 100644
--- a/platform-includes/configuration/launchdarkly/javascript.angular.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.angular.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/angular';
diff --git a/platform-includes/configuration/launchdarkly/javascript.astro.mdx b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
index 3d8928b1f0126a..c7b5c0ae3e6317 100644
--- a/platform-includes/configuration/launchdarkly/javascript.astro.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.astro.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/astro';
diff --git a/platform-includes/configuration/launchdarkly/javascript.ember.mdx b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
index ea6a6d4b4d0770..e4d7af31a2f26f 100644
--- a/platform-includes/configuration/launchdarkly/javascript.ember.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.ember.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/ember';
diff --git a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
index 1b7caa91b5159d..2a2c1524a0afc2 100644
--- a/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.gatsby.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/gatsby';
diff --git a/platform-includes/configuration/launchdarkly/javascript.mdx b/platform-includes/configuration/launchdarkly/javascript.mdx
index 30480901ee45d4..e2c5d22036f80d 100644
--- a/platform-includes/configuration/launchdarkly/javascript.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/browser';
diff --git a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
index 55d98cfddaf799..0f3a712f63c447 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nextjs.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/nextjs';
diff --git a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
index fc95521c230ebd..a14f1ac217fd63 100644
--- a/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.nuxt.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/nuxt';
diff --git a/platform-includes/configuration/launchdarkly/javascript.react.mdx b/platform-includes/configuration/launchdarkly/javascript.react.mdx
index ab72d6cee92d35..5110fad9694cb3 100644
--- a/platform-includes/configuration/launchdarkly/javascript.react.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.react.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/react';
diff --git a/platform-includes/configuration/launchdarkly/javascript.remix.mdx b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
index 2e606284e4a395..86ba7e174961b4 100644
--- a/platform-includes/configuration/launchdarkly/javascript.remix.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.remix.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/remix';
diff --git a/platform-includes/configuration/launchdarkly/javascript.solid.mdx b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
index 832fa6d45e95ad..540b6329953120 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solid.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solid.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/solid';
diff --git a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
index 466becf8809c39..5b6fb92aededc8 100644
--- a/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.solidstart.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/solidstart';
diff --git a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
index 6ef5c2d9920767..093c1329faef03 100644
--- a/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.svelte.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/svelte';
diff --git a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
index 6090ea790cbf21..ef75d7eda3b94d 100644
--- a/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.sveltekit.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/sveltekit';
diff --git a/platform-includes/configuration/launchdarkly/javascript.vue.mdx b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
index 6c939662380bc6..7051982c3f56d4 100644
--- a/platform-includes/configuration/launchdarkly/javascript.vue.mdx
+++ b/platform-includes/configuration/launchdarkly/javascript.vue.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the LaunchDarkly SDK in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
-
-npm package: [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk)
+Before using this integration, you need to install and instrument the [LaunchDarkly SDK](https://www.npmjs.com/package/launchdarkly-js-client-sdk) in your app. Learn more by reading [LaunchDarkly's docs](https://docs.launchdarkly.com/sdk/client-side/javascript).
```javascript
import * as Sentry from '@sentry/vue';
diff --git a/platform-includes/configuration/openfeature/javascript.angular.mdx b/platform-includes/configuration/openfeature/javascript.angular.mdx
index 1c3c2784b5d2fb..292b2fb415a0f7 100644
--- a/platform-includes/configuration/openfeature/javascript.angular.mdx
+++ b/platform-includes/configuration/openfeature/javascript.angular.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/angular';
diff --git a/platform-includes/configuration/openfeature/javascript.astro.mdx b/platform-includes/configuration/openfeature/javascript.astro.mdx
index 10304faf1d8451..168429f0986f87 100644
--- a/platform-includes/configuration/openfeature/javascript.astro.mdx
+++ b/platform-includes/configuration/openfeature/javascript.astro.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/astro';
diff --git a/platform-includes/configuration/openfeature/javascript.ember.mdx b/platform-includes/configuration/openfeature/javascript.ember.mdx
index 6e024db440a653..10b6769b460686 100644
--- a/platform-includes/configuration/openfeature/javascript.ember.mdx
+++ b/platform-includes/configuration/openfeature/javascript.ember.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/ember';
diff --git a/platform-includes/configuration/openfeature/javascript.gatsby.mdx b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
index 2e12ad85a16a45..1e748624b99f69 100644
--- a/platform-includes/configuration/openfeature/javascript.gatsby.mdx
+++ b/platform-includes/configuration/openfeature/javascript.gatsby.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/gatsby';
diff --git a/platform-includes/configuration/openfeature/javascript.mdx b/platform-includes/configuration/openfeature/javascript.mdx
index 0110ee97bfbea0..1af6993885a4f9 100644
--- a/platform-includes/configuration/openfeature/javascript.mdx
+++ b/platform-includes/configuration/openfeature/javascript.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/browser';
diff --git a/platform-includes/configuration/openfeature/javascript.nextjs.mdx b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
index 706007cc42cb31..d4ef4386be109a 100644
--- a/platform-includes/configuration/openfeature/javascript.nextjs.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nextjs.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/nextjs';
diff --git a/platform-includes/configuration/openfeature/javascript.nuxt.mdx b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
index 9efbb2b7f41386..adea8c92c6fc2b 100644
--- a/platform-includes/configuration/openfeature/javascript.nuxt.mdx
+++ b/platform-includes/configuration/openfeature/javascript.nuxt.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/nuxt';
diff --git a/platform-includes/configuration/openfeature/javascript.react.mdx b/platform-includes/configuration/openfeature/javascript.react.mdx
index 42cdfea845433c..0d94859a01e101 100644
--- a/platform-includes/configuration/openfeature/javascript.react.mdx
+++ b/platform-includes/configuration/openfeature/javascript.react.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/react';
diff --git a/platform-includes/configuration/openfeature/javascript.remix.mdx b/platform-includes/configuration/openfeature/javascript.remix.mdx
index 80a534026e3326..a1a415818239fc 100644
--- a/platform-includes/configuration/openfeature/javascript.remix.mdx
+++ b/platform-includes/configuration/openfeature/javascript.remix.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/remix';
diff --git a/platform-includes/configuration/openfeature/javascript.solid.mdx b/platform-includes/configuration/openfeature/javascript.solid.mdx
index 7b819925dc5fa3..b387e991ecab19 100644
--- a/platform-includes/configuration/openfeature/javascript.solid.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solid.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/solid';
diff --git a/platform-includes/configuration/openfeature/javascript.solidstart.mdx b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
index c3344dbaad7b4d..aec820c77cb862 100644
--- a/platform-includes/configuration/openfeature/javascript.solidstart.mdx
+++ b/platform-includes/configuration/openfeature/javascript.solidstart.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/solidstart';
diff --git a/platform-includes/configuration/openfeature/javascript.svelte.mdx b/platform-includes/configuration/openfeature/javascript.svelte.mdx
index af6dbd0fb4bba4..7af396ca9303b4 100644
--- a/platform-includes/configuration/openfeature/javascript.svelte.mdx
+++ b/platform-includes/configuration/openfeature/javascript.svelte.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/svelte';
diff --git a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
index c366bcb8186ca0..7b37f307bb3101 100644
--- a/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/openfeature/javascript.sveltekit.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/sveltekit';
diff --git a/platform-includes/configuration/openfeature/javascript.vue.mdx b/platform-includes/configuration/openfeature/javascript.vue.mdx
index ce48165c39ea3c..b3c117394d7027 100644
--- a/platform-includes/configuration/openfeature/javascript.vue.mdx
+++ b/platform-includes/configuration/openfeature/javascript.vue.mdx
@@ -1,6 +1,4 @@
-Before using this integration, you need to install and instrument the OpenFeature SDK in your app. Learn more by reading OpenFeature's [SDK](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider](https://openfeature.dev/docs/reference/concepts/provider) docs.
-
-npm package: [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk)
+Before using this integration, you need to install and instrument the [OpenFeature SDK](https://www.npmjs.com/package/@openfeature/web-sdk) in your app. Learn more by reading OpenFeature's [SDK docs](https://openfeature.dev/docs/reference/technologies/client/web/) and [provider docs](https://openfeature.dev/docs/reference/concepts/provider).
```javascript {tabTitle: JavaScript (Track All Evals)}
import * as Sentry from '@sentry/vue';