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