@kong-ui-public/analytics-chart 10.6.0 → 10.6.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"queryError.d.ts","sourceRoot":"","sources":["../../../src/utils/queryError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAI1C,eAAO,MAAM,gBAAgB,GAAI,OAAO,GAAG,KAAG,UA+B7C,CAAA"}
1
+ {"version":3,"file":"queryError.d.ts","sourceRoot":"","sources":["../../../src/utils/queryError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAI1C,eAAO,MAAM,gBAAgB,GAAI,OAAO,GAAG,KAAG,UAgC7C,CAAA"}
@@ -38,6 +38,9 @@ const Dm = "No data in the current time frame", km = "Once there is traffic, it
38
38
  timeout: {
39
39
  message: "Data request timed out",
40
40
  details: "We're sorry, the request timed out. Please consider using a shorter time period or try again later."
41
+ },
42
+ other: {
43
+ message: "Bad request"
41
44
  }
42
45
  }, zm = {
43
46
  datapointValueDisplay: "{value} {unit}"
@@ -13298,7 +13301,8 @@ const H1 = ({
13298
13301
  } : {
13299
13302
  status: n.status,
13300
13303
  type: "other",
13301
- message: ((a = (r = (s = n.response) == null ? void 0 : s.data) == null ? void 0 : r.invalid_parameters) == null ? void 0 : a.map((o) => o.reason).join(", ")) || (n == null ? void 0 : n.message)
13304
+ message: t.t("query_errors.other.message"),
13305
+ details: ((a = (r = (s = n.response) == null ? void 0 : s.data) == null ? void 0 : r.invalid_parameters) == null ? void 0 : a.map((o) => o.reason).join(", ")) || (n == null ? void 0 : n.message)
13302
13306
  };
13303
13307
  };
13304
13308
  function B1(n) {