diff --git a/packages/shared/src/services/submitPrompt/utils/triggerAsyncCallback.ts b/packages/shared/src/services/submitPrompt/utils/triggerAsyncCallback.ts index 093d88d9..f83280bc 100644 --- a/packages/shared/src/services/submitPrompt/utils/triggerAsyncCallback.ts +++ b/packages/shared/src/services/submitPrompt/utils/triggerAsyncCallback.ts @@ -3,7 +3,7 @@ import {CallbackFunction} from '../../../types/callbackFunction'; const isHighPerfJsEngine = navigator?.userAgent?.includes('Safari'); // TODO: To be replaced with a pure React implementation for submitPrompt that relies on React rendering cycle -const defaultAsyncDelay: 1 | 10 = isHighPerfJsEngine ? 10 : 1; // Efficient async scheduling for Safari +const defaultAsyncDelay: 1 | 100 = isHighPerfJsEngine ? 100 : 1; // Efficient async scheduling for Safari export const triggerAsyncCallback = (trigger: CallbackFunction, delay: number = defaultAsyncDelay) => { setTimeout(() => { diff --git a/pipeline/npm/versions.json b/pipeline/npm/versions.json index eafaabe5..639c44f6 100644 --- a/pipeline/npm/versions.json +++ b/pipeline/npm/versions.json @@ -1,6 +1,6 @@ { "inherit": true, - "nlux": "2.16.0", + "nlux": "2.16.1", "peerDependencies": { "react": "18", "react-dom": "18"