@opra/sqb 0.30.0 → 0.30.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/sqb",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "Opra SQB adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "ts-gems": "^2.5.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@opra/core": "^0.30.0",
42
+ "@opra/core": "^0.30.1",
43
43
  "@sqb/connect": ">= 4.9.0"
44
44
  },
45
45
  "type": "module",
@@ -23,7 +23,7 @@ export declare class SqbEntityService<T> extends ApiService {
23
23
  update(keyValue: any, data: EntityInput<T>, options?: Repository.UpdateOptions): Promise<Maybe<PartialOutput<T>>>;
24
24
  updateMany(data: PartialInput<T>, options?: Repository.UpdateManyOptions): Promise<number>;
25
25
  with(context: RequestContext, db?: SqbClient | SqbConnection): SqbEntityService<T>;
26
- forContext(context: RequestContext, db?: SqbClient | SqbConnection): typeof this;
26
+ forContext(context: RequestContext, db?: SqbClient | SqbConnection): this;
27
27
  protected _onError(error: unknown): Promise<void>;
28
28
  protected getConnection(): SqbConnection | SqbClient | Promise<SqbConnection | SqbClient>;
29
29
  protected onError?(error: unknown): void | Promise<void>;