@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.mjs
CHANGED
|
@@ -2154,6 +2154,7 @@ const getTemplate = (endpoint, templateId) => endpoint.api //
|
|
|
2154
2154
|
.get(`/templates/${templateId}`)
|
|
2155
2155
|
.then((r) => {
|
|
2156
2156
|
const template = r.data;
|
|
2157
|
+
window?.console?.log('[JS_SDK] Post-processing template', template);
|
|
2157
2158
|
// Post-process the template to upgrade to new data fields
|
|
2158
2159
|
if (!template.documents && template.template_documents) {
|
|
2159
2160
|
template.documents = template.template_documents;
|