@mentaproject/core 0.5.12 → 0.5.15

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.
@@ -5937,8 +5937,8 @@ const getValidatorAddress = (entryPoint, kernelVersion, validatorContractVersion
5937
5937
  return validatorAddress ?? passKeyValidatorAddress ?? zeroAddress;
5938
5938
  };
5939
5939
 
5940
- async function createMentaAccount(coreClient, params) {
5941
- const validator = await toPasskeyValidator(coreClient, {
5940
+ async function createMentaAccount(client, params) {
5941
+ const validator = await toPasskeyValidator(client, {
5942
5942
  webAuthnKey: params.signer,
5943
5943
  entryPoint: {
5944
5944
  address: entryPoint07Address,
@@ -5949,7 +5949,7 @@ async function createMentaAccount(coreClient, params) {
5949
5949
  });
5950
5950
  const kernel = await toKernelSmartAccount({
5951
5951
  owners: [validator],
5952
- client: coreClient,
5952
+ client: client,
5953
5953
  });
5954
5954
  return createSmartAccountClient({
5955
5955
  account: kernel,