impermax-sdk 2.1.21 → 2.1.22

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.
@@ -106,6 +106,7 @@ class Offchain {
106
106
  this.usersData = {};
107
107
  this.vaultsData = null;
108
108
  this.lendingVaultsUsersData = {};
109
+ this.vaultsUsersData = {};
109
110
  this.tvlData = null;
110
111
  this.ximxData = null;
111
112
  this.whitelistData = null;
@@ -140,7 +140,7 @@ class OnchainPermitHelper {
140
140
  return callBack(null);
141
141
  callBack({
142
142
  permitType: onchainTypes_1.PermitType.PERMIT1,
143
- permitData: ethers_1.ethers.utils.defaultAbiCoder.encode(['address', 'uint256', 'uint256'], [token.address, value.toString(), this.deadline]),
143
+ permitData: ethers_1.ethers.utils.defaultAbiCoder.encode(['address', 'uint256', 'uint256'], [token._address, value.toString(), this.deadline]),
144
144
  signature
145
145
  });
146
146
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.21",
3
+ "version": "2.1.22",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",