pathchain 1.1.4 → 1.1.5

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 (3) hide show
  1. package/getter.js +1 -1
  2. package/maker.js +1 -1
  3. package/package.json +1 -1
package/getter.js CHANGED
@@ -92,7 +92,7 @@ function getPioneerObj(xpioneer) {
92
92
  */
93
93
  function getSecretObj(xsecret, xauthor) {
94
94
 
95
- if(xauthor != "" && (typeof xauthor !== 'undefined')){
95
+ if(xauthor != "" && (xauthor !== null)){
96
96
  xauthor = xauthor + '/';
97
97
  }
98
98
 
package/maker.js CHANGED
@@ -149,7 +149,7 @@ function entity(xsecret, format) {
149
149
 
150
150
  const buffer = entity.entity.encode({
151
151
  register: `moments/${register_moment_hash}`,
152
- ancestor: `entities/${ancestor_entity_hash}`,
152
+ ancestor: `${ancestor_entity_hash}`,
153
153
  tag: `entities/${entity_hash}`,
154
154
  });
155
155
 
package/package.json CHANGED
@@ -34,5 +34,5 @@
34
34
  "deprecated": false,
35
35
  "description": "![image](https://user-images.githubusercontent.com/104391124/282268780-cbbc1ee6-8d97-4d80-b896-66ae3eb723dd.png)",
36
36
  "name": "pathchain",
37
- "version": "1.1.4"
37
+ "version": "1.1.5"
38
38
  }