feat: add optional frontend adapter recipes

This commit is contained in:
donghyeon-ka
2026-07-26 17:57:04 +09:00
parent 638f5f71bd
commit 6c73b845bd
29 changed files with 2291 additions and 45 deletions
@@ -0,0 +1,3 @@
export function persistCredential(token: string) {
localStorage.setItem("authToken", token);
}
@@ -0,0 +1,3 @@
import { OPTIONAL_RECIPE_RUNTIME_SENTINEL } from "../../../../../../recipes/frontend-capabilities/index.js";
export const recipeInProduction = OPTIONAL_RECIPE_RUNTIME_SENTINEL;
@@ -0,0 +1,3 @@
export const store = createStore({
serverState: [{ id: "copied-from-query-cache" }],
});
@@ -0,0 +1,3 @@
import { initialize } from "@launchdarkly/client-sdk";
export const leakedVendor = initialize;