diff --git a/.changeset/young-bulldogs-teach.md b/.changeset/young-bulldogs-teach.md new file mode 100644 index 00000000000..c78947f2f56 --- /dev/null +++ b/.changeset/young-bulldogs-teach.md @@ -0,0 +1,5 @@ +--- +"@thirdweb-dev/service-utils": patch +--- + +Export extractAuthorizationData for CF Workers diff --git a/packages/service-utils/src/cf-worker/index.ts b/packages/service-utils/src/cf-worker/index.ts index f035861a2c5..3ef2786b681 100644 --- a/packages/service-utils/src/cf-worker/index.ts +++ b/packages/service-utils/src/cf-worker/index.ts @@ -73,7 +73,7 @@ export async function authorizeWorker( }); } -async function extractAuthorizationData( +export async function extractAuthorizationData( authInput: AuthInput, ): Promise { const requestUrl = new URL(authInput.req.url);