@opra/sqb 1.28.0 → 1.28.1
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.
- package/package.json +3 -3
- package/sqb-service-base.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/sqb",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.1",
|
|
4
4
|
"description": "Opra SQB adapter package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"valgen": "^6.1.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@opra/core": "^1.28.
|
|
14
|
-
"@opra/http": "^1.28.
|
|
13
|
+
"@opra/core": "^1.28.1",
|
|
14
|
+
"@opra/http": "^1.28.1",
|
|
15
15
|
"@sqb/builder": ">=5.0.1 <6",
|
|
16
16
|
"@sqb/connect": ">=5.0.1 <6"
|
|
17
17
|
},
|
package/sqb-service-base.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare class SqbServiceBase extends ServiceBase {
|
|
|
35
35
|
*
|
|
36
36
|
* @param callback - The function to execute within the transaction.
|
|
37
37
|
*/
|
|
38
|
-
withTransaction(callback: (connection: SqbConnection, _this: this) =>
|
|
38
|
+
withTransaction<U = any>(callback: (connection: SqbConnection, _this: this) => U): Promise<U>;
|
|
39
39
|
/**
|
|
40
40
|
* Returns the active database connection for the current context.
|
|
41
41
|
*
|