@kuzntsv/uikit 1.0.105 → 1.0.106

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.
@@ -5299,7 +5299,10 @@ function uniqueCodeValidator(field, formSchema, options) {
5299
5299
  return {
5300
5300
  url: `${options.endpoint}${divider}${encodeURIComponent(code)}`,
5301
5301
  method: "GET",
5302
- options: { headers: new HttpHeaders().set(X_SKIP_NOTIFICATION, "true").set(X_SKIP_LOADER, "true") }
5302
+ options: { headers: new HttpHeaders({
5303
+ [X_SKIP_NOTIFICATION]: "true",
5304
+ [X_SKIP_LOADER]: "true"
5305
+ }) }
5303
5306
  };
5304
5307
  },
5305
5308
  onSuccess: (foundEntity, { value, valueOf }) => {
@@ -5331,7 +5334,10 @@ function uniqueNameValidator(field, formSchema, options) {
5331
5334
  return {
5332
5335
  url: `${options.endpoint}${divider}${encodeURIComponent(name)}`,
5333
5336
  method: "GET",
5334
- options: { headers: new HttpHeaders().set(X_SKIP_NOTIFICATION, "true").set(X_SKIP_LOADER, "true") }
5337
+ options: { headers: new HttpHeaders({
5338
+ [X_SKIP_NOTIFICATION]: "true",
5339
+ [X_SKIP_LOADER]: "true"
5340
+ }) }
5335
5341
  };
5336
5342
  },
5337
5343
  onSuccess: (foundEntity, { value, valueOf }) => {