@morpho-org/bundler-sdk-viem 2.1.1 → 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.
- package/lib/actions.js +1 -2
- package/package.json +10 -10
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
|
-
|
|
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.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"author": "Morpho Association <contact@morpho.org>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Rubilmax <rmilon@gmail.com>"
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
],
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"viem": "^2.0.0",
|
|
23
|
-
"@morpho-org/blue-sdk": "^2.
|
|
24
|
-
"@morpho-org/
|
|
23
|
+
"@morpho-org/blue-sdk": "^2.2.0",
|
|
24
|
+
"@morpho-org/blue-sdk-viem": "^2.1.0",
|
|
25
25
|
"@morpho-org/simulation-sdk": "^2.1.1",
|
|
26
|
-
"@morpho-org/
|
|
26
|
+
"@morpho-org/morpho-ts": "^2.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@tanstack/query-core": "^5.62.9",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"typescript": "^5.7.2",
|
|
36
36
|
"viem": "^2.22.2",
|
|
37
37
|
"vitest": "^2.1.8",
|
|
38
|
-
"@morpho-org/blue-sdk": "^2.
|
|
39
|
-
"@morpho-org/blue-sdk-viem": "^2.0
|
|
40
|
-
"@morpho-org/morpho-ts": "^2.0.0",
|
|
38
|
+
"@morpho-org/blue-sdk": "^2.2.0",
|
|
39
|
+
"@morpho-org/blue-sdk-viem": "^2.1.0",
|
|
41
40
|
"@morpho-org/morpho-test": "^2.0.1",
|
|
41
|
+
"@morpho-org/morpho-ts": "^2.0.0",
|
|
42
42
|
"@morpho-org/simulation-sdk": "^2.1.1",
|
|
43
|
-
"@morpho-org/
|
|
44
|
-
"@morpho-org/test": "^2.0.
|
|
45
|
-
"@morpho-org/
|
|
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",
|