Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ This API is used internally and is not directly supported.

#### Inspecting the Request

All client methods return an instance of `SeamRequest`.
Inspect the request before it is sent to the server by intentionally not awaiting the `SeamRequest`:
All client methods return an instance of `SeamHttpRequest`.
Inspect the request before it is sent to the server by intentionally not awaiting the `SeamHttpRequest`:

```ts
const seam = new Seam('your-api-key')
Expand Down
1 change: 1 addition & 0 deletions generate-readme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ async function writeReadmeUsage(content: string): Promise<void> {
.replaceAll('@seamapi/webhook', 'seam')
.replaceAll('@seamapi/http', 'seam')
.replaceAll('SeamHttp', 'Seam')
.replaceAll('SeamRequest', 'SeamHttpRequest')
.replaceAll('seam/connect', 'seam')

const currentUsageSection = matches[1]
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
"lint": "eslint --ignore-path .gitignore .",
"prelint": "prettier --check --ignore-path .gitignore .",
"postversion": "git push --follow-tags",
"generate": "tsx generate-readme.ts",
"postgenerate": "markdown-toc -i README.md --bullets '-'",
"generate": "markdown-toc -i README.md --bullets '-'",
"pregenerate": "tsx generate-readme.ts",
"postgenerate": "prettier --write README.md",
"example": "tsx examples",
"example:inspect": "tsx --inspect examples",
"format": "eslint --ignore-path .gitignore --fix .",
Expand Down
10 changes: 8 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { SeamHttp as Seam } from '@seamapi/http/connect'
import {
SeamHttp as Seam,
SeamHttpMultiWorkspace as SeamMultiWorkspace,
type SeamHttpMultiWorkspaceOptions as SeamMultiWorkspaceOptions,
type SeamHttpOptions as SeamOptions,
} from '@seamapi/http/connect'

export * from '@seamapi/http/connect'
export type * from '@seamapi/types/connect'
export * from '@seamapi/webhook'
export { Seam }
export { Seam, SeamMultiWorkspace }
export type { SeamMultiWorkspaceOptions, SeamOptions }