Skip to content

Commit 9a98974

Browse files
authored
chore(vac): remove support for Verifiable Ad Conversions (#1622)
VAC has not been used by any campaigns for over 18 months. We are decommissioning support for this as first party analytics options have greatly improved. Remove: - ability to configure the advertiser public/private keys - ability to download and decrypt the VAC report Re brave/ads-serve#5315
1 parent 89ecb36 commit 9a98974

File tree

17 files changed

+293
-845
lines changed

17 files changed

+293
-845
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@
2424
"highcharts-react-official": "3.2.3",
2525
"immer": "11.1.3",
2626
"lodash": "4.17.21",
27-
"papaparse": "5.5.3",
2827
"react": "19.2.3",
2928
"react-dom": "19.2.3",
3029
"react-router-dom": "5.3.4",
3130
"react-window": "2.2.3",
3231
"swr": "2.3.8",
33-
"tweetnacl": "1.0.3",
3432
"yup": "1.7.1"
3533
},
3634
"scripts": {
@@ -58,7 +56,6 @@
5856
"@graphql-eslint/eslint-plugin": "4.4.0",
5957
"@parcel/watcher": "2.5.1",
6058
"@types/lodash": "4.17.21",
61-
"@types/papaparse": "5.5.2",
6259
"@types/react": "19.2.7",
6360
"@types/react-dom": "19.2.3",
6461
"@types/react-router-dom": "5.3.3",

pnpm-lock.yaml

Lines changed: 0 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/auth/components/AdvertiserDetailsForm.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ import _ from "lodash";
2020
import { useMutation, useQuery } from "@apollo/client";
2121
import { graphql } from "@/graphql-client/index";
2222

23-
export const Advertiser_Update = graphql(`
23+
const Advertiser_Update = graphql(`
2424
mutation UpdateAdvertiser($input: AdsManagerUpdateAdvertiserInput!) {
2525
adsManagerUpdateAdvertiser(adsManagerUpdateAdvertiserInput: $input) {
2626
id
27-
publicKey
2827
}
2928
}
3029
`);

src/auth/context/auth.interface.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export type IAdvertiser = {
88
selfServiceManageCampaign: boolean;
99
selfServiceSetPrice: boolean;
1010
selfServicePaymentType: PaymentType;
11-
publicKey?: string | null;
1211
agreed?: boolean;
1312
};
1413

src/auth/hooks/queries/useAdvertiser.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export function useAdvertiser(): {
1313
name: "",
1414
selfServiceManageCampaign: false,
1515
selfServiceSetPrice: false,
16-
publicKey: null,
1716
selfServicePaymentType: PaymentType.Stripe,
1817
};
1918

src/graphql-client/gql.ts

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)