Skip to content

Latest commit

Β 

History

History
55 lines (35 loc) Β· 1.47 KB

File metadata and controls

55 lines (35 loc) Β· 1.47 KB

FreJun Softphone Web Wrapper

A lightweight, production-ready browser wrapper for @frejun/softphone-web-sdk, designed for seamless integration with CRMs, internal tools, and Dynamics 365.


πŸ“¦ Overview

This project provides a globally accessible JavaScript bundle (window.FreJunSoftphone) that enables web applications and platforms without module bundlers (like Dynamics or legacy CRMs) to use FreJun’s Web Softphone SDK directly in the browser.


πŸ”§ Features

  • βœ… Exposes @frejun/softphone-web-sdk to window.FreJunSoftphone
  • βœ… Browser-ready: minified and unminified versions
  • βœ… Versioned output for CDN-friendly usage
  • βœ… Cleanly built with Vite for fast production bundling

πŸš€ Getting Started

1. Clone this repo

git clone https://github.com/frejun-tech/frejun-softphone-web-wrapper.git
cd frejun-softphone-web-wrapper

2. Install Dependencies

Make sure you have Node.js and npm installed.

Then, in your project root:

npm install

3. Build SDK Bundles

npm run build

πŸ“ Output Structure

After running the build, the following files will be generated inside the dist/ directory:

dist/
β”œβ”€β”€ FreJunSDK.v1.0.0.js       # Unminified version for development/debugging
└── FreJunSDK.v1.0.0.min.js   # Minified version for production use