pathchain 1.1.20 → 1.1.22

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/getter.js +3 -3
  2. package/package.json +1 -1
package/getter.js CHANGED
@@ -166,9 +166,9 @@ function getObj(xaddress) {
166
166
  const filePath = `files/${xaddress}`;
167
167
 
168
168
  var splitted_address = xaddress.split("/");
169
- console.log("Splitted address: ", splitted_target);
170
- obj_type = splitted_address[splitted_address.length - 2];
171
- console.log("Object type: ", obj_type);
169
+ console.log("Splitted address: ", splitted_address);
170
+ var obj_type = splitted_address[splitted_address.length - 2];
171
+ console.log("Retrieving object of type: ", obj_type);
172
172
 
173
173
  try {
174
174
  const fileContents = fs.readFileSync(filePath);
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.20"
37
+ "version": "1.1.22"
38
38
  }