dcp-client 5.5.5 → 5.6.1

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
@@ -403,6 +403,13 @@ function addConfig (existing, neo, dotPath)
403
403
  continue;
404
404
  }
405
405
 
406
+ /* When existing prop is URL and new prop isn't, use new prop to build a URL */
407
+ if (DcpURL.isURL(existing?.[prop]))
408
+ {
409
+ existing[prop] = new existing[prop].constructor(neo[prop]);
410
+ continue;
411
+ }
412
+
406
413
  if (typeof neo[prop] !== 'object')
407
414
  throw new TypeError(`Unable to merge ${typeof neo[prop]} value into ${nodeName(prop)}`);
408
415
 
@@ -1301,7 +1308,7 @@ exports.createConfigFragments = async function dcpClient$$createConfigFragments(
1301
1308
  addConfigFile(localConfig, etc, 'dcp/dcp-config');
1302
1309
  await addConfigRKey(localConfig, 'HKLM', 'dcp/dcp-config');
1303
1310
  addConfigFile(localConfig, bin, '../etc/dcp/dcp-config');
1304
- addConfigFile(localConfig, options.configName && path.resolve(progDir, options.configName));
1311
+ addConfigFile(localConfig, progDir && options.configName && path.resolve(progDir, options.configName));
1305
1312
  addConfigFile(localConfig, resourceDir, 'dcp-config');
1306
1313
  await addConfigRKey(localConfig, 'HKCU', 'dcp/dcp-config');
1307
1314
  addConfigFile(localConfig, resourceDir, `${programName}/dcp-config`);
package/ns-map.js CHANGED
@@ -37,7 +37,7 @@ module.declare([], function $$nsMap(require, exports, module) {
37
37
  'jnu',
38
38
  'types',
39
39
  'protocol',
40
- 'client-modal',
40
+ 'dom-tk',
41
41
  'dcp-assert',
42
42
  'dcp-xhr',
43
43
  'dcp-env',
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dcp-client",
3
- "version": "5.5.5",
3
+ "version": "5.6.1",
4
4
  "dcp": {
5
- "version": "45cbb59c6a7dfd6d776411f435c066050e367216",
5
+ "version": "a9e7f7e03401b8d2862f565386a9389324636c8e",
6
6
  "repository": "git@gitlab.com:Distributed-Compute-Protocol/dcp.git"
7
7
  },
8
8
  "description": "Core libraries for accessing DCP network",
Binary file
package/dcp-client.css DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * @file dcp-client.css
3
- * Default CSS Rules for displaying browser dialogs generated by dcp-client.
4
- * @author
5
- * @date
6
- */
7
-