Skip to content

Commit

Permalink
Fix/add close to IDatabaseConnection (#25)
Browse files Browse the repository at this point in the history
* fix: add close to IDatabaseConnection

* chore: bump libs
  • Loading branch information
jkoenig134 authored Jan 12, 2024
1 parent 86f3c92 commit 827a60f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/abstractions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@js-soft/docdb-access-abstractions",
"version": "1.0.2",
"version": "1.0.3",
"description": "Database abstractions.",
"homepage": "https://github.com/js-soft/ts-documentdb-access#readme",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/abstractions/src/IDatabaseConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import { IDatabaseCollectionProvider } from "./IDatabaseCollectionProvider";

export interface IDatabaseConnection {
getDatabase(name: string): Promise<IDatabaseCollectionProvider>;
close(): Promise<void>;
}
4 changes: 2 additions & 2 deletions packages/loki/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@js-soft/docdb-access-loki",
"version": "1.0.5",
"version": "1.0.6",
"description": "The LokiJS implementation for the '@js-soft/@js-soft/docdb-access-abstractions' library.",
"homepage": "https://github.com/js-soft/ts-documentdb-access#readme",
"repository": {
Expand All @@ -27,7 +27,7 @@
"testTimeout": 60000
},
"dependencies": {
"@js-soft/docdb-access-abstractions": "1.0.2",
"@js-soft/docdb-access-abstractions": "1.0.3",
"@types/lokijs": "1.5.14",
"lokijs": "1.5.12"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/mongo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@js-soft/docdb-access-mongo",
"version": "1.1.5",
"version": "1.1.6",
"description": "The MongoDB implementation for the '@js-soft/@js-soft/docdb-access-abstractions' library.",
"homepage": "https://github.com/js-soft/ts-documentdb-access#readme",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"testTimeout": 60000
},
"dependencies": {
"@js-soft/docdb-access-abstractions": "1.0.2",
"@js-soft/docdb-access-abstractions": "1.0.3",
"mongodb": "6.3.0"
},
"publishConfig": {
Expand Down

0 comments on commit 827a60f

Please sign in to comment.