@gearbox-protocol/sdk 2.1.3 → 2.1.5

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.
@@ -1020,7 +1020,7 @@ contract TokensDataLive {
1020
1020
  return tokenDataByNetwork[block.chainid];
1021
1021
  }
1022
1022
 
1023
- function getNetworkId() internal view returns (uint256) {
1023
+ function getNetworkId() external view returns (uint256) {
1024
1024
  if (block.chainid == 1337 || block.chainid == 31337) {
1025
1025
  uint256 len = connectedNetworks.length;
1026
1026
  for (uint256 i = 0; i < len; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",