@cometh/connect-react-hooks 0.0.12-dev.1 → 0.0.12-dev.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/dist/index.cjs CHANGED
@@ -2276,7 +2276,7 @@ var useGetTransactionCost = (mutationProps) => {
2276
2276
  throw new Error("No smart account found");
2277
2277
  }
2278
2278
  const { transactions } = variables;
2279
- const userOperation = await smartAccountClient.account.prepareUserOperation(
2279
+ const userOperation = await smartAccountClient.account.buildUserOperation(
2280
2280
  transactions
2281
2281
  );
2282
2282
  const estimateGas = await smartAccountClient.estimateGas({
@@ -2310,7 +2310,7 @@ var useEstimateGas = (mutationProps) => {
2310
2310
  throw new Error("No smart account found");
2311
2311
  }
2312
2312
  const { transactions } = variables;
2313
- const userOperation = await smartAccountClient.account.prepareUserOperation(
2313
+ const userOperation = await smartAccountClient.account.buildUserOperation(
2314
2314
  transactions
2315
2315
  );
2316
2316
  const estimateGas = await smartAccountClient.estimateGas({
package/dist/index.js CHANGED
@@ -2276,7 +2276,7 @@ var useGetTransactionCost = (mutationProps) => {
2276
2276
  throw new Error("No smart account found");
2277
2277
  }
2278
2278
  const { transactions } = variables;
2279
- const userOperation = await smartAccountClient.account.prepareUserOperation(
2279
+ const userOperation = await smartAccountClient.account.buildUserOperation(
2280
2280
  transactions
2281
2281
  );
2282
2282
  const estimateGas = await smartAccountClient.estimateGas({
@@ -2310,7 +2310,7 @@ var useEstimateGas = (mutationProps) => {
2310
2310
  throw new Error("No smart account found");
2311
2311
  }
2312
2312
  const { transactions } = variables;
2313
- const userOperation = await smartAccountClient.account.prepareUserOperation(
2313
+ const userOperation = await smartAccountClient.account.buildUserOperation(
2314
2314
  transactions
2315
2315
  );
2316
2316
  const estimateGas = await smartAccountClient.estimateGas({
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://twitter.com/slovaye"
8
8
  }
9
9
  ],
10
- "version": "0.0.12-dev.1",
10
+ "version": "0.0.12-dev.2",
11
11
  "description": "React hooks Connect 4337",
12
12
  "repository": "https://github.com/cometh-hq/connect-sdk-4337.git",
13
13
  "keywords": [
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5"
59
59
  },
60
60
  "dependencies": {
61
- "@cometh/connect-sdk-4337": "0.1.1-3.dev-1",
61
+ "@cometh/connect-sdk-4337": "0.1.1-3.dev-2",
62
62
  "permissionless": "0.1.31"
63
63
  }
64
64
  }