Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix: increase the allowed name length regex
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Aug 31, 2023
1 parent 65b95ba commit 4ced9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EvaluationOptions } from 'warp-contracts';
export const ARNS_CONTRACT_ID_REGEX = '([a-zA-Z0-9-_s+]{43})';
export const ARNS_CONTRACT_FIELD_REGEX =
'(balances|records|fees|ticker|owner|name|controller|auctions|settings|reserved|gateways|version)';
export const ARNS_NAME_REGEX = '([a-zA-Z0-9-s+]{1,32})';
export const ARNS_NAME_REGEX = '([a-zA-Z0-9-s+]{1,51})';
export const EVALUATION_TIMEOUT_MS = 10_000; // 10 sec state timeout
export const allowedContractTypes = ['ant'] as const;
export const DEFAULT_EVALUATION_OPTIONS: Partial<EvaluationOptions> = {};

0 comments on commit 4ced9db

Please sign in to comment.