Skip to content

Commit

Permalink
Merge pull request #164 from zerodevapp/feat/separate-webauthnkey
Browse files Browse the repository at this point in the history
feat: separated webauthn key module from plugins
  • Loading branch information
adnpark authored Jul 5, 2024
2 parents 9c278f2 + 708dc48 commit ea642e1
Show file tree
Hide file tree
Showing 31 changed files with 356 additions and 1,006 deletions.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 6 additions & 0 deletions plugins/multi-chain-weighted-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @zerodev/multi-chain-weighted-validator

## 5.3.0-alpha-2

### Patch Changes

- Separated webauthn signer and webauthn key module

## 5.3.0-alpha-1

### Patch Changes
Expand Down
9 changes: 6 additions & 3 deletions plugins/multi-chain-weighted-validator/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import type { KernelValidator } from "@zerodev/sdk/types"
import {
type WebAuthnKey,
WebAuthnMode,
toWebAuthnKey
} from "@zerodev/webauthn-key"
import {
type ApproveUserOperationParameters,
type ApproveUserOperationReturnType,
Expand All @@ -20,9 +25,7 @@ import {
type ECDSASignerParams,
toECDSASigner
} from "./signers/toECDSASigner.js"
import { WebAuthnMode, toWebAuthnPubKey } from "./signers/toWebAuthnPubKey.js"
import {
type WebAuthnKey,
type WebAuthnModularSignerParams,
toWebAuthnSigner
} from "./signers/toWebAuthnSigner.js"
Expand All @@ -41,7 +44,7 @@ export {
type KernelValidator,
toECDSASigner,
type ECDSASignerParams,
toWebAuthnPubKey,
toWebAuthnKey,
type WebAuthnKey,
WebAuthnMode,
type WebAuthnModularSignerParams,
Expand Down
3 changes: 2 additions & 1 deletion plugins/multi-chain-weighted-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zerodev/multi-chain-weighted-validator",
"version": "5.3.0-alpha-1",
"version": "5.3.0-alpha-2",
"author": "ZeroDev",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
Expand Down Expand Up @@ -42,6 +42,7 @@
"peerDependencies": {
"viem": "^2.16.3",
"@zerodev/sdk": "^5.2.1",
"@zerodev/webauthn-key": "^5.3.0",
"permissionless": "^0.1.18"
}
}
153 changes: 0 additions & 153 deletions plugins/multi-chain-weighted-validator/signers/toWebAuthnPubKey.ts

This file was deleted.

Loading

0 comments on commit ea642e1

Please sign in to comment.