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.

externalId → customerExternalId

Steven Teyeb96f800f7db
diff --git a/apps/web/lib/auth/track-lead.ts b/apps/web/lib/auth/track-lead.ts
index 9e9d97cb9f..2308fc92dd 100644
--- a/apps/web/lib/auth/track-lead.ts
+++ b/apps/web/lib/auth/track-lead.ts
@@ -14,7 +14,7 @@ export const trackLead = async (user: User) => {
await dub.track.lead({
clickId,
eventName: "Sign Up",
- externalId: user.id,
+ customerExternalId: user.id,
customerName: user.name,
customerEmail: user.email,
customerAvatar: user.image,
diff --git a/apps/web/package.json b/apps/web/package.json
index 2456447971..2c1a8a231a 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -68,7 +68,7 @@
"cmdk": "^1.1.1",
"concurrently": "^8.0.1",
"date-fns": "^3.6.0",
- "dub": "^0.63.6",
+ "dub": "^0.64.1",
"fast-xml-parser": "^5.0.6",
"file-type": "^20.4.1",
"framer-motion": "^10.16.16",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6695420cc6..06194cf50c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -194,8 +194,8 @@ importers:
specifier: ^3.6.0
version: 3.6.0
dub:
- specifier: ^0.63.6
- version: 0.63.6([email protected])
+ specifier: ^0.64.1
+ version: 0.64.1([email protected])
fast-xml-parser:
specifier: ^5.0.6
version: 5.0.6
@@ -6022,12 +6022,12 @@ packages:
peerDependencies:
zod: '>= 3'
- resolution: {integrity: sha512-4iAJvOtj5MegRqsSpUc2H9Prvgh95vidGGEHXYrJO6bLUQ4TSfQwoRei+WdKJohV0t4klhEj4ruQx2olefMzuA==}
+ resolution: {integrity: sha512-IXeoWN3lPBwMASvH+b/J8HQgQZI1dUfH/4pbLwvOXIioMVBBS2X+YwsX6c1MkZoUk0PsF6PoZNjahiNRMKpIyQ==}
hasBin: true
peerDependencies:
'@modelcontextprotocol/sdk': '>=1.5.0 <1.10.0'
- zod: '>= 3'
+ zod: ^3
peerDependenciesMeta:
'@modelcontextprotocol/sdk':
optional: true
@@ -16735,7 +16735,7 @@ snapshots:
dependencies:
zod: 3.23.8
dependencies:
zod: 3.22.4