File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import {
11
11
type SeamHttpOptionsWithClient ,
12
12
type SeamHttpOptionsWithClientSessionToken ,
13
13
} from './client-options.js'
14
- import { SeamHttpLegacyWorkspaces } from './legacy/workspaces.js'
15
14
import { parseOptions } from './parse-options.js'
16
15
import {
17
16
SeamHttpAccessCodes ,
@@ -32,11 +31,11 @@ import {
32
31
export class SeamHttp {
33
32
client : Axios
34
33
35
- #legacy: boolean
34
+ // #legacy: boolean
36
35
37
36
constructor ( apiKeyOrOptions : string | SeamHttpOptions ) {
38
37
const options = parseOptions ( apiKeyOrOptions )
39
- this . #legacy = options . enableLegacyMethodBehaivor
38
+ // this.#legacy = options.enableLegacyMethodBehaivor
40
39
this . client = createAxiosClient ( options )
41
40
}
42
41
@@ -125,9 +124,6 @@ export class SeamHttp {
125
124
}
126
125
127
126
get workspaces ( ) : SeamHttpWorkspaces {
128
- if ( this . #legacy) {
129
- return SeamHttpLegacyWorkspaces . fromClient ( this . client )
130
- }
131
127
return SeamHttpWorkspaces . fromClient ( this . client )
132
128
}
133
129
}
You can’t perform that action at this time.
0 commit comments