JavaScript (web)
The Client Side JavaScript SDK to use in your application running in the browser.
Installation
$ npm install --save @progressively/sdk-jsUsage
Create an SDK instance
import { Progressively } from "@progressively/sdk-js";
const options = {
apiUrl: "your url server",
websocketUrl: "your url server for websockets",
};
const sdk = Progressively.init("YOUR_ENVIRONMENT_CLIENT_KEY", options);const options = {
apiUrl: "your url server",
websocketUrl: "your url server for websockets",
fields: {
email: "@progressively.com",
},
};Load the flags
Listen to WebSockets updates
Disconnect the WebSockets
Last updated