RuntimeeRuntimee
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/sdk API was simplified: Runtimee class now only exposes an actors property of type ActorClient.
  • The ActorClient methods were renamed for clarity: create, pay, previewPay, status.
  • The @runtimee/core policy factory functions were moved to @runtimee/core/policies.
  • The @runtimee/evm package now requires a signerAddress in the EVMProviderConfig.

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?

On this page