@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.
- package/dist/actions/index.d.ts +3 -1
- package/dist/actions/index.js +12 -4
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/index.mjs +12 -5
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/traceActions.d.ts +7 -0
- package/dist/actions/traceFilter.d.ts +4 -3
- package/dist/actions/traceTransaction.d.ts +4 -3
- package/dist/clients/createMentaAccount.d.ts +23 -22
- package/dist/clients/index.js +3 -3
- package/dist/clients/index.js.map +1 -1
- package/dist/clients/index.mjs +3 -3
- package/dist/clients/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/actions/index.ts +7 -2
- package/src/actions/traceActions.ts +25 -0
- package/src/actions/traceFilter.ts +22 -16
- package/src/actions/traceTransaction.ts +21 -14
- package/src/clients/createMentaAccount.ts +12 -5
package/dist/clients/index.mjs
CHANGED
|
@@ -5937,8 +5937,8 @@ const getValidatorAddress = (entryPoint, kernelVersion, validatorContractVersion
|
|
|
5937
5937
|
return validatorAddress ?? passKeyValidatorAddress ?? zeroAddress;
|
|
5938
5938
|
};
|
|
5939
5939
|
|
|
5940
|
-
async function createMentaAccount(
|
|
5941
|
-
const validator = await toPasskeyValidator(
|
|
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:
|
|
5952
|
+
client: client,
|
|
5953
5953
|
});
|
|
5954
5954
|
return createSmartAccountClient({
|
|
5955
5955
|
account: kernel,
|