@opra/sqb 1.0.0-alpha.20 → 1.0.0-alpha.22

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.
@@ -452,7 +452,7 @@ class SqbEntityService extends core_1.ServiceBase {
452
452
  const next = async () => {
453
453
  proto = proto ? Object.getPrototypeOf(proto) : this;
454
454
  while (proto) {
455
- if (proto.interceptor) {
455
+ if (proto.interceptor && Object.prototype.hasOwnProperty.call(proto, 'interceptor')) {
456
456
  return await proto.interceptor.call(this, next, command, this);
457
457
  }
458
458
  proto = Object.getPrototypeOf(proto);
@@ -449,7 +449,7 @@ export class SqbEntityService extends ServiceBase {
449
449
  const next = async () => {
450
450
  proto = proto ? Object.getPrototypeOf(proto) : this;
451
451
  while (proto) {
452
- if (proto.interceptor) {
452
+ if (proto.interceptor && Object.prototype.hasOwnProperty.call(proto, 'interceptor')) {
453
453
  return await proto.interceptor.call(this, next, command, this);
454
454
  }
455
455
  proto = Object.getPrototypeOf(proto);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/sqb",
3
- "version": "1.0.0-alpha.20",
3
+ "version": "1.0.0-alpha.22",
4
4
  "description": "Opra SQB adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@faker-js/faker": "^8.4.1",
35
- "@sqb/builder": "^4.12.1",
36
- "@sqb/connect": "^4.12.1",
37
- "@sqb/postgres": "^4.12.1",
35
+ "@sqb/builder": "^4.13.0",
36
+ "@sqb/connect": "^4.13.0",
37
+ "@sqb/postgres": "^4.13.0",
38
38
  "postgresql-client": "^2.12.0",
39
39
  "ts-gems": "^3.4.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@opra/core": "^1.0.0-alpha.20",
42
+ "@opra/core": "^1.0.0-alpha.22",
43
43
  "@sqb/connect": ">= 4.10.6"
44
44
  },
45
45
  "type": "module",