diff --git a/package.json b/package.json index 7d158ea..e61a1ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tidbcloud/serverless", - "version": "0.0.8", + "version": "0.0.9", "description": "TiDB Cloud Serverless Driver", "main": "./dist/index.cjs", "module": "./dist/index.js", diff --git a/src/index.ts b/src/index.ts index 103305d..363dedd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -92,6 +92,10 @@ export class Connection { } } + getConfig(): Config { + return this.config + } + async begin(txOptions: TxOptions = {}): Promise { const conn = new Connection(this.config) const tx = new Tx(conn) diff --git a/src/version.ts b/src/version.ts index 848d707..ef2fc9b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const Version = '0.0.8' +export const Version = '0.0.9'