SDK Downloads

Download the BooApp SDK and TypeScript definitions for your project.

Quick Install

CDN (Recommended)

html
<script src="https://peqaboo.com/sdk/v1/booapp-sdk.min.js"></script>

ES Module

javascript
import BooAppSDK from 'https://peqaboo.com/sdk/v1/booapp-sdk.esm.js';

TypeScript Support

Download the .d.ts file and place it in your project for full IntelliSense support in VS Code and other editors.

Download Files

booapp-sdk.min.js

UMD bundle for browsers (script tag)

~12KB gzipped

booapp-sdk.esm.js

ES module for modern bundlers (Vite, Webpack)

~11KB gzipped

booapp-sdk.d.ts

TypeScript type definitions

~8KB

Basic Usage

app.js
javascript
// Wait for bridge to be ready
BooAppSDK.whenReady().then(async (appInfo) => {
  console.log('Platform:', appInfo.platform);
  console.log('Bridge Version:', appInfo.bridgeVersion);

  // Check login status
  const loggedIn = await BooAppSDK.isLoggedIn();
  if (!loggedIn) {
    await BooAppSDK.requireLogin();
  }

  // Get user and pet info
  const user = await BooAppSDK.getUserInfo();
  const pet = await BooAppSDK.getPetInfo();

  console.log(`Welcome ${user.userName}!`);
  if (pet) {
    console.log(`Pet: ${pet.petName} (${pet.petBreed})`);
  }
});

Changelog

v1.0.0
2025-01-15
  • Initial SDK release
  • 30+ bridge actions with full TypeScript types
  • UMD and ESM module formats
  • Automatic bridge readiness detection
  • Permission-aware API calls

Framework Usage

html
<script src="https://peqaboo.com/sdk/v1/booapp-sdk.min.js"></script>
<script>
  BooAppSDK.whenReady().then(async (appInfo) => {
    console.log('Platform:', appInfo.platform);
    const pet = await BooAppSDK.getPetInfo();
  });
</script>