dev: bypass verification in dev env

Signed-off-by: Ashis Kumar Naik <ashishami2002@gmail.com>
This commit is contained in:
Ashis Kumar Naik 2025-06-18 18:59:29 +05:30
parent 63bbdde5e2
commit c9e53ca285

View File

@ -9,6 +9,18 @@ export class OrdinalAPI {
* @returns A promise that resolves with the API response.
*/
async getOperatorDetails(address: string): Promise<OrdinalApiResponse> {
// 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 {