Files
klz-cables.com/.pnpm-store/v10/files/b1/fbf146db82aefdcfddab20055ffc9ea02689787233114514e142e0561b56a939c63d311290b9363cf086c2b31b5dfcdfb04d5b0a063d5f1eea42491a551fa0
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

16 lines
749 B
Plaintext

export type RandomSafeContextRunner = <T>(callback: () => T) => T;
/**
* Simple wrapper that allows SDKs to *secretly* set context wrapper to generate safe random IDs in cache components contexts
*/
export declare function withRandomSafeContext<T>(cb: () => T): T;
/**
* Identical to Math.random() but wrapped in withRandomSafeContext
* to ensure safe random number generation in certain contexts (e.g., Next.js Cache Components).
*/
export declare function safeMathRandom(): number;
/**
* Identical to Date.now() but wrapped in withRandomSafeContext
* to ensure safe time value generation in certain contexts (e.g., Next.js Cache Components).
*/
export declare function safeDateNow(): number;
//# sourceMappingURL=randomSafeContext.d.ts.map