@rljson/rljson 0.0.45 → 0.0.46

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/rljson.js +10 -4
  2. package/package.json +1 -1
package/dist/rljson.js CHANGED
@@ -566,10 +566,16 @@ const addColumnsToTableCfg = (tableCfg, columns) => {
566
566
  `The following columns already exist in the table "${tableCfg.key}": ${keys}`
567
567
  );
568
568
  }
569
- return hsh({
570
- ...tableCfg,
571
- columns: [...tableCfg.columns, ...columns]
572
- });
569
+ return hsh(
570
+ {
571
+ ...tableCfg,
572
+ columns: [...tableCfg.columns, ...columns]
573
+ },
574
+ {
575
+ updateExistingHashes: true,
576
+ throwOnWrongHashes: false
577
+ }
578
+ );
573
579
  };
574
580
  const exampleTableCfgTable = () => Example.ok.singleRow().tableCfgs;
575
581
  const exampleTableCfg = (tableCfg = void 0) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/rljson",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "packageManager": "pnpm@10.6.3",
5
5
  "description": "The RLJSON data format specification",
6
6
  "homepage": "https://github.com/rljson/rljson",