@houlak/plexo-sdk 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -253,10 +253,11 @@ var getPlexoSignature = function (fingerprint, response) { return __awaiter(void
|
|
|
253
253
|
};
|
|
254
254
|
return [2 /*return*/, serverResponse];
|
|
255
255
|
case 3:
|
|
256
|
-
key =
|
|
256
|
+
// const key = createPublicKey(`-----BEGIN CERTIFICATE-----
|
|
257
|
+
// ${plexoResponse.Object.Object.Response.Key}
|
|
258
|
+
// -----END CERTIFICATE-----`)
|
|
257
259
|
logger_lib_1.default.info(plexoResponse.Object.Object.Response.Key, 'plexo');
|
|
258
|
-
|
|
259
|
-
// se.Object.Object.Response.Key}\n-----END PUBLIC KEY-----`
|
|
260
|
+
key = "-----BEGIN PUBLIC KEY-----\n".concat(plexoResponse.Object.Object.Response.Key, "\n-----END PUBLIC KEY-----");
|
|
260
261
|
logger_lib_1.default.info(key, 'Llave publica generada');
|
|
261
262
|
canonizedObject = (0, exports.canonizeJson)(response.object);
|
|
262
263
|
objectInPascalCase = utils_1.caseUtils.toPascalKeys(canonizedObject);
|