@ember-finance/sdk 2.2.0-rc.3 → 2.2.0

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.
@@ -72,7 +72,8 @@ export class EVMUserCalls extends EVMOnChainCalls {
72
72
  // Async deposit: route through the vault's deposit parking lot. Funds are
73
73
  // escrowed + queued and forwarded into the vault later by the operator.
74
74
  // The collateral must be approved to the parking lot (not the vault).
75
- if (options?.depositToParkingLot) {
75
+ // Ignored for ETH vaults — the parking lot has no ETH entrypoint.
76
+ if (options?.depositToParkingLot && !options?.isETHVault) {
76
77
  const parkingLotAddress = this.parser.resolveParkingLotAddress(vaultAddress, options.parkingLotAddress);
77
78
  const txCall = this.txBuilder.depositToParkingLot(parkingLotAddress, assets, receiver);
78
79
  return this.execCall(txCall, options);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-finance/sdk",
3
3
  "description": "Ember Protocol SDK",
4
- "version": "2.2.0-rc.3",
4
+ "version": "2.2.0",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",