@verdocs/js-sdk 3.0.38 → 3.0.39

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.
@@ -63,4 +63,4 @@ export declare const getTemplateDocumentThumbnail: (endpoint: VerdocsEndpoint, t
63
63
  * intended for DISPLAY ONLY, and do not contain any encoded metadata from participants. The original asset may be
64
64
  * obtained by calling `getTemplateDocumentFile()` or similar.
65
65
  */
66
- export declare const getTemplateDocumentPageDisplayUri: (endpoint: VerdocsEndpoint, templateId: string, documentId: string, page: number) => Promise<import("axios").AxiosResponse<string, any>>;
66
+ export declare const getTemplateDocumentPageDisplayUri: (endpoint: VerdocsEndpoint, templateId: string, documentId: string, page: number) => Promise<string>;
@@ -135,5 +135,5 @@ export var getTemplateDocumentThumbnail = function (endpoint, templateId, docume
135
135
  * obtained by calling `getTemplateDocumentFile()` or similar.
136
136
  */
137
137
  export var getTemplateDocumentPageDisplayUri = function (endpoint, templateId, documentId, page) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
138
- return [2 /*return*/, endpoint.api.get("/templates/".concat(templateId, "/documents/").concat(documentId, "/pages/").concat(page, "/image"))];
138
+ return [2 /*return*/, endpoint.api.get("/templates/".concat(templateId, "/documents/").concat(documentId, "/pages/").concat(page, "/image")).then(function (r) { return r.data; })];
139
139
  }); }); };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "3.0.38",
3
+ "version": "3.0.39",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",