pathchain 1.0.13 → 1.0.14

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/maker.js +2 -3
  2. package/package.json +1 -1
package/maker.js CHANGED
@@ -130,9 +130,8 @@ function pioneer(xbigbang, format) {
130
130
  var pioneer_hash = sha256(register_moment_hash + "_" + birthday_moment);
131
131
 
132
132
  var buffer = entity.entity.encode({
133
- birthday: "moments/"+birthday_moment,
134
133
  register: "moments/"+register_moment_hash,
135
- invite: "entities/"+pioneer_hash, // points to itself as ancestor entity in the chain
134
+ ancestor: "entities/"+pioneer_hash, // points to itself as ancestor entity in the chain
136
135
  tag: "entities/"+pioneer_hash,
137
136
  })
138
137
 
@@ -190,7 +189,7 @@ function entity(xsecret, format) {
190
189
 
191
190
  var buffer = entity.entity.encode({
192
191
  register: "moments/"+register_moment_hash,
193
- ancestor: ancestor_entity_hash,
192
+ ancestor: "entities/"+ancestor_entity_hash,
194
193
  tag: "entities/"+entity_hash,
195
194
  })
196
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pathchain",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "dependencies": {
5
5
  "date-and-time": "^3.0.2",
6
6
  "empty-dir": "^3.0.0",