1.0.3 • Published 4 years ago

@lynth/prepr-next-sdk v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Prepr Next.js SDK

About

We made an SDK for much easier and faster integration with prepr.io

Installation

First of all you need to install our package:

npm i @lynth/prepr-next-sdk

Configuration

For now this package uses only environmental variables which are:

PREPR_TOKEN - Required, auth token for data fetching

PREPR_TIMEOUT - Optional, default timeout value is 4000

PREPR_BASE_URL - Optional, default timeout value is "https://cdn.prepr.io"

PREPR_AB_ID - Optional, userId used in A/B testing

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago