@houlak/plexo-sdk 0.1.41 → 0.1.43

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.
@@ -122,6 +122,7 @@ var unwrapCallback = function (fingerprint, response) { return __awaiter(void 0,
122
122
  logger_lib_1.default.info(canonizedObject, 'Objeto canonizado');
123
123
  objectInPascalCase = utils_1.caseUtils.toPascalKeys(canonizedObject);
124
124
  objectSorted = signatureUtils_1.signatureUtils.sortObject(objectInPascalCase);
125
+ logger_lib_1.default.info(objectSorted, 'Objeto a verificar');
125
126
  objectBuffer = Buffer.from(JSON.stringify(objectSorted));
126
127
  verifySignature = (0, crypto_1.createVerify)('SHA512')
127
128
  .update(objectBuffer)
@@ -5,8 +5,10 @@ var js_convert_case_1 = require("js-convert-case");
5
5
  var specialWords = [
6
6
  { word: 'UtcUnixTimeExpiration', substitute: 'UTCUnixTimeExpiration' },
7
7
  { word: 'UtcunixTimeExpiration', substitute: 'UTCUnixTimeExpiration' },
8
+ { word: 'utcunixTimeExpiration', substitute: 'UTCUnixTimeExpiration' },
8
9
  { word: 'VatAmount', substitute: 'VATAmount' },
9
10
  { word: 'InstrumentExpirationUtc', substitute: 'InstrumentExpirationUTC' },
11
+ { word: 'ExecutionDateUtc', substitute: 'ExecutionDateUTC' },
10
12
  ];
11
13
  var camelCaseSpecialWords = [
12
14
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houlak/plexo-sdk",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "Node SDK for Plexo payment services",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",