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

Commit

Permalink
chore: allow gateways and version in contract field regex
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Aug 31, 2023
1 parent b0584b5 commit 65b95ba
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 @@ -2,7 +2,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|tiers|ticker|owner|name|controller|auctions|settings|reserved)';
'(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 EVALUATION_TIMEOUT_MS = 10_000; // 10 sec state timeout
export const allowedContractTypes = ['ant'] as const;
Expand Down

0 comments on commit 65b95ba

Please sign in to comment.