@morpho-org/bundler-sdk-viem 2.1.0 → 2.1.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.
Files changed (2) hide show
  1. package/lib/actions.js +1 -2
  2. package/package.json +16 -16
package/lib/actions.js CHANGED
@@ -200,8 +200,7 @@ export const encodeOperation = (operation, dataBefore, supportsSignature = true,
200
200
  }
201
201
  else {
202
202
  const typedData = getPermitTypedData({
203
- name: tokenData.name,
204
- address: tokenData.address,
203
+ erc20: tokenData,
205
204
  owner: sender,
206
205
  spender,
207
206
  allowance: amount,
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": "2.1.0",
4
+ "version": "2.1.2",
5
5
  "author": "Morpho Association <contact@morpho.org>",
6
6
  "contributors": [
7
7
  "Rubilmax <rmilon@gmail.com>"
@@ -20,29 +20,29 @@
20
20
  ],
21
21
  "peerDependencies": {
22
22
  "viem": "^2.0.0",
23
- "@morpho-org/blue-sdk": "^2.1.0",
24
- "@morpho-org/morpho-ts": "^2.0.0",
25
- "@morpho-org/simulation-sdk": "^2.1.0",
26
- "@morpho-org/blue-sdk-viem": "^2.0.2"
23
+ "@morpho-org/blue-sdk": "^2.2.0",
24
+ "@morpho-org/blue-sdk-viem": "^2.1.0",
25
+ "@morpho-org/simulation-sdk": "^2.1.1",
26
+ "@morpho-org/morpho-ts": "^2.0.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@tanstack/query-core": "^5.60.5",
30
- "@tanstack/react-query": "^5.60.5",
29
+ "@tanstack/query-core": "^5.62.9",
30
+ "@tanstack/react-query": "^5.62.11",
31
31
  "@testing-library/dom": "^10.4.0",
32
- "@testing-library/react": "^16.0.1",
32
+ "@testing-library/react": "^16.1.0",
33
33
  "@types/lodash": "^4.17.12",
34
34
  "lodash": "^4.17.21",
35
35
  "typescript": "^5.7.2",
36
- "viem": "^2.21.54",
36
+ "viem": "^2.22.2",
37
37
  "vitest": "^2.1.8",
38
- "@morpho-org/blue-sdk-viem": "^2.0.2",
39
- "@morpho-org/blue-sdk": "^2.1.0",
38
+ "@morpho-org/blue-sdk": "^2.2.0",
39
+ "@morpho-org/blue-sdk-viem": "^2.1.0",
40
+ "@morpho-org/morpho-test": "^2.0.1",
40
41
  "@morpho-org/morpho-ts": "^2.0.0",
41
- "@morpho-org/morpho-test": "^2.0.0",
42
- "@morpho-org/simulation-sdk": "^2.1.0",
43
- "@morpho-org/simulation-sdk-wagmi": "^2.0.0",
44
- "@morpho-org/test": "^2.0.0",
45
- "@morpho-org/test-wagmi": "^2.0.0"
42
+ "@morpho-org/simulation-sdk": "^2.1.1",
43
+ "@morpho-org/simulation-sdk-wagmi": "^2.0.1",
44
+ "@morpho-org/test": "^2.0.3",
45
+ "@morpho-org/test-wagmi": "^2.0.2"
46
46
  },
47
47
  "scripts": {
48
48
  "prepublish": "$npm_execpath build",