@myx-trade/sdk 0.1.219 → 0.1.221

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 CHANGED
@@ -1807,7 +1807,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
1807
1807
  // package.json
1808
1808
  var package_default = {
1809
1809
  name: "@myx-trade/sdk",
1810
- version: "0.1.219",
1810
+ version: "0.1.221",
1811
1811
  private: false,
1812
1812
  publishConfig: {
1813
1813
  access: "public"
@@ -22136,7 +22136,7 @@ var BaseMyxClient = class {
22136
22136
  getAddressConfig() {
22137
22137
  const config = this.getConfig();
22138
22138
  const chainId = config?.chainId;
22139
- if (!chainId || isSupportedChainFn(chainId)) {
22139
+ if (!chainId || !isSupportedChainFn(chainId)) {
22140
22140
  throw new MyxSDKError("INVALID_CHAIN_ID" /* InvalidChainId */, "Invalid chain id");
22141
22141
  }
22142
22142
  return address_default[chainId];
package/dist/index.mjs CHANGED
@@ -1731,7 +1731,7 @@ var RotationProvider = class extends BaseProvider {
1731
1731
  // package.json
1732
1732
  var package_default = {
1733
1733
  name: "@myx-trade/sdk",
1734
- version: "0.1.219",
1734
+ version: "0.1.221",
1735
1735
  private: false,
1736
1736
  publishConfig: {
1737
1737
  access: "public"
@@ -22060,7 +22060,7 @@ var BaseMyxClient = class {
22060
22060
  getAddressConfig() {
22061
22061
  const config = this.getConfig();
22062
22062
  const chainId = config?.chainId;
22063
- if (!chainId || isSupportedChainFn(chainId)) {
22063
+ if (!chainId || !isSupportedChainFn(chainId)) {
22064
22064
  throw new MyxSDKError("INVALID_CHAIN_ID" /* InvalidChainId */, "Invalid chain id");
22065
22065
  }
22066
22066
  return address_default[chainId];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myx-trade/sdk",
3
- "version": "0.1.219",
3
+ "version": "0.1.221",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"