@did-space/core 0.5.20 → 0.5.21
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.
|
@@ -466,8 +466,7 @@ class ObjectSpace extends events_1.default {
|
|
|
466
466
|
debug('updateMetadata.before', JSON.stringify({ key, options: (0, omit_1.default)(options, 'data'), where }));
|
|
467
467
|
const oldTree = yield this.options.treeRepository.findOne({
|
|
468
468
|
where,
|
|
469
|
-
attributes: ['meta'],
|
|
470
|
-
raw: true,
|
|
469
|
+
attributes: ['id', 'meta'],
|
|
471
470
|
});
|
|
472
471
|
debug('updateMetadata.$oldTree', JSON.stringify(oldTree));
|
|
473
472
|
if (!(0, isEmpty_1.default)(options.metadata)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@did-space/core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.21",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"ts-jest": "^28.0.8",
|
|
54
54
|
"typescript": "^4.9.5"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "7e926ccc08e83b5e9c282e021733e5e034c0bdfd"
|
|
57
57
|
}
|