Skip to content

Commit b5763da

Browse files
authored
added sbw feature flag (#754)
1 parent 9877b35 commit b5763da

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/server/routes/system/health.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ type EngineFeature =
1010
| "KEYPAIR_AUTH"
1111
| "CONTRACT_SUBSCRIPTIONS"
1212
| "IP_ALLOWLIST"
13-
| "HETEROGENEOUS_WALLET_TYPES";
13+
| "HETEROGENEOUS_WALLET_TYPES"
14+
| "SMART_BACKEND_WALLETS";
1415

1516
const ReplySchemaOk = Type.Object({
1617
status: Type.String(),
@@ -22,6 +23,7 @@ const ReplySchemaOk = Type.Object({
2223
Type.Literal("CONTRACT_SUBSCRIPTIONS"),
2324
Type.Literal("IP_ALLOWLIST"),
2425
Type.Literal("HETEROGENEOUS_WALLET_TYPES"),
26+
Type.Literal("SMART_BACKEND_WALLETS"),
2527
]),
2628
),
2729
});
@@ -82,7 +84,8 @@ const getFeatures = (): EngineFeature[] => {
8284
const features: EngineFeature[] = [
8385
"IP_ALLOWLIST",
8486
"HETEROGENEOUS_WALLET_TYPES",
85-
"CONTRACT_SUBSCRIPTIONS"
87+
"CONTRACT_SUBSCRIPTIONS",
88+
"SMART_BACKEND_WALLETS",
8689
];
8790

8891
if (env.ENABLE_KEYPAIR_AUTH) features.push("KEYPAIR_AUTH");

0 commit comments

Comments
 (0)