@verdocs/js-sdk 4.2.33 → 4.2.34
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.js
CHANGED
|
@@ -2356,7 +2356,7 @@ const createField = (endpoint, templateId, params) => endpoint.api //
|
|
|
2356
2356
|
* ```
|
|
2357
2357
|
*/
|
|
2358
2358
|
const updateField = (endpoint, templateId, name, params) => endpoint.api //
|
|
2359
|
-
.patch(`/fields/${templateId}/${name}`, params)
|
|
2359
|
+
.patch(`/v2/fields/${templateId}/${name}`, params)
|
|
2360
2360
|
.then((r) => r.data);
|
|
2361
2361
|
/**
|
|
2362
2362
|
* Remove a field from a template.
|
|
@@ -2368,7 +2368,7 @@ const updateField = (endpoint, templateId, name, params) => endpoint.api //
|
|
|
2368
2368
|
* ```
|
|
2369
2369
|
*/
|
|
2370
2370
|
const deleteField = (endpoint, templateId, name) => endpoint.api //
|
|
2371
|
-
.delete(`/fields/${templateId}/${name}`)
|
|
2371
|
+
.delete(`/v2/fields/${templateId}/${name}`)
|
|
2372
2372
|
.then((r) => r.data);
|
|
2373
2373
|
|
|
2374
2374
|
/**
|