Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

bump packages

Steven Tey43400f5855fd
diff --git a/apps/web/app/api/providers/route.ts b/apps/web/app/api/providers/route.ts
index 1714e45beb..ec9ac97ef3 100644
--- a/apps/web/app/api/providers/route.ts
+++ b/apps/web/app/api/providers/route.ts
@@ -42,6 +42,9 @@ export async function GET(req: NextRequest) {
urlObject.pathname = "/xyz";
const headers = await fetchWithTimeout(urlObject.toString(), {
+ headers: {
+ method: "HEAD",
+ },
redirect: "manual",
})
.then((r) => ({
diff --git a/packages/utils/package.json b/packages/utils/package.json
index 40559b3ffc..3e1f79a9f8 100644
--- a/packages/utils/package.json
+++ b/packages/utils/package.json
@@ -1,7 +1,7 @@
{
"name": "@dub/utils",
"description": "Utility functions and constants for Dub",
- "version": "0.1.38",
+ "version": "0.1.41",
"sideEffects": false,
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
diff --git a/packages/utils/src/constants/plan-compare.tsx b/packages/utils/src/constants/plan-compare.tsx
index 38482d7a5d..7442968709 100644
--- a/packages/utils/src/constants/plan-compare.tsx
+++ b/packages/utils/src/constants/plan-compare.tsx
@@ -98,7 +98,7 @@ export const PLAN_COMPARE_FEATURES: {
default: true,
},
text: "Deep links",
- href: "https://dub.co/help/article/custom-domain-deep-links",
+ href: "https://dub.co/docs/concepts/deep-links/quickstart",
},
{
check: {
@@ -164,6 +164,16 @@ export const PLAN_COMPARE_FEATURES: {
},
text: "Unlimited partners",
},
+ {
+ check: {
+ default: false,
+ business: true,
+ advanced: true,
+ enterprise: true,
+ },
+ text: "Automated global payouts",
+ href: "https://dub.co/help/article/partner-payouts",
+ },
{
check: {
default: false,
@@ -186,16 +196,6 @@ export const PLAN_COMPARE_FEATURES: {
</>
),
},
- {
- check: {
- default: false,
- business: true,
- advanced: true,
- enterprise: true,
- },
- text: "Automated global payouts",
- href: "https://dub.co/help/article/partner-payouts",
- },
{
check: {
default: false,
@@ -235,7 +235,44 @@ export const PLAN_COMPARE_FEATURES: {
{
check: {
default: false,
- business: false,
+ business: true,
+ advanced: true,
+ enterprise: true,
+ },
+ text: ({ id, plan }) =>
+ id === "free" || id === "pro" ? (
+ "No partner rewards"
+ ) : (
+ <>
+ <strong>{plan.name === "Business" ? "Basic" : "Advanced"}</strong>{" "}
+ partner rewards
+ </>
+ ),
+ href: "https://dub.co/help/article/partner-rewards",
+ },
+ {
+ check: {
+ default: false,
+ business: true,
+ advanced: true,
+ enterprise: true,
+ },
+ text: "Dual-sided incentives",
+ href: "https://dub.co/help/article/dual-sided-incentives",
+ },
+ {
+ check: {
+ default: false,
+ business: true,
+ advanced: true,
+ enterprise: true,
+ },
+ text: "AI landing page generator",
+ href: "https://dub.co/help/article/program-landing-page",
+ },
+ {
+ check: {
+ default: false,
advanced: true,
enterprise: true,
},
@@ -245,13 +282,35 @@ export const PLAN_COMPARE_FEATURES: {
{
check: {
default: false,
- business: false,
advanced: true,
enterprise: true,
},
text: "Partners API",
href: "https://dub.co/docs/api-reference/endpoint/create-a-partner",
},
+ {
+ check: {
+ default: false,
+ advanced: true,
+ enterprise: true,
+ },
+ text: "Email campaigns (beta)",
+ },
+ {
+ check: {
+ default: false,
+ advanced: true,
+ enterprise: true,
+ },
+ text: "Fraud & risk prevention",
+ },
+ {
+ check: {
+ default: false,
+ enterprise: true,
+ },
+ text: "Partner network access",
+ },
],
},
{
@@ -429,13 +488,6 @@ export const PLAN_COMPARE_FEATURES: {
text: "SAML/SSO",
href: "https://dub.co/help/category/saml-sso",
},
- {
- check: {
- default: false,
- enterprise: true,
- },
- text: "Custom SLA",
- },
{
check: {
default: false,
diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsx
index 65e8acdc56..034b4cde2d 100644
--- a/packages/utils/src/constants/pricing.tsx
+++ b/packages/utils/src/constants/pricing.tsx
@@ -112,7 +112,7 @@ export const PLANS = [
title:
"Redirect users to a specific page within your mobile application using deep links.",
cta: "Learn more.",
- href: "https://dub.co//help/article/custom-domain-deep-links",
+ href: "https://dub.co/docs/concepts/deep-links/quickstart",
},
},
] as PlanFeature[],