Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/loud-clocks-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/service-utils": patch
---

update nebula ratelimit type
5 changes: 4 additions & 1 deletion apps/dashboard/src/@/storybook/stubs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team {
},
nebula: {
enabled: true,
rateLimit: 1000,
rateLimit: {
perSecond: 1000,
perMinute: 1000,
},
},
pay: {
enabled: true,
Expand Down
5 changes: 4 additions & 1 deletion packages/service-utils/src/core/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ type TeamCapabilities = {
};
nebula: {
enabled: boolean;
rateLimit: number;
rateLimit: {
perSecond: number;
perMinute: number;
};
};
bundler: {
enabled: boolean;
Expand Down
5 changes: 4 additions & 1 deletion packages/service-utils/src/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ export const validTeamResponse: TeamResponse = {
},
nebula: {
enabled: true,
rateLimit: 1000,
rateLimit: {
perSecond: 1000,
perMinute: 1000,
},
},
pay: {
enabled: true,
Expand Down
Loading