pathchain 1.1.3 → 1.1.4
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/getter.js +1 -1
- package/maker.js +2 -2
- package/package.json +1 -1
package/getter.js
CHANGED
package/maker.js
CHANGED
|
@@ -142,8 +142,8 @@ function entity(xsecret, format) {
|
|
|
142
142
|
|
|
143
143
|
const register = dt.format(new Date(), dt.compile(format, true));
|
|
144
144
|
const register_moment_hash = moment(register, 0, 0, 0, 0, 0, format);
|
|
145
|
-
const ancestor_entity_hash = getter.getSecretObj(xsecret).author;
|
|
146
|
-
console.log("MAKER :: ENTITY :: xsecret obj : ", getter.getSecretObj(xsecret
|
|
145
|
+
const ancestor_entity_hash = getter.getSecretObj(xsecret, "").author;
|
|
146
|
+
console.log("MAKER :: ENTITY :: xsecret obj : ", getter.getSecretObj(xsecret));
|
|
147
147
|
|
|
148
148
|
const entity_hash = sha256(`${register_moment_hash}_${ancestor_entity_hash}`);
|
|
149
149
|
|
package/package.json
CHANGED