@houlak/plexo-sdk 0.1.27 → 0.1.29

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,7 +253,12 @@ var getPlexoSignature = function (fingerprint, response) { return __awaiter(void
253
253
  };
254
254
  return [2 /*return*/, serverResponse];
255
255
  case 3:
256
- key = (0, crypto_1.createPublicKey)("-----BEGIN RSA PUBLIC KEY-----".concat(plexoResponse.Object.Object.Response.Key, "-----END RSA PUBLIC KEY-----"));
256
+ // const key = createPublicKey(`-----BEGIN CERTIFICATE-----
257
+ // ${plexoResponse.Object.Object.Response.Key}
258
+ // -----END CERTIFICATE-----`)
259
+ logger_lib_1.default.info(plexoResponse.Object.Object.Response.Key, 'Respuesta de llave publica de plexo');
260
+ key = "-----BEGIN PUBLIC KEY-----".concat(plexoResponse.Object.Object.Response.Key, "-----END PUBLIC KEY-----");
261
+ logger_lib_1.default.info(key, 'Llave publica generada');
257
262
  canonizedObject = (0, exports.canonizeJson)(response.object);
258
263
  objectInPascalCase = utils_1.caseUtils.toPascalKeys(canonizedObject);
259
264
  objectSorted = sort(objectInPascalCase);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houlak/plexo-sdk",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "Node SDK for Plexo payment services",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",