Skip to content

Commit 0b80dfe

Browse files
committed
Remove legacy
1 parent 0669da0 commit 0b80dfe

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

generate-routes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ export class SeamHttp${pascalCase(namespace)} {
271271
client: Axios
272272
273273
${constructors
274-
.replace(/.*this\.#legacy.*\n/, '')
275274
.replaceAll(': SeamHttp ', `: SeamHttp${pascalCase(namespace)} `)
276275
.replaceAll('new SeamHttp(', `new SeamHttp${pascalCase(namespace)}(`)}
277276

src/lib/seam/connect/seam-http.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ import {
3131
export class SeamHttp {
3232
client: Axios
3333

34-
// #legacy: boolean
35-
3634
constructor(apiKeyOrOptions: string | SeamHttpOptions = {}) {
3735
const options = parseOptions(apiKeyOrOptions)
38-
// this.#legacy = options.enableLegacyMethodBehaivor
3936
this.client = createClient(options)
4037
}
4138

0 commit comments

Comments
 (0)