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 .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
uses: ./.github/actions/setup
with:
install_dependencies: 'false'
- name: Sync @seamapi/types version in peerDependencies
- name: Sync @seamapi/http version in peerDependencies
run: |
sudo apt-get install -y jq moreutils
jq '.peerDependencies."@seamapi/types" = .devDependencies."@seamapi/types"' package.json | sponge package.json
jq '.peerDependencies."@seamapi/http" = .devDependencies."@seamapi/http"' package.json | sponge package.json
- name: Normalize package-lock.json
run: npm install
- name: Commit
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@ Refer to the next section for keeping the types updated.

#### Keeping up with the latest types

This package depends on [@seamapi/types] for the latest TypeScript types.
This package depends on [@seamapi/http] for the latest TypeScript `SeamEvent` type.
New versions of this SDK are generally not released when new types are published.
Unless your project frequently runs a blanket `npm update`,
the types will become outdated with the Seam API over time.
Thus, users of this package should explicitly install the types with
Thus, users of this package should explicitly install the new types with

```
$ npm install -D @seamapi/types
$ npm install -D @seamapi/http
```

and update them when consuming new API features with

```
$ npm install -D @seamapi/types@latest
$ npm install -D @seamapi/http@latest
```

## Usage
Expand Down
223 changes: 196 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@
}
},
"peerDependencies": {
"@seamapi/types": "^1.166.0"
"@seamapi/http": "^2.0.0"
},
"peerDependenciesMeta": {
"@seamapi/types": {
"@seamapi/http": {
"optional": true
}
},
"dependencies": {
"svix": "^1.15.0"
},
"devDependencies": {
"@seamapi/types": "^1.166.0",
"@seamapi/http": "^2.0.0",
"@types/node": "^24.10.9",
"ava": "^8.0.1",
"c8": "^12.0.0",
Expand Down
Loading
Loading