"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.constructPrivateKey = void 0;
/**
 * Transforms a single-line private key with explicit \n into a properly formatted private key.
 * @param inputKey - The single-line private key string.
 * @returns The correctly formatted private key string.
 */
const constructPrivateKey = (privateKey) => {
    // Replace explicit \n with actual newlines
    const formattedKey = privateKey.replace(/\\n/g, '\n');
    return formattedKey;
};
exports.constructPrivateKey = constructPrivateKey;
//# sourceMappingURL=constructPrivateKey.js.map