Releases: tempoxyz/tempo-ts
tempo.ts@0.14.2
tempo.ts@0.14.1
tempo.ts@0.14.0
tempo.ts@0.13.0
Minor Changes
-
#136
ef17d58Thanks @tmm! - Breaking: As ofwagmi@3.2.0and@wagmi/core@3.1.0,tempo.ts/wagmihas been upstreamed intowagmiand@wagmi/core, and is no longer maintained in this repository.pnpm i wagmi@3.2.0 pnpm i @wagmi/core@3.1.0
Import from the
/tempoentrypoint.- import { Actions, Hooks } from 'tempo.ts/wagmi' + import { Actions, Hooks } from 'wagmi/tempo' - import { Actions } from 'tempo.ts/wagmi' + import { Actions } from '@wagmi/core/tempo'
tempo.ts@0.12.1
tempo.ts@0.12.0
Minor Changes
-
#129
c17b66cThanks @jxom! - Breaking: As ofviem@2.43.0,tempo.ts/chainsandtempo.ts/viemhave been upstreamed into Viem, and are no longer maintained in this repository.Follow the instructions below to migrate:
Update Viem
pnpm i viem@2.43.0
Modify
chainconfigurationThe
tempochain has been renamed totempoTestnet, and now becomes a standard chain object that can be.extended with a fee token, instead of a function.const client = createClient({ - chain: tempo({ - feeToken: '0x20c0000000000000000000000000000000000001' - }), + chain: tempoTestnet.extend({ + feeToken: '0x20c0000000000000000000000000000000000001' + }), transport: http(), })Removed
tempochainThe
tempochain has been removed. UsetempoTestnetinstead.- import { tempo } from 'tempo.ts/chains' + import { tempoTestnet } from 'viem/chains'
Account#assignKeyAuthorizationhas been removedThe
Account#assignKeyAuthorizationfunction has been removed. Instead, you will need to assign the key authorization on a transaction manually on the next transaction.const accessKey = Account.fromP256(generatePrivateKey(), { access: account, }) const keyAuthorization = await account.signKeyAuthorization(accessKey) - await account.assignKeyAuthorization(keyAuthorization) const receipt = await client.sendTransactionSync({ account: accessKey, + keyAuthorization, })
tempo.ts@0.11.1
tempo.ts@0.11.0
Minor Changes
-
#117
12193a4Thanks @jxom! - Removedtempo.ts/prool. Thetempoprool instance has been upstreamed directly intoprool.- import { Instance } from 'tempo.ts/prool' + import { Instance } from 'prool' const instance = Instance.tempo()
-
#121
378f794Thanks @jxom! - Breaking: Removedtempo.ts/oxentrypoint. Useox/tempoinstead.npm i ox- import … from 'tempo.ts/ox' + import … from 'ox/tempo'