Skip to content

Commit

Permalink
chore: revert 103de69
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Nov 18, 2024
1 parent 75bcfa6 commit 7771d44
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
2 changes: 0 additions & 2 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

- [#2948](https://github.com/wevm/viem/pull/2948) [`dbd72a4eab890903216e085dd52d2438e20aa1fc`](https://github.com/wevm/viem/commit/dbd72a4eab890903216e085dd52d2438e20aa1fc) Thanks [@nikola-bozin-txfusion](https://github.com/nikola-bozin-txfusion)! - Added `parseEip712Transaction` util function in ZKsync extension.

- [`103de69e3a779e797bc74e1dafcddea91a90afc4`](https://github.com/wevm/viem/commit/103de69e3a779e797bc74e1dafcddea91a90afc4) Thanks [@jxom](https://github.com/jxom)! - Updated ERC-7715 JSON-RPC interface to the latest spec changes.

- [#3017](https://github.com/wevm/viem/pull/3017) [`b4a05d6b51baea81fcde4c58b5ec814fd19a2630`](https://github.com/wevm/viem/commit/b4a05d6b51baea81fcde4c58b5ec814fd19a2630) Thanks [@SakuraCase](https://github.com/SakuraCase)! - Added MCH Verse chain.

- [#3019](https://github.com/wevm/viem/pull/3019) [`465389324bf1a3422ddc02491fe3f0efc1a52281`](https://github.com/wevm/viem/commit/465389324bf1a3422ddc02491fe3f0efc1a52281) Thanks [@pk-850](https://github.com/pk-850)! - Added Vanar Mainnet.
Expand Down
61 changes: 31 additions & 30 deletions src/types/eip1193.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,44 +143,45 @@ export type WalletCallReceipt<quantity = Hex, status = Hex> = {
}

export type WalletGrantPermissionsParameters = {
address?: Address | undefined
chainId?: Hex | undefined
expiry: number
permissions?:
| readonly {
data: unknown
policies: readonly {
data: unknown
type: string
}[]
required?: boolean | undefined
type: string
}[]
| undefined
signer?:
| {
type: string
data?: unknown | undefined
}
| undefined
permissions: readonly {
data: unknown
policies: readonly {
data: unknown
type: string
}[]
required?: boolean | undefined
type: string
}[]
expiry: number
}

export type WalletGrantPermissionsReturnType =
WalletGrantPermissionsParameters & {
accountMeta?:
| {
factory?: `0x${string}` | undefined
factoryData?: string | undefined
}
| undefined
context: Hex
signerMeta?:
| {
userOpBuilder?: `0x${string}` | undefined
submitToAddress?: `0x${string}` | undefined
}
| undefined
}
export type WalletGrantPermissionsReturnType = {
expiry: number
factory?: `0x${string}` | undefined
factoryData?: string | undefined
grantedPermissions: readonly {
data: unknown
policies: readonly {
data: unknown
type: string
}[]
required?: boolean | undefined
type: string
}[]
permissionsContext: string
signerData?:
| {
userOpBuilder?: `0x${string}` | undefined
submitToAddress?: `0x${string}` | undefined
}
| undefined
}

export type WalletGetCallsStatusReturnType<quantity = Hex, status = Hex> = {
status: 'PENDING' | 'CONFIRMED'
Expand Down

0 comments on commit 7771d44

Please sign in to comment.