near-safe 0.7.2 → 0.7.3

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.
@@ -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",