Skip to content

Commit 1ef8fb5

Browse files
committed
feat(service-utils): analytics and social services
1 parent 64f4103 commit 1ef8fb5

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
Adds definitions for analytics and social services

packages/service-utils/src/core/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ export type ProjectResponse = {
8484
name: "nebula";
8585
actions: never[];
8686
}
87+
| {
88+
name: "analytics";
89+
actions: never[];
90+
}
91+
| {
92+
name: "social";
93+
actions: never[];
94+
}
8795
| {
8896
name: "bundler";
8997
actions: never[];

packages/service-utils/src/core/services.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@ export const SERVICE_DEFINITIONS = {
7373
// all actions allowed
7474
actions: [],
7575
},
76+
analytics: {
77+
name: "analytics",
78+
title: "Analytics",
79+
description: "Track usage across thirdweb services",
80+
// all actions allowed
81+
actions: [],
82+
},
83+
social: {
84+
name: "social",
85+
title: "Social",
86+
description: "Get social data across decentralized protocols",
87+
// all actions allowed
88+
actions: [],
89+
},
7690
} as const;
7791

7892
export const SERVICE_NAMES = Object.keys(

0 commit comments

Comments
 (0)