@donezone/cli 0.1.37 → 0.1.38
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26448,7 +26448,7 @@ class DoneBackendClient {
|
|
|
26448
26448
|
fetchImpl;
|
|
26449
26449
|
constructor(config) {
|
|
26450
26450
|
this.baseUrl = config.baseUrl.replace(/\/$/, "");
|
|
26451
|
-
this.fetchImpl = config.fetch ?? fetch;
|
|
26451
|
+
this.fetchImpl = (config.fetch ?? fetch).bind(globalThis);
|
|
26452
26452
|
}
|
|
26453
26453
|
contract(address) {
|
|
26454
26454
|
return new DoneContractHandle(this, address);
|