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 dub

Steven Tey4acd7a2d85c7
diff --git a/apps/web/package.json b/apps/web/package.json
index d0ac4835ff..191a9abfe6 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -62,7 +62,7 @@
"csv-parse": "^5.5.6",
"d3-array": "^3.2.4",
"date-fns": "^3.6.0",
- "dub": "^0.43.0",
+ "dub": "^0.43.4",
"framer-motion": "^10.16.16",
"fuse.js": "^6.6.2",
"geist": "^1.3.1",
diff --git a/apps/web/scripts/dub-sdk.ts b/apps/web/scripts/dub-sdk.ts
index 13037605fc..83fa62b345 100644
--- a/apps/web/scripts/dub-sdk.ts
+++ b/apps/web/scripts/dub-sdk.ts
@@ -3,9 +3,9 @@ import "dotenv-flow/config";
async function main() {
const data = await dub.analytics.retrieve({
- domain: "dub.link",
event: "clicks",
- groupBy: "trigger",
+ groupBy: "triggers",
+ interval: "30d",
});
console.log({ data });
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d7406b2da9..c184af0c32 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -183,8 +183,8 @@ importers:
specifier: ^3.6.0
version: 3.6.0
dub:
- specifier: ^0.43.0
- version: 0.43.0([email protected])
+ specifier: ^0.43.4
+ version: 0.43.4([email protected])
framer-motion:
specifier: ^10.16.16
@@ -12438,20 +12438,20 @@ packages:
resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==}
engines: {node: '>=12'}
resolution: {integrity: sha512-PxS0165fQqeMNDYdSbAAxc69WphtonAyVWh3IVbM0isdGfOeTNIX9gqqZ8ZZORr5/L4CVnipnip3+PRIlVu5Rg==}
peerDependencies:
zod: '>= 3'
dependencies:
- zod: 3.22.4
+ zod: 3.23.8
dev: false
- resolution: {integrity: sha512-PxS0165fQqeMNDYdSbAAxc69WphtonAyVWh3IVbM0isdGfOeTNIX9gqqZ8ZZORr5/L4CVnipnip3+PRIlVu5Rg==}
+ resolution: {integrity: sha512-HqNnCFgWy9PWvYUrLGDvjba4mqGpjkc+x74yaHhVG5Cm2gTQiIF7kmfUDmz6GOog/Gc9S3C0PicjmqgbMBgbaw==}
peerDependencies:
zod: '>= 3'
dependencies:
- zod: 3.23.8
+ zod: 3.22.4
dev: false