chore: commentary and verbiage and one stray unnecessary check

This commit is contained in:
2025-07-29 22:12:08 -06:00
parent 4e36612388
commit 9562d3aa32
5 changed files with 7 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ import { PlatformServiceFactory } from "../services/PlatformServiceFactory";
import { IIdentifier } from "@veramo/core";
import { DEFAULT_ROOT_DERIVATION_PATH } from "./crypto";
// Consolidate this with src/utils/PlatformServiceMixin._parseJsonField
function parseJsonField<T>(value: unknown, defaultValue: T): T {
if (typeof value === "string") {
try {