From c981006978ef7ea0eebddbeff6fbffc4d631fdde Mon Sep 17 00:00:00 2001 From: Prashan Dharmasena <163016611+prashanDYDX@users.noreply.github.com> Date: Thu, 19 Sep 2024 10:56:12 -0400 Subject: [PATCH] feat: turn on Abacus static typing when not in prod (#1009) --- src/lib/abacus/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/abacus/index.ts b/src/lib/abacus/index.ts index ee7a1d229..120bff88d 100644 --- a/src/lib/abacus/index.ts +++ b/src/lib/abacus/index.ts @@ -120,6 +120,8 @@ class AbacusStateManager { const appConfigs = AbacusAppConfig.Companion.forWebAppWithIsolatedMargins; appConfigs.onboardingConfigs.squidVersion = OnboardingConfig.SquidVersion.V2; + appConfigs.staticTyping = import.meta.env.MODE !== 'production'; + this.stateManager = new AsyncAbacusStateManager( '', CURRENT_ABACUS_DEPLOYMENT,