bdy 1.9.16-dev → 1.9.17-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.9.16-dev",
4
+ "version": "1.9.17-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -35,11 +35,11 @@ class ServerSsh extends events_1.default {
35
35
  client.setNoDelay();
36
36
  client.on('authentication', async (ctx) => {
37
37
  if (ctx.method !== 'password') {
38
- // only password
38
+ logger_js_1.default.info(this.agent);
39
+ logger_js_1.default.info(ctx);
39
40
  const keys = await buddy_1.default.fetchAgentKeys(this.agent.id, this.agent.host, this.agent.token);
40
41
  // todo handle keys
41
42
  logger_js_1.default.info(keys);
42
- logger_js_1.default.info(ctx);
43
43
  ctx.reject(['password']);
44
44
  return;
45
45
  }
@@ -26,6 +26,9 @@ class Tunnel extends events_1.default {
26
26
  if (!sshHostKey)
27
27
  sshHostKey = (0, utils_js_1.createSshHostKey)();
28
28
  this.agent = agent;
29
+ // todo remove
30
+ logger_js_1.default.info(this.agent);
31
+ logger_js_1.default.trace();
29
32
  this.id = id;
30
33
  this.sshHostKey = sshHostKey;
31
34
  this.create({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.9.16-dev",
4
+ "version": "1.9.17-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {