Guides
Migration Guide
Migrating to newer versions of Runtimee
Migration Guide
This guide helps you migrate between versions of Runtimee.
Versioning
Runtimee uses semantic versioning. Since we are pre-1.0, any version change may include breaking changes.
From 0.0.x to 0.1.0
Changes
- The
@runtimee/sdkAPI was simplified:Runtimeeclass now only exposes anactorsproperty of typeActorClient. - The
ActorClientmethods were renamed for clarity:create,pay,previewPay,status. - The
@runtimee/corepolicy factory functions were moved to@runtimee/core/policies. - The
@runtimee/evmpackage now requires asignerAddressin theEVMProviderConfig.
Example Migration
Before (0.0.x):
const rt = new Runtimee({ apiKey: "..." })
const actor = await rt.createActor({ /* ... */ })After (0.1.0):
const rt = new Runtimee({ apiKey: "..." })
const actor = await rt.actors.create({ /* ... */ })How is this guide?