@verdocs/js-sdk
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -152,1 +152,2 @@ import { ISigningSession, ISigningSessionRequest } from './Types'; | ||
export declare const getDocument: (documentId: string) => Promise<IDocument>; | ||
export declare const getDocumentFile: (documentId: string, envelopeDocumentId: string) => Promise<string>; |
@@ -102,1 +102,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}); }; | ||
export var getDocumentFile = function (documentId, envelopeDocumentId) { return __awaiter(void 0, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, getEndpoint() | ||
.api.get("/documents/".concat(documentId, "/envelope_documents/").concat(envelopeDocumentId, "?file=true")) | ||
.then(function (r) { return r.data; })]; | ||
}); | ||
}); }; |
{ | ||
"name": "@verdocs/js-sdk", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Verdocs/js-sdk", |
123325
3004