@verdocs/js-sdk 4.1.1 → 4.1.2
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.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2156,6 +2156,7 @@ const getTemplate = (endpoint, templateId) => endpoint.api //
|
|
|
2156
2156
|
.get(`/templates/${templateId}`)
|
|
2157
2157
|
.then((r) => {
|
|
2158
2158
|
const template = r.data;
|
|
2159
|
+
window?.console?.log('[JS_SDK] Post-processing template', template);
|
|
2159
2160
|
// Post-process the template to upgrade to new data fields
|
|
2160
2161
|
if (!template.documents && template.template_documents) {
|
|
2161
2162
|
template.documents = template.template_documents;
|