#!/bin/bash

# This script publishes the SDK to npm

# Ensure we're in the SDK directory
cd "$(dirname "$0")"

# Build the SDK
echo "Building the SDK..."
npm run build

# Update version (optional)
# npm version patch

# Publish to npm
echo "Publishing to npm..."
npm publish

echo "Done! SDK published to npm."