## Rutter Link

Lightweight JavaScript SDK to launch the Rutter Link popup and obtain a short‑lived `public_token` after a merchant connects their platform (e.g., Shopify, Amazon, QuickBooks, etc.).

This package exposes a global `Rutter` object with a simple `create(...).open(...)` workflow and supports preselecting platforms and other options.

---

### Installation

```bash
npm install @rutter/rutter-link
# or
yarn add @rutter/rutter-link
```

---

### Quick start

Run `yarn dev` to start the Example while building the code in `src/index.ts`.

### Publishing

Run `yarn publish` to automatically bump the version and publish to NPM, which will then update CDNs.

Then go to https://www.jsdelivr.com/tools/purge and purge the existing URL https://cdn.jsdelivr.net/npm/@rutter/rutter-link@latest so that all customers get updated to the latest version as soon as possible.
