near-safe 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -110,7 +110,7 @@ class SafeContractSuite {
110
110
  abi: this.m4337.abi,
111
111
  functionName: "executeUserOp",
112
112
  args: [
113
- txData.to,
113
+ (0, viem_1.getAddress)(txData.to),
114
114
  BigInt(txData.value),
115
115
  txData.data,
116
116
  txData.operation || 0,
@@ -1,4 +1,4 @@
1
- import { concat, encodeFunctionData, encodePacked, getCreate2Address, keccak256, toHex, zeroAddress, } from "viem";
1
+ import { concat, encodeFunctionData, encodePacked, getAddress, getCreate2Address, keccak256, toHex, zeroAddress, } from "viem";
2
2
  import { SAFE_DEPLOYMENTS } from "../_gen/deployments";
3
3
  import { USER_OP_IDENTIFIER } from "../constants";
4
4
  import { PLACEHOLDER_SIG, getClient, packGas, packPaymasterData, } from "../util";
@@ -114,7 +114,7 @@ export class SafeContractSuite {
114
114
  abi: this.m4337.abi,
115
115
  functionName: "executeUserOp",
116
116
  args: [
117
- txData.to,
117
+ getAddress(txData.to),
118
118
  BigInt(txData.value),
119
119
  txData.data,
120
120
  txData.operation || 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "near-safe",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "license": "MIT",
5
5
  "description": "An SDK for controlling Ethereum Smart Accounts via ERC4337 from a Near Account.",
6
6
  "author": "bh2smith",