Skip to content

Commit 8c286c2

Browse files
committed
Comment updates
1 parent bbb3503 commit 8c286c2

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@datastax/astra-db-ts",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Astra DB TS Client",
55
"contributors": [
66
"CRW (http://barnyrubble.tumblr.com/)",

src/collections/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Client {
6161
/**
6262
* Setup a connection to the Astra/Stargate JSON API
6363
* @param uri an Stargate JSON API uri (Eg. http://localhost:8181/v1/testks1) where testks1 is the name of the keyspace/Namespace which should always be the last part of the URL
64-
* @returns MongoClient
64+
* @returns Client
6565
*/
6666
static async connect(uri: string, options?: ClientOptions | null): Promise<Client> {
6767
const parsedUri = parseUri(uri);
@@ -94,8 +94,8 @@ export class Client {
9494
}
9595

9696
/**
97-
* Connect the MongoClient instance to JSON API (create Namespace automatically when the 'createNamespaceOnConnect' flag is set to true)
98-
* @returns a MongoClient instance
97+
* Connect the Client instance to JSON API (create Namespace automatically when the 'createNamespaceOnConnect' flag is set to true)
98+
* @returns a Client instance
9999
*/
100100
async connect(): Promise<Client> {
101101
if (this.createNamespaceOnConnect && this.keyspaceName) {

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@
1414

1515
export { Collection } from './collections';
1616
export { AstraDB } from './collections/client';
17-
// export * as client from './client';
18-
// export * as logger from './logger';

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const LIB_NAME = "@datastax/astra-db-ts";
2-
export const LIB_VERSION = "0.0.1";
2+
export const LIB_VERSION = "0.0.2";

0 commit comments

Comments
 (0)