Skip to content

Commit

Permalink
[service-utils] Export UsageV2 helpers (#6047)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcoraven authored Jan 24, 2025
1 parent 6ba3b30 commit 7a8e4e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-lamps-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/service-utils": patch
---

Export usageV2 util functions
1 change: 1 addition & 0 deletions packages/service-utils/src/cf-worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import type { AuthorizationResult } from "../core/authorize/types.js";
import type { CoreAuthInput } from "../core/types.js";

export * from "./usage.js";
export * from "./usageV2.js";
export * from "../core/services.js";
export * from "../core/rateLimit/index.js";

Expand Down
3 changes: 3 additions & 0 deletions packages/service-utils/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ import type {
} from "../core/authorize/index.js";
import type { AuthorizationResult } from "../core/authorize/types.js";
import type { CoreAuthInput } from "../core/types.js";

export * from "./usageV2.js";
export * from "../core/usage.js";
export * from "../core/rateLimit/index.js";
export * from "../core/services.js";

type NodeServiceConfig = CoreServiceConfig;

export type AuthInput = CoreAuthInput & {
Expand Down

0 comments on commit 7a8e4e5

Please sign in to comment.