# @namiml/vega-sdk

Nami's subscription orchestration SDK for Amazon VegaOS — Fire TV and Fire tablet. A thin wrapper over [`@namiml/expo-sdk`](https://www.npmjs.com/package/@namiml/expo-sdk) that declares the peer dependencies Metro and the Kepler runtime require for VegaOS targets.

All SDK logic lives in `@namiml/expo-sdk`. Imports from `@namiml/vega-sdk` resolve the full Expo SDK surface.

## Supported platforms

| Platform | Runtime |
|---|---|
| Amazon Fire TV | Kepler |
| Amazon Fire tablet | Fire OS |

## Requirements

- React Native ≥ 0.72

## Installation

```bash
yarn add @namiml/vega-sdk
```

Install the VegaOS peer dependencies alongside it. They replace the standard Expo modules for the Kepler runtime.

## VegaOS peer dependencies

| Amazon package | Replaces |
|---|---|
| `@amazon-devices/expo-device` | `expo-device` |
| `@amazon-devices/expo-constants` | `expo-constants` |
| `@amazon-devices/expo-localization` | `expo-localization` |
| `@amazon-devices/expo-sqlite` | `expo-sqlite` |
| `@amazon-devices/expo-linking` | `expo-linking` |
| `@amazon-devices/expo-image` | `expo-image` |
| `@amazon-devices/expo-font` | `expo-font` |
| `@amazon-devices/react-native-w3cmedia` | HTML5 video / hls.js |
| `@amazon-devices/keplerscript-appstore-iap-lib` | IAP (in-app purchases) |

## Documentation

[docs.namiml.com](https://docs.namiml.com)
