@mentaproject/core 0.5.10 → 0.5.12

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.
@@ -1,6 +1,6 @@
1
1
  import { LocalAccount } from "..";
2
- import { Transport, Chain, Hash } from ".";
3
- import { createMentaAccount } from "src/clients/createMentaAccount";
2
+ import { Transport, Hash } from ".";
3
+ import { createMentaAccount } from "../clients";
4
4
  export interface PasskeySigner extends LocalAccount {
5
5
  pubX: bigint;
6
6
  pubY: bigint;
@@ -10,7 +10,6 @@ export interface PasskeySigner extends LocalAccount {
10
10
  }
11
11
  export interface MentaAccountParams {
12
12
  signer: PasskeySigner;
13
- chain: Chain;
14
13
  bundlerTransport: Transport;
15
14
  }
16
15
  export type MentaAccountClient = Awaited<ReturnType<typeof createMentaAccount>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentaproject/core",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
4
4
  "description": "Core library for menta packages, it includes all basic evm instances like Account, Transactions, Blocks etc...",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,7 +29,6 @@ export async function createMentaAccount(
29
29
 
30
30
  return createSmartAccountClient({
31
31
  account: kernel,
32
- chain: params.chain,
33
32
  bundlerTransport: params.bundlerTransport,
34
33
  }).extend(erc7579Actions());
35
34
  }
@@ -1,6 +1,6 @@
1
1
  import { LocalAccount } from "..";
2
2
  import { Transport, Chain, Hash } from ".";
3
- import { createMentaAccount } from "src/clients/createMentaAccount";
3
+ import { createMentaAccount } from "../clients";
4
4
 
5
5
  export interface PasskeySigner extends LocalAccount {
6
6
  pubX: bigint;
@@ -12,7 +12,6 @@ export interface PasskeySigner extends LocalAccount {
12
12
 
13
13
  export interface MentaAccountParams {
14
14
  signer: PasskeySigner;
15
- chain: Chain;
16
15
  bundlerTransport: Transport;
17
16
  }
18
17