impermax-sdk 2.1.45 → 2.1.46

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.
@@ -115,7 +115,7 @@ class OnchainInteractionsPoolToken {
115
115
  const { owner, spender } = this.getOwnerSpender();
116
116
  const token = yield this.poolToken.getToken();
117
117
  // experimental feature: check if the token supports permit by getting the DOMAIN_SEPARATOR
118
- const domain = yield token.methods.DOMAIN_SEPARATOR();
118
+ const domain = yield token.methods.DOMAIN_SEPARATOR().call();
119
119
  return this.getPermitHelper().getTokenPermit(token, owner, spender, amount, domain);
120
120
  });
121
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.45",
3
+ "version": "2.1.46",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",