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/assets/dcp-client.css +2 -3
- package/assets/dcp-modal.css +397 -0
- package/assets/favicon.ico +0 -0
- package/assets/lucide/eye-off.svg +1 -0
- package/assets/lucide/eye.svg +1 -0
- package/assets/lucide/loader-circle.svg +1 -0
- package/cdn/browser-test/dcp-modals.html +54 -0
- package/dcp-client.js +191 -72
- package/dist/dcp-client-bundle.js +1 -1
- package/dist/dcp-client-bundle.js.map +1 -1
- package/index.js +8 -1
- package/ns-map.js +1 -1
- package/package.json +2 -2
- package/assets/proxima-nova.otf +0 -0
- package/dcp-client.css +0 -7
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
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dcp-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.1",
|
|
4
4
|
"dcp": {
|
|
5
|
-
"version": "
|
|
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",
|
package/assets/proxima-nova.otf
DELETED
|
Binary file
|