vtb-appit 0.0.2 → 0.0.3

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/appit.js +4 -0
  2. package/package.json +1 -1
package/appit.js CHANGED
@@ -231,6 +231,9 @@ class Appit {
231
231
  const payload = (data) ? JSON.stringify(data) : false;
232
232
 
233
233
  return new Promise((resolve, reject) => {
234
+ console.log(this.hostname);
235
+ console.log(path);
236
+ console.log(data);
234
237
  const options = {
235
238
  hostname: this.hostname,
236
239
  path: pth.join(this.pathPrefix, path),
@@ -255,6 +258,7 @@ class Appit {
255
258
  })
256
259
 
257
260
  res.on('end', () => {
261
+ console.log(result);
258
262
  resolve(JSON.parse(result))
259
263
  })
260
264
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtb-appit",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {