@gearbox-protocol/sdk 12.0.0-next.1 → 12.0.0-next.2

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.
@@ -103,13 +103,10 @@ class TreasurySplitterContract extends import_sdk.BaseContract {
103
103
  abi,
104
104
  data: callData
105
105
  });
106
- if (decoded) {
107
- return {
108
- functionName: decoded.functionName,
109
- ...super.parseFunctionParams(params)
110
- };
111
- }
112
- return super.parseFunctionParams(params);
106
+ return {
107
+ functionName: decoded.functionName,
108
+ ...super.parseFunctionParams(decoded)
109
+ };
113
110
  }
114
111
  default:
115
112
  return super.parseFunctionParams(params);
@@ -82,13 +82,10 @@ class TreasurySplitterContract extends BaseContract {
82
82
  abi,
83
83
  data: callData
84
84
  });
85
- if (decoded) {
86
- return {
87
- functionName: decoded.functionName,
88
- ...super.parseFunctionParams(params)
89
- };
90
- }
91
- return super.parseFunctionParams(params);
85
+ return {
86
+ functionName: decoded.functionName,
87
+ ...super.parseFunctionParams(decoded)
88
+ };
92
89
  }
93
90
  default:
94
91
  return super.parseFunctionParams(params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "12.0.0-next.1",
3
+ "version": "12.0.0-next.2",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",