dcp-client 5.1.1 → 5.1.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.
package/index.js CHANGED
@@ -615,7 +615,7 @@ function coerceMagicRegProps(o, seen)
615
615
  if (!o.hasOwnProperty(key) || typeof o[key] !== 'object')
616
616
  continue;
617
617
  if (o[key].hasOwnProperty('href'))
618
- o[key] = new URL(o[key]);
618
+ o[key] = new URL(o[key].href);
619
619
  else
620
620
  coerceMagicRegProps(o[key], seen)
621
621
  }
package/index.py CHANGED
@@ -48,6 +48,7 @@ async def load_dcp_client(callback=None, **kwargs):
48
48
  function iife(kwargs, fetch, require, bootstrapRequire)
49
49
  {
50
50
  const fsBasic = require('./fs-basic');
51
+ const osBasic = require('./os-basic');
51
52
  const dcpSupport = require('./dcp-support');
52
53
  const debug = bootstrapRequire('debug');
53
54
  const vm = bootstrapRequire('vm');
package/os-basic.py CHANGED
@@ -8,6 +8,6 @@ import socket
8
8
  import getpass
9
9
  import os
10
10
 
11
- exports['hostname'] = socket.hostname
11
+ exports['hostname'] = socket.gethostname
12
12
  exports['username'] = getpass.getuser
13
13
  exports['getpid' ] = os.getpid
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dcp-client",
3
- "version": "5.1.1",
3
+ "version": "5.1.3",
4
4
  "dcp": {
5
- "version": "6ff8c0be8b8cc66fd591339fd8c06835bb40e08b",
5
+ "version": "b94ebfa24d54b17cd1709eff2f9f296cef42351c",
6
6
  "repository": "git@gitlab.com:Distributed-Compute-Protocol/dcp.git"
7
7
  },
8
8
  "description": "Core libraries for accessing DCP network",