Installation
Prerequisites
To use Rendley SDK, ensure that your website includes the following headers to enable SharedArrayBuffer (opens in a new tab) functionality:
Cross-Origin-Embedder-Policy: credentialless
Cross-Origin-Opener-Policy: same-origin
For Safari, you need to use:
Cross-Origin-Embedder-Policy: require-corp
Using the NPM Registry
The installation process is straightforward. Simply run one of the followin
npm install @rendley/sdk
or
yarn add @rendley/sdk
The package includes type definitions, so you don't need to worry about setting those up separately.