You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(node): Allow for undefined transport to be passed in (#15560)
fixes#15558
The Node SDK init options allow for `transport` to be set as
`undefined`, but this breaks because of an error `TypeError:
options.transport is not a function`.
You can see a reproduction of this here:
https://stackblitz.com/edit/stackblitz-starters-phh3lfmy?file=index.ts
To fix this, we make sure we use `makeNodeTransport` if
`options.transport` is set to `undefined`.
0 commit comments