@usherlabs/cex-broker 0.1.11 → 0.1.12

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.
@@ -290020,6 +290020,7 @@ function createBroker(cex3, metadata, useVerity, verityProverUrl) {
290020
290020
  exchange.setSandboxMode(true);
290021
290021
  }
290022
290022
  exchange.options.recvWindow = 60000;
290023
+ exchange.redact_exclusion = "key";
290023
290024
  return exchange;
290024
290025
  }
290025
290026
  function selectBroker(brokers, metadata) {
@@ -290926,6 +290927,7 @@ class CEXBroker {
290926
290927
  recvWindow: 60000
290927
290928
  }
290928
290929
  });
290930
+ exchange.redact_exclusion = "key";
290929
290931
  secondaryBrokers[+index2] = exchange;
290930
290932
  } else {
290931
290933
  log.warn(`⚠️ Incomplete secondary credentials for broker "${broker}" at index ${index2}`);
@@ -290991,7 +290993,7 @@ class CEXBroker {
290991
290993
  for (const index2 of Object.keys(creds2.secondaryKeys)) {
290992
290994
  const sec = creds2.secondaryKeys[+index2];
290993
290995
  if (!!sec?.apiKey && !!sec?.apiSecret) {
290994
- secondaryBroker[+index2] = new ExchangeClass({
290996
+ const exchange = new ExchangeClass({
290995
290997
  apiKey: sec.apiKey,
290996
290998
  secret: sec.apiSecret,
290997
290999
  enableRateLimit: true,
@@ -291004,6 +291006,8 @@ class CEXBroker {
291004
291006
  recvWindow: 60000
291005
291007
  }
291006
291008
  });
291009
+ exchange.redact_exclusion = "key";
291010
+ secondaryBroker[+index2] = exchange;
291007
291011
  } else {
291008
291012
  log.warn(`⚠️ Incomplete secondary credentials for broker "${broker}" at index ${index2}`);
291009
291013
  }
@@ -291026,6 +291030,7 @@ class CEXBroker {
291026
291030
  recvWindow: 60000
291027
291031
  }
291028
291032
  });
291033
+ client.redact_exclusion = "key";
291029
291034
  this.brokers[broker] = {
291030
291035
  primary: client,
291031
291036
  secondaryBrokers: secondaryBroker
package/dist/index.js CHANGED
@@ -285067,6 +285067,7 @@ function createBroker(cex3, metadata, useVerity, verityProverUrl) {
285067
285067
  exchange.setSandboxMode(true);
285068
285068
  }
285069
285069
  exchange.options.recvWindow = 60000;
285070
+ exchange.redact_exclusion = "key";
285070
285071
  return exchange;
285071
285072
  }
285072
285073
  function selectBroker(brokers, metadata) {
@@ -285973,6 +285974,7 @@ class CEXBroker {
285973
285974
  recvWindow: 60000
285974
285975
  }
285975
285976
  });
285977
+ exchange.redact_exclusion = "key";
285976
285978
  secondaryBrokers[+index2] = exchange;
285977
285979
  } else {
285978
285980
  log.warn(`\u26A0\uFE0F Incomplete secondary credentials for broker "${broker}" at index ${index2}`);
@@ -286038,7 +286040,7 @@ class CEXBroker {
286038
286040
  for (const index2 of Object.keys(creds2.secondaryKeys)) {
286039
286041
  const sec = creds2.secondaryKeys[+index2];
286040
286042
  if (!!sec?.apiKey && !!sec?.apiSecret) {
286041
- secondaryBroker[+index2] = new ExchangeClass({
286043
+ const exchange = new ExchangeClass({
286042
286044
  apiKey: sec.apiKey,
286043
286045
  secret: sec.apiSecret,
286044
286046
  enableRateLimit: true,
@@ -286051,6 +286053,8 @@ class CEXBroker {
286051
286053
  recvWindow: 60000
286052
286054
  }
286053
286055
  });
286056
+ exchange.redact_exclusion = "key";
286057
+ secondaryBroker[+index2] = exchange;
286054
286058
  } else {
286055
286059
  log.warn(`\u26A0\uFE0F Incomplete secondary credentials for broker "${broker}" at index ${index2}`);
286056
286060
  }
@@ -286073,6 +286077,7 @@ class CEXBroker {
286073
286077
  recvWindow: 60000
286074
286078
  }
286075
286079
  });
286080
+ client.redact_exclusion = "key";
286076
286081
  this.brokers[broker] = {
286077
286082
  primary: client,
286078
286083
  secondaryBrokers: secondaryBroker
@@ -286141,4 +286146,4 @@ export {
286141
286146
  CEXBroker as default
286142
286147
  };
286143
286148
 
286144
- //# debugId=DEA73F64725EF87564756E2164756E21
286149
+ //# debugId=16AAAD0D4E9C3C9564756E2164756E21