@ecency/sdk 1.3.8 → 1.3.9

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.
@@ -97,6 +97,10 @@ exports.ConfigManager = void 0;
97
97
  CONFIG.queryClient = client;
98
98
  }
99
99
  ConfigManager2.setQueryClient = setQueryClient;
100
+ function setPrivateApiHost(host) {
101
+ CONFIG.privateApiHost = host;
102
+ }
103
+ ConfigManager2.setPrivateApiHost = setPrivateApiHost;
100
104
  function analyzeRedosRisk(pattern) {
101
105
  if (/(\([^)]*[*+{][^)]*\))[*+{]/.test(pattern)) {
102
106
  return { safe: false, reason: "nested quantifiers detected" };