UNPKG

@etherspot/modular-sdk

Version:

Etherspot Modular SDK - build with ERC-7579 smart accounts modules

14 lines 322 B
export function parseJson(raw, defaultValue) { let result; try { result = JSON.parse(raw); } catch (err) { result = defaultValue; } return result; } export function stringifyJson(value, space) { return JSON.stringify(value, null, space); } //# sourceMappingURL=json-utils.js.map