From 167a67908890babb2389a467200cf2c67a6eee28 Mon Sep 17 00:00:00 2001 From: Madhavendra Rathore Date: Mon, 8 Jun 2026 16:17:56 +0000 Subject: [PATCH] docs(napi): update Node-driver cross-refs to the renamed Kernel* classes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The napi doc comments cross-reference the Node.js driver classes that consume the binding. databricks-sql-nodejs renamed its SEA-branded path to kernel (SeaSessionBackend → KernelSessionBackend, SeaAuth → KernelAuth, SeaNativeLoader → KernelNativeLoader), so these doc cross-references — surfaced verbatim in the generated index.d.ts — were stale. Doc-only; the genuine SEA wire-protocol names (SeaRestTransport, the sea client module) are unchanged. Co-authored-by: Isaac Signed-off-by: Madhavendra Rathore --- napi/src/connection.rs | 2 +- napi/src/database.rs | 2 +- napi/src/metadata.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/napi/src/connection.rs b/napi/src/connection.rs index cd9d2d7f..338ff0d6 100644 --- a/napi/src/connection.rs +++ b/napi/src/connection.rs @@ -69,7 +69,7 @@ use crate::util::guarded; /// byte-identical Thrift parity, the JS adapter pre-serialises via /// `serializeQueryTags` and writes the result into /// `statementConf["query_tags"]` directly — see -/// `SeaSessionBackend.executeStatement` in the NodeJS driver. This +/// `KernelSessionBackend.executeStatement` in the NodeJS driver. This /// path is the one the production code uses. #[allow( dead_code, diff --git a/napi/src/database.rs b/napi/src/database.rs index f0435cf3..37149796 100644 --- a/napi/src/database.rs +++ b/napi/src/database.rs @@ -81,7 +81,7 @@ const NODE_OAUTH_CLIENT_ID: &str = "databricks-sql-connector"; /// Authentication mode selector crossing the napi boundary. The string /// literals are what napi-rs emits from this `#[napi(string_enum)]` — the -/// NodeJS SEA adapter (`SeaAuth`) matches them verbatim (`'Pat'`, +/// NodeJS SEA adapter (`KernelAuth`) matches them verbatim (`'Pat'`, /// `'OAuthM2m'`, `'OAuthU2m'`). /// /// Mirrors the kernel [`AuthConfig`] variants this binding supports. diff --git a/napi/src/metadata.rs b/napi/src/metadata.rs index 8f8d5e84..95f7517d 100644 --- a/napi/src/metadata.rs +++ b/napi/src/metadata.rs @@ -18,7 +18,7 @@ //! Each method mirrors a `databricks_sql_kernel::Metadata` method //! one-to-one and returns the same `Statement` type that //! `executeStatement` returns, so the JS side can wrap any result in -//! `SeaOperationBackend` uniformly. The `Statement` is constructed via +//! `KernelOperationBackend` uniformly. The `Statement` is constructed via //! `Statement::from_result_stream` — no parent kernel `Statement` is //! involved (metadata calls don't use the mutable `Statement` path). //!