@node-in-layers/data 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/types.d.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@node-in-layers/data",
3
3
  "type": "module",
4
- "version": "1.0.8",
4
+ "version": "1.0.10",
5
5
  "description": "A Node In Layers package used for handling databases.",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -67,7 +67,7 @@
67
67
  "@aws-sdk/lib-dynamodb": "^3.721.0",
68
68
  "@node-in-layers/core": "^1.3.2",
69
69
  "@opensearch-project/opensearch": "^2.13.0",
70
- "functional-models": "^3.0.14",
70
+ "functional-models": "^3.0.15",
71
71
  "functional-models-orm-dynamo": "^3.0.0",
72
72
  "functional-models-orm-elastic": "^3.0.0",
73
73
  "functional-models-orm-memory": "^3.0.0",
package/types.d.ts CHANGED
@@ -127,7 +127,7 @@ type DataServices = Readonly<{
127
127
  * Gets all databases. This is memoized, so on the first attempt, it will create connections to 1 or more databases
128
128
  * and then give you access to those database objects for further use. Very useful in a services layer.
129
129
  */
130
- getDatabases: () => Promise<MultiDatabases>;
130
+ getDatabases: () => MultiDatabases;
131
131
  /**
132
132
  * Runs cleanup on every database connection. Only run when the application is ending.
133
133
  */