mtxuilib 0.0.558 → 0.0.560

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,2 +0,0 @@
1
- export declare const ssrGetBackendUrl: () => string;
2
- export declare const getSelfbackendUrl: () => string;
@@ -1 +0,0 @@
1
- import{cookies as n}from"next/headers";import{MTM_SERVER_COOKIE_ACTIVATE_SELFBACKEND_URL as E,MTM_SERVER_COOKIE_ACTIVATE_URL as c}from"../consts";const v=()=>{var t,r;const e=(t=n().get(c))==null?void 0:t.value;return e||((r=process==null?void 0:process.env)!=null&&r.MTM_BACKEND?process.env.MTM_BACKEND:process.env.VERCEL_URL?`https://${process.env.VERCEL_URL}`:"https://localhost")},R=()=>{var r,s,o;const e=(r=n().get(E))==null?void 0:r.value;return e||((s=process==null?void 0:process.env)!=null&&s.MTM_SELFBACKEND?process.env.MTM_SELFBACKEND:process.env.VERCEL_URL?`https://${process.env.VERCEL_URL}`:`http://localhost:${((o=process.env)==null?void 0:o.PORT)||3e3}`)};export{R as getSelfbackendUrl,v as ssrGetBackendUrl};