mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-08 07:43:08 +00:00
dev: bypass verification in dev env
Signed-off-by: Ashis Kumar Naik <ashishami2002@gmail.com>
This commit is contained in:
parent
63bbdde5e2
commit
c9e53ca285
@ -9,6 +9,18 @@ export class OrdinalAPI {
|
|||||||
* @returns A promise that resolves with the API response.
|
* @returns A promise that resolves with the API response.
|
||||||
*/
|
*/
|
||||||
async getOperatorDetails(address: string): Promise<OrdinalApiResponse> {
|
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/`;
|
const url = `${BASE_URL}/${address}/detail/`;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user