From 4ced9db1e9297533c76acf85569833661673a156 Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Thu, 31 Aug 2023 15:55:01 -0600 Subject: [PATCH] fix: increase the allowed name length regex --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 0ca535e..893bf67 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -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 = {};