Skip to content

Commit 4ef2bc6

Browse files
committed
refactor: change enum to generic string
1 parent 3ccca38 commit 4ef2bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bridge-controller/src/utils/validators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const RefuelDataSchema = StepSchema;
196196
const DigitStringOrNumberSchema = union([TruthyDigitStringSchema, number()]);
197197

198198
// Intent support (e.g., CoW Swap EIP-712 order signing)
199-
const IntentProtocolSchema = enums(['cowswap']);
199+
const IntentProtocolSchema = string;
200200

201201
export const IntentOrderSchema = type({
202202
// EIP-712 Order fields (subset required for signing/submission)

0 commit comments

Comments
 (0)