@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 = (0, crypto_1.createPublicKey)("-----BEGIN CERTIFICATE-----\n".concat(plexoResponse.Object.Object.Response.Key, "\n-----END CERTIFICATE-----"));
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
- // const key = `-----BEGIN PUBLIC KEY-----\n${plexoRespon
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houlak/plexo-sdk",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "Node SDK for Plexo payment services",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",