Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Commit a2ab73a

Browse files
authored
Rename CommonConfigs to Common (#127)
1 parent c0a8bd0 commit a2ab73a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "userop",
3-
"version": "0.4.0-beta.4",
3+
"version": "0.4.0-beta.5",
44
"description": "A simple JS library for building ERC-4337 UserOperations.",
55
"types": "./dist/index.d.ts",
66
"main": "./dist/index.js",

src/test/v06/account.constants.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const ACCOUNTS = [
3131
{
3232
type: "SimpleAccount, withViemWalletClient (account hoisted)",
3333
instance: new V06.Account.Instance({
34-
...V06.Account.CommonConfigs.SimpleAccount.base(
34+
...V06.Account.Common.SimpleAccount.base(
3535
VIEM_PUBLIC_CLIENT,
3636
VIEM_WALLET_CLIENT,
3737
),
@@ -40,7 +40,7 @@ export const ACCOUNTS = [
4040
{
4141
type: "SimpleAccount, withViemWalletClient (account not hoisted)",
4242
instance: new V06.Account.Instance({
43-
...V06.Account.CommonConfigs.SimpleAccount.base(
43+
...V06.Account.Common.SimpleAccount.base(
4444
VIEM_PUBLIC_CLIENT,
4545
VIEM_WALLET_CLIENT_NO_HOIST,
4646
VIEM_ACC,
@@ -50,7 +50,7 @@ export const ACCOUNTS = [
5050
{
5151
type: "SimpleAccount, with JsonRpcProvider",
5252
instance: new V06.Account.Instance({
53-
...V06.Account.CommonConfigs.SimpleAccount.base(
53+
...V06.Account.Common.SimpleAccount.base(
5454
ETHERS_JSON_RPC_PROVIDER,
5555
VIEM_WALLET_CLIENT,
5656
),
@@ -59,7 +59,7 @@ export const ACCOUNTS = [
5959
{
6060
type: "SimpleAccount, withEthersSigner",
6161
instance: new V06.Account.Instance({
62-
...V06.Account.CommonConfigs.SimpleAccount.base(
62+
...V06.Account.Common.SimpleAccount.base(
6363
VIEM_PUBLIC_CLIENT,
6464
ETHERS_WALLET,
6565
),
@@ -68,7 +68,7 @@ export const ACCOUNTS = [
6868
{
6969
type: "SimpleAccount, with separate viem node and bundler PublicClients",
7070
instance: new V06.Account.Instance({
71-
...V06.Account.CommonConfigs.SimpleAccount.base(
71+
...V06.Account.Common.SimpleAccount.base(
7272
VIEM_NODE_PUBLIC_CLIENT,
7373
VIEM_WALLET_CLIENT,
7474
),
@@ -79,7 +79,7 @@ export const ACCOUNTS = [
7979
{
8080
type: "SimpleAccount, with separate ethers node and bundler JsonRpcProviders",
8181
instance: new V06.Account.Instance({
82-
...V06.Account.CommonConfigs.SimpleAccount.base(
82+
...V06.Account.Common.SimpleAccount.base(
8383
ETHERS_NODE_JSON_RPC_PROVIDER,
8484
VIEM_WALLET_CLIENT,
8585
),
@@ -90,7 +90,7 @@ export const ACCOUNTS = [
9090
{
9191
type: "SimpleAccount, with Stackup V1 PAYG paymaster",
9292
instance: new V06.Account.Instance({
93-
...V06.Account.CommonConfigs.SimpleAccount.base(
93+
...V06.Account.Common.SimpleAccount.base(
9494
VIEM_PUBLIC_CLIENT,
9595
VIEM_WALLET_CLIENT,
9696
),
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/v06/account/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * as CommonConfigs from "./commonConfigs";
1+
export * as Common from "./common";
22
export * as Hooks from "./hooks";
33
export * from "./instance";
44
export * from "./types";

0 commit comments

Comments
 (0)