File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/transport/src/transports Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type R = Extract<
44
44
type IncompleteRequestOptions = {
45
45
params ?: string ;
46
46
body ?: any ;
47
- timeout ?: boolean ;
47
+ timeout ?: number ;
48
48
signal ?: AbortController [ 'signal' ] ;
49
49
} ;
50
50
@@ -171,7 +171,6 @@ export class BridgeTransport extends AbstractTransport {
171
171
172
172
const response = await this . post ( '/acquire' , {
173
173
params : `${ input . path } /${ previous } ` ,
174
- timeout : true ,
175
174
signal,
176
175
} ) ;
177
176
@@ -385,10 +384,8 @@ export class BridgeTransport extends AbstractTransport {
385
384
endpoint : BridgeEndpoint ,
386
385
options : IncompleteRequestOptions ,
387
386
) : AsyncResultWithTypedError < R , AnyError > {
388
- const { timeout, signal, ...restOptions } = options ;
389
-
390
387
const response = await bridgeApiCall ( {
391
- ...restOptions ,
388
+ ...options ,
392
389
method : 'POST' ,
393
390
url : `${ this . url + endpoint } ${ options ?. params ? `/${ options . params } ` : '' } ` ,
394
391
skipContentTypeHeader : true ,
You can’t perform that action at this time.
0 commit comments