Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.18
bun-version: 1.3.8

- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
Binary file modified bun.lockb
Binary file not shown.
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @zerodev/sdk

## 5.5.8

### Patch Changes

- feat: use execute(uninstallValidation) calldata in uninstallPlugin instead of uninstallValidation() directly

## 5.5.7

### Patch Changes
Expand Down
5 changes: 3 additions & 2 deletions packages/core/actions/account-client/uninstallPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
parseAccount
} from "viem/utils"
import { KernelV3AccountAbi } from "../../accounts/kernel/abi/kernel_v_3_0_0/KernelAccountAbi.js"
import { encodeCallData } from "../../accounts/kernel/utils/account/ep0_7/encodeCallData.js"
import { VALIDATOR_TYPE } from "../../constants.js"
import { AccountNotFoundError } from "../../errors/index.js"
import type {
Expand Down Expand Up @@ -78,7 +79,7 @@ export async function uninstallPlugin<
"sendUserOperation"
)({
...restArgs,
calls: [
callData: await encodeCallData([
{
to: account.address,
data: encodeFunctionData({
Expand All @@ -88,7 +89,7 @@ export async function uninstallPlugin<
}),
value: 0n
}
],
]),
account
} as SendUserOperationParameters)
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zerodev/sdk",
"version": "5.5.7",
"version": "5.5.8",
"author": "ZeroDev",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
Expand Down