@opra/sqb 1.0.0-alpha.10 → 1.0.0-alpha.11

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.
@@ -242,7 +242,7 @@ class SqbEntityService extends core_1.ServiceBase {
242
242
  * @protected
243
243
  */
244
244
  async _updateOnly(id, input, options) {
245
- const inputCodec = this.getInputCodec('create');
245
+ const inputCodec = this.getInputCodec('update');
246
246
  const data = inputCodec(input);
247
247
  return await this._dbUpdateOnly(id, data, options);
248
248
  }
@@ -239,7 +239,7 @@ export class SqbEntityService extends ServiceBase {
239
239
  * @protected
240
240
  */
241
241
  async _updateOnly(id, input, options) {
242
- const inputCodec = this.getInputCodec('create');
242
+ const inputCodec = this.getInputCodec('update');
243
243
  const data = inputCodec(input);
244
244
  return await this._dbUpdateOnly(id, data, options);
245
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/sqb",
3
- "version": "1.0.0-alpha.10",
3
+ "version": "1.0.0-alpha.11",
4
4
  "description": "Opra SQB adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "ts-gems": "^3.4.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@opra/core": "^1.0.0-alpha.10",
42
+ "@opra/core": "^1.0.0-alpha.11",
43
43
  "@sqb/connect": ">= 4.10.6"
44
44
  },
45
45
  "type": "module",