Skip to content

Commit 443e035

Browse files
razor-xseambot
andauthored
feat: Remove ltsVersion (unused) (#955)
* feat: Remove ltsVersion (unused) * ci: Generate code --------- Co-authored-by: Seam Bot <seambot@getseam.com>
1 parent 5efe078 commit 443e035

54 files changed

Lines changed: 0 additions & 150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Seam HTTP Client
22

33
[![npm](https://img.shields.io/npm/v/@seamapi/http.svg)](https://www.npmjs.com/package/@seamapi/http)
4-
[![Seam LTS Version](https://img.shields.io/badge/Seam_LTS-1.0.0-blue)](https://docs.seam.co/lts)
54
[![GitHub Actions](https://github.com/seamapi/javascript-http/actions/workflows/check.yml/badge.svg)](https://github.com/seamapi/javascript-http/actions/workflows/check.yml)
65

76
JavaScript HTTP client for the Seam API written in TypeScript.

codegen/layouts/partials/route-class-methods-without-workspace.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
client: Client
22
readonly defaults: Required<SeamHttpRequestOptions>
3-
readonly ltsVersion = seamApiLtsVersion
4-
static ltsVersion = seamApiLtsVersion
53

64
constructor(options: SeamHttpWithoutWorkspaceOptions = {}) {
75
const opts = parseOptions(options)

codegen/layouts/partials/route-class-methods.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
client: Client
22
readonly defaults: Required<SeamHttpRequestOptions>
3-
readonly ltsVersion = seamApiLtsVersion
4-
static ltsVersion = seamApiLtsVersion
53

64
constructor(apiKeyOrOptions: string | SeamHttpOptions = {}) {
75
const options = parseOptions(apiKeyOrOptions)

codegen/layouts/partials/route-imports-without-workspace.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { seamApiLtsVersion } from 'lib/lts-version.js'
21
import { type Client, createClient } from 'lib/client.js'
32
import {
43
isSeamHttpWithoutWorkspaceOptionsWithClient,

codegen/layouts/partials/route-imports.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { seamApiLtsVersion } from 'lib/lts-version.js'
21
{{#each resourceTypeImports}}
32
import type { {{typeName}} } from 'lib/resources/{{fileName}}'
43
{{/each}}

src/lib/lts-version.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/lib/parse-options.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { seamApiLtsVersion } from 'lib/lts-version.js'
21
import version from 'lib/version.js'
32

43
import { getAuthHeaders } from './auth.js'
@@ -19,7 +18,6 @@ export const defaultEndpoint = 'https://connect.getseam.com'
1918
export const sdkHeaders = {
2019
'seam-sdk-name': 'seamapi/javascript-http',
2120
'seam-sdk-version': version,
22-
'seam-lts-version': seamApiLtsVersion,
2321
}
2422

2523
export type Options =

src/lib/routes/access-codes/access-codes.ts

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/routes/access-codes/simulate/simulate.ts

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/routes/access-codes/unmanaged/unmanaged.ts

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)