@adminforth/rich-editor 3.0.1 → 3.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
@@ -222,6 +222,7 @@ export default class RichEditorPlugin extends AdminForthPlugin {
222
222
  server.endpoint({
223
223
  method: 'POST',
224
224
  path: `/plugin/${this.pluginInstanceId}/doComplete`,
225
+ agent: { hiddenFromAgents: true },
225
226
  request_schema: doCompleteBodySchema,
226
227
  handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, headers, response }) {
227
228
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
package/index.ts CHANGED
@@ -279,6 +279,7 @@ export default class RichEditorPlugin extends AdminForthPlugin {
279
279
  server.endpoint({
280
280
  method: 'POST',
281
281
  path: `/plugin/${this.pluginInstanceId}/doComplete`,
282
+ agent: { hiddenFromAgents: true },
282
283
  request_schema: doCompleteBodySchema,
283
284
  handler: async ({ body, headers, response }) => {
284
285
  const data = body as z.infer<typeof doCompleteBodySchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/rich-editor",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Rich editor plugin for adminforth",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "zod": "^4.3.6"
28
28
  },
29
29
  "peerDependencies": {
30
- "adminforth": "^4.4.0"
30
+ "adminforth": "^4.7.3"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^22.10.7",