apacuana-sdk-core 1.10.0 → 1.12.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/coverage/clover.xml +107 -107
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/api/certs.js.html +1 -1
- package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
- package/coverage/lcov-report/src/api/index.html +1 -1
- package/coverage/lcov-report/src/api/revocations.js.html +1 -1
- package/coverage/lcov-report/src/api/signatures.js.html +18 -3
- package/coverage/lcov-report/src/api/users.js.html +1 -1
- package/coverage/lcov-report/src/config/index.html +1 -1
- package/coverage/lcov-report/src/config/index.js.html +1 -1
- package/coverage/lcov-report/src/errors/index.html +1 -1
- package/coverage/lcov-report/src/errors/index.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.js.html +1 -1
- package/coverage/lcov-report/src/success/index.html +1 -1
- package/coverage/lcov-report/src/success/index.js.html +1 -1
- package/coverage/lcov-report/src/utils/constant.js.html +1 -1
- package/coverage/lcov-report/src/utils/helpers.js.html +1 -1
- package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov.info +183 -183
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/signatures.js +6 -1
- package/tests/api/signatures.test.js +6 -1
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.id
|
|
33688
33690
|
}));
|
|
33689
33691
|
case 3:
|
|
33690
33692
|
_context5.p = 3;
|