Skip to content

Migration guide

From v1.x to v2.x

Install the v2.x package, no additional steps needed.

Handle Breaking Changes

  1. Update any default import from:

    ts
    import RestClient from "scarlett"

    ...to a named import:

    ts
    import { RestClient } from "scarlett"
  2. Rename any usage of internalCache to cacheInMemory

Released under the MIT License.