@morpho-org/bundler-sdk-viem 3.2.0 → 3.2.1

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/lib/operations.js CHANGED
@@ -152,6 +152,9 @@ const populateSubBundle = (inputOperation, data, options = {}) => {
152
152
  draft.sender = generalAdapter1;
153
153
  // Redirect MetaMorpho operation owner.
154
154
  switch (draft.type) {
155
+ case "Erc20_Wrap":
156
+ if (isErc20Wrapper)
157
+ break;
155
158
  case "MetaMorpho_Deposit":
156
159
  case "MetaMorpho_Withdraw":
157
160
  // Only if sender is owner otherwise the owner would be lost.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@morpho-org/bundler-sdk-viem",
3
3
  "description": "Viem-based extension of `@morpho-org/simulation-sdk` that exports utilities to transform simple interactions on Morpho (such as `Blue_Borrow`) and Morpho Vaults (such as `MetaMorpho_Deposit`) into the required bundles (with ERC20 approvals, transfers, etc) to submit to the bundler onchain.",
4
- "version": "3.2.0",
4
+ "version": "3.2.1",
5
5
  "author": "Morpho Association <contact@morpho.org>",
6
6
  "contributors": [
7
7
  "Rubilmax <rmilon@gmail.com>"
@@ -22,7 +22,7 @@
22
22
  "@morpho-org/blue-sdk": "^4.0.0",
23
23
  "@morpho-org/blue-sdk-viem": "^3.1.1",
24
24
  "@morpho-org/morpho-ts": "^2.4.0",
25
- "@morpho-org/simulation-sdk": "^3.1.0"
25
+ "@morpho-org/simulation-sdk": "^3.1.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@tanstack/query-core": "^5.62.16",
@@ -36,11 +36,11 @@
36
36
  "vitest": "^3.0.5",
37
37
  "@morpho-org/blue-sdk": "^4.0.0",
38
38
  "@morpho-org/blue-sdk-viem": "^3.1.1",
39
- "@morpho-org/morpho-ts": "^2.4.0",
40
39
  "@morpho-org/morpho-test": "^2.3.0",
41
- "@morpho-org/simulation-sdk": "^3.1.0",
42
- "@morpho-org/simulation-sdk-wagmi": "^3.0.2",
40
+ "@morpho-org/morpho-ts": "^2.4.0",
41
+ "@morpho-org/simulation-sdk": "^3.1.1",
43
42
  "@morpho-org/test-wagmi": "^2.0.4",
43
+ "@morpho-org/simulation-sdk-wagmi": "^3.0.2",
44
44
  "@morpho-org/test": "^2.1.4"
45
45
  },
46
46
  "scripts": {