From b75ca4afb9bf80e10459305759a698b57240bf87 Mon Sep 17 00:00:00 2001 From: Akira HIGUCHI Date: Wed, 22 Oct 2025 18:04:59 +0900 Subject: [PATCH 1/2] fix: require namespace in Tailordb.Client constructor --- packages/types/tailor.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/tailor.d.ts b/packages/types/tailor.d.ts index 0d898ab..9832b52 100644 --- a/packages/types/tailor.d.ts +++ b/packages/types/tailor.d.ts @@ -1,6 +1,6 @@ declare namespace Tailordb { class Client { - constructor(config?: { namespace?: string }); + constructor(config: { namespace: string }); connect(): Promise; end(): Promise; queryObject( From 4b38b7622309fd3f2bd4deaa5f85928bb0e8151d Mon Sep 17 00:00:00 2001 From: Akira HIGUCHI Date: Wed, 22 Oct 2025 18:06:18 +0900 Subject: [PATCH 2/2] fix: add changeset --- .changeset/loud-bottles-watch.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/loud-bottles-watch.md diff --git a/.changeset/loud-bottles-watch.md b/.changeset/loud-bottles-watch.md new file mode 100644 index 0000000..b22d07c --- /dev/null +++ b/.changeset/loud-bottles-watch.md @@ -0,0 +1,5 @@ +--- +"@tailor-platform/function-types": patch +--- + +fix: require Tailordb namespace