unleash-server 4.20.2 → 4.20.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.
Files changed (21) hide show
  1. package/dist/lib/middleware/response-time-metrics.js +1 -1
  2. package/frontend/build/index.html +1 -1
  3. package/frontend/build/static/{CreateProject-97475ef8.js → CreateProject-f5c561c6.js} +1 -1
  4. package/frontend/build/static/{Error-47bbc1e3.js → Error-cf50f470.js} +1 -1
  5. package/frontend/build/static/{ExpandMore-d5c393f9.js → ExpandMore-fa515e9b.js} +1 -1
  6. package/frontend/build/static/{FeatureArchiveDialog-0efb69f6.js → FeatureArchiveDialog-9726aebb.js} +1 -1
  7. package/frontend/build/static/{FeatureMetricsChart-f577e092.js → FeatureMetricsChart-2099cc8f.js} +1 -1
  8. package/frontend/build/static/{FeatureViewLazyExport-d023143d.js → FeatureViewLazyExport-251c75f0.js} +2 -2
  9. package/frontend/build/static/{LazyAdminExport-2cab3449.js → LazyAdminExport-110237f4.js} +2 -2
  10. package/frontend/build/static/{LazyProjectExport-62a8eb83.js → LazyProjectExport-22be702f.js} +1 -1
  11. package/frontend/build/static/{NetworkOverview-09807f41.js → NetworkOverview-fa11486d.js} +63 -63
  12. package/frontend/build/static/{NetworkTraffic-c7c90326.js → NetworkTraffic-e401fa21.js} +1 -1
  13. package/frontend/build/static/{Playground-8cd49115.js → Playground-d443ad89.js} +1 -1
  14. package/frontend/build/static/{StrategyItemContainer-6aa38dcf.js → StrategyItemContainer-6834f121.js} +1 -1
  15. package/frontend/build/static/{chartjs-adapter-date-fns.esm-e4be009e.js → chartjs-adapter-date-fns.esm-25ba860d.js} +1 -1
  16. package/frontend/build/static/{index-923b0cb2.js → index-3efe35ce.js} +1 -1
  17. package/frontend/build/static/{index-fc944eb5.js → index-a09b079f.js} +9 -9
  18. package/frontend/build/static/{index-c8689262.js → index-ad851f89.js} +1 -1
  19. package/frontend/build/static/{unknownify-541cfbe3.js → unknownify-a62439db.js} +1 -1
  20. package/frontend/build/static/{useProjectRole-ea388364.js → useProjectRole-6f60c011.js} +1 -1
  21. package/package.json +1 -1
@@ -1 +1 @@
1
- import{cP as n,cR as s,cQ as o}from"./index-fc944eb5.js";function i(e,r){n(2,arguments);var a=s(e),t=o(r);return isNaN(t)?new Date(NaN):(t&&a.setDate(a.getDate()+t),a)}export{i as a};
1
+ import{cP as n,cR as s,cQ as o}from"./index-a09b079f.js";function i(e,r){n(2,arguments);var a=s(e),t=o(r);return isNaN(t)?new Date(NaN):(t&&a.setDate(a.getDate()+t),a)}export{i as a};
@@ -1 +1 @@
1
- import{a_ as r,aJ as a,r as o,aK as c}from"./index-fc944eb5.js";const u=(e={})=>{const{data:t,error:n,mutate:s}=r(a("api/admin/metrics/rps"),i,e);return o.useMemo(()=>({metrics:t,loading:!n&&!t,refetch:()=>s(),error:n}),[t,n,s])},i=e=>fetch(e).then(c("Instance Metrics")).then(t=>t.json()),f=e=>!e||e==="undefined"?"unknown":e;export{f as a,u};
1
+ import{a_ as r,aJ as a,r as o,aK as c}from"./index-a09b079f.js";const u=(e={})=>{const{data:t,error:n,mutate:s}=r(a("api/admin/metrics/rps"),i,e);return o.useMemo(()=>({metrics:t,loading:!n&&!t,refetch:()=>s(),error:n}),[t,n,s])},i=e=>fetch(e).then(c("Instance Metrics")).then(t=>t.json()),f=e=>!e||e==="undefined"?"unknown":e;export{f as a,u};
@@ -1 +1 @@
1
- import{dU as d,a_ as f,aJ as n,r as a,aK as c,cj as l,aI as j}from"./index-fc944eb5.js";const B=d(),G=B,g=t=>t.map(e=>({...e.user,joinedAt:new Date(e.joinedAt),createdBy:e.createdBy})),$=t=>{const{data:e,error:o,mutate:r}=f(n(`api/admin/groups/${t}`),x);return a.useMemo(()=>({group:e&&{...e,users:g((e==null?void 0:e.users)??[])},loading:!o&&!e,refetchGroup:()=>r(),error:o}),[e,o,r])},x=t=>fetch(t).then(c("Group")).then(e=>e.json()),R=(t,e={})=>{const o=()=>{const i=n(`api/admin/roles/${t}`);return fetch(i,{method:"GET"}).then(c("project role")).then(m=>m.json())},{data:r,error:s}=l({},`api/admin/roles/${t}`,o,e),[u,p]=a.useState(!s&&!r),h=()=>{j(`api/admin/roles/${t}`)};return a.useEffect(()=>{p(!s&&!r)},[r,s]),{role:r||{},error:s,loading:u,refetch:h}};export{G as B,R as a,g as m,$ as u};
1
+ import{dU as d,a_ as f,aJ as n,r as a,aK as c,cj as l,aI as j}from"./index-a09b079f.js";const B=d(),G=B,g=t=>t.map(e=>({...e.user,joinedAt:new Date(e.joinedAt),createdBy:e.createdBy})),$=t=>{const{data:e,error:o,mutate:r}=f(n(`api/admin/groups/${t}`),x);return a.useMemo(()=>({group:e&&{...e,users:g((e==null?void 0:e.users)??[])},loading:!o&&!e,refetchGroup:()=>r(),error:o}),[e,o,r])},x=t=>fetch(t).then(c("Group")).then(e=>e.json()),R=(t,e={})=>{const o=()=>{const i=n(`api/admin/roles/${t}`);return fetch(i,{method:"GET"}).then(c("project role")).then(m=>m.json())},{data:r,error:s}=l({},`api/admin/roles/${t}`,o,e),[u,p]=a.useState(!s&&!r),h=()=>{j(`api/admin/roles/${t}`)};return a.useEffect(()=>{p(!s&&!r)},[r,s]),{role:r||{},error:s,loading:u,refetch:h}};export{G as B,R as a,g as m,$ as u};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unleash-server",
3
3
  "description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
4
- "version": "4.20.2",
4
+ "version": "4.20.3",
5
5
  "keywords": [
6
6
  "unleash",
7
7
  "feature toggle",