@dub/utils 0.1.41 → 0.1.43
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/array-equal-0d176fdd.d.ts +5 -0
- package/dist/chunk-2YQGBO42.mjs +1 -0
- package/dist/chunk-33JSAYXN.mjs +1 -0
- package/dist/chunk-34AC467Q.mjs +1 -0
- package/dist/chunk-3GGDHAQF.mjs +1 -0
- package/dist/chunk-3JERNHY5.mjs +1 -0
- package/dist/chunk-3MZSAMDX.mjs +1 -0
- package/dist/chunk-4CEDE2HT.mjs +1 -0
- package/dist/chunk-4HNC5KLG.mjs +1 -0
- package/dist/chunk-4JGAGWHK.mjs +1 -0
- package/dist/chunk-52NREKQ5.mjs +1 -0
- package/dist/chunk-5A2WXDC7.mjs +1 -0
- package/dist/chunk-5GEHYMSS.mjs +1 -0
- package/dist/chunk-5P2WRPDS.mjs +1 -0
- package/dist/chunk-6DI3M7CC.mjs +1 -0
- package/dist/chunk-A7FPKBWM.mjs +1 -0
- package/dist/chunk-B7SDPR74.mjs +1 -0
- package/dist/chunk-BDTHIHEN.mjs +1 -0
- package/dist/chunk-BHVDAWE3.mjs +1 -0
- package/dist/chunk-C43TOQ6V.mjs +1 -0
- package/dist/chunk-C4ZZCTBS.mjs +1 -0
- package/dist/chunk-C5CCX7UU.mjs +1 -0
- package/dist/chunk-DBZTL6DQ.mjs +1 -0
- package/dist/chunk-EG7CQZB2.mjs +1 -0
- package/dist/chunk-F7PMPUPD.mjs +1 -0
- package/dist/chunk-FLCTULRA.mjs +1 -0
- package/dist/chunk-FPEONOSR.mjs +1 -0
- package/dist/chunk-G4UCUOPL.mjs +1 -0
- package/dist/chunk-HPM64JED.mjs +1 -0
- package/dist/chunk-HS3HCTIB.mjs +1 -0
- package/dist/chunk-I6FYFLGP.mjs +1 -0
- package/dist/chunk-JQN4TZGC.mjs +1 -0
- package/dist/chunk-JWZPQ7AZ.mjs +1 -0
- package/dist/chunk-KFJ53CXX.mjs +1 -0
- package/dist/chunk-KUKIXH74.mjs +1 -0
- package/dist/chunk-MPFVI4HG.mjs +1 -0
- package/dist/chunk-N4C55YLP.mjs +1 -0
- package/dist/chunk-NEOALMSR.mjs +1 -0
- package/dist/chunk-NMCTLNKB.mjs +1 -0
- package/dist/chunk-NWAHYP3U.mjs +1 -0
- package/dist/chunk-OK2IIIHV.mjs +1 -0
- package/dist/chunk-PDOQRRI7.mjs +1 -0
- package/dist/chunk-PFXABZIY.mjs +1 -0
- package/dist/chunk-QRB7SV6T.mjs +1 -0
- package/dist/chunk-RRVBMEYA.mjs +1 -0
- package/dist/chunk-SLR6RTU4.mjs +1 -0
- package/dist/chunk-T37JOXGN.mjs +1 -0
- package/dist/chunk-TLZG7W6P.mjs +1 -0
- package/dist/chunk-U7PCGLBS.mjs +1 -0
- package/dist/chunk-UITN2IYB.mjs +1 -0
- package/dist/chunk-UTUVUSR2.mjs +1 -0
- package/dist/chunk-VDR6RV37.mjs +1 -0
- package/dist/chunk-VGAOLKHW.mjs +1 -0
- package/dist/chunk-WC2W7FXC.mjs +1 -0
- package/dist/chunk-WE4QRVBL.mjs +1 -0
- package/dist/chunk-WZ4QCKO3.mjs +1 -0
- package/dist/chunk-YISJCKQ5.mjs +1 -0
- package/dist/chunk-ZP22YVWL.mjs +1 -0
- package/dist/constants/continents.d.ts +4 -1
- package/dist/constants/continents.mjs +1 -1
- package/dist/constants/dub-domains.mjs +1 -1
- package/dist/constants/index.d.ts +4 -4
- package/dist/constants/index.mjs +1 -1
- package/dist/constants/main.d.ts +2 -1
- package/dist/constants/main.mjs +1 -1
- package/dist/constants/misc.d.ts +2 -2
- package/dist/constants/misc.mjs +1 -1
- package/dist/constants/reserved-slugs.mjs +1 -1
- package/dist/email-c988b488.d.ts +6 -0
- package/dist/functions/array-equal.d.ts +5 -0
- package/dist/functions/array-equal.mjs +1 -0
- package/dist/functions/currency-formatter.d.ts +4 -1
- package/dist/functions/currency-formatter.mjs +1 -1
- package/dist/functions/datetime/format-period.mjs +1 -1
- package/dist/functions/datetime/index.mjs +1 -1
- package/dist/functions/domains.mjs +1 -1
- package/dist/functions/email.d.ts +6 -0
- package/dist/functions/email.mjs +1 -0
- package/dist/functions/index.d.ts +1 -0
- package/dist/functions/index.mjs +1 -1
- package/dist/functions/link-constructor.mjs +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.mjs +1 -1
- package/dist/plan-compare-3b93271c.d.ts +970 -0
- package/dist/plan-compare-80ee3d07.d.ts +972 -0
- package/dist/plan-compare-820f0cec.d.ts +929 -0
- package/dist/plan-compare-a7a32216.d.ts +927 -0
- package/dist/plan-compare-f383058f.d.ts +969 -0
- package/dist/plan-compare-f4165dc2.d.ts +928 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-MY66K6YB.mjs";import{Fragment as s,jsx as r,jsxs as i}from"react/jsx-runtime";var g=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(s,{children:[r("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/docs/concepts/deep-links/quickstart"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Unlimited partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:t})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:t.name==="Enterprise"?"Unlimited":`$${n(t.limits.payouts/100)}`})," ","partner payouts",t.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:t})=>e==="free"||e==="pro"?"No partner rewards":i(s,{children:[r("strong",{children:t.name==="Business"?"Basic":"Advanced"})," ","partner rewards"]}),href:"https://dub.co/help/article/partner-rewards"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Dual-sided incentives",href:"https://dub.co/help/article/dual-sided-incentives"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"AI landing page generator",href:"https://dub.co/help/article/program-landing-page"},{check:{default:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"},{check:{default:!1,advanced:!0,enterprise:!0},text:"Email campaigns (beta)"},{check:{default:!1,advanced:!0,enterprise:!0},text:"Fraud & risk prevention"},{check:{default:!1,enterprise:!0},text:"Partner network access"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>r(s,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(s,{children:["Premium ",r("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(s,{children:["Free ",r("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:t})=>i(s,{children:[r("strong",{children:e==="enterprise"?"Custom":n(t.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>r(s,{children:r("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(s,{children:[r("strong",{children:"Dedicated"})," success manager"]})}]}];var d=["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"],o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co/docs/concepts/deep-links/quickstart"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:[...d,"price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],u=o.find(e=>e.name==="Free"),f=o.find(e=>e.name==="Pro"),y=o.find(e=>e.name==="Business"),P=o.find(e=>e.name==="Advanced"),h=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),E=2,A=e=>o.find(t=>{var c;return(c=t.price.ids)==null?void 0:c.includes(e)})||null,w=e=>h.find(t=>t.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(t=>t.name.toLowerCase()===e.toLowerCase())||u,v=e=>{if(!e)return f;let t=e.toLowerCase().split(" ")[0];return o[Math.min(o.findIndex(c=>c.name.toLowerCase()===t)+1,o.length-1)]},J=(e,t)=>{let c=o.findIndex(l=>l.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(l=>l.name.toLowerCase()===t.toLowerCase());return c>p},_=(e,t)=>e==="business"&&t===0;export{g as a,d as b,o as c,u as d,f as e,y as f,P as g,h,E as i,A as j,w as k,L as l,v as m,J as n,_ as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-CP4WO7MM.mjs";import{a as p}from"./chunk-IHX4EDUF.mjs";function E({domain:r,key:o,pretty:x,searchParams:m}){if(!r)return"";let t=`https://${p(r)}${o&&o!=="_root"?`/${p(o)}`:""}`;if(m){let f=new URLSearchParams;for(let[n,i]of Object.entries(m))f.set(n,i);t+=`?${f.toString()}`}return x?t.replace(/^https?:\/\//,""):t}function w({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var cr=r=>!r.periodStart||!r.periodEnd?"-":`${e(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${e(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{cr as a,E as b,w as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-MY66K6YB.mjs";import{Fragment as s,jsx as r,jsxs as i}from"react/jsx-runtime";var x=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(s,{children:[r("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/docs/concepts/deep-links/quickstart"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Unlimited partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:t})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:t.name==="Enterprise"?"Unlimited":`$${n(t.limits.payouts/100)}`})," ","partner payouts",t.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:t})=>e==="free"||e==="pro"?"No partner rewards":i(s,{children:[r("strong",{children:t.name==="Business"?"Basic":"Advanced"})," ","partner rewards"]}),href:"https://dub.co/help/article/partner-rewards"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Dual-sided incentives",href:"https://dub.co/help/article/dual-sided-incentives"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"AI landing page generator",href:"https://dub.co/help/article/program-landing-page"},{check:{default:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"},{check:{default:!1,advanced:!0,enterprise:!0},text:"Email campaigns (beta)"},{check:{default:!1,advanced:!0,enterprise:!0},text:"Fraud & risk prevention"},{check:{default:!1,enterprise:!0},text:"Partner network access"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>r(s,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(s,{children:["Premium ",r("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(s,{children:["Free ",r("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:t})=>i(s,{children:[r("strong",{children:e==="enterprise"?"Custom":n(t.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>r(s,{children:r("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(s,{children:[r("strong",{children:"Dedicated"})," success manager"]})}]}];var p=["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"],d=["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"],P=[...p,...d],o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:[...p,"price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{id:"dotlink",text:"Free .link domain",tooltip:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co/docs/concepts/deep-links/quickstart"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:[...d,"price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:5e5,clicks:5e6,payouts:a,domains:250,tags:a,folders:a,users:30,ai:1e3,api:3e3,retention:"Unlimited"}}],f=o.find(e=>e.name==="Free"),h=o.find(e=>e.name==="Pro"),E=o.find(e=>e.name==="Business"),_=o.find(e=>e.name==="Advanced"),m=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),A=2,w=e=>o.find(t=>{var c;return(c=t.price.ids)==null?void 0:c.includes(e)})||null,L=e=>m.find(t=>t.name.toLowerCase()===e.toLowerCase()),v=e=>o.find(t=>t.name.toLowerCase()===e.toLowerCase())||f,J=e=>{if(!e)return h;let t=e.toLowerCase().split(" ")[0];return o[Math.min(o.findIndex(c=>c.name.toLowerCase()===t)+1,o.length-1)]},R=(e,t)=>{let c=o.findIndex(l=>l.name.toLowerCase()===e.toLowerCase()),u=o.findIndex(l=>l.name.toLowerCase()===t.toLowerCase());return c>u},q=(e,t)=>e==="business"&&t===0;export{x as a,p as b,d as c,P as d,o as e,f,h as g,E as h,_ as i,m as j,A as k,w as l,L as m,v as n,J as o,R as p,q};
|
|
@@ -2,5 +2,8 @@ declare const CONTINENTS: {
|
|
|
2
2
|
[key: string]: string;
|
|
3
3
|
};
|
|
4
4
|
declare const CONTINENT_CODES: [string, ...string[]];
|
|
5
|
+
declare const COUNTRIES_TO_CONTINENTS: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
5
8
|
|
|
6
|
-
export { CONTINENTS, CONTINENT_CODES };
|
|
9
|
+
export { CONTINENTS, CONTINENT_CODES, COUNTRIES_TO_CONTINENTS };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-RRVBMEYA.mjs";export{a as CONTINENTS,b as CONTINENT_CODES,c as COUNTRIES_TO_CONTINENTS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-4JGAGWHK.mjs";import"../chunk-C5CCX7UU.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ccTLDs } from './cctlds.js';
|
|
2
2
|
export { CONNECT_SUPPORTED_COUNTRIES } from './connect-supported-countries.js';
|
|
3
|
-
export { CONTINENTS, CONTINENT_CODES } from './continents.js';
|
|
3
|
+
export { CONTINENTS, CONTINENT_CODES, COUNTRIES_TO_CONTINENTS } from './continents.js';
|
|
4
4
|
export { COUNTRIES, COUNTRY_CODES, EU_COUNTRY_CODES } from './countries.js';
|
|
5
5
|
export { COUNTRY_PHONE_CODES } from './country-phone-codes.js';
|
|
6
6
|
export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS } from './domains.js';
|
|
@@ -9,11 +9,11 @@ export { FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, TAB_ITEM_ANIM
|
|
|
9
9
|
export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID } from './integrations.js';
|
|
10
10
|
export { ALL_TOOLS } from './layout.js';
|
|
11
11
|
export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './localhost.js';
|
|
12
|
-
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './main.js';
|
|
12
|
+
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_LOGO_SQUARE, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './main.js';
|
|
13
13
|
export { DEFAULT_REDIRECTS, DUB_HEADERS, REDIRECTION_QUERY_PARAM } from './middleware.js';
|
|
14
|
-
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT,
|
|
14
|
+
export { DEFAULT_LINK_PROPS, DUB_FOUNDING_DATE, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, TWO_WEEKS_IN_SECONDS } from './misc.js';
|
|
15
15
|
export { PAYPAL_SUPPORTED_COUNTRIES, PAYPAL_SUPPORTED_COUNTRIES_FULL } from './paypal-supported-countries.js';
|
|
16
|
-
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan, j as isLegacyBusinessPlan } from '../plan-compare-
|
|
16
|
+
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, N as NEW_BUSINESS_PRICE_IDS, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan, j as isLegacyBusinessPlan } from '../plan-compare-3b93271c.js';
|
|
17
17
|
export { REGIONS, REGION_CODES } from './regions.js';
|
|
18
18
|
export { RESERVED_SLUGS } from './reserved-slugs.js';
|
|
19
19
|
export { SAML_PROVIDERS } from './saml.js';
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as fa,b as ga,c as ha,d as ia,e as ja,f as ka,g as la,h as ma,i as na,j as oa,k as pa,l as qa,m as ra,n as sa,o as ta}from"../chunk-VDR6RV37.mjs";import"../chunk-NWFCCRLG.mjs";import{a as da,b as ea}from"../chunk-2N7XAD3K.mjs";import{a as ua,b as va}from"../chunk-KQ4NF54J.mjs";import{a as wa}from"../chunk-B7SDPR74.mjs";import{a as xa}from"../chunk-6MXH6P2P.mjs";import{a as K,b as L,c as M}from"../chunk-L3IOBXLP.mjs";import{a as N,b as O,c as P,d as Q,e as R}from"../chunk-YICE6QF7.mjs";import{a as S}from"../chunk-PYD75RYX.mjs";import{a as T,b as U}from"../chunk-2OGPCKQX.mjs";import{a as V,b as W,c as X}from"../chunk-DEIZ6NOQ.mjs";import{a as Y,b as Z,c as _,d as $,e as aa,f as ba,g as ca}from"../chunk-2YQGBO42.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-JO76EBDG.mjs";import{a as c,b as d,c as e}from"../chunk-RRVBMEYA.mjs";import{a as f,b as g,c as h}from"../chunk-6YGW3G46.mjs";import{a as i}from"../chunk-CELI6EJU.mjs";import{a as j,b as k}from"../chunk-SYT2IXG6.mjs";import{a as H,b as I,c as J}from"../chunk-4JGAGWHK.mjs";import{a as l,b as m,c as n,d as o,e as p,f as q,g as r,h as s,i as t,j as u,k as v,l as w,m as x,n as y,o as z,p as A,q as B,r as C,s as D,t as E,u as F,v as G}from"../chunk-C5CCX7UU.mjs";export{D as ACME_PROGRAM_ID,C as ACME_WORKSPACE_ID,s as ADMIN_HOSTNAMES,la as ADVANCED_PLAN,S as ALL_TOOLS,r as API_DOMAIN,q as API_HOSTNAMES,o as APP_DOMAIN,p as APP_DOMAIN_WITH_NGROK,n as APP_HOSTNAMES,l as APP_NAME,ka as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,f as COUNTRIES,e as COUNTRIES_TO_CONTINENTS,g as COUNTRY_CODES,i as COUNTRY_PHONE_CODES,Y as DEFAULT_LINK_PROPS,V as DEFAULT_REDIRECTS,J as DUB_DEMO_LINKS,H as DUB_DOMAINS,I as DUB_DOMAINS_ARRAY,ba as DUB_FOUNDING_DATE,W as DUB_HEADERS,w as DUB_LOGO,x as DUB_LOGO_SQUARE,y as DUB_QR_LOGO,A as DUB_THUMBNAIL,z as DUB_WORDMARK,B as DUB_WORKSPACE_ID,h as EU_COUNTRY_CODES,K as FRAMER_MOTION_LIST_ITEM_VARIANTS,ia as FREE_PLAN,na as FREE_WORKSPACES_LIMIT,Z as GOOGLE_FAVICON_URL,ca as INFINITY_NUMBER,F as LEGAL_USER_ID,E as LEGAL_WORKSPACE_ID,T as LOCALHOST_GEO_DATA,U as LOCALHOST_IP,ga as NEW_BUSINESS_PRICE_IDS,_ as OG_AVATAR_URL,$ as PAGINATION_LIMIT,u as PARTNERS_DOMAIN,v as PARTNERS_DOMAIN_WITH_NGROK,t as PARTNERS_HOSTNAMES,ea as PAYPAL_SUPPORTED_COUNTRIES,da as PAYPAL_SUPPORTED_COUNTRIES_FULL,ha as PLANS,fa as PLAN_COMPARE_FEATURES,ja as PRO_PLAN,G as R2_URL,X as REDIRECTION_QUERY_PARAM,ua as REGIONS,va as REGION_CODES,wa as RESERVED_SLUGS,xa as SAML_PROVIDERS,j as SECOND_LEVEL_DOMAINS,P as SEGMENT_INTEGRATION_ID,ma as SELF_SERVE_PAID_PLANS,R as SHOPIFY_INTEGRATION_ID,m as SHORT_DOMAIN,N as SLACK_INTEGRATION_ID,k as SPECIAL_APEX_DOMAINS,L as STAGGER_CHILD_VARIANTS,O as STRIPE_INTEGRATION_ID,M as TAB_ITEM_ANIMATION_SETTINGS,aa as TWO_WEEKS_IN_SECONDS,Q as ZAPIER_INTEGRATION_ID,a as ccTLDs,qa as getCurrentPlan,ra as getNextPlan,pa as getPlanDetails,oa as getPlanFromPriceId,sa as isDowngradePlan,ta as isLegacyBusinessPlan};
|
package/dist/constants/main.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const PARTNERS_HOSTNAMES: Set<string>;
|
|
|
10
10
|
declare const PARTNERS_DOMAIN: string;
|
|
11
11
|
declare const PARTNERS_DOMAIN_WITH_NGROK: string;
|
|
12
12
|
declare const DUB_LOGO = "https://assets.dub.co/logo.png";
|
|
13
|
+
declare const DUB_LOGO_SQUARE = "https://assets.dub.co/logo-square.png";
|
|
13
14
|
declare const DUB_QR_LOGO = "https://assets.dub.co/logo.png";
|
|
14
15
|
declare const DUB_WORDMARK = "https://assets.dub.co/wordmark.png";
|
|
15
16
|
declare const DUB_THUMBNAIL = "https://assets.dub.co/thumbnail.jpg";
|
|
@@ -20,4 +21,4 @@ declare const LEGAL_WORKSPACE_ID = "clrflia0j0000vs7sqfhz9c7q";
|
|
|
20
21
|
declare const LEGAL_USER_ID = "clqei1lgc0000vsnzi01pbf47";
|
|
21
22
|
declare const R2_URL: string;
|
|
22
23
|
|
|
23
|
-
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN };
|
|
24
|
+
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_LOGO_SQUARE, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN };
|
package/dist/constants/main.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v}from"../chunk-C5CCX7UU.mjs";export{s as ACME_PROGRAM_ID,r as ACME_WORKSPACE_ID,h as ADMIN_HOSTNAMES,g as API_DOMAIN,f as API_HOSTNAMES,d as APP_DOMAIN,e as APP_DOMAIN_WITH_NGROK,c as APP_HOSTNAMES,a as APP_NAME,l as DUB_LOGO,m as DUB_LOGO_SQUARE,n as DUB_QR_LOGO,p as DUB_THUMBNAIL,o as DUB_WORDMARK,q as DUB_WORKSPACE_ID,u as LEGAL_USER_ID,t as LEGAL_WORKSPACE_ID,j as PARTNERS_DOMAIN,k as PARTNERS_DOMAIN_WITH_NGROK,i as PARTNERS_HOSTNAMES,v as R2_URL,b as SHORT_DOMAIN};
|
package/dist/constants/misc.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare const GOOGLE_FAVICON_URL = "https://www.google.com/s2/favicons?sz=64&dom
|
|
|
3
3
|
declare const OG_AVATAR_URL = "https://api.dub.co/og/avatar/";
|
|
4
4
|
declare const PAGINATION_LIMIT = 100;
|
|
5
5
|
declare const TWO_WEEKS_IN_SECONDS: number;
|
|
6
|
-
declare const
|
|
6
|
+
declare const DUB_FOUNDING_DATE: Date;
|
|
7
7
|
declare const INFINITY_NUMBER = 1000000000;
|
|
8
8
|
|
|
9
|
-
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT,
|
|
9
|
+
export { DEFAULT_LINK_PROPS, DUB_FOUNDING_DATE, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, TWO_WEEKS_IN_SECONDS };
|
package/dist/constants/misc.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../chunk-2YQGBO42.mjs";export{a as DEFAULT_LINK_PROPS,f as DUB_FOUNDING_DATE,b as GOOGLE_FAVICON_URL,g as INFINITY_NUMBER,c as OG_AVATAR_URL,d as PAGINATION_LIMIT,e as TWO_WEEKS_IN_SECONDS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-B7SDPR74.mjs";export{a as RESERVED_SLUGS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-52NREKQ5.mjs";export{a as arrayEqual};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
interface CurrencyFormatterOptions extends Intl.NumberFormatOptions {
|
|
2
|
+
trailingZeroDisplay?: "auto" | "stripIfInteger";
|
|
3
|
+
}
|
|
4
|
+
declare const currencyFormatter: (value: number, options?: CurrencyFormatterOptions) => string;
|
|
2
5
|
|
|
3
6
|
export { currencyFormatter };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-T37JOXGN.mjs";export{a as currencyFormatter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-YISJCKQ5.mjs";import"../../chunk-MP5IS4V2.mjs";import"../../chunk-HR4YFT2T.mjs";import"../../chunk-AQPTJK67.mjs";import"../../chunk-KIDNKMJ2.mjs";import"../../chunk-STMJW3HF.mjs";import"../../chunk-CP4WO7MM.mjs";import"../../chunk-2XEQCQCO.mjs";import"../../chunk-53SZZ2QK.mjs";import"../../chunk-UWXN5NEH.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-RFDM4NES.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-MOOMLN2C.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-VQH3G3BC.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-VZT64RAP.mjs";import"../../chunk-T37JOXGN.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-C43TOQ6V.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-UCO6SXQA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-52NREKQ5.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-VDR6RV37.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-2N7XAD3K.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B7SDPR74.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-DEIZ6NOQ.mjs";import"../../chunk-2YQGBO42.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-RRVBMEYA.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-4JGAGWHK.mjs";import"../../chunk-C5CCX7UU.mjs";export{a as formatPeriod};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"../../chunk-
|
|
1
|
+
import{a as h}from"../../chunk-YISJCKQ5.mjs";import{a as j}from"../../chunk-MP5IS4V2.mjs";import{a as k}from"../../chunk-HR4YFT2T.mjs";import{a as l}from"../../chunk-AQPTJK67.mjs";import{a,b,c}from"../../chunk-KIDNKMJ2.mjs";import{a as e}from"../../chunk-STMJW3HF.mjs";import{a as d}from"../../chunk-CP4WO7MM.mjs";import{a as g}from"../../chunk-2XEQCQCO.mjs";import{a as f}from"../../chunk-53SZZ2QK.mjs";import{a as i}from"../../chunk-UWXN5NEH.mjs";import"../../chunk-RONJDARA.mjs";import"../../chunk-3Q25XO3O.mjs";import"../../chunk-Y37NQHZ4.mjs";import"../../chunk-PPEZOXLP.mjs";import"../../chunk-NQP6WK7A.mjs";import"../../chunk-MPU6JRPV.mjs";import"../../chunk-E3EM6ARH.mjs";import"../../chunk-FKLXONKR.mjs";import"../../chunk-RFDM4NES.mjs";import"../../chunk-OWYWG4M6.mjs";import"../../chunk-GRNEXX4Q.mjs";import"../../chunk-EHUYHMHD.mjs";import"../../chunk-MOOMLN2C.mjs";import"../../chunk-IHX4EDUF.mjs";import"../../chunk-VQH3G3BC.mjs";import"../../chunk-ZTPDEOIY.mjs";import"../../chunk-E5KCWRHJ.mjs";import"../../chunk-F4P6WJV7.mjs";import"../../chunk-JKFE3UP3.mjs";import"../../chunk-NZ4UYKAT.mjs";import"../../chunk-WKSJXYEU.mjs";import"../../chunk-NEIHTFSW.mjs";import"../../chunk-HJD7AJT4.mjs";import"../../chunk-VZT64RAP.mjs";import"../../chunk-T37JOXGN.mjs";import"../../chunk-ZECUYKGD.mjs";import"../../chunk-C43TOQ6V.mjs";import"../../chunk-H4ELSETA.mjs";import"../../chunk-UCO6SXQA.mjs";import"../../chunk-EMO4MGOU.mjs";import"../../chunk-52NREKQ5.mjs";import"../../chunk-ORB6LTBV.mjs";import"../../chunk-PMOQSSOL.mjs";import"../../chunk-2OJAP233.mjs";import"../../chunk-VDR6RV37.mjs";import"../../chunk-NWFCCRLG.mjs";import"../../chunk-2N7XAD3K.mjs";import"../../chunk-KQ4NF54J.mjs";import"../../chunk-B7SDPR74.mjs";import"../../chunk-6MXH6P2P.mjs";import"../../chunk-L3IOBXLP.mjs";import"../../chunk-YICE6QF7.mjs";import"../../chunk-PYD75RYX.mjs";import"../../chunk-2OGPCKQX.mjs";import"../../chunk-DEIZ6NOQ.mjs";import"../../chunk-2YQGBO42.mjs";import"../../chunk-YUMUNL66.mjs";import"../../chunk-JO76EBDG.mjs";import"../../chunk-RRVBMEYA.mjs";import"../../chunk-6YGW3G46.mjs";import"../../chunk-CELI6EJU.mjs";import"../../chunk-SYT2IXG6.mjs";import"../../chunk-4JGAGWHK.mjs";import"../../chunk-C5CCX7UU.mjs";export{d as formatDate,e as formatDateSmart,f as formatDateTime,g as formatDateTimeSmart,h as formatPeriod,b as getAdjustedBillingCycleStart,c as getBillingStartDate,i as getDateTimeLocal,j as getDaysDifference,k as getFirstAndLastDay,a as getLastDayOfMonth,l as parseDateTime};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../chunk-C43TOQ6V.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-VDR6RV37.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-2N7XAD3K.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B7SDPR74.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-2YQGBO42.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-RRVBMEYA.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-4JGAGWHK.mjs";import"../chunk-C5CCX7UU.mjs";export{a as generateDomainFromName,e as getApexDomain,f as getDomainWithoutWWW,d as getSubdomain,g as isDubDomain,b as validDomainRegex,c as validSlugRegex};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-JWZPQ7AZ.mjs";export{a as destructureEmail};
|
package/dist/functions/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as q,b as $,c as aa}from"../chunk-YISJCKQ5.mjs";import{a as s}from"../chunk-MP5IS4V2.mjs";import{a as t}from"../chunk-HR4YFT2T.mjs";import{a as u}from"../chunk-AQPTJK67.mjs";import{a as j,b as k,c as l}from"../chunk-KIDNKMJ2.mjs";import{a as n}from"../chunk-STMJW3HF.mjs";import{a as m}from"../chunk-CP4WO7MM.mjs";import{a as p}from"../chunk-2XEQCQCO.mjs";import{a as o}from"../chunk-53SZZ2QK.mjs";import{a as r}from"../chunk-UWXN5NEH.mjs";import{a as ja}from"../chunk-RONJDARA.mjs";import{a as ka}from"../chunk-3Q25XO3O.mjs";import{a as la}from"../chunk-Y37NQHZ4.mjs";import{a as na}from"../chunk-PPEZOXLP.mjs";import{a as oa}from"../chunk-NQP6WK7A.mjs";import{a as pa}from"../chunk-MPU6JRPV.mjs";import{a as qa}from"../chunk-E3EM6ARH.mjs";import{a as ma}from"../chunk-FKLXONKR.mjs";import{a as ba}from"../chunk-RFDM4NES.mjs";import{a as ca}from"../chunk-OWYWG4M6.mjs";import{a as da}from"../chunk-GRNEXX4Q.mjs";import{a as ea}from"../chunk-EHUYHMHD.mjs";import{a as fa,b as ga}from"../chunk-MOOMLN2C.mjs";import{a as ha,b as ia}from"../chunk-IHX4EDUF.mjs";import{a as S}from"../chunk-VQH3G3BC.mjs";import{a as T}from"../chunk-ZTPDEOIY.mjs";import{a as U}from"../chunk-E5KCWRHJ.mjs";import{a as V}from"../chunk-F4P6WJV7.mjs";import{a as W}from"../chunk-JKFE3UP3.mjs";import{a as X}from"../chunk-NZ4UYKAT.mjs";import{a as Y,b as Z,c as _}from"../chunk-WKSJXYEU.mjs";import{a as f}from"../chunk-NEIHTFSW.mjs";import{a as g}from"../chunk-HJD7AJT4.mjs";import{a as h}from"../chunk-VZT64RAP.mjs";import{a as i}from"../chunk-T37JOXGN.mjs";import{a as v}from"../chunk-ZECUYKGD.mjs";import{a as J,b as K,c as L,d as M,e as N,f as O,g as P}from"../chunk-C43TOQ6V.mjs";import{a as w,b as x,c as y,d as z,e as A,f as B,g as C,h as D,i as E,j as F,k as G,l as H,m as I}from"../chunk-H4ELSETA.mjs";import{a as Q}from"../chunk-UCO6SXQA.mjs";import{a as R}from"../chunk-EMO4MGOU.mjs";import{a as b}from"../chunk-52NREKQ5.mjs";import{a as c}from"../chunk-ORB6LTBV.mjs";import{a as d}from"../chunk-PMOQSSOL.mjs";import{a as e}from"../chunk-2OJAP233.mjs";import"../chunk-VDR6RV37.mjs";import{a}from"../chunk-NWFCCRLG.mjs";import"../chunk-2N7XAD3K.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B7SDPR74.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-2YQGBO42.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-RRVBMEYA.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-4JGAGWHK.mjs";import"../chunk-C5CCX7UU.mjs";export{D as UTMTags,b as arrayEqual,d as capitalize,e as chunk,f as cn,g as combineWords,h as constructMetadata,E as constructURLFromUTMParams,I as createHref,i as currencyFormatter,v as deepEqual,Q as fetchWithRetry,R as fetchWithTimeout,S as fetcher,m as formatDate,n as formatDateSmart,o as formatDateTime,p as formatDateTimeSmart,T as formatFileSize,q as formatPeriod,J as generateDomainFromName,U as generateRandomString,k as getAdjustedBillingCycleStart,N as getApexDomain,l as getBillingStartDate,r as getDateTimeLocal,s as getDaysDifference,O as getDomainWithoutWWW,t as getFirstAndLastDay,j as getLastDayOfMonth,C as getParamsFromURL,H as getPrettyUrl,A as getSearchParams,B as getSearchParamsWithArray,M as getSubdomain,x as getUrlFromString,z as getUrlFromStringIfValid,y as getUrlObjFromString,G as getUrlWithoutUTMParams,V as hashStringSHA256,W as isClickOnInteractiveChild,P as isDubDomain,fa as isFulfilled,X as isIframeable,ga as isRejected,_ as isReservedKeyGlobal,Z as isUnsupportedKey,w as isValidUrl,$ as linkConstructor,aa as linkConstructorSimple,ba as log,a as nFormatter,ca as nanoid,da as normalizeString,F as paramsMetadata,u as parseDateTime,ea as pluralize,ia as punyEncode,ha as punycode,ja as randomValue,ka as regexEscape,la as resizeImage,na as smartTruncate,oa as stableSort,pa as timeAgo,c as toCamelCase,qa as trim,ma as truncate,K as validDomainRegex,Y as validKeyRegex,L as validSlugRegex};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b}from"../chunk-
|
|
1
|
+
import{b as a,c as b}from"../chunk-YISJCKQ5.mjs";import"../chunk-MP5IS4V2.mjs";import"../chunk-HR4YFT2T.mjs";import"../chunk-AQPTJK67.mjs";import"../chunk-KIDNKMJ2.mjs";import"../chunk-STMJW3HF.mjs";import"../chunk-CP4WO7MM.mjs";import"../chunk-2XEQCQCO.mjs";import"../chunk-53SZZ2QK.mjs";import"../chunk-UWXN5NEH.mjs";import"../chunk-RONJDARA.mjs";import"../chunk-3Q25XO3O.mjs";import"../chunk-Y37NQHZ4.mjs";import"../chunk-PPEZOXLP.mjs";import"../chunk-NQP6WK7A.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-E3EM6ARH.mjs";import"../chunk-FKLXONKR.mjs";import"../chunk-RFDM4NES.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-GRNEXX4Q.mjs";import"../chunk-EHUYHMHD.mjs";import"../chunk-MOOMLN2C.mjs";import"../chunk-IHX4EDUF.mjs";import"../chunk-VQH3G3BC.mjs";import"../chunk-ZTPDEOIY.mjs";import"../chunk-E5KCWRHJ.mjs";import"../chunk-F4P6WJV7.mjs";import"../chunk-JKFE3UP3.mjs";import"../chunk-NZ4UYKAT.mjs";import"../chunk-WKSJXYEU.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-HJD7AJT4.mjs";import"../chunk-VZT64RAP.mjs";import"../chunk-T37JOXGN.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-C43TOQ6V.mjs";import"../chunk-H4ELSETA.mjs";import"../chunk-UCO6SXQA.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-52NREKQ5.mjs";import"../chunk-ORB6LTBV.mjs";import"../chunk-PMOQSSOL.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-VDR6RV37.mjs";import"../chunk-NWFCCRLG.mjs";import"../chunk-2N7XAD3K.mjs";import"../chunk-KQ4NF54J.mjs";import"../chunk-B7SDPR74.mjs";import"../chunk-6MXH6P2P.mjs";import"../chunk-L3IOBXLP.mjs";import"../chunk-YICE6QF7.mjs";import"../chunk-PYD75RYX.mjs";import"../chunk-2OGPCKQX.mjs";import"../chunk-DEIZ6NOQ.mjs";import"../chunk-2YQGBO42.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-JO76EBDG.mjs";import"../chunk-RRVBMEYA.mjs";import"../chunk-6YGW3G46.mjs";import"../chunk-CELI6EJU.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-4JGAGWHK.mjs";import"../chunk-C5CCX7UU.mjs";export{a as linkConstructor,b as linkConstructorSimple};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ccTLDs } from './constants/cctlds.js';
|
|
2
2
|
export { CONNECT_SUPPORTED_COUNTRIES } from './constants/connect-supported-countries.js';
|
|
3
|
-
export { CONTINENTS, CONTINENT_CODES } from './constants/continents.js';
|
|
3
|
+
export { CONTINENTS, CONTINENT_CODES, COUNTRIES_TO_CONTINENTS } from './constants/continents.js';
|
|
4
4
|
export { COUNTRIES, COUNTRY_CODES, EU_COUNTRY_CODES } from './constants/countries.js';
|
|
5
5
|
export { COUNTRY_PHONE_CODES } from './constants/country-phone-codes.js';
|
|
6
6
|
export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS } from './constants/domains.js';
|
|
@@ -9,14 +9,15 @@ export { FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, TAB_ITEM_ANIM
|
|
|
9
9
|
export { SEGMENT_INTEGRATION_ID, SHOPIFY_INTEGRATION_ID, SLACK_INTEGRATION_ID, STRIPE_INTEGRATION_ID, ZAPIER_INTEGRATION_ID } from './constants/integrations.js';
|
|
10
10
|
export { ALL_TOOLS } from './constants/layout.js';
|
|
11
11
|
export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './constants/localhost.js';
|
|
12
|
-
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './constants/main.js';
|
|
12
|
+
export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_LOGO_SQUARE, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './constants/main.js';
|
|
13
13
|
export { DEFAULT_REDIRECTS, DUB_HEADERS, REDIRECTION_QUERY_PARAM } from './constants/middleware.js';
|
|
14
|
-
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT,
|
|
14
|
+
export { DEFAULT_LINK_PROPS, DUB_FOUNDING_DATE, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, TWO_WEEKS_IN_SECONDS } from './constants/misc.js';
|
|
15
15
|
export { PAYPAL_SUPPORTED_COUNTRIES, PAYPAL_SUPPORTED_COUNTRIES_FULL } from './constants/paypal-supported-countries.js';
|
|
16
|
-
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan, j as isLegacyBusinessPlan } from './plan-compare-
|
|
16
|
+
export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, N as NEW_BUSINESS_PRICE_IDS, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan, j as isLegacyBusinessPlan } from './plan-compare-3b93271c.js';
|
|
17
17
|
export { REGIONS, REGION_CODES } from './constants/regions.js';
|
|
18
18
|
export { RESERVED_SLUGS } from './constants/reserved-slugs.js';
|
|
19
19
|
export { SAML_PROVIDERS } from './constants/saml.js';
|
|
20
|
+
export { arrayEqual } from './functions/array-equal.js';
|
|
20
21
|
export { toCamelCase } from './functions/camel-case.js';
|
|
21
22
|
export { capitalize } from './functions/capitalize.js';
|
|
22
23
|
export { chunk } from './functions/chunk.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as Oa,b as xb,c as yb}from"./chunk-YISJCKQ5.mjs";import{a as Qa}from"./chunk-MP5IS4V2.mjs";import{a as Ra}from"./chunk-HR4YFT2T.mjs";import{a as Sa}from"./chunk-AQPTJK67.mjs";import{a as Ha,b as Ia,c as Ja}from"./chunk-KIDNKMJ2.mjs";import{a as La}from"./chunk-STMJW3HF.mjs";import{a as Ka}from"./chunk-CP4WO7MM.mjs";import{a as Na}from"./chunk-2XEQCQCO.mjs";import{a as Ma}from"./chunk-53SZZ2QK.mjs";import{a as Pa}from"./chunk-UWXN5NEH.mjs";import{a as Hb}from"./chunk-RONJDARA.mjs";import{a as Ib}from"./chunk-3Q25XO3O.mjs";import{a as Jb}from"./chunk-Y37NQHZ4.mjs";import{a as Lb}from"./chunk-PPEZOXLP.mjs";import{a as Mb}from"./chunk-NQP6WK7A.mjs";import{a as Nb}from"./chunk-MPU6JRPV.mjs";import{a as Ob}from"./chunk-E3EM6ARH.mjs";import{a as Kb}from"./chunk-FKLXONKR.mjs";import{a as zb}from"./chunk-RFDM4NES.mjs";import{a as Ab}from"./chunk-OWYWG4M6.mjs";import{a as Bb}from"./chunk-GRNEXX4Q.mjs";import{a as Cb}from"./chunk-EHUYHMHD.mjs";import{a as Db,b as Eb}from"./chunk-MOOMLN2C.mjs";import{a as Fb,b as Gb}from"./chunk-IHX4EDUF.mjs";import{a as ob}from"./chunk-VQH3G3BC.mjs";import{a as pb}from"./chunk-ZTPDEOIY.mjs";import{a as qb}from"./chunk-E5KCWRHJ.mjs";import{a as rb}from"./chunk-F4P6WJV7.mjs";import{a as sb}from"./chunk-JKFE3UP3.mjs";import{a as tb}from"./chunk-NZ4UYKAT.mjs";import{a as ub,b as vb,c as wb}from"./chunk-WKSJXYEU.mjs";import{a as Da}from"./chunk-NEIHTFSW.mjs";import{a as Ea}from"./chunk-HJD7AJT4.mjs";import{a as Fa}from"./chunk-VZT64RAP.mjs";import{a as Ga}from"./chunk-T37JOXGN.mjs";import{a as Ta}from"./chunk-ZECUYKGD.mjs";import{a as fb,b as gb,c as hb,d as ib,e as jb,f as kb,g as lb}from"./chunk-C43TOQ6V.mjs";import{a as Ua,b as Va,c as Wa,d as Xa,e as Ya,f as Za,g as _a,h as $a,i as ab,j as bb,k as cb,l as db,m as eb}from"./chunk-H4ELSETA.mjs";import{a as mb}from"./chunk-UCO6SXQA.mjs";import{a as nb}from"./chunk-EMO4MGOU.mjs";import{a as za}from"./chunk-52NREKQ5.mjs";import{a as Aa}from"./chunk-ORB6LTBV.mjs";import{a as Ba}from"./chunk-PMOQSSOL.mjs";import{a as Ca}from"./chunk-2OJAP233.mjs";import{a as ga,b as ha,c as ia,d as ja,e as ka,f as la,g as ma,h as na,i as oa,j as pa,k as qa,l as ra,m as sa,n as ta,o as ua}from"./chunk-VDR6RV37.mjs";import{a as fa}from"./chunk-NWFCCRLG.mjs";import{a as da,b as ea}from"./chunk-2N7XAD3K.mjs";import{a as va,b as wa}from"./chunk-KQ4NF54J.mjs";import{a as xa}from"./chunk-B7SDPR74.mjs";import{a as ya}from"./chunk-6MXH6P2P.mjs";import{a as K,b as L,c as M}from"./chunk-L3IOBXLP.mjs";import{a as N,b as O,c as P,d as Q,e as R}from"./chunk-YICE6QF7.mjs";import{a as S}from"./chunk-PYD75RYX.mjs";import{a as T,b as U}from"./chunk-2OGPCKQX.mjs";import{a as V,b as W,c as X}from"./chunk-DEIZ6NOQ.mjs";import{a as Y,b as Z,c as _,d as $,e as aa,f as ba,g as ca}from"./chunk-2YQGBO42.mjs";import{a}from"./chunk-YUMUNL66.mjs";import{a as b}from"./chunk-JO76EBDG.mjs";import{a as c,b as d,c as e}from"./chunk-RRVBMEYA.mjs";import{a as f,b as g,c as h}from"./chunk-6YGW3G46.mjs";import{a as i}from"./chunk-CELI6EJU.mjs";import{a as j,b as k}from"./chunk-SYT2IXG6.mjs";import{a as H,b as I,c as J}from"./chunk-4JGAGWHK.mjs";import{a as l,b as m,c as n,d as o,e as p,f as q,g as r,h as s,i as t,j as u,k as v,l as w,m as x,n as y,o as z,p as A,q as B,r as C,s as D,t as E,u as F,v as G}from"./chunk-C5CCX7UU.mjs";export{D as ACME_PROGRAM_ID,C as ACME_WORKSPACE_ID,s as ADMIN_HOSTNAMES,ma as ADVANCED_PLAN,S as ALL_TOOLS,r as API_DOMAIN,q as API_HOSTNAMES,o as APP_DOMAIN,p as APP_DOMAIN_WITH_NGROK,n as APP_HOSTNAMES,l as APP_NAME,la as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,f as COUNTRIES,e as COUNTRIES_TO_CONTINENTS,g as COUNTRY_CODES,i as COUNTRY_PHONE_CODES,Y as DEFAULT_LINK_PROPS,V as DEFAULT_REDIRECTS,J as DUB_DEMO_LINKS,H as DUB_DOMAINS,I as DUB_DOMAINS_ARRAY,ba as DUB_FOUNDING_DATE,W as DUB_HEADERS,w as DUB_LOGO,x as DUB_LOGO_SQUARE,y as DUB_QR_LOGO,A as DUB_THUMBNAIL,z as DUB_WORDMARK,B as DUB_WORKSPACE_ID,h as EU_COUNTRY_CODES,K as FRAMER_MOTION_LIST_ITEM_VARIANTS,ja as FREE_PLAN,oa as FREE_WORKSPACES_LIMIT,Z as GOOGLE_FAVICON_URL,ca as INFINITY_NUMBER,F as LEGAL_USER_ID,E as LEGAL_WORKSPACE_ID,T as LOCALHOST_GEO_DATA,U as LOCALHOST_IP,ha as NEW_BUSINESS_PRICE_IDS,_ as OG_AVATAR_URL,$ as PAGINATION_LIMIT,u as PARTNERS_DOMAIN,v as PARTNERS_DOMAIN_WITH_NGROK,t as PARTNERS_HOSTNAMES,ea as PAYPAL_SUPPORTED_COUNTRIES,da as PAYPAL_SUPPORTED_COUNTRIES_FULL,ia as PLANS,ga as PLAN_COMPARE_FEATURES,ka as PRO_PLAN,G as R2_URL,X as REDIRECTION_QUERY_PARAM,va as REGIONS,wa as REGION_CODES,xa as RESERVED_SLUGS,ya as SAML_PROVIDERS,j as SECOND_LEVEL_DOMAINS,P as SEGMENT_INTEGRATION_ID,na as SELF_SERVE_PAID_PLANS,R as SHOPIFY_INTEGRATION_ID,m as SHORT_DOMAIN,N as SLACK_INTEGRATION_ID,k as SPECIAL_APEX_DOMAINS,L as STAGGER_CHILD_VARIANTS,O as STRIPE_INTEGRATION_ID,M as TAB_ITEM_ANIMATION_SETTINGS,aa as TWO_WEEKS_IN_SECONDS,$a as UTMTags,Q as ZAPIER_INTEGRATION_ID,za as arrayEqual,Ba as capitalize,a as ccTLDs,Ca as chunk,Da as cn,Ea as combineWords,Fa as constructMetadata,ab as constructURLFromUTMParams,eb as createHref,Ga as currencyFormatter,Ta as deepEqual,mb as fetchWithRetry,nb as fetchWithTimeout,ob as fetcher,Ka as formatDate,La as formatDateSmart,Ma as formatDateTime,Na as formatDateTimeSmart,pb as formatFileSize,Oa as formatPeriod,fb as generateDomainFromName,qb as generateRandomString,Ia as getAdjustedBillingCycleStart,jb as getApexDomain,Ja as getBillingStartDate,ra as getCurrentPlan,Pa as getDateTimeLocal,Qa as getDaysDifference,kb as getDomainWithoutWWW,Ra as getFirstAndLastDay,Ha as getLastDayOfMonth,sa as getNextPlan,_a as getParamsFromURL,qa as getPlanDetails,pa as getPlanFromPriceId,db as getPrettyUrl,Ya as getSearchParams,Za as getSearchParamsWithArray,ib as getSubdomain,Va as getUrlFromString,Xa as getUrlFromStringIfValid,Wa as getUrlObjFromString,cb as getUrlWithoutUTMParams,rb as hashStringSHA256,sb as isClickOnInteractiveChild,ta as isDowngradePlan,lb as isDubDomain,Db as isFulfilled,tb as isIframeable,ua as isLegacyBusinessPlan,Eb as isRejected,wb as isReservedKeyGlobal,vb as isUnsupportedKey,Ua as isValidUrl,xb as linkConstructor,yb as linkConstructorSimple,zb as log,fa as nFormatter,Ab as nanoid,Bb as normalizeString,bb as paramsMetadata,Sa as parseDateTime,Cb as pluralize,Gb as punyEncode,Fb as punycode,Hb as randomValue,Ib as regexEscape,Jb as resizeImage,Lb as smartTruncate,Mb as stableSort,Nb as timeAgo,Aa as toCamelCase,Ob as trim,Kb as truncate,gb as validDomainRegex,ub as validKeyRegex,hb as validSlugRegex};
|