File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
packages/node/src/transports Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 30
30
- [ node] feat: Make node transactions a pluggable integration with tests
31
31
- [ node] feat: Transactions handling for RequestHandler in Express/Hapi
32
32
- [ node] fix: Dont wrap native modules more than once to prevent leaks
33
+ - [ node] fix: Add the same protocol as dsn to base transport option
33
34
- [ node] fix: Use getCurrentHub to retrieve correct hub in requestHandler
34
-
35
35
- [ utils] ref: implemented includes, assign and isNaN polyfills
36
36
37
37
## 4.0.6
Original file line number Diff line number Diff line change @@ -34,13 +34,15 @@ export abstract class BaseTransport implements Transport {
34
34
...this . options . headers ,
35
35
} ;
36
36
37
+ const dsn = this . api . getDsn ( ) ;
37
38
return {
38
39
agent : this . client ,
39
40
headers,
40
- hostname : this . api . getDsn ( ) . host ,
41
+ hostname : dsn . host ,
41
42
method : 'POST' ,
42
43
path : this . api . getStoreEndpointPath ( ) ,
43
- port : this . api . getDsn ( ) . port ,
44
+ port : dsn . port ,
45
+ protocol : dsn . protocol ,
44
46
} ;
45
47
}
46
48
You can’t perform that action at this time.
0 commit comments