inibase 1.0.0-rc.127 → 1.0.0-rc.128

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
@@ -1151,7 +1151,7 @@ export default class Inibase {
1151
1151
  return onlyOne
1152
1152
  ? linesNumbers.values().next().value
1153
1153
  : Array.from(linesNumbers);
1154
- const alreadyExistsColumns = Object.keys(Object.values(RETURN)[0]), alreadyExistsColumnsIDs = Utils.flattenSchema(schema)
1154
+ const alreadyExistsColumns = Object.keys(Object.values(LineNumberDataMap)[0]), alreadyExistsColumnsIDs = Utils.flattenSchema(schema)
1155
1155
  .filter(({ key }) => alreadyExistsColumns.includes(key))
1156
1156
  .map(({ id }) => id);
1157
1157
  RETURN = Object.values(Utils.deepMerge(LineNumberDataMap, await this.processSchemaData(tableName, Utils.filterSchema(schema, ({ id, type, children }) => !alreadyExistsColumnsIDs.includes(id) ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inibase",
3
- "version": "1.0.0-rc.127",
3
+ "version": "1.0.0-rc.128",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Karim Amahtil",