dcp-client 4.1.13 → 4.1.17

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/dcp-client.js CHANGED
@@ -50,7 +50,7 @@ https://distributed.computer/`, "font-weight: bold; font-size: 1.2em; color: #00
50
50
  dcpConfigHref = thisScriptURL.origin + thisScriptURL.pathname.replace(/\/dcp-client\/dcp-client.js$/, '/etc/dcp-config.js') + thisScriptURL.search;
51
51
  }
52
52
 
53
- /** Load dcp-config.js from scheduler, and merge with running dcpConfig */
53
+ /** Load dcp-config.kvin from scheduler, and merge with running dcpConfig */
54
54
  function loadConfig() {
55
55
  configScript = document.createElement('SCRIPT');
56
56
  configScript.setAttribute('type', 'text/javascript');
@@ -118,6 +118,7 @@ https://distributed.computer/`, "font-weight: bold; font-size: 1.2em; color: #00
118
118
  * the config can't access the Address class before the bundle is loaded.
119
119
  */
120
120
  dcp.wallet.Address.patchUp(dcpConfig);
121
+ dcp['dcp-url'].patchup(dcpConfig);
121
122
 
122
123
  if (ready)
123
124
  window.setTimeout(function bundleReadyFire() { let indirectEval=eval; indirectEval(ready) }, 0);