unshared-clientjs-sdk 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/client.d.ts CHANGED
@@ -218,7 +218,7 @@ export default class UnsharedLabsClient {
218
218
  * This method validates a verification code that was sent to the user via email.
219
219
  * The code is typically obtained from the user after they receive the verification email.
220
220
  *
221
- * @param {string} userId - User identifier/email address for whom the code is being verified.
221
+ * @param {string} emailAddress - Email address for whom the code is being verified.
222
222
  * @param {string} code - Verification code that was sent to the user's email
223
223
  *
224
224
  * @returns {Promise<any>} Response object from the verification service containing:
@@ -239,5 +239,5 @@ export default class UnsharedLabsClient {
239
239
  * }
240
240
  * ```
241
241
  */
242
- verify(userId: string, code: string): Promise<any>;
242
+ verify(emailAddress: string, code: string): Promise<any>;
243
243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unshared-clientjs-sdk",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",