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 {
1111 type SeamHttpOptionsWithClient ,
1212 type SeamHttpOptionsWithClientSessionToken ,
1313} from './client-options.js'
14- import { SeamHttpLegacyWorkspaces } from './legacy/workspaces.js'
1514import { parseOptions } from './parse-options.js'
1615import {
1716 SeamHttpAccessCodes ,
@@ -32,11 +31,11 @@ import {
3231export class SeamHttp {
3332 client : Axios
3433
35- #legacy: boolean
34+ // #legacy: boolean
3635
3736 constructor ( apiKeyOrOptions : string | SeamHttpOptions ) {
3837 const options = parseOptions ( apiKeyOrOptions )
39- this . #legacy = options . enableLegacyMethodBehaivor
38+ // this.#legacy = options.enableLegacyMethodBehaivor
4039 this . client = createAxiosClient ( options )
4140 }
4241
@@ -125,9 +124,6 @@ export class SeamHttp {
125124 }
126125
127126 get workspaces ( ) : SeamHttpWorkspaces {
128- if ( this . #legacy) {
129- return SeamHttpLegacyWorkspaces . fromClient ( this . client )
130- }
131127 return SeamHttpWorkspaces . fromClient ( this . client )
132128 }
133129}
You can’t perform that action at this time.
0 commit comments