Skip to content

Commit f2aa67e

Browse files
committed
fix: use superstruct type
1 parent 550997b commit f2aa67e

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
@@ -202,7 +202,7 @@ const DigitStringOrNumberSchema = union([TruthyDigitStringSchema, number()]);
202202
* - CoW Swap
203203
* - Other EIP-712–based intent protocols
204204
*/
205-
const IntentProtocolSchema = string;
205+
const IntentProtocolSchema = string();
206206

207207
/**
208208
* Schema for an intent-based order used for EIP-712 signing and submission.

0 commit comments

Comments
 (0)