From c10681fc33211ec7a92a9ea9e61e00ebf0a69862 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Wed, 3 Jun 2026 10:40:11 +0900 Subject: [PATCH] fix(sdk): remove non-existent updatedAt from idp.User The IDP service does not return an `updatedAt` field, but the `idp.User` interface declared `updatedAt?: string`. Consumers were misled into expecting an optional timestamp that was always `undefined` at runtime. Mirrors tailor-platform/function#180, which removed the same field from `tailor.idp.User` in the function-types package. --- .changeset/remove-idp-user-updated-at.md | 5 +++++ packages/sdk/src/runtime/idp.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/remove-idp-user-updated-at.md diff --git a/.changeset/remove-idp-user-updated-at.md b/.changeset/remove-idp-user-updated-at.md new file mode 100644 index 0000000000..e468cca022 --- /dev/null +++ b/.changeset/remove-idp-user-updated-at.md @@ -0,0 +1,5 @@ +--- +"@tailor-platform/sdk": patch +--- + +fix(runtime): remove non-existent `updatedAt` field from `idp.User`. The IDP service does not return this field, so the declaration was misleading consumers into expecting an optional timestamp that was always `undefined`. diff --git a/packages/sdk/src/runtime/idp.ts b/packages/sdk/src/runtime/idp.ts index 432b892976..32688f5636 100644 --- a/packages/sdk/src/runtime/idp.ts +++ b/packages/sdk/src/runtime/idp.ts @@ -22,7 +22,6 @@ export interface User { name: string; disabled: boolean; createdAt?: string; - updatedAt?: string; } /** Filter options for {@link Client.users}. */