@adminforth/many2many 2.0.0 → 2.0.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.
package/dist/index.js CHANGED
@@ -198,6 +198,7 @@ export default class ManyToManyPlugin extends AdminForthPlugin {
198
198
  server.endpoint({
199
199
  method: 'POST',
200
200
  path: `/plugin/${this.pluginInstanceId}/get-junctionResource-records`,
201
+ agent: { hiddenFromAgents: true },
201
202
  request_schema: getJunctionRecordsBodySchema,
202
203
  handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, response }) {
203
204
  const data = body;
package/index.ts CHANGED
@@ -200,6 +200,7 @@ export default class ManyToManyPlugin extends AdminForthPlugin {
200
200
  server.endpoint({
201
201
  method: 'POST',
202
202
  path: `/plugin/${this.pluginInstanceId}/get-junctionResource-records`,
203
+ agent: { hiddenFromAgents: true },
203
204
  request_schema: getJunctionRecordsBodySchema,
204
205
  handler: async ({ body, response }) => {
205
206
  const data = body as z.infer<typeof getJunctionRecordsBodySchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/many2many",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "latest",
52
- "adminforth": "^3.8.2",
52
+ "adminforth": "^4.7.3",
53
53
  "semantic-release": "^24.2.1",
54
54
  "semantic-release-slack-bot": "^4.0.2",
55
55
  "typescript": "^5.7.3"
56
56
  },
57
57
  "peerDependencies": {
58
- "adminforth": "^4.4.0"
58
+ "adminforth": "^4.7.3"
59
59
  }
60
60
  }