@aikdna/kdna-studio-core 1.4.1 → 1.4.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikdna/kdna-studio-core",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Studio-compatible authoring kernel for Human Lock, compile, and export of trusted .kdna assets.",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
@@ -42,6 +42,11 @@ function canonicalizeJson(name, content) {
42
42
  delete copy.asset_digest;
43
43
  delete copy.container_sha256;
44
44
  delete copy.content_digest;
45
+ if (copy.authoring && typeof copy.authoring === 'object') {
46
+ const auth = { ...copy.authoring };
47
+ delete auth.content_digest;
48
+ copy.authoring = auth;
49
+ }
45
50
  return stableStringify(copy);
46
51
  }
47
52
  return stableStringify(obj);