The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
support identifier + bump version
Steven Tey742a1c930151
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/route.tsindex 7ee757364e..ed8f5f9d70 100644--- a/apps/web/app/api/workspaces/[idOrSlug]/route.ts+++ b/apps/web/app/api/workspaces/[idOrSlug]/route.ts@@ -77,6 +77,7 @@ export const PATCH = withWorkspace(waitUntil(dub.links.update(workspace.referralLinkId, {key: slug,+ identifier: slug,}),);}diff --git a/apps/web/lib/actions/generate-referral-link.ts b/apps/web/lib/actions/generate-referral-link.tsindex 40f242de11..e192c45721 100644--- a/apps/web/lib/actions/generate-referral-link.ts+++ b/apps/web/lib/actions/generate-referral-link.ts@@ -24,6 +24,7 @@ export const generateReferralLink = authActionClientexternalId: `ws_${workspace.id}`,tagIds: ["cm000srqx0004o6ldehod07zc"],trackConversion: true,+ identifier: workspace.slug,});await prisma.project.update({diff --git a/apps/web/lib/api/workspaces.ts b/apps/web/lib/api/workspaces.tsindex 5f134f604f..7d24aa4bbb 100644--- a/apps/web/lib/api/workspaces.ts+++ b/apps/web/lib/api/workspaces.ts@@ -116,6 +116,7 @@ export async function deleteWorkspace(dub.links.update(workspace.referralLinkId, {key: `/deleted/${workspace.slug}-${workspace.id}`,archived: true,+ identifier: `/deleted/${workspace.slug}-${workspace.id}`,}),// delete the workspaceprisma.project.delete({@@ -207,6 +208,7 @@ export async function deleteWorkspaceAdmin(dub.links.update(workspace.referralLinkId, {key: `/deleted/${workspace.slug}-${workspace.id}`,archived: true,+ identifier: `/deleted/${workspace.slug}-${workspace.id}`,}),// delete the workspaceprisma.project.delete({diff --git a/apps/web/package.json b/apps/web/package.jsonindex 8e0558eb29..19e3906d6f 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -63,7 +63,7 @@"csv-parse": "^5.5.6","d3-array": "^3.2.4","date-fns": "^3.6.0",- "dub": "^0.41.0",+ "dub": "^0.43.0","framer-motion": "^10.16.16","fuse.js": "^6.6.2","geist": "^1.3.1",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a5dd3324f8..550102f412 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -186,8 +186,8 @@ importers:specifier: ^3.6.0version: 3.6.0dub:- specifier: ^0.41.0- version: 0.41.0([email protected])+ specifier: ^0.43.0+ version: 0.43.0([email protected])framer-motion:specifier: ^10.16.16version: 10.18.0([email protected])([email protected])@@ -12053,8 +12053,8 @@ packages:resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==}engines: {node: '>=12'}- resolution: {integrity: sha512-G3jJZjt7trN61PRhYQsB9aVciuqSl4VdUHLfnDpgDvilgrwYT5NLQwVpbTfflxp7YkodH+VXqe+j7xeX2wvJxw==}+ resolution: {integrity: sha512-PxS0165fQqeMNDYdSbAAxc69WphtonAyVWh3IVbM0isdGfOeTNIX9gqqZ8ZZORr5/L4CVnipnip3+PRIlVu5Rg==}peerDependencies:zod: '>= 3'dependencies: