UNPKG

@biconomy/sdk

Version:

SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.

22 lines 678 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.bigIntReplacer = exports.isDebugging = void 0; const isDebugging = () => { try { return (process?.env?.BICONOMY_SDK_DEBUG === "true" || process?.env?.REACT_APP_BICONOMY_SDK_DEBUG === "true" || process?.env?.NEXT_PUBLIC_BICONOMY_SDK_DEBUG === "true"); } catch (e) { return false; } }; exports.isDebugging = isDebugging; const bigIntReplacer = (_, value) => { if (typeof value === "bigint") { return `${value.toString()}n`; } return value; }; exports.bigIntReplacer = bigIntReplacer; //# sourceMappingURL=Helpers.js.map