inibase 1.1.29 → 1.1.31

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/file.js +2 -3
  2. package/package.json +1 -1
package/dist/file.js CHANGED
@@ -159,9 +159,8 @@ const decodeHelper = (value, field) => {
159
159
  return isNumber(value) &&
160
160
  (!field.table ||
161
161
  !field.databasePath ||
162
- (!globalConfig[field.databasePath].tables?.get(field.table)?.config
163
- .decodeID &&
164
- field.key !== "id"))
162
+ !globalConfig[field.databasePath].tables?.get(field.table)?.config
163
+ .decodeID)
165
164
  ? encodeID(value)
166
165
  : value;
167
166
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inibase",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Karim Amahtil",