From c9e53ca28504a002ff52f4390d748432ad1227c2 Mon Sep 17 00:00:00 2001 From: Ashis Kumar Naik Date: Wed, 18 Jun 2025 18:59:29 +0530 Subject: [PATCH] dev: bypass verification in dev env Signed-off-by: Ashis Kumar Naik --- src/lib/identity/ordinal.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/identity/ordinal.ts b/src/lib/identity/ordinal.ts index f988da4..8fc0474 100644 --- a/src/lib/identity/ordinal.ts +++ b/src/lib/identity/ordinal.ts @@ -9,6 +9,18 @@ export class OrdinalAPI { * @returns A promise that resolves with the API response. */ async getOperatorDetails(address: string): Promise { + + // Optionally Uncomment to bypass verification in development mode + + // if (process.env.NODE_ENV === 'development') { + // console.log(`[DEV] Bypassing ordinal verification for address: ${address}`); + // return { + // has_operators: true, + // error_message: '', + // data: [] + // }; + // } + const url = `${BASE_URL}/${address}/detail/`; try {