Skip to content

feat: Update to @seamapi/types@1.1086.0 - #1034

Merged
chmaltsp merged 1 commit into
mainfrom
phil/types-1.1086.0
Sep 29, 2026
Merged

chmaltsp merged 1 commit into
mainfrom
phil/types-1.1086.0

Conversation

@chmaltsp

Copy link
Copy Markdown
Contributor

Summary

Bumps @seamapi/types to 1.1086.0, which publishes:

  • /media/get — retrieve a piece of media (e.g. a camera event's video clip or thumbnail) with a short-lived download URL
  • /cameras/live_views/create, /cameras/live_views/offer, /cameras/live_views/stop — WebRTC camera live view endpoints

Ran npm run generate to regenerate the SDK against the new types, which adds SeamHttpMedia and SeamHttpCamerasLiveViews route classes plus their resource types, and wires them into SeamHttpEndpoints.

Test plan

  • npm test — 177 tests passed
  • npm run lint — eslint + prettier check pass
  • npm run typecheck — passes with no errors

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T02:20:32.509319Z a3cb064 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a3cb064eb8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package-lock.json Outdated
"resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1081.0.tgz",
"integrity": "sha512-bFh94NyhpR1nukmihSxLR68TAgYGvbk+JeBnOWHtmNkP9FABSeuplw6cXBjB7S+xiVoazUCnclgrJ9lVnijCvw==",
"version": "1.1086.0",
"resolved": "https://npm.pkg.github.com/download/@seamapi/types/1.1086.0/a722414fe46dfb80325ead9b6a491b902dc8a310",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the npm registry URL for the types package

The lockfile now pins @seamapi/types to GitHub Packages, which requires GitHub authentication even for public npm packages. Fresh contributor installs and the check jobs—whose setup action runs npm ci with the npmjs registry and no GitHub Packages token—will fail while fetching this absolute URL. Pin the npmjs tarball URL instead, as was done for the previous version.

Useful? React with 👍 / 👎.

/**
* Response format. `json` returns the media object. `redirect` responds with a `302` redirect to the media's download URL, so you can use this endpoint directly as the source of an image or video.
*/
format?: 'json' | 'redirect' | undefined

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle redirect responses before exposing the redirect format

When a caller supplies format: 'redirect', the Axios fetch adapter follows the 302 and returns the downloaded image or video payload, but this request remains typed as MediaGetResponse and SeamHttpRequest.execute() attempts to read a media property from that payload. Consequently, awaiting this valid typed request throws SeamHttpInvalidResponseError rather than producing a useful result. Either exclude redirect from this SDK method or add response handling that does not perform the normal JSON-key extraction.

Useful? React with 👍 / 👎.

@chmaltsp
chmaltsp merged commit f38b3c0 into main Sep 29, 2026
16 checks passed
@chmaltsp
chmaltsp deleted the phil/types-1.1086.0 branch September 29, 2026 02:21

This branch was successfully deployed

1 active deployment
Preview — ea605e0f Deployed Sep 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant