@scalemule/sdk 0.0.78 → 0.0.79

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.d.mts CHANGED
@@ -1034,8 +1034,15 @@ declare class AuthService extends ServiceModule {
1034
1034
  }, options?: RequestOptions): Promise<ApiResponse<{
1035
1035
  changed: boolean;
1036
1036
  }>>;
1037
+ /**
1038
+ * Verify an email with a link token or a 6-digit code. Pass `email` (the
1039
+ * address the code was sent to) with codes: ScaleMule then matches the code
1040
+ * only against that account; code-only verification has a tight per-app
1041
+ * attempt budget.
1042
+ */
1037
1043
  verifyEmail(data: {
1038
1044
  token: string;
1045
+ email?: string;
1039
1046
  }, options?: RequestOptions): Promise<ApiResponse<{
1040
1047
  verified: boolean;
1041
1048
  }>>;
package/dist/index.d.ts CHANGED
@@ -1034,8 +1034,15 @@ declare class AuthService extends ServiceModule {
1034
1034
  }, options?: RequestOptions): Promise<ApiResponse<{
1035
1035
  changed: boolean;
1036
1036
  }>>;
1037
+ /**
1038
+ * Verify an email with a link token or a 6-digit code. Pass `email` (the
1039
+ * address the code was sent to) with codes: ScaleMule then matches the code
1040
+ * only against that account; code-only verification has a tight per-app
1041
+ * attempt budget.
1042
+ */
1037
1043
  verifyEmail(data: {
1038
1044
  token: string;
1045
+ email?: string;
1039
1046
  }, options?: RequestOptions): Promise<ApiResponse<{
1040
1047
  verified: boolean;
1041
1048
  }>>;
package/dist/index.js CHANGED
@@ -2166,6 +2166,12 @@ var AuthService = class extends ServiceModule {
2166
2166
  // --------------------------------------------------------------------------
2167
2167
  // Email & Phone Management
2168
2168
  // --------------------------------------------------------------------------
2169
+ /**
2170
+ * Verify an email with a link token or a 6-digit code. Pass `email` (the
2171
+ * address the code was sent to) with codes: ScaleMule then matches the code
2172
+ * only against that account; code-only verification has a tight per-app
2173
+ * attempt budget.
2174
+ */
2169
2175
  async verifyEmail(data, options) {
2170
2176
  return this.post("/verify-email", data, options);
2171
2177
  }
package/dist/index.mjs CHANGED
@@ -2030,6 +2030,12 @@ var AuthService = class extends ServiceModule {
2030
2030
  // --------------------------------------------------------------------------
2031
2031
  // Email & Phone Management
2032
2032
  // --------------------------------------------------------------------------
2033
+ /**
2034
+ * Verify an email with a link token or a 6-digit code. Pass `email` (the
2035
+ * address the code was sent to) with codes: ScaleMule then matches the code
2036
+ * only against that account; code-only verification has a tight per-app
2037
+ * attempt budget.
2038
+ */
2033
2039
  async verifyEmail(data, options) {
2034
2040
  return this.post("/verify-email", data, options);
2035
2041
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalemule/sdk",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "Official TypeScript/JavaScript SDK for ScaleMule Backend-as-a-Service",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",