@zubari/sdk 0.5.1 → 0.5.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.
@@ -1025,7 +1025,7 @@ var ZubariWdkService = class {
1025
1025
  };
1026
1026
  var defaultService = null;
1027
1027
  function getZubariWdkService(config) {
1028
- if (!defaultService || config && config.network !== defaultService.getNetwork()) {
1028
+ if (!defaultService || config && (config.network !== defaultService.getNetwork() || config.apiUrl && config.apiUrl !== defaultService.getApiUrl())) {
1029
1029
  defaultService = new ZubariWdkService(config);
1030
1030
  }
1031
1031
  return defaultService;