Skip to content

Commit d549b41

Browse files
author
Amine
committed
docs: documented the connection option getter
1 parent d193c18 commit d549b41

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/common/src/client/AbstractPowerSyncDatabase.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,19 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
194194
}
195195

196196
/**
197-
* The connector and connection options used to connect to the PowerSync service.
197+
* The connector used to connect to the PowerSync service.
198198
*
199-
* @returns The connector and connection options used to connect to the PowerSync service or null if `connect()` has not been called.
199+
* @returns The connector used to connect to the PowerSync service or null if `connect()` has not been called.
200200
*/
201201
get connector() {
202202
return this.connectionManager.connector;
203203
}
204204

205+
/**
206+
* The resolved connection options used to connect to the PowerSync service.
207+
*
208+
* @returns The resolved connection options used to connect to the PowerSync service or null if `connect()` has not been called.
209+
*/
205210
get connectionOptions() {
206211
return this.connectionManager.connectionOptions;
207212
}

0 commit comments

Comments
 (0)