@verdocs/js-sdk 6.0.1 → 6.0.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.mjs CHANGED
@@ -1807,8 +1807,12 @@ const getEnvelopes = (endpoint, params) => endpoint.api //
1807
1807
  * create and store an initials block. Thereafter, the ID of the initials block may be re-used for each initials field
1808
1808
  * to be "stamped" by the user.
1809
1809
  *
1810
+ * Note: Both "guest" signers and authenticated users can create initials blocks. Guest signers
1811
+ * typically only ever have one, tied to that session. But authenticated users can create more than
1812
+ * one, and can use them interchangeably.
1813
+ *
1810
1814
  * @group Signatures and Initials
1811
- * @api POST /initials Create Initial Block
1815
+ * @api POST /v2/profiles/initials Create Initial Block
1812
1816
  * @apiBody string initial Blob containing initials image to store.
1813
1817
  * @apiSuccess IInitial . The newly-created initial block.
1814
1818
  */
@@ -1816,7 +1820,7 @@ const createInitials = (endpoint, name, initials) => {
1816
1820
  const data = new FormData();
1817
1821
  data.append('initial', initials, name);
1818
1822
  return endpoint.api //
1819
- .post(`/initials`, data)
1823
+ .post(`/v2/profiles/initials`, data)
1820
1824
  .then((r) => r.data);
1821
1825
  };
1822
1826
 
@@ -2109,9 +2113,12 @@ const getNextRecipient = (envelope) => {
2109
2113
  * create and store a signature block. Thereafter, the ID of the signature block may be re-used for each signature field
2110
2114
  * to be "stamped" by the user.
2111
2115
  *
2112
- * @group Signatures and Initials
2113
- * @api POST /signatures Create Signature Block
2116
+ * Note: Both "guest" signers and authenticated users can create initials blocks. Guest signers
2117
+ * typically only ever have one, tied to that session. But authenticated users can create more than
2118
+ * one, and can use them interchangeably.
2114
2119
  *
2120
+ * @group Signatures and Initials
2121
+ * @api POST /v2/profiles/signatures Create Signature Block
2115
2122
  * @apiBody string signature Blob containing signature image to store.
2116
2123
  * @apiSuccess ISignature . The newly-created signature block.
2117
2124
  */
@@ -2119,7 +2126,7 @@ const createSignature = (endpoint, name, signature) => {
2119
2126
  const data = new FormData();
2120
2127
  data.append('signature', signature, name);
2121
2128
  return endpoint.api //
2122
- .post(`/signatures`, data)
2129
+ .post(`/v2/profiles/signatures`, data)
2123
2130
  .then((r) => r.data);
2124
2131
  };
2125
2132
  /**