@inflector/optima 1.1.2 → 1.1.3

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -566,7 +566,7 @@ ${valuesBlock}${isReturning ? "\nRETURNING *" : ""};`;
566
566
  const Res = this.FormatOut(Result);
567
567
  if (Res.length != 0) {
568
568
  if (data.returning) {
569
- this.notifyChange({ event: "Add", data: Res, time: /* @__PURE__ */ new Date() });
569
+ this.notifyChange({ event: "Add", data: Res[0], time: /* @__PURE__ */ new Date() });
570
570
  } else {
571
571
  this.notifyChange({
572
572
  event: "Add",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inflector/optima",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "author": "Inflector",
6
6
  "main": "./dist/index.js",