@adminforth/email-invite 2.0.1 → 2.0.3

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.js CHANGED
@@ -212,6 +212,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
212
212
  server.endpoint({
213
213
  method: 'POST',
214
214
  path: `/plugin/${this.pluginInstanceId}/set-password`,
215
+ agent: { hiddenFromAgents: true },
215
216
  noAuth: true,
216
217
  request_schema: setPasswordBodySchema,
217
218
  handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, response }) {
@@ -268,6 +269,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
268
269
  server.endpoint({
269
270
  method: 'POST',
270
271
  path: `/plugin/${this.pluginInstanceId}/resend-invite`,
272
+ agent: { hiddenFromAgents: true },
271
273
  request_schema: resendInviteBodySchema,
272
274
  handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, response }) {
273
275
  const data = body;
package/index.ts CHANGED
@@ -260,6 +260,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
260
260
  server.endpoint({
261
261
  method: 'POST',
262
262
  path: `/plugin/${this.pluginInstanceId}/set-password`,
263
+ agent: { hiddenFromAgents: true },
263
264
  noAuth: true,
264
265
  request_schema: setPasswordBodySchema,
265
266
  handler: async ({ body, response }) => {
@@ -333,6 +334,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
333
334
  server.endpoint({
334
335
  method: 'POST',
335
336
  path: `/plugin/${this.pluginInstanceId}/resend-invite`,
337
+ agent: { hiddenFromAgents: true },
336
338
  request_schema: resendInviteBodySchema,
337
339
  handler: async ({ body, adminUser, response }) => {
338
340
  const data = body as z.infer<typeof resendInviteBodySchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/email-invite",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -31,7 +31,7 @@
31
31
  "typescript": "^5.7.3"
32
32
  },
33
33
  "peerDependencies": {
34
- "adminforth": "^4.6.0"
34
+ "adminforth": "^4.7.3"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"