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.

remove crisp

Steven Tey533005c3980b
diff --git a/apps/web/package.json b/apps/web/package.json
index c40f5f797a..613b000a12 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -51,7 +51,6 @@
"cmdk": "^0.2.0",
"cobe": "^0.6.3",
"concurrently": "^8.0.1",
- "crisp-sdk-web": "^1.0.19",
"d3-array": "^3.2.4",
"framer-motion": "^10.16.16",
"fuse.js": "^6.6.2",
diff --git a/apps/web/ui/layout/upgrade-banner.tsx b/apps/web/ui/layout/upgrade-banner.tsx
index 5671e69367..f98a0d625f 100644
--- a/apps/web/ui/layout/upgrade-banner.tsx
+++ b/apps/web/ui/layout/upgrade-banner.tsx
@@ -2,7 +2,6 @@
import useWorkspace from "@/lib/swr/use-workspace";
import { Badge, useRouterStuff } from "@dub/ui";
-import { Crisp } from "crisp-sdk-web";
import Cookies from "js-cookie";
import { useParams } from "next/navigation";
import { useEffect, useState } from "react";
@@ -16,13 +15,6 @@ export default function UpgradeBanner() {
useEffect(() => {
if (plan) {
- Crisp.session.setData({
- workspaceId: id,
- workspaceName: name,
- workspaceSlug: slug,
- plan,
- ...(stripeId && { stripeId }),
- });
/* show pro banner if:
- free plan
- not hidden by user for this workspace
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5bc6aaa725..1073da9f88 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -154,9 +154,6 @@ importers:
concurrently:
specifier: ^8.0.1
version: 8.0.1
- crisp-sdk-web:
- specifier: ^1.0.19
- version: 1.0.19
d3-array:
specifier: ^3.2.4
version: 3.2.4
@@ -1359,7 +1356,7 @@ packages:
'@babel/helper-compilation-targets': 7.22.15
'@babel/helper-module-transforms': 7.23.0(@babel/[email protected])
'@babel/helpers': 7.23.1
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/template': 7.22.15
'@babel/traverse': 7.23.0
'@babel/types': 7.23.0
@@ -1586,20 +1583,12 @@ packages:
chalk: 2.4.2
js-tokens: 4.0.0
- resolution: {integrity: sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==}
- engines: {node: '>=6.0.0'}
- hasBin: true
- dependencies:
- '@babel/types': 7.23.0
-
resolution: {integrity: sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==}
engines: {node: '>=6.0.0'}
hasBin: true
dependencies:
'@babel/types': 7.23.0
- dev: false
/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.15(@babel/[email protected]):
resolution: {integrity: sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==}
@@ -2731,7 +2720,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
'@babel/code-frame': 7.22.13
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/types': 7.23.0
@@ -2744,7 +2733,7 @@ packages:
'@babel/helper-function-name': 7.23.0
'@babel/helper-hoist-variables': 7.22.5
'@babel/helper-split-export-declaration': 7.22.6
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/types': 7.23.0
debug: 4.3.4
globals: 11.12.0
@@ -5959,7 +5948,7 @@ packages:
peerDependencies:
'@babel/preset-env': ^7.1.6
dependencies:
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/preset-env': 7.22.20(@babel/[email protected])
flow-parser: 0.206.0
jscodeshift: 0.14.0(@babel/[email protected])
@@ -7514,7 +7503,7 @@ packages:
'@vue/shared': 3.4.21
entities: 4.5.0
estree-walker: 2.0.2
- source-map-js: 1.0.2
+ source-map-js: 1.2.0
dev: false
@@ -7535,7 +7524,7 @@ packages:
estree-walker: 2.0.2
magic-string: 0.30.9
postcss: 8.4.38
- source-map-js: 1.0.2
+ source-map-js: 1.2.0
dev: false
@@ -8778,10 +8767,6 @@ packages:
parse-json: 4.0.0
dev: false
- resolution: {integrity: sha512-kV/MyXVnQrVUwO9Stb7bUYr34BnslVhb5UZTUAa/qz1LvTrKtCBu5SYHyIYDiC29CHKrVXPenVyerpH/ZvuF/g==}
- dev: false
-
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
engines: {node: '>= 8'}
@@ -8830,7 +8815,7 @@ packages:
engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
dependencies:
mdn-data: 2.0.30
- source-map-js: 1.0.2
+ source-map-js: 1.2.0
dev: false
@@ -11108,7 +11093,7 @@ packages:
'@babel/preset-env': ^7.1.6
dependencies:
'@babel/core': 7.23.0
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/plugin-proposal-class-properties': 7.18.6(@babel/[email protected])
'@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/[email protected])
'@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/[email protected])
@@ -11910,7 +11895,7 @@ packages:
dependencies:
'@babel/core': 7.23.0
'@babel/generator': 7.23.0
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/types': 7.23.0
babel-preset-fbjs: 3.4.0(@babel/[email protected])
metro: 0.76.8
@@ -11935,7 +11920,7 @@ packages:
'@babel/code-frame': 7.22.13
'@babel/core': 7.23.0
'@babel/generator': 7.23.0
- '@babel/parser': 7.23.0
+ '@babel/parser': 7.24.4
'@babel/template': 7.22.15
'@babel/traverse': 7.23.0
'@babel/types': 7.23.0
@@ -14659,7 +14644,7 @@ packages:
resolution: {integrity: sha512-rja94MNU9flF3qQRLNsu60QHKBDKBkVE1DldJZPIfn2ypIn3NV2WpSbGTQIvsyGPBo+9E2IMjwqnqpbgfWuzeg==}
dependencies:
- csstype: 3.1.2
+ csstype: 3.1.3
seroval: 1.0.5
seroval-plugins: 1.0.5([email protected])
dev: false