pathchain 1.0.39 → 1.0.40

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 +1 -1
  2. package/package.json +1 -1
package/maker.js CHANGED
@@ -294,7 +294,7 @@ function path(text, head, author, ancestor, format = 'MM DD YYYY HH:mm:SSS [GMT]
294
294
  checker.checkDir("files/" + author_folder + "paths/") // checking
295
295
  fs.writeFileSync("files/" + author_folder + "paths/" + path_hash, buffer);
296
296
 
297
- return author_folder + "/paths/" + path_hash;
297
+ return path_hash;
298
298
  }
299
299
 
300
300
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pathchain",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "dependencies": {
5
5
  "date-and-time": "^3.0.2",
6
6
  "empty-dir": "^3.0.0",