From 25e31babcfb974d07cf12989b9b033799f09cf80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 14:53:09 +0000 Subject: [PATCH 1/2] feat(deps): bump the seam group with 3 updates Bumps the seam group with 3 updates: [@seamapi/blueprint](https://github.com/seamapi/blueprint), [@seamapi/http](https://github.com/seamapi/javascript-http) and [tar](https://github.com/isaacs/node-tar). Updates `@seamapi/blueprint` from 1.13.2 to 1.13.4 - [Release notes](https://github.com/seamapi/blueprint/releases) - [Commits](https://github.com/seamapi/blueprint/compare/v1.13.2...v1.13.4) Updates `@seamapi/http` from 2.49.0 to 2.52.0 - [Release notes](https://github.com/seamapi/javascript-http/releases) - [Commits](https://github.com/seamapi/javascript-http/compare/v2.49.0...v2.52.0) Updates `tar` from 7.5.22 to 7.5.23 - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/node-tar/compare/v7.5.22...v7.5.23) --- updated-dependencies: - dependency-name: "@seamapi/blueprint" dependency-version: 1.13.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: seam - dependency-name: "@seamapi/http" dependency-version: 2.52.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: seam - dependency-name: tar dependency-version: 7.5.23 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 22 +++++++++++----------- package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad8490dc..e90d1bb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@clack/prompts": "^1.7.0", - "@seamapi/blueprint": "1.13.2", + "@seamapi/blueprint": "1.13.4", "@seamapi/http": "^2.16.0", "chalk": "^6.0.0", "command-line-usage": "^7.0.4", @@ -2887,13 +2887,13 @@ "license": "MIT" }, "node_modules/@seamapi/blueprint": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@seamapi/blueprint/-/blueprint-1.13.2.tgz", - "integrity": "sha512-FS8zYX01P/eCXcZDUp+dOY3b34tjDmKj6TR1gE8P7IE8Fc7Q9Sr57yUBDv+OKhPIpMifDkr6+0G+A/ej/nIDTw==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/@seamapi/blueprint/-/blueprint-1.13.4.tgz", + "integrity": "sha512-+m3oGHQbwWgXkmm6VGSES+1TBtD3vAQMtKe4jbt00/Wpr3oPGSeSq04WK0iOfvROaUVzvl0LOoouLc8vJYWx2w==", "license": "MIT", "dependencies": { "change-case": "^5.4.4", - "zod": "^4.0.0" + "zod": "^4.6.7" }, "engines": { "node": ">=22.12.0", @@ -2901,9 +2901,9 @@ } }, "node_modules/@seamapi/http": { - "version": "2.49.0", - "resolved": "https://registry.npmjs.org/@seamapi/http/-/http-2.49.0.tgz", - "integrity": "sha512-VJPgyeUyXdRGsiobAHvz7qgi82uiAXPW8f1FAHc96jVIxmx/FCPHwsMZ/JbKZIA6oLvU2JZfqn3lNgDsUDwNfQ==", + "version": "2.52.0", + "resolved": "https://registry.npmjs.org/@seamapi/http/-/http-2.52.0.tgz", + "integrity": "sha512-efEdm5iHi0AM1eH3abvzav4ODZJ3ZaKKO6A4ty4dsrEbQ606hY1YWltwygJ7JMgIa4XsuV2qtvyoE1o+XcsGKA==", "license": "MIT", "dependencies": { "@seamapi/url-search-params-serializer": "^3.0.3", @@ -11439,9 +11439,9 @@ } }, "node_modules/tar": { - "version": "7.5.22", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", - "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", + "version": "7.5.23", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.23.tgz", + "integrity": "sha512-lkukzdoGngZHJZXxW4S/E4Fp9ghTDlyZXrQGRNoJ/LXvDKcXUTq2sg5yQe74po7Voea6n/IN09+wE/QvJMiifA==", "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/fs-minipass": "^4.0.0", diff --git a/package.json b/package.json index 4cd47985..c197f57d 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "packageManager": "npm@11.19.0", "dependencies": { "@clack/prompts": "^1.7.0", - "@seamapi/blueprint": "1.13.2", + "@seamapi/blueprint": "1.13.4", "@seamapi/http": "^2.16.0", "chalk": "^6.0.0", "command-line-usage": "^7.0.4", From 53e9df318dcbfa4d09020a6ad9474f66dcd2482a Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 20 Nov 2026 15:36:41 +0000 Subject: [PATCH 2/2] fix: adapt to @seamapi/http 2.52 types (display_name, optional device properties) Co-Authored-By: Claude Opus 5.5 --- src/lib/interactions/connected-account.ts | 9 +-------- src/lib/interactions/device.ts | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/lib/interactions/connected-account.ts b/src/lib/interactions/connected-account.ts index 2ca83086..c95061b4 100644 --- a/src/lib/interactions/connected-account.ts +++ b/src/lib/interactions/connected-account.ts @@ -9,15 +9,8 @@ export const interactForConnectedAccount = async (initialValue?: string) => { fetchResources: () => seam.connectedAccounts.list(), initialValue, toChoice: (connectedAccount) => { - const identifiers = Object.values( - connectedAccount.user_identifier ?? {}, - ).filter((value): value is string => typeof value === 'string') - return { - title: - connectedAccount.user_identifier?.email ?? - identifiers[0] ?? - '', + title: connectedAccount.display_name || '', value: connectedAccount.connected_account_id, description: `${connectedAccount.account_type} ${connectedAccount.connected_account_id}`, } diff --git a/src/lib/interactions/device.ts b/src/lib/interactions/device.ts index 21b4a45c..b272f826 100644 --- a/src/lib/interactions/device.ts +++ b/src/lib/interactions/device.ts @@ -9,7 +9,7 @@ export const interactForDevice = async (initialValue?: string) => { fetchResources: () => seam.devices.list(), initialValue, toChoice: (device) => ({ - title: device.properties.name ?? '', + title: device.properties?.name ?? '', value: device.device_id, description: `${device.device_type} ${device.device_id}`, }),