Skip to content

Commit

Permalink
Export unwrapped global fetch (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi authored Apr 11, 2024
1 parent 39d448c commit 0bfd65c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/strange-moose-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@microlabs/otel-cf-workers": minor
---

Export unwrapped global fetch for various advanced use cases
2 changes: 2 additions & 0 deletions src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,5 @@ export function instrumentDO(doClass: DOClass, config: ConfigurationOption) {
}

export { waitUntilTrace } from './instrumentation/fetch.js'

export const __unwrappedFetch = unwrap(fetch)

0 comments on commit 0bfd65c

Please sign in to comment.