@adminforth/i18n 3.1.5 → 3.1.7

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
@@ -860,6 +860,7 @@ export default class I18nPlugin extends I18nBase {
860
860
  server.endpoint({
861
861
  method: 'POST',
862
862
  path: `/plugin/${this.pluginInstanceId}/update-field`,
863
+ agent: { hiddenFromAgents: true },
863
864
  request_schema: updateFieldBodySchema,
864
865
  handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, response }) {
865
866
  const data = body;
@@ -945,6 +946,7 @@ export default class I18nPlugin extends I18nBase {
945
946
  server.endpoint({
946
947
  method: 'POST',
947
948
  path: `/plugin/${this.pluginInstanceId}/get_filtered_ids`,
949
+ agent: { hiddenFromAgents: true },
948
950
  request_schema: getFilteredIdsBodySchema,
949
951
  handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, query, cookies, requestUrl, response }) {
950
952
  var _b, _c;
package/index.ts CHANGED
@@ -1071,6 +1071,7 @@ export default class I18nPlugin extends I18nBase<PluginOptions> {
1071
1071
  server.endpoint({
1072
1072
  method: 'POST',
1073
1073
  path: `/plugin/${this.pluginInstanceId}/update-field`,
1074
+ agent: { hiddenFromAgents: true },
1074
1075
  request_schema: updateFieldBodySchema,
1075
1076
  handler: async ({ body, adminUser, headers, response }) => {
1076
1077
  const data = body as z.infer<typeof updateFieldBodySchema>;
@@ -1175,6 +1176,7 @@ export default class I18nPlugin extends I18nBase<PluginOptions> {
1175
1176
  server.endpoint({
1176
1177
  method: 'POST',
1177
1178
  path: `/plugin/${this.pluginInstanceId}/get_filtered_ids`,
1179
+ agent: { hiddenFromAgents: true },
1178
1180
  request_schema: getFilteredIdsBodySchema,
1179
1181
  handler: async ({ body, adminUser, headers, query, cookies, requestUrl, response }) => {
1180
1182
  const resource = this.resourceConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -39,7 +39,7 @@
39
39
  "zod": "^4.3.6"
40
40
  },
41
41
  "peerDependencies": {
42
- "adminforth": "^4.5.0"
42
+ "adminforth": "^4.7.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^22.10.7",