@verdocs/js-sdk 6.2.0-beta.11 → 6.2.0-beta.15

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 CHANGED
@@ -2797,7 +2797,7 @@ const verifySigner = (endpoint, params) => endpoint.api //
2797
2797
  * @apiSuccess string . Success message.
2798
2798
  */
2799
2799
  const delegateRecipient = (endpoint, envelopeId, roleName, params) => endpoint.api //
2800
- .put(`/v2/envelopes/${envelopeId}/recipients/${encodeURIComponent(roleName)}`, { action: 'delegate', ...params })
2800
+ .post(`/v2/envelopes/${envelopeId}/recipients/${encodeURIComponent(roleName)}/delegate`, params)
2801
2801
  .then((r) => r.data);
2802
2802
  /**
2803
2803
  * Update a recipient. NOTE: User interfaces should rate-limit this operation to avoid spamming recipients.