Skip to content

Commit

Permalink
added sbw feature flag (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4mr authored Nov 4, 2024
1 parent 9877b35 commit b5763da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/server/routes/system/health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ type EngineFeature =
| "KEYPAIR_AUTH"
| "CONTRACT_SUBSCRIPTIONS"
| "IP_ALLOWLIST"
| "HETEROGENEOUS_WALLET_TYPES";
| "HETEROGENEOUS_WALLET_TYPES"
| "SMART_BACKEND_WALLETS";

const ReplySchemaOk = Type.Object({
status: Type.String(),
Expand All @@ -22,6 +23,7 @@ const ReplySchemaOk = Type.Object({
Type.Literal("CONTRACT_SUBSCRIPTIONS"),
Type.Literal("IP_ALLOWLIST"),
Type.Literal("HETEROGENEOUS_WALLET_TYPES"),
Type.Literal("SMART_BACKEND_WALLETS"),
]),
),
});
Expand Down Expand Up @@ -82,7 +84,8 @@ const getFeatures = (): EngineFeature[] => {
const features: EngineFeature[] = [
"IP_ALLOWLIST",
"HETEROGENEOUS_WALLET_TYPES",
"CONTRACT_SUBSCRIPTIONS"
"CONTRACT_SUBSCRIPTIONS",
"SMART_BACKEND_WALLETS",
];

if (env.ENABLE_KEYPAIR_AUTH) features.push("KEYPAIR_AUTH");
Expand Down

0 comments on commit b5763da

Please sign in to comment.