@verdocs/js-sdk 4.2.33 → 4.2.35
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2354,7 +2354,7 @@ const createField = (endpoint, templateId, params) => endpoint.api //
|
|
|
2354
2354
|
* ```
|
|
2355
2355
|
*/
|
|
2356
2356
|
const updateField = (endpoint, templateId, name, params) => endpoint.api //
|
|
2357
|
-
.patch(`/fields/${templateId}/${name}`, params)
|
|
2357
|
+
.patch(`/v2/fields/${templateId}/${name}`, params)
|
|
2358
2358
|
.then((r) => r.data);
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Remove a field from a template.
|
|
@@ -2366,7 +2366,7 @@ const updateField = (endpoint, templateId, name, params) => endpoint.api //
|
|
|
2366
2366
|
* ```
|
|
2367
2367
|
*/
|
|
2368
2368
|
const deleteField = (endpoint, templateId, name) => endpoint.api //
|
|
2369
|
-
.delete(`/fields/${templateId}/${name}`)
|
|
2369
|
+
.delete(`/v2/fields/${templateId}/${name}`)
|
|
2370
2370
|
.then((r) => r.data);
|
|
2371
2371
|
|
|
2372
2372
|
/**
|