Skip to content

Commit 7c283fd

Browse files
committed
feat: update version
1 parent b066efe commit 7c283fd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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": "@nevermined-io/sdk",
3-
"version": "3.0.48-rc0",
3+
"version": "3.0.49-rc0",
44
"description": "Javascript SDK for connecting with Nevermined Data Platform ",
55
"main": "./dist/node/sdk.js",
66
"typings": "./dist/node/sdk.d.ts",

src/nevermined/utils/BlockchainViemUtils.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,12 @@ export const formatEther = (value: bigint): string => {
532532
* @param zeroDevProjectId the zero dev project id, you can get it from the ZeroDev dashboard
533533
* @returns the kernel client
534534
*/
535-
export async function createKernelClient(signer: any, chainId: number, zeroDevProjectId: string) {
535+
export async function createKernelClient(
536+
signer: any,
537+
chainId: number,
538+
zeroDevProjectId: string,
539+
address?: any,
540+
) {
536541
const publicClient = createPublicClient({
537542
chain: getChain(chainId),
538543
transport: http(`https://rpc.zerodev.app/api/v2/bundler/${zeroDevProjectId}`),
@@ -550,6 +555,7 @@ export async function createKernelClient(signer: any, chainId: number, zeroDevPr
550555
},
551556
entryPoint: getEntryPoint(ENTRY_POINT_VERSION),
552557
kernelVersion: KERNEL_V2_4,
558+
address,
553559
})
554560

555561
return createKernelAccountClient({

0 commit comments

Comments
 (0)