@fonoster/common 0.12.16 → 0.13.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.
@@ -226,6 +226,7 @@ message VerifyCodeRequest {
226
226
 
227
227
  message SendResetPasswordCodeRequest {
228
228
  string username = 1;
229
+ string reset_password_url = 2;
229
230
  }
230
231
 
231
232
  message ResetPasswordRequest {
@@ -182,10 +182,13 @@ declare const verifyCodeRequestSchema: z.ZodObject<{
182
182
  }>;
183
183
  declare const sendResetPasswordCodeRequestSchema: z.ZodObject<{
184
184
  username: z.ZodString;
185
+ resetPasswordUrl: z.ZodString;
185
186
  }, "strip", z.ZodTypeAny, {
186
187
  username?: string;
188
+ resetPasswordUrl?: string;
187
189
  }, {
188
190
  username?: string;
191
+ resetPasswordUrl?: string;
189
192
  }>;
190
193
  declare const resetPasswordRequestSchema: z.ZodObject<{
191
194
  username: z.ZodString;
@@ -133,7 +133,8 @@ exports.verifyCodeRequestSchema = verifyCodeRequestSchema;
133
133
  const sendResetPasswordCodeRequestSchema = zod_1.z.object({
134
134
  username: zod_1.z
135
135
  .string()
136
- .email({ message: "Invalid username. Must be an email address" })
136
+ .email({ message: "Invalid username. Must be an email address" }),
137
+ resetPasswordUrl: zod_1.z.string()
137
138
  });
138
139
  exports.sendResetPasswordCodeRequestSchema = sendResetPasswordCodeRequestSchema;
139
140
  const resetPasswordRequestSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/common",
3
- "version": "0.12.16",
3
+ "version": "0.13.2",
4
4
  "description": "Common library for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -18,7 +18,7 @@
18
18
  "clean": "rimraf ./dist node_modules tsconfig.tsbuildinfo"
19
19
  },
20
20
  "dependencies": {
21
- "@fonoster/logger": "^0.12.6",
21
+ "@fonoster/logger": "^0.13.2",
22
22
  "@grpc/grpc-js": "~1.10.6",
23
23
  "@grpc/proto-loader": "^0.7.12",
24
24
  "@influxdata/influxdb-client": "^1.35.0",
@@ -49,5 +49,5 @@
49
49
  "devDependencies": {
50
50
  "@types/nodemailer": "^6.4.14"
51
51
  },
52
- "gitHead": "ec03d81daf288d40aee731c84391ad42025b1bd5"
52
+ "gitHead": "28f7eec304fda5abb2582fab65c296f1d3a9440b"
53
53
  }