@myx-trade/sdk 0.1.203 → 0.1.204

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.203",
1810
+ version: "0.1.204",
1811
1811
  private: false,
1812
1812
  publishConfig: {
1813
1813
  access: "public"
@@ -21348,7 +21348,7 @@ var Account = class {
21348
21348
  config.signer
21349
21349
  );
21350
21350
  try {
21351
- const nonce = await brokerContract.nonces(address);
21351
+ const nonce = await config.signer?.getNonce();
21352
21352
  const rs = await brokerContract.setUserFeeData([address, nonce, deadline, [
21353
21353
  params.tier,
21354
21354
  params.referrer,
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.203",
1734
+ version: "0.1.204",
1735
1735
  private: false,
1736
1736
  publishConfig: {
1737
1737
  access: "public"
@@ -21272,7 +21272,7 @@ var Account = class {
21272
21272
  config.signer
21273
21273
  );
21274
21274
  try {
21275
- const nonce = await brokerContract.nonces(address);
21275
+ const nonce = await config.signer?.getNonce();
21276
21276
  const rs = await brokerContract.setUserFeeData([address, nonce, deadline, [
21277
21277
  params.tier,
21278
21278
  params.referrer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myx-trade/sdk",
3
- "version": "0.1.203",
3
+ "version": "0.1.204",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"