Minor Changes
-
1adb83804d5f6c3f36d5f293de88532330d52dc7Thanks @jxom! - Breaking (viem/tempo):chainIdis now required when signing access key authorizations withsignKeyAuthorization. It is recommended to useclient.accessKey.signAuthorizationinstead for inferred chain ID.import { client } from './viem.config' import { Account } from 'viem/tempo' const account = Account.from({ privateKey: '0x...' }) const accessKey = Account.fromP256(generatePrivateKey(), { access: account, }) - const keyAuthorization = await account.signKeyAuthorization(accessKey) + const keyAuthorization = await client.accessKey.signAuthorization({ + account, + accessKey, + })
Patch Changes
- #4374
141a367cd4fec97224477d5cef008c0f66a43926Thanks @jxom! -viem/tempo: ExportedTempoAddressfromox/tempo.