apacuana-sdk-core 1.10.0 → 1.11.0

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.
package/dist/index.mjs CHANGED
@@ -33674,7 +33674,7 @@ var getDigestToSignOnPremise = /*#__PURE__*/function () {
33674
33674
  }();
33675
33675
  var addSignerOnBoarding = /*#__PURE__*/function () {
33676
33676
  var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(signerData) {
33677
- var payload, _t3;
33677
+ var payload, response, _t3;
33678
33678
  return _regenerator().w(function (_context5) {
33679
33679
  while (1) switch (_context5.p = _context5.n) {
33680
33680
  case 0:
@@ -33683,8 +33683,10 @@ var addSignerOnBoarding = /*#__PURE__*/function () {
33683
33683
  _context5.n = 2;
33684
33684
  return httpRequest("services/api/documents/signingsdk", payload, "POST");
33685
33685
  case 2:
33686
+ response = _context5.v;
33686
33687
  return _context5.a(2, new ApacuanaSuccess({
33687
- signer: signerData.typedoc + signerData.doc
33688
+ signer: signerData.typedoc + signerData.doc,
33689
+ docId: response.data.id
33688
33690
  }));
33689
33691
  case 3:
33690
33692
  _context5.p = 3;